/* ─── Reset & Base ────────────────────────────────────────── */

body {
  font-family: 'Inter', sans-serif;
  min-height: 200vh;
}

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;  
  --navbar: #0c2d74;
  --accent: #327ac6;
  --accent-light: #818cf8;
  --font: 'Inter', sans-serif;
  --radius: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 20px 60px rgba(0,0,0,0.08);
  --shadow-hover: 0 30px 80px rgba(0,0,0,0.15);
}
/* ─── Hero Background ─────────────────────────────────────── */
.hero-bg {
  position: fixed;
  inset: 0;
 /*  background: linear-gradient(135deg, #001a5e 0%, #003499 40%, #0060cc 100%);
  background: linear-gradient(to right, #ffffff 0%, #4488ba 50%, #ffffff 100%); */
  z-index: -2;
  height:60px;
}

/* ─── Scroll Progress Bar ─────────────────────────────────── */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.50));
  Background:var(--navbar);
  z-index: 1200;
  transition: width 0.1s linear;
}

/* ─── Navbar ──────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 40px;
  background: transparent;
  box-shadow: none;
  transition:
    padding         0.4s ease,
    background      0.4s ease,
    box-shadow      0.4s ease,
    backdrop-filter 0.4s ease;
}

.navbar_bg {
  background: linear-gradient(135deg, #001a5e 0%, #003499 40%, #0060cc 100%);
  background: linear-gradient(to right, #ffffff 0%, #4488ba 50%, #ffffff 100%);
/*   background: linear-gradient(135deg, #020818 0%, #001240 45%, #001f6b 100%);
 */}

/* Frosted glass on scroll */
.navbar.scrolled {
  padding: 8px 40px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(to right, #ffffff 0%, #4488ba 50%, #ffffff 100%);
  /* background: linear-gradient(135deg, #020818 0%, #001240 45%, #001f6b 100%); */
}

/* ─── Navbar Inner Grid ───────────────────────────────────── */
.navbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

/* ─── Nav Menus ───────────────────────────────────────────── */
.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu.left {
  justify-content: flex-end;
  padding-right: 48px;
}

.nav-menu.right {
  justify-content: flex-start;
  padding-left: 48px;
}

.nav-menu li a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.90);
  color: var(--black);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  #text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
  /* background: linear-gradient(135deg, #ced0df, #60a5fa, #a78bfa);
      background-clip: text;
    -webkit-text-fill-color: transparent; */
}

/* Animated underline */
.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: #fff;
  Background:var(--accent);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-menu li a:hover { color: #fff; color: var(--white);}
.nav-menu li a:hover::after { width: 100%; }

.nav-menu li a.active { color: #fff; color: var(--white);}
.nav-menu li a.active::after { width: 100%; }

/* ─── Center Logo ─────────────────────────────────────────── */
.navbar-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar-logo img {
  height: 150px;
  width: auto;
  object-fit: contain;
  cursor: pointer;
  #filter: brightness(0) invert(1) drop-shadow(0 2px 12px rgba(255, 255, 255, 0.30));
  transition: height 0.4s ease, filter 0.4s ease;
}

.navbar.scrolled .navbar-logo img {
  height: 64px;
  #filter: brightness(0) invert(1) drop-shadow(0 1px 6px rgba(255, 255, 255, 0.20));
}

/* ─── CTA Button ──────────────────────────────────────────── */
.btn-cta {
  display: inline-block;
  background: rgba(255, 255, 255, 0.20) !important;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1.5px solid rgba(255, 255, 255, 0.60);
  backdrop-filter: blur(6px);
  transition: background 0.3s, border-color 0.3s, transform 0.2s !important;
}

.btn-cta::after { display: none !important; }

.btn-cta:hover {
  background: rgba(255, 255, 255, 0.35) !important;
  border-color: #fff !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* ─── Hamburger ───────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.35s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ─── Mobile Drawer ───────────────────────────────────────── */
.mobile-menu {
  display: none;
  flex-direction: column;
  #background: rgba(0, 20, 80, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  padding: 90px 32px 40px;
  box-shadow: -6px 0 30px rgba(0, 0, 0, 0.20);
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1050;
  overflow-y: auto;
}

.mobile-menu.open { right: 0; display: block; }

.mobile-menu a {
  display: block;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: color 0.3s, padding-left 0.3s;
  z-index: 9999;       /* ← Try adding this */
  pointer-events: all; /* ← And this */
}

.mobile-menu a:hover  { color: #fff; padding-left: 8px; }
.mobile-menu a.active { color: #fff; }

.mobile-menu .btn-cta {
  margin-top: 28px;
  text-align: center;
  display: block;
  padding: 12px 20px;
}

/* ─── Overlay ─────────────────────────────────────────────── */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.50);
  backdrop-filter: blur(3px);
  z-index: 1040;
}

.overlay.open { display: block; }

/* ─── Responsive: Tablet ──────────────────────────────────── */
@media (max-width: 1024px) {
  .nav-menu { gap: 20px; }
  .nav-menu.left  { padding-right: 28px; }
  .nav-menu.right { padding-left: 28px; }
}

/* ─── Responsive: Mobile ──────────────────────────────────── */
@media (max-width: 768px) {
  .nav-menu { display: none; }

  .navbar-inner {
    grid-template-columns: auto 1fr auto;
  }

  .hamburger { display: flex; }

  .navbar-logo {
    grid-column: 2;
    justify-content: center;
  }

  .mobile-menu { display: flex; }

  .navbar          { padding: 12px 20px; }
  .navbar.scrolled { padding: 8px 20px; }

  .navbar-logo img                  { height: 52px; }
  .navbar.scrolled .navbar-logo img { height: 36px; }
}

/* ─── Responsive: Small Mobile ────────────────────────────── */
@media (max-width: 480px) {
  .navbar-logo img                  { height: 44px; }
  .navbar.scrolled .navbar-logo img { height: 32px; }
}

 @keyframes bounce {
      0%,100% { transform: translateY(0); }
      50%      { transform: translateY(8px); }
    }