/* #header-spacer {
  width: 100%;
  margin-bottom: 159px;
}
@media (max-width: 1024px) {
  #header-spacer {
    width: 100%;
    margin-bottom: 240px;
  }
}
@media (max-width: 768px) {
  #header-spacer {
    width: 100%;
    margin-bottom: 220px;
  }
}
@media (max-width: 480px) {
  #header-spacer {
    width: 100%;
    margin-bottom: 150px;
  }
} */
.hamburger-line {
  display: block;
  width: 28px;
  height: 3px;
  background-color: currentColor;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  border-radius: 2px;
}

.hamburger-open .hamburger-line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger-open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-open .hamburger-line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu Dropdown */
.mobile-dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-dropdown.open {
  max-height: 2000px;
}

/* Menu Item Fade-in Animation */
.menu-item {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s ease;
}

.mobile-dropdown.open .menu-item {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays */
.mobile-dropdown.open .menu-item:nth-child(1) {
  transition-delay: 0.05s;
}
.mobile-dropdown.open .menu-item:nth-child(2) {
  transition-delay: 0.1s;
}
.mobile-dropdown.open .menu-item:nth-child(3) {
  transition-delay: 0.15s;
}
.mobile-dropdown.open .menu-item:nth-child(4) {
  transition-delay: 0.2s;
}
.mobile-dropdown.open .menu-item:nth-child(5) {
  transition-delay: 0.25s;
}
.mobile-dropdown.open .menu-item:nth-child(6) {
  transition-delay: 0.3s;
}
.mobile-dropdown.open .menu-item:nth-child(7) {
  transition-delay: 0.35s;
}
.mobile-dropdown.open .menu-item:nth-child(8) {
  transition-delay: 0.4s;
}
.mobile-dropdown.open .menu-item:nth-child(9) {
  transition-delay: 0.45s;
}
.mobile-dropdown.open .menu-item:nth-child(10) {
  transition-delay: 0.5s;
}
.mobile-dropdown.open .menu-item:nth-child(11) {
  transition-delay: 0.55s;
}
.mobile-dropdown.open .menu-item:nth-child(12) {
  transition-delay: 0.6s;
}

/* Submenu Animation - Mobile */
.submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.submenu.open {
  max-height: 500px;
}

/* Desktop Dropdown Styles */
.desktop-dropdown {
  position: relative;
}

.desktop-dropdown-menu {
  position: absolute;
  left: 0;
  top: 100%;
  padding-top: 0.5rem;
  width: 15rem;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.desktop-dropdown:hover .desktop-dropdown-menu,
.desktop-dropdown:focus-within .desktop-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.desktop-dropdown:hover .dropdown-chevron,
.desktop-dropdown:focus-within .dropdown-chevron {
  transform: rotate(180deg);
}
