/* ─── CSS Variables ──────────────────────────────────────────── */
:root {
  --navy-900: #0a1628;
  --navy-800: #0f2040;
  --navy-700: #163070;
  --navy-600: #1a3a8c;
  --blue-400: #4fc3f7;
  --blue-500: #0ea5e9;
  --blue-600: #0284c7;
  --blue-700: #0369a1;
  --cyan-400: #22d3ee;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --gray-50:  #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

/* ─── Base ───────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--gray-800);
  -webkit-font-smoothing: antialiased;
}

/* ─── Typography helpers ─────────────────────────────────────── */
.fw-black   { font-weight: 900 !important; }
.lh-tight   { line-height: 1.15 !important; }
.lh-relaxed { line-height: 1.7 !important; }
.ls-widest  { letter-spacing: 0.12em !important; }
.ls-wide    { letter-spacing: 0.06em !important; }
.fs-xs      { font-size: 0.75rem !important; }
.fs-2xs     { font-size: 0.65rem !important; }

.text-gold   { color: var(--blue-500) !important; }
.text-gold-4 { color: var(--blue-400) !important; }
.text-navy   { color: var(--navy-600) !important; }
.text-gray-2 { color: var(--gray-200) !important; }
.text-gray-3 { color: var(--gray-300) !important; }
.text-gray-4 { color: var(--gray-400) !important; }
.text-gray-5 { color: var(--gray-500) !important; }
.text-gray-6 { color: var(--gray-600) !important; }
.text-gray-7 { color: var(--gray-700) !important; }
.text-gray-9 { color: var(--gray-900) !important; }
.text-emerald { color: var(--emerald-600) !important; }

/* ─── Color backgrounds ──────────────────────────────────────── */
.bg-gold       { background-color: var(--blue-500) !important; }
.bg-gold-light { background-color: rgba(14,165,233,0.10) !important; }
.bg-gold-faint { background-color: rgba(14,165,233,0.15) !important; }
.bg-navy       { background-color: var(--navy-900) !important; }
.bg-gray-50    { background-color: var(--gray-50) !important; }
.bg-amber      { background-color: var(--blue-400) !important; }
.bg-emerald    { background-color: var(--emerald-500) !important; }
.bg-navy-icon  { background-color: rgba(26,58,140,0.08) !important; }
.bg-glass      { background: rgba(255,255,255,0.1) !important; backdrop-filter: blur(12px); }
.bg-white-90   { background: rgba(255,255,255,0.9) !important; backdrop-filter: blur(4px); }
.bg-white-60   { background: rgba(255,255,255,0.6) !important; }
.bg-white-10   { background: rgba(255,255,255,0.1) !important; }

/* ─── Borders ────────────────────────────────────────────────── */
.border-glass    { border: 1px solid rgba(255,255,255,0.2) !important; }
.border-white-10 { border-color: rgba(255,255,255,0.1) !important; }
.border-amber    { border-color: rgba(14,165,233,0.3) !important; }
.border-gray-1   { border-color: var(--gray-100) !important; }
.border-gray-2   { border-color: var(--gray-200) !important; }
.rounded-4       { border-radius: 1rem !important; }
.rounded-5       { border-radius: 1.5rem !important; }

/* ─── Sizing helpers ─────────────────────────────────────────── */
.wh-9  { width: 2.25rem; height: 2.25rem; flex-shrink: 0; }
.wh-10 { width: 2.5rem;  height: 2.5rem;  flex-shrink: 0; }
.wh-12 { width: 3rem;    height: 3rem;    flex-shrink: 0; }
.wh-14 { width: 3.5rem;  height: 3.5rem;  flex-shrink: 0; }
.wh-16 { width: 4rem;    height: 4rem;    flex-shrink: 0; }

.max-w-xl  { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-440 { max-width: 440px; }

/* ─── Spacing helpers ────────────────────────────────────────── */
.py-section { padding-top: 6rem !important; padding-bottom: 6rem !important; }
.pt-hero    { padding-top: 7rem !important; }
.mb-section { margin-bottom: 4rem !important; }

/* ─── Misc helpers ───────────────────────────────────────────── */
.pe-none        { pointer-events: none !important; }
.select-none    { user-select: none !important; }
.overflow-x-clip { overflow-x: clip !important; }
.resize-none    { resize: none !important; }
.z-50           { z-index: 1050 !important; }
.z-10           { z-index: 10 !important; }
.z-0            { z-index: 0 !important; }
.translate-y-20 { transform: translateY(5rem) !important; }
.inset-0        { top:0; left:0; right:0; bottom:0; }
.opacity-20     { opacity: 0.2 !important; }

/* ─── Hero ───────────────────────────────────────────────────── */
.hero-bg {
  background: linear-gradient(135deg, #0a1628 0%, #0f2040 35%, #163070 65%, #1a3a8c 100%);
}
@media (min-width: 992px) {
  .hero-bg { min-height: 100vh; }
}

.hero-overlay {
  background: linear-gradient(to right, rgba(10,22,40,0.95) 50%, rgba(10,22,40,0.55) 100%);
}

/* ─── Badge pill (glassmorphic) ──────────────────────────────── */
.badge-pill {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
}

/* ─── Buttons ────────────────────────────────────────────────── */
.btn-gold {
  background-color: var(--blue-500);
  border-color: var(--blue-500);
  color: #fff;
}
.btn-gold:hover, .btn-gold:focus {
  background-color: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
}
.btn-gold:active { transform: scale(0.97); }

/* ─── Form inputs ────────────────────────────────────────────── */
.form-control-glass {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 0.5rem;
  padding-left: 2.25rem;
  padding-right: 1rem;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  font-size: 0.875rem;
}
.form-control-glass::placeholder { color: var(--gray-400); }
.form-control-glass:focus {
  background: rgba(255,255,255,0.15);
  border-color: var(--blue-400);
  box-shadow: 0 0 0 2px rgba(14,165,233,0.35);
  color: #fff;
  outline: none;
}

/* Icon absolute prefix inside input */
.input-icon-wrap { position: relative; }
.input-icon-wrap .input-icon {
  position: absolute;
  top: 50%;
  left: 0.75rem;
  transform: translateY(-50%);
  pointer-events: none;
}
.input-icon-wrap textarea ~ .input-icon,
.input-icon-wrap .input-icon.top { top: 0.65rem; transform: none; }

/* ─── Feature strip ──────────────────────────────────────────── */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: 1rem 1rem 0 0;
  overflow: hidden;
}
@media (min-width: 992px) {
  .feature-strip { grid-template-columns: repeat(4, 1fr); }
}

/* ─── Card hover ─────────────────────────────────────────────── */
.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(14,165,233,0.12);
}

/* ─── Nav link underline hover ───────────────────────────────── */
.nav-link {
  position: relative;
  text-decoration: none;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-400);
  transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }

/* ─── Mobile menu ────────────────────────────────────────────── */
.mobile-menu { display: none; }
.mobile-menu.open { display: block; }

/* ─── Process section ────────────────────────────────────────── */
.process-card-amber {
  background: linear-gradient(135deg, var(--gray-50), #fff);
  border: 1px solid var(--gray-100);
}
.process-card-emerald {
  background: linear-gradient(135deg, #ecfdf5, #fff);
  border: 1px solid #d1fae5;
}
.step-number-bg {
  position: absolute;
  bottom: -0.5rem;
  right: -0.25rem;
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.step-number-gray  { color: var(--gray-100); }
.step-number-green { color: rgba(16,185,129,0.12); }

.step-circle-amber   { width:2.5rem; height:2.5rem; background:var(--blue-500); flex-shrink:0; }
.step-circle-emerald { width:2.5rem; height:2.5rem; background:var(--emerald-500); flex-shrink:0; }

/* ─── Certificate ────────────────────────────────────────────── */
.certificate-border {
  border: 3px solid #1a3a8c;
  background: linear-gradient(135deg, #f0f6ff, #e8f2fc);
}

/* ─── Why choose us icon box ─────────────────────────────────── */
.why-icon {
  transition: background-color 0.2s ease;
}
.why-icon:hover { background-color: rgba(14,165,233,0.20) !important; }

/* ─── FAQ ────────────────────────────────────────────────────── */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-content.open { max-height: 300px; }

/* ─── Toast ──────────────────────────────────────────────────── */
#toast {
  transform: translateY(5rem);
  opacity: 0;
  transition: all 0.3s ease;
}
#toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ─── AOS-like scroll animations ─────────────────────────────── */
[data-aos] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Pages dropdown — hover behaviour ───────────────────────── */
.pages-toggle::after { display: none !important; }

.pages-toggle {
  position: relative;
}
.pages-toggle::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-400);
  transition: width 0.25s ease;
}
.dropdown:hover .pages-toggle::before {
  width: 100%;
}

.pages-caret {
  opacity: 1;
  transition: transform 0.2s ease;
}
.dropdown:hover .pages-caret {
  transform: rotate(180deg);
}

/* Pages dropdown — positioned via JS to navbar bottom edge */
#navbar .dropdown-menu {
  position: fixed !important;
  margin: 0 !important;
  border-top: none !important;
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}

/* Filled bridge — same colour as dropdown, covers the gap so it looks connected */
#navbar .dropdown-menu::before {
  content: '';
  position: absolute;
  top: -24px;
  left: 0;
  right: 0;
  height: 24px;
  background: #0a1628;
}

.dropdown:hover > .dropdown-menu {
  display: block;
}

/* ─── Navbar dropdown ────────────────────────────────────────── */
.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(14,165,233,0.12) !important;
  color: #fff !important;
}

/* ─── Navbar scrolled state ──────────────────────────────────── */
.navbar-scrolled {
  background: #0a1628 !important;
}

/* ─── Footer ─────────────────────────────────────────────────── */
.footer-link { color: var(--gray-400); text-decoration: none; transition: color 0.2s; }
.footer-link:hover { color: #fff; }

/* ─── Misc color helpers for inline replacements ─────────────── */
.text-blue-6 { color: #0ea5e9 !important; }
.bg-blue-6   { background-color: #0ea5e9 !important; }
