/* Navbar Mobile Menu Styles */
.navbar_component {
  position: relative;
  width: 100%;
  overflow: visible;
}

.navbar_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.navbar_menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: nowrap;
}

.nav-contact-link {
  white-space: nowrap;
  min-width: fit-content;
  padding: 0.5rem 0;
  position: relative;
}

.footer-contact-link-text {
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff80;
  transition: color 0.3s ease;
}

.footer-contact-link-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  transform-origin: left;
}

.navbar_menu-button {
  display: none;
  cursor: pointer;
  padding: 10px;
}

/* Mobile Full-Screen Menu */
.mobile-menu-open {
  background-color: black !important;
}

.mobile-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 20px;
  padding-bottom: 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-direction: column;
}

.mobile-menu-item {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  transition-delay: 0s;
}

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

/* .mobile-dropdown-menu.open .mobile-menu-item:nth-child(1) {
  transition-delay: 0.1s;
}

.mobile-dropdown-menu.open .mobile-menu-item:nth-child(2) {
  transition-delay: 0.15s;
}

.mobile-dropdown-menu.open .mobile-menu-item:nth-child(3) {
  transition-delay: 0.2s;
}

.mobile-dropdown-menu.open .mobile-menu-item:nth-child(4) {
  transition-delay: 0.25s;
}

.mobile-dropdown-menu.open .mobile-menu-item:nth-child(5) {
  transition-delay: 0.3s;
} */

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

/* Black background overlay when menu is open */
.mobile-dropdown-menu.open::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: -1;
}

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
  width: 100%;
  max-width: 250px;
  background-color: black;
}


.mobile-menu-link {
  color: #ffffff80;
  font-weight: 500;
  text-decoration: none;
  transition: color .275s;
  overflow: hidden;
  font-size: 1.4em;
}

.mobile-menu-link:hover {
  color: #8d71ff;
  transform: translateX(5px);
}

.navbar_menu-buttons {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

/* Mobile menu button styles */
.mobile-dropdown-menu .navbar_menu-buttons {
  text-align: center;
  width: 100%;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  transition-delay: 0s;
}

.mobile-dropdown-menu.open .navbar_menu-buttons {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.35s;
}

  .mobile-menu-button {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    background: transparent;
    border: 2px solid #667eea;
    border-radius: 6px;
    transition: all 0.3s ease;
    min-width: 140px;
    letter-spacing: 0.5px;
    text-align: center;
    color: #ffffff80;
    font-weight: 500;
    transition: color .275s;
    overflow: hidden;
    font-size: 1.4em;
    padding: 0.8rem 2rem;
  }

/* Mobile Menu Styles */
@media screen and (max-width: 499px) {
  .navbar_menu {
    display: none; /* Hide desktop menu on mobile */
  }

  .navbar_menu-button {
    display: block;
    z-index: 1000;
  }

  /* Menu icon animation */
  .menu-icon1 {
    width: 24px;
    height: 20px;
    position: relative;
    cursor: pointer;
  }

  .menu-icon_line {
    margin: 3px;
    width: 1.5rem;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
  }

  /* Menu icon animation when open */
  .w--nav-dropdown-open .menu-icon_line-top {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .w--nav-dropdown-open .menu-icon_line-middle {
    opacity: 0;
  }

  .w--nav-dropdown-open .menu-icon_line-bottom {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .button-group {
    justify-content: center;
    align-items: center;
  }
}

/* Desktop styles */
@media screen and (min-width: 992px) {
  .navbar_menu-button {
    display: none;
  }

  .mobile-dropdown-menu {
    display: none; /* Hide mobile dropdown on desktop */
  }

  .navbar_menu {
    gap: 2.5rem;
  }

  .nav-contact-link {
    font-size: 1rem;
  }
}

/* Large desktop styles */
@media screen and (min-width: 1200px) {
  .navbar_container {
    max-width: 1400px;
    padding: 0 2rem;
  }

  .navbar_menu {
    gap: 3rem;
  }
}
