.fancybox__container{
  width: 100vw !important;
  max-width: 100vw !important;
}

/* General Header Styles */
#header {
  color: #1a1a1a;
  padding-top: 2rem;
  position: absolute;
  z-index: 20;
  width: 100%;
}

/* Header Container */
.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(42.7px, 4.163vw + 0.07px, 80px);
  height: clamp(52px, 5.357vw - 2.86px, 100px);
  background-color: var(--white);
  border-radius: clamp(10px, 1.116vw - 1.43px, 20px);
  filter: drop-shadow(0px 5px 8px rgba(0, 0, 0, 0.05));
}

/* Logo Styles */
.logo__branding {
  text-align: left;
}

.logo__branding img {
  width: clamp(100px, 10.417vw - 0.29px, 200px);
  height: auto;
}
nav {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
nav ul {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 50px);
  width: 100%;
  height: 100%;
  position: relative;
}
nav ul li {
  height: 100%;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: .5s ease;
}
nav ul li div, nav ul li a {
  gap: clamp(8px, 0.5vw, 16px);
  text-decoration: none;
  color: var(--black);
  font-size: var(--text-base);
  display: flex;
}
nav ul li .sub-menu {
  position: absolute;
  top: clamp(3.25rem, -0.179rem + 5.357vw, 6.25rem);
  background-color: white;
  display: none;
  gap:0;
  flex-direction: column;
  align-items: start;
  border-radius: 0 0 25px 25px;
  overflow: hidden;
}
nav ul li .sub-menu a {
  padding: 20px 36px;
  width: 100%;
  transition: .5s ease;
  justify-content: start;
  align-items: center;
  cursor: pointer;
}
nav ul li .sub-menu a .active {
  width: 8px;
  height: 8px;
  border-radius: 8px;
  background-color: var(--blue); /* Fallback color */
  opacity: 0;
  visibility: hidden; /* Hide initially */
  display: inline-block; /* Respect width/height */
  transform: translateX(-5px); /* Start slightly to the left */
  transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out, transform 0.4s ease-in-out;
  margin-right: 8px; /* Optional: space between dot and text */
  vertical-align: middle; /* Optional: align with text */
}
nav ul li .sub-menu a:hover .active {
  opacity: 1;
  visibility: visible; /* Show the dot */
  transform: translateX(0); /* Slide to original position (rightward) */
}
/* Optional: Add focus state for accessibility */
nav ul li .sub-menu a:focus .active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
nav ul li:hover .menu{
  color: var(--blue);
  font-weight: 500;
}
nav ul li:hover .menu span{
  rotate: -90deg;
}
nav ul li:hover .sub-menu{
  display: flex;
}
nav ul li .menu {
  display: flex;
  align-items: center;
}
nav ul li .menu span {
  display: flex;
  align-items: center;
  rotate: 90deg;
  font-family: "Poppins";
  transition: .5s ease;
}
.ham {
  display: none;
}

/* Responsive Styles */
@media (min-width: 768px) and (max-width: 1023px) {
  
}

@media (max-width: 767px) {
  .menu-toggle {
    display: block; /* Show hamburger icon on mobile */
  }

  .header__container {
    padding: clamp(16px, 1.953vw, 20px) clamp(32px, 2.083vw, 40px);
    height: fit-content;
    align-items: center;
    text-align: center;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    transition: height 0.3s ease;
  }

  .header__buttons,
  nav {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transform: translateY(-10px);
    margin-top: 0;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease,
      max-height 0.3s ease, margin-top 0.8s ease;
  }

  nav.show {
    margin-top: clamp(16px, 1.953vw, 20px);
  }

  .header__buttons.show,
  nav.show {
    opacity: 1;
    max-height: 500px; /* Set large enough to fit content */
    visibility: visible;
    transform: translateY(0);
  }

  .header__left {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .ham {
    width: clamp(48px, 5.469vw, 56px);
    display: block;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 400ms;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transform: translateX(1.4vw) translateY(0.5vw);
  }
  .line {
    fill: none;
    transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
    stroke: var(--dark);
    stroke-width: 5.5;
    stroke-linecap: round;
  }
  .ham6 .top {
    stroke-dasharray: 40 172;
  }
  .ham6 .middle {
    stroke-dasharray: 40 111;
  }
  .ham6 .bottom {
    stroke-dasharray: 40 172;
  }
  .ham6.active .top {
    stroke-dashoffset: -132px;
  }
  .ham6.active .middle {
    stroke-dashoffset: -71px;
  }
  .ham6.active .bottom {
    stroke-dashoffset: -132px;
  }
  nav {
    width: 100%;
  }
  nav ul {
    width: 100%;
    height: 100%;
    flex-direction: column;
    gap: 0;
  }
  nav ul li {
    height: fit-content;
    width: 100%;
    text-align: center;
    padding: 0.5rem 0;
    flex-direction: column;
  }
  nav ul li .sub-menu {
    position: unset;
    width: 100%;
    border-radius: 0;
  }
  nav ul li .sub-menu a {
    width: 100%;
  }
  nav ul li .menu, nav ul li a {
    width: 100%;
    height: fit-content;
    justify-content: space-between;
    padding: 20px 0.5rem;
  }
  #header {
    padding-top: 0;
    background-color: transparent;
    filter: drop-shadow(0px 5px 8px rgba(0, 0, 0, 0));
    transition: filter 0.2s ease-in-out, background-color 0.2s ease-in-out;
  }
  #header.scrolled {
    background-color: var(--white);
    filter: drop-shadow(0px 5px 8px rgba(0, 0, 0, 0.05));
  }
  .header__container {
    padding: 1.25rem 0;
    border-radius: 0;
    filter: none;
    background-color: transparent;
  }
  .header__container.active{
    justify-content: start;
    height: 100vh;
  }
  .logo__image {
    max-height: 36px;
    min-height: 30px;
  }
  nav.show{
    height: 100%;
  }
}