.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;
}
.header__menu-item {
  height: 100%;
  display: flex;
  position: relative;
  align-items: center;
  cursor: pointer;
  transition: .5s ease;
}
.header__menu-item div, .header__menu-item a {
  gap: clamp(8px, 0.5vw, 16px);
  text-decoration: none;
  color: var(--black);
  font-size: var(--text-base);
  display: flex;
}
.header__menu-item .sub-menu {
  position: absolute;
  top: clamp(3.25rem, -0.179rem + 5.357vw, 6.25rem);
  left: -22px;
  background-color: white;
  display: none;
  gap:0;
  flex-direction: column;
  align-items: start;
  border-radius: 0 0 clamp(10px, 1.116vw - 1.43px, 20px) clamp(10px, 1.116vw - 1.43px, 20px);
  overflow: hidden;
}
.header__menu-item .sub-menu a {
  display: inline-block;
  white-space: nowrap;
  padding: clamp(0.875rem, 0.625rem + 0.521vw, 1.25rem) clamp(1.5rem, 1rem + 1.042vw, 2.25rem);
  width: 100%;
  transition: .5s ease;
  justify-content: start;
  align-items: center;
  cursor: pointer;
}
.header__menu-item .sub-menu a .active {
  width: 8px;
  height: 8px;
  border-radius: 8px;
  background-color: var(--blue);
  opacity: 0;
  visibility: hidden; 
  display: inline-block; 
  transform: translateX(-5px); 
  transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out, transform 0.4s ease-in-out;
  margin-right: 8px;
  vertical-align: middle; 
}
.header__menu-item .sub-menu a:hover .active {
  opacity: 1;
  visibility: visible; 
  transform: translateX(0); 
}

.header__menu-item .sub-menu a:focus .active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.header__menu-item:hover .menu{
  color: var(--blue);
}
.header__menu-item:hover .menu span{
  rotate: -90deg;
}
.header__menu-item:hover .sub-menu{
  display: flex;
}
.header__menu-item .menu {
  display: flex;
  align-items: center;
}
.header__menu-item .menu span {
  display: flex;
  align-items: center;
  rotate: 90deg;
  font-family: "Poppins" !important;
  transition: .5s ease;
}
.header__right{
    display: flex;
    height: 100%;
    align-items: center;
    gap: clamp(16px, 2.5vw, 50px);
}
.header__right a{
    height: fit-content;
}
.ham {
  display: none;
}

/* Footer */

.footer {
  background-image: var(--bg-gradient);
  padding: 4% 0 2%;
}

.footer__logo {
  width: 50%;
}

.footer__logo img {
  width: 100%;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--white);
  border-radius: 15px;
  margin: 0 auto;
}

.footer__top img {
  width: 50%;
  object-fit: cover;
  background-repeat: no-repeat;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}

.footer__top__content {
  padding: 2rem 0 0 5rem;
  width: 50%;
}

.footer__heading h2 {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  margin-bottom: 2rem;
  color: var(--dark);
  width: 80%;
}

.footer__heading p {
  font-size: var(--text-base);
  color: var(--dark);
  margin-bottom: 2rem;
  line-height: 2rem;
}

.footer__cta {
  display: flex;
  border: 1px solid var(--dark);
  margin-bottom: 40px;
  border-radius: 10px;
}

.footer__cta input {
  padding: 1rem;
  border: none;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  width: 50%;
}

.footer__cta input::placeholder {
  color: var(--dark);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
}

.footer__cta button {
  cursor: pointer;
  font-size: var(--text-md);
  font-weight: var(--font-semibold);
  width: 50%;
}

.footer__main {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}

.line {
  width: 100%;
  height: 2px;
  background-color: var(--dark);
  border-radius: 10px;
  margin: 5rem 0;
}

.footer__logo-section {
  width: 30%;
}

.footer__social {
  display: flex;
  justify-self: start;
  flex-direction: column;
  margin-top: 13%;
}

.footer__social a {
  margin-right: 1%;
  color: #333;
  text-decoration: none;
  width: fit-content;
  height: 100%;
}

.footer__social span {
  font-size: var(--text-md);
  font-weight: var(--font-bold);
  color: var(--dark);
  margin-bottom: 10%;
}

.footer__social-icons {
  display: flex;
  align-items: end;
  gap: clamp(1rem, 0rem + 1.563vw, 1.875rem);
  width: 100%;
  height: clamp(1.125rem, -0.089rem + 1.897vw, 2.188rem);
}

.footer__social-icons > a > img {
  width: fit-content;
  height: 100%;
}

.footer__columns {
  display: flex;
  width: 65.8%;
  gap: 5vw;
  justify-content: space-between;
  margin: 1% 0 0px;
}

.footer__column h3 {
  font-size: var(--text-md);
  font-weight: var(--font-bold);
  color: var(--dark);
}

/* .footer__columns > .footer__column:nth-child(3) > h3 {
  margin-bottom: 23%;
} */

.footer__column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45vw;
}

.footer__column {
  display: flex;
  flex-direction: column;
  gap: 2.3vw;
}

.footer__column li {
  margin-bottom: 14%;
}

.footer__column a {
  font-size: var(--text-base);
  font-weight: var(--font-reguler);
  color: var(--dark);
  text-decoration: none;
}

.footer__bottom {
  padding: 9.4% 0 2%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copyright {
  color: var(--dark);
  font-size: var(--text-md);
  font-weight: var(--font-semibold);
}

.footer__legal {
  display: flex;
  gap: 0.3vw;
}

.footer__legal a {
  color: var(--dark);
  font-size: var(--text-md);
  font-weight: var(--font-semibold);
  text-decoration: none;
}

.footer__legal p {
  color: var(--dark);
  font-size: var(--text-md);
  font-weight: var(--font-semibold);
}

/* Responsive Styles */
@media (max-width: 1023px) {
  /* Footer */
  .footer__social a {
    width: fit-content;
  }
}

@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__right,
  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__right.show,
  nav.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: fit-content;
    height: fit-content;
  }

  .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: fit-content;
    flex-direction: column;
    gap: 0;
  }
  nav ul li {
    height: fit-content;
    width: 100%;
    text-align: center;
    flex-direction: column;
  }
  .header__menu-item{
      height: fit-content;
  }
  .header__menu-item .sub-menu {
    position: unset;
    width: 100%;
    border-radius: 0;
  }
  .header__menu-item:hover .sub-menu{
      display: inherit;
  }
  .header__menu-item .sub-menu a:hover .active{
      visibility: hidden;
  }
  .header__menu .header__menu-item .sub-menu {
        display: none;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
  .header__menu .header__menu-item .sub-menu.show {
        display: block;
        opacity: 1;
        transform: translateY(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: fit-show;
    min-height: max-content;
  }
  .header__right.show{
      min-height: max-content;
      flex-direction: column-reverse;
      width: 100%;
  }
  .header__right .header__menu-item .menu{
      display: none;
  }
  .header__right .header__menu-item .sub-menu{
      display: flex;
      flex-direction: row;
      padding: 20px 0;
  }
  .header__menu-item .sub-menu a {
      display: flex;
      align-items: start;
  }
  .header__right .header__menu-item .sub-menu a:first-child{
      border-right: 1px solid black;
  }
  .header__right .header__menu-item .sub-menu a{
      padding: 0 0.5rem;
  }
  .header__right .header__menu-item .sub-menu a span{
      display: none;
  }
  .header__right.show li{
      align-self: start;
  }
  
  /* Footer */
  .footer {
    padding: 11% 0 0;
  }

  .footer__top {
    /* flex-direction: column-reverse; */
    align-items: center;
  }

  .footer__top img {
    width: 100%;
    height: auto;
    border-radius: 15px;
  }

  .footer__top__content {
    width: 100%;
    padding: 2rem 0;
    text-align: center;
  }

  .footer__main {
    flex-direction: column;
    align-items: center;
    padding: 0 8%;
  }

  .footer__social span {
    margin-bottom: 13%;
    font-size: var(--text-base);
  }

  .footer__social-icons {
    gap: 4.5vw;
    height: fit-content;
    align-items: center;
  }
  .footer__social-icons a {
    width: fit-content;
  }
  .footer__social-icons a img {
    width: fit-content;
    height: clamp(1.625rem, 0.5rem + 5vw, 2.5rem);
  }

  .footer__logo-section {
    width: 100%;
  }

  .footer__social {
    margin-top: 5%;
  }

  .footer__social a {
    width: 31%;
  }

  .footer__columns {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    text-align: start;
    margin-top: 16%;
    gap: 10vw;
  }

  .footer__column {
    width: fit-content;
  }

  .footer__column li {
    margin-bottom: 1%;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 2.5vw;
    padding-bottom: 7%;
  }

  .footer__legal {
    gap: 1vw;
  }
}