/* ===== Navigation Bar ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;

  /* Modern glass effect */
  background: rgba(15, 20, 30, 0.55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);

  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Darker when scrolling */
.navbar.scrolled {
  background: rgba(15, 20, 30, 0.75);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.35);
}

/* Logo */
.navbar .logo {
  font-family: "Sansation", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #00d8ff, #00ff88);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.navbar .logo:hover {
  opacity: 0.8;
}

/* Nav links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2.2rem;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: #ddd;
  font-family: "Sansation", sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  padding: 0.25rem 0;
}

.nav-links a:hover {
  color: #00d8ff;
}

/* Cool underline effect */
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #00d8ff, #00ff88);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover::after {
  width: 100%;
}

/* CTA Button */
.navbar .btn-primary {
  padding: 0.6rem 1.6rem;
  background: linear-gradient(135deg, #00d8ff, #0072ff);
  border: none;
  border-radius: 999px;
  /* pill shape */
  font-size: 0.95rem;
  font-weight: 600;
  font-family: "Sansation", sans-serif;
  color: white;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 0 15px rgba(0, 200, 255, 0.35);
  text-decoration: none;
}

.navbar .btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 25px rgba(0, 200, 255, 0.55);
}

/* Optional: subtle click press */
.navbar .btn-primary:active {
  transform: scale(0.98);
  box-shadow: 0 0 12px rgba(0, 200, 255, 0.4);
}

/* Hide hamburger on desktop */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  background: none;
  border: none;
  color: white;
}

/* Hamburger */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  background: none;
  border: none;
  color: white;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgb(13 21 40);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    padding: 1rem 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }

  .nav-links.show {
    display: flex;
    animation: dropdown 0.3s ease-in-out;
  }

  @supports not (backdrop-filter: blur(18px)) {
    .nav-links {
      background: rgba(15, 20, 30, 0.85);
    }
  }

  @keyframes dropdown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

.menu-toggle {
  display: block;
  z-index: 1100;
  background: transparent;
  border: 2px solid white;
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #00d8ff;
}

.menu-toggle i {
  color: white;
  font-size: 1.8rem;
}

  .btn-primary {
    display: none;
  }
}
