.navbar {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  background: rgba(8, 13, 52, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02), 0 2px 6px rgba(0, 20, 40, 0.05);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  z-index: 1000;
  transition: transform 0.3s ease-in-out;
}

.navbar.nav-hidden {
  transform: translateY(-100%);
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  position: relative;
  z-index: 30;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
}

.logo-icon img {
  max-width: 40px;
}

.logo-text {
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
}

.nav-links-container,
.cta-button.desktop-cta {
  display: none;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 30;
  padding: 0;
  transition: transform 0.4s ease;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.hamburger.open {
  transform: rotate(360deg);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(8, 13, 52,0.98);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
  z-index: 25;
  padding: 6rem 0;
  box-shadow: -10px 0 30px rgba(0,0,0,0.05);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.mobile-nav-links a {
  font-size: clamp(1rem, 0.9295rem + 0.2273vw, 1.1rem);
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-nav-links a:hover {
  color: #fe6b01;
}

.cta-button {
  background: #fe6b01;
  color: white;
  border: none;
  padding: 1.25rem 3rem;
  border-radius: 0px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s;
}

.cta-button a {
  text-decoration: none;
  color: #ffffff;
}


@media screen and (min-width: 1000px) {
  .navbar {
    padding: 0.5rem 2rem;
  }

  .nav-links-container {
    display: flex;
    justify-content: center;
    flex: 1 1 auto;
    margin: 0 1.5rem;
  }

  .nav-links {
    display: flex;
    list-style: none;
    gap: 2.2rem;
    align-items: center;
  }

  .nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: #fff;
    font-size: 1rem;
    transition: color 0.2s ease;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
  }

  .nav-links a:hover {
    color: #fe6b01;
    border-bottom-color: #fe6b01;
  }

  .cta-button.desktop-cta {
    display: inline-block;
    padding: 1.25rem 1.5625rem;
  }

  /* .cta-button {
    background: #2563eb;
    color: white;
    border: none;
    padding: 0.65rem 1.8rem;
    border-radius: 60px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    box-shadow: 0 8px 16px -8px #2563eb80;
    border: 1px solid #ffffff30;
    white-space: nowrap;
    z-index: 10;
  }

  .cta-button:hover {
    background: #1d4ed8;
    transform: scale(1.02);
  } */

  .hamburger {
    display: none;
  }

  .mobile-menu {
    display: none;
  }
}