.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  position: relative;
  z-index: 10000;
}

.hamburger-line {
  width: 30px;
  height: 3px;
  background-color: #000000;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger-line:nth-child(1) {
  margin-bottom: 6px;
}

.hamburger-line:nth-child(2) {
  margin-bottom: 6px;
}

.hamburger-menu.is-active .hamburger-line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.hamburger-menu.is-active .hamburger-line {
  background-color: #ffffff;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(31, 74, 109, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: none;
  opacity: 0;
}

.mobile-menu-overlay.is-open {
  display: flex;
}

.mobile-menu-close-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10000;
}

.mobile-menu-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: rotate(90deg);
}

.mobile-menu-close-btn svg {
  width: 24px;
  height: 24px;
  stroke: #ffffff;
  stroke-width: 2.5;
}

.mobile-menu-close-btn svg path {
  stroke: #ffffff;
}

.mobile-nav-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 20px;
  padding: 30px 20px;
}

.mobile-text-link {
  color: #ffffff !important;
  font-size: 26px;
  font-weight: 400;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 1px;
  position: relative;
  padding: 8px 20px;
  transition: all 0.3s ease;
  text-align: center;
}

.mobile-text-link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 50%;
  height: 2px;
  background: #ffffff;
  transition: transform 0.3s ease;
}

.mobile-text-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

@media (max-width: 991px) {
  .hamburger-menu {
    display: flex;
  }

  .navlink-container,
  .navbar-cta-container {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .mobile-text-link {
    font-size: 24px;
    padding: 7px 16px;
  }

  .mobile-nav-container {
    gap: 18px;
    padding: 25px 20px;
  }
}

@media (max-width: 479px) {
  .mobile-text-link {
    font-size: 22px;
    padding: 6px 12px;
  }

  .mobile-nav-container {
    gap: 16px;
    padding: 20px 16px;
  }

  .hamburger-menu {
    width: 46px;
    height: 46px;
  }

  .hamburger-line {
    width: 28px;
  }

  .mobile-menu-close-btn {
    top: 20px;
    right: 20px;
    width: 46px;
    height: 46px;
  }
}
