:root {
  --text_primary: rgba(0, 139, 249, 1);
  --text_color: rgba(255, 255, 255, 1);
  --text_second: rgba(255, 255, 255, 0.8);
  --color-text: rgba(0, 0, 0, 0.8);
  --fs_60: 60px;
  --fs_32: 32px;
  --fs_46: 46px;
  --fs_20: 22px;
  --fs_18: 18px;
  --fw_800: 800;
  --fw_400: 400;
  --fw_600: 600;
  --pt_20: 20px;
}
/* container */
.tech_container {
  max-width: 1440px;
  margin: auto;
  padding: 0 20px;
}

/* banner Section */
.tech_stack_main {
  padding-top: 110px;
}

.tech_stack_wrapper {
  background-image: url("../images/create_tech_stack01.webp");
  height: 500px;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech_content h1 {
  font-size: var(--fs_60);
  font-weight: var(--fw_800);
  color: var(--text_color);
  margin: 0px;
  text-align: center;
}

.tech_content p {
  font-size: var(--fs_32);
  font-weight: var(--fw_400);
  color: var(--text_second);
  line-height: 38px;
  text-align: center;
  padding-top: var(--pt_20);
  margin: 0;
}
/* end banner Section */

/* Tab Section */
.tech_tab_section {
  padding-top: 70px;
}

.tech_tab {
  background: rgba(240, 248, 255, 1);
  border-radius: 20px;
  padding: 20px;
}
.tech_tab ul {
  padding: 0;
  list-style: none;
}
.tech_tab li {
  cursor: pointer;
  padding: 10px;

  transition: 0.3s;
}

.tech_tab li.active {
  color: rgba(0, 139, 249, 1);
}

.tech_tab ul li {
  list-style-type: none;
  font-size: var(--fs_20);
  font-weight: var(--fw_600);
  color: var(--color-text);
  line-height: 1.5;
  padding-bottom: 23px;
  cursor: pointer;
  padding-top: 0px;
}
.tech_tab ul li:hover {
  color: rgba(0, 139, 249, 1);
}
.tab_tech_img h2 {
  font-size: var(--fs_46);
  color: var(--color-text);
  font-weight: var(--fw_600);
  text-align: center;
  margin: 0;
}
.tab_tech_flex {
  display: flex;
  flex-wrap: wrap;
  padding-left: 110px;
  row-gap: 30px;

  padding-top: 50px;
}
.tab_tech_inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 180px;
  cursor: pointer;
}
.tab_tech_inner h3 {
  font-size: var(--fs_18);
  font-weight: var(--fw_600);
  color: var(--color-text);
  text-align: center;
}
.scroll_container {
  height: 813px;
  overflow-y: auto;
  scroll-behavior: smooth;
  padding-right: 10px;
}
.scroll_container::-webkit-scrollbar {
  display: none;
}
.tech_section {
  padding: 20px 0;
}

/* Sidebar Scroll Styling */
.scrollable_sidebar {
  max-height: 813px; /* Adjust based on your layout */
  overflow: hidden; /* Hide scrollbar by default */
  transition: all 0.3s ease-in-out;
}

/* Show scrollbar on hover */
.scrollable_sidebar:hover {
  overflow-y: auto;
}

/* Custom Scrollbar Styling */
.scrollable_sidebar::-webkit-scrollbar {
  width: 9px;
}

.scrollable_sidebar::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.scrollable_sidebar::-webkit-scrollbar-thumb {
  background: rgba(0, 139, 249, 1);
  border-radius: 10px;
}
.tab_tech_img {
  padding-top: 30px;
}

/* res mobile */
.dropdown_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: linear-gradient(
    90deg,
    rgba(240, 240, 240, 0.6),
    rgba(255, 255, 255, 0.6)
  );
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
  position: relative;
}

.dropdown_header:hover {
  background: #e0ecf9;
}

.dropdown_header.open {
  background: rgba(0, 139, 249, 1);
  color: #fff;
}

/* Arrow */
.dropdown_header::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  position: absolute;
  right: 20px;
  top: 50%;
}

.dropdown_header.open::after {
  transform: translateY(-50%) rotate(-135deg);
}
.last_tab {
  padding-bottom: 500px; /* Adds space after the 13th tab */
}

/* end tab section */

/* responisve css */
@media only screen and (min-width: 1399px) and (max-width: 1680px) {
  .tech_container {
    padding: 0 30px;
  }
}

@media (max-width: 1199.98px) {
  .tab_tech_flex {
    padding-left: 45px;
    column-gap: 28px;
  }
  .tech_stack_wrapper {
    height: 360px;
  }
  .tech_stack_main {
    padding-top: 80px;
  }
}

@media (max-width: 991.98px) {
  .tab_tech_img {
    padding-top: 30px;
    display: block;
    float: left;
    width: 100%;
  }
  .tech_tab_section {
    padding-top: 50px;
  }
  .tech_section {
    padding: 0px 0 !important;
  }
}

@media (max-width: 767.98px) {
  :root {
    --fs_60: 40px;
    --fs_32: 24px;
    --fs_46: 28px;
    --fs_20: 20px;
    --fs_18: 18px;
    --pt_20: 20px;
  }
  .tab_tech_flex {
    padding-left: 20px;
    column-gap: 28px;
  }
  .tech_stack_wrapper {
    height: auto;
    padding-bottom: 15px;
  }
  .tech_content h1 {
    padding-top: 20px;
  }
  .tab_tech_inner {
    width: 100px;
  }
  .tech_section {
    padding: 0px 0 !important;
  }
  .tab_tech_flex {
    padding-top: 20px;
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .tab_tech_inner {
    width: 85px;
  }
}
.last_tab {
  padding-bottom: 500px;
}
