/* ==========================================================================
   Dawood Bhai Educational Consultancy — Core Stylesheet
   Design system: "Momentum" — Teal #0D9488 / Coral #FB6D48 / Amber #FFB238 on White & Deep Teal-Charcoal
   Display face: Poppins | Body face: Inter | Data/Utility face: IBM Plex Mono
   Signature motif: the "visa stamp" — a rotated, dashed-ring badge that
   marks proof points (stats, verified stories, approvals) the way a real
   passport collects stamps across a journey. Boarding-pass and document
   components carry the same travel/paperwork language.
   ========================================================================== */

:root {
  /* ---- Color tokens : "Momentum" — Teal + Coral + Amber ---- */
  /* Deliberately not blue: teal is uncommon in the study-abroad-consultancy */
  /* space (everyone defaults to navy/royal blue), so it reads as distinct   */
  /* on sight while staying trustworthy and premium.                        */
  --primary: #0D9488;
  --primary-dark: #0B7A70;
  --primary-light: #5EEAD4;
  --accent: #FB6D48;
  --accent-dark: #E14E28;
  --amber: #FFB238;
  --amber-dark: #C9862A;
  --heading: #16211F;
  --paragraph: #5B6864;
  --border-c: #E1E8E5;
  --bg-white: #FFFFFF;
  --bg-section: #F0FAF8;
  --bg-section-alt: #FFF4EE;

  --ink: var(--heading);
  --ink-soft: #1D2E2A;
  --paper: var(--bg-section);
  --paper-card: var(--bg-white);
  --stamp: var(--accent);
  --stamp-deep: var(--accent-dark);
  --brass: var(--amber-dark);
  --brass-light: var(--amber);
  --success: #16A34A;
  --error: #DC4433;
  --line: var(--border-c);
  --line-dark: rgba(255,255,255,.16);
  --ink-muted: var(--paragraph);
  --ink-faint: #8FA19C;
  --white: #FFFFFF;

  /* legacy aliases kept so existing component CSS keeps working */
  --royal: var(--primary);
  --royal-dark: var(--primary-dark);
  --royal-light: var(--primary-light);
  --navy: #0A2E2A;              /* deep teal-charcoal — footer & loader only, not generic navy-black */
  --navy-soft: #123D37;
  --gold: var(--accent);
  --gold-light: var(--amber);
  --bg-light: var(--bg-section);
  --bg-mist: #E9F7F4;
  --bg-mist-warm: var(--bg-section-alt);
  --teal: var(--primary);

  /* ---- Panels ---- */
  --grad-royal: linear-gradient(135deg, #0B7A70 0%, #0D9488 55%, #14B8A6 100%);
  --grad-navy: linear-gradient(135deg, #0A342F 0%, #0D9488 60%, #2DD4BF 100%);
  --grad-gold: linear-gradient(120deg, #FB6D48 0%, #FFB238 100%);
  --grad-mesh: radial-gradient(circle at 15% 15%, rgba(255,255,255,.14), transparent 45%),
               radial-gradient(circle at 85% 90%, rgba(255,255,255,.10), transparent 45%);

  /* ---- Type ---- */
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* ---- Elevation ---- */
  --shadow-sm: 0 1px 3px rgba(10,25,22,0.07);
  --shadow-md: 0 8px 24px rgba(10,25,22,0.09);
  --shadow-lg: 0 20px 48px rgba(10,25,22,0.16);
  --shadow-gold: 0 10px 24px rgba(251,109,72,0.32);
  --shadow-primary: 0 10px 26px rgba(13,148,136,0.3);

  /* ---- Radius ---- */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-pill: 999px;
  --r-btn: 12px;

  /* ---- Motion ---- */
  --ease: cubic-bezier(.22,.9,.32,1);
  --t-fast: .25s;
  --t-med: .45s;
  --t-slow: .8s;
}

/* ---------------------------------------------------------------------- */
/* Reset & base                                                           */
/* ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
button { font-family: inherit; cursor: pointer; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
::selection { background: var(--gold-light); color: var(--navy); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
}
p { color: var(--ink-muted); line-height: 1.75; margin: 0 0 1em; }

.container-xl {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }
.section-pad { padding: 120px 0; }
.section-pad-sm { padding: 72px 0; }
.bg-mist { background: var(--bg-light); }
.bg-mist-warm { background: var(--bg-mist-warm); }
.bg-navy { background: var(--grad-navy); color: rgba(255,255,255,.85); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.bg-navy p { color: rgba(255,255,255,.68); }

/* ---------------------------------------------------------------------- */
/* Eyebrow / section heading system                                       */
/* ---------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--royal);
  background: rgba(13,148,136,0.08);
  padding: 8px 16px 8px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.bg-navy .eyebrow { background: rgba(255,178,56,0.16); color: var(--gold-light); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700;
}
.section-head p { font-size: 17px; }

.text-gold { color: var(--gold); }
.text-royal { color: var(--royal); }

/* ---------------------------------------------------------------------- */
/* Buttons                                                                 */
/* ---------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 16px 30px;
  border-radius: var(--r-btn);
  border: none;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
  white-space: nowrap;
  position: relative;
}
.btn svg { flex-shrink: 0; transition: transform var(--t-fast) var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--grad-gold);
  color: var(--navy);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 36px rgba(251,109,72,0.36); }

.btn-royal {
  background: var(--grad-royal);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(13,148,136,0.3);
}
.btn-royal:hover { transform: translateY(-3px); box-shadow: 0 20px 36px rgba(13,148,136,0.38); }

.btn-outline {
  background: transparent;
  color: var(--heading);
  border: 1.5px solid var(--line);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); background: rgba(13,148,136,0.05); }

.bg-navy .btn-outline { color: var(--white); border-color: rgba(255,255,255,.25); }
.bg-navy .btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }

.btn-ghost-light {
  background: rgba(255,255,255,.08);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.16); transform: translateY(-3px); }

.btn-sm { padding: 11px 22px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------------- */
/* Navbar                                                                  */
/* ---------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: background var(--t-med) var(--ease), padding var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
  border-bottom: 1px solid transparent;
}
.navbar.is-solid {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  padding: 14px 0;
  box-shadow: 0 4px 26px rgba(22,33,31,0.08);
  border-bottom-color: var(--line);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--grad-royal);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(13,148,136,0.35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 16.5px; color: var(--navy); }
.navbar:not(.is-solid) .brand-name { color: var(--white); }
.brand-tag { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }
.navbar:not(.is-solid) .brand-tag { color: rgba(255,255,255,.6); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li { position: relative; }
.nav-links a.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  border-radius: var(--r-pill);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.navbar:not(.is-solid) .nav-link { color: rgba(255,255,255,.92); }
.nav-link:hover, .nav-link.active { background: rgba(13,148,136,0.08); color: var(--royal); }
.navbar:not(.is-solid) .nav-link:hover, .navbar:not(.is-solid) .nav-link.active { background: rgba(255,255,255,.14); color: var(--white); }
.nav-link .chev { width: 9px; height: 9px; transition: transform var(--t-fast) var(--ease); }
.has-dropdown:hover .chev { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 240px;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--t-fast) var(--ease);
  border: 1px solid var(--line);
}
.has-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: background var(--t-fast) var(--ease);
}
.dropdown-menu a:hover { background: var(--bg-light); color: var(--royal); }
.dropdown-menu .flag-chip { font-size: 17px; }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 700;
  color: rgba(255,255,255,.92);
}
.navbar.is-solid .nav-phone { color: var(--navy); }

.hamburger {
  display: none;
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(13,148,136,0.08);
  border: none;
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.hamburger span { width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: all .3s var(--ease); }
.navbar:not(.is-solid) .hamburger span { background: var(--white); }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-panel {
  position: fixed;
  top: 0; right: -100%;
  width: min(86vw, 360px);
  height: 100vh;
  background: var(--white);
  z-index: 1100;
  box-shadow: -20px 0 60px rgba(22,33,31,0.18);
  transition: right var(--t-med) var(--ease);
  padding: 26px 22px;
  overflow-y: auto;
}
.mobile-panel.is-open { right: 0; }
.mobile-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.mobile-close { width: 38px; height: 38px; border-radius: 10px; background: var(--bg-light); border: none; display: flex; align-items: center; justify-content: center; }
.mobile-panel a.m-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 4px;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
}
.mobile-sub { padding-left: 14px; max-height: 0; overflow: hidden; transition: max-height var(--t-med) var(--ease); }
.mobile-sub.is-open { max-height: 600px; }
.mobile-sub a { display: block; padding: 10px 4px; font-size: 14.5px; font-weight: 600; color: var(--ink-muted); }
.nav-overlay {
  position: fixed; inset: 0; background: rgba(22,33,31,0.5);
  z-index: 1050; opacity: 0; visibility: hidden; transition: all var(--t-med) var(--ease);
  backdrop-filter: blur(2px);
}
.nav-overlay.is-open { opacity: 1; visibility: visible; }

/* ---------------------------------------------------------------------- */
/* Hero                                                                    */
/* ---------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 210px 0 140px;
  background: var(--grad-navy);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad-mesh);
  pointer-events: none;
}
.hero-noise {
  position: absolute; inset: 0;
  opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  padding: 9px 18px 9px 10px;
  border-radius: var(--r-pill);
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 26px;
  backdrop-filter: blur(6px);
}
.hero-kicker .dot-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); position: relative; }
.hero-kicker .dot-pulse::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 1.5px solid var(--gold); animation: pulseRing 1.8s ease-out infinite;
}
@keyframes pulseRing { 0%{transform:scale(.6);opacity:1;} 100%{transform:scale(2.1);opacity:0;} }

.hero h1 {
  color: var(--white);
  font-size: clamp(38px, 5.1vw, 66px);
  font-weight: 700;
  margin-bottom: 24px;
}
.hero h1 em { font-style: normal; color: var(--gold); position: relative; }
.hero-sub { color: rgba(255,255,255,.7); font-size: 18px; max-width: 520px; margin-bottom: 38px; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat .num { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--white); }
.hero-stat .num .suffix { color: var(--gold); }
.hero-stat .lab { font-size: 12.5px; color: rgba(255,255,255,.55); font-weight: 600; letter-spacing: .03em; margin-top: 2px; }

/* Hero visual: flight path card stack */
.hero-visual { position: relative; height: 560px; }
.hero-photo-card {
  position: absolute;
  top: 6%; left: 8%;
  width: 78%; height: 82%;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid rgba(255,255,255,.06);
}
.hero-photo-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(22,33,31,.72) 100%);
}

.float-card {
  position: absolute;
  background: rgba(255,255,255,.97);
  border-radius: var(--r-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
  z-index: 3;
  animation: floatY 5s ease-in-out infinite;
}
.float-card .fc-ico {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.float-card .fc-title { font-weight: 700; font-size: 14px; color: var(--navy); font-family: var(--font-display); }
.float-card .fc-sub { font-size: 11.5px; color: var(--ink-faint); font-weight: 600; }

.float-card-1 { top: 3%; right: 0; animation-delay: 0s; }
.float-card-2 { bottom: 10%; left: -6%; animation-delay: 1.2s; }
.float-card-3 { bottom: -3%; right: 10%; animation-delay: 2.1s; }

@keyframes floatY { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-14px);} }

/* Flight path svg */
.flight-path { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.flight-path path {
  fill: none; stroke: rgba(255,178,56,.55); stroke-width: 2; stroke-dasharray: 6 8;
  animation: dashMove 30s linear infinite;
}
@keyframes dashMove { to { stroke-dashoffset: -400; } }

/* ---------------------------------------------------------------------- */
/* Visa Stamp — signature component                                       */
/* ---------------------------------------------------------------------- */
.stamp {
  --stamp-color: var(--royal);
  width: 108px; height: 108px;
  border-radius: 50%;
  border: 2px dashed var(--stamp-color);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  flex-shrink: 0;
  transform: rotate(-9deg);
  color: var(--stamp-color);
}
.stamp::before {
  content: '';
  position: absolute; inset: 8px;
  border: 1px solid var(--stamp-color);
  border-radius: 50%;
  opacity: .5;
}
.stamp-inner { text-align: center; }
.stamp-inner .s-top { display: block; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.stamp-inner .s-mid { display: block; font-family: var(--font-display); font-weight: 700; font-size: 20px; margin: 1px 0; }
.stamp-inner .s-bot { display: block; font-size: 8px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.stamp-sm { width: 74px; height: 74px; }
.stamp-sm .s-mid { font-size: 14px; }
.stamp-sm .s-top, .stamp-sm .s-bot { font-size: 7px; }
.stamp-gold { --stamp-color: var(--gold); }
.stamp-navy { --stamp-color: var(--navy); }

/* ---------------------------------------------------------------------- */
/* Marquee / logo strip                                                   */
/* ---------------------------------------------------------------------- */
.marquee-wrap { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px 0; overflow: hidden; background: var(--white); }
.marquee-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); text-align: center; margin-bottom: 22px; }
.marquee-track { display: flex; width: max-content; gap: 64px; animation: marquee 28s linear infinite; align-items: center; }
.marquee-track span { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--ink-faint); opacity: .55; white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------------- */
/* Cards: feature / service / country / package / story                   */
/* ---------------------------------------------------------------------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 30px;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-ico {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--grad-royal);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  margin-bottom: 22px;
  box-shadow: 0 10px 22px rgba(13,148,136,0.3);
}
.feature-card h3 { font-size: 19px; margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; margin-bottom: 0; }
.feature-card .fc-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; font-size: 13.5px; color: var(--royal); }

.service-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card .sc-num {
  position: absolute; top: 20px; right: 26px;
  font-family: var(--font-display); font-weight: 700; font-size: 42px;
  color: var(--bg-light); z-index: 0;
}
.service-card > * { position: relative; z-index: 1; }
.service-card ul { margin: 18px 0 0; display: flex; flex-direction: column; gap: 10px; }
.service-card ul li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--ink-muted); font-weight: 600; }
.service-card ul li svg { color: var(--success); flex-shrink: 0; margin-top: 2px; }

.country-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  height: 380px;
  box-shadow: var(--shadow-md);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.country-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.country-card img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.country-card:hover img { transform: scale(1.08); }
.country-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,33,31,0) 30%, rgba(22,33,31,.88) 100%); }
.country-card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; z-index: 2; color: var(--white); }
.country-card .flag { font-size: 30px; margin-bottom: 10px; display: block; }
.country-card h3 { color: var(--white); font-size: 21px; margin-bottom: 4px; }
.country-card .cc-meta { font-size: 12.5px; color: rgba(255,255,255,.7); font-weight: 600; }
.country-card .cc-arrow {
  position: absolute; top: 20px; right: 20px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.15); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: all var(--t-fast) var(--ease);
}
.country-card:hover .cc-arrow { background: var(--gold); color: var(--navy); transform: rotate(45deg); }

/* ---------------------------------------------------------------------- */
/* Stats band                                                             */
/* ---------------------------------------------------------------------- */
.stats-band { background: var(--grad-navy); padding: 76px 0; position: relative; overflow: hidden; }
.stats-band::before { content:''; position:absolute; inset:0; background: var(--grad-mesh); }
.stats-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; text-align: center; }
.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-item .stat-num { font-family: var(--font-display); font-size: clamp(34px,4vw,52px); font-weight: 700; color: var(--white); }
.stat-item .stat-num .plus { color: var(--gold); }
.stat-item .stat-lab { color: rgba(255,255,255,.62); font-weight: 600; font-size: 13.5px; margin-top: 8px; letter-spacing: .02em; }

/* ---------------------------------------------------------------------- */
/* Process / timeline                                                     */
/* ---------------------------------------------------------------------- */
.process-track { position: relative; display: grid; grid-template-columns: repeat(4,1fr); gap: 26px; }
.process-track::before {
  content: ''; position: absolute; top: 34px; left: 8%; right: 8%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.process-step { position: relative; z-index: 1; text-align: left; }
.process-step .ps-num {
  width: 68px; height: 68px; border-radius: 20px;
  background: var(--white); border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--royal);
  margin-bottom: 20px; box-shadow: var(--shadow-sm);
}
.process-step h3 { font-size: 17px; margin-bottom: 8px; }
.process-step p { font-size: 13.5px; }

/* ---------------------------------------------------------------------- */
/* Testimonials                                                           */
/* ---------------------------------------------------------------------- */
.testi-wrap { position: relative; max-width: 860px; margin: 0 auto; }
.testi-slide { display: none; text-align: center; padding: 0 20px; }
.testi-slide.is-active { display: block; animation: fadeUp .6s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px);} to { opacity:1; transform: translateY(0);} }
.testi-quote { font-family: var(--font-display); font-size: clamp(19px,2.3vw,26px); color: var(--navy); font-weight: 600; line-height: 1.5; margin-bottom: 30px; }
.testi-person { display: flex; align-items: center; justify-content: center; gap: 14px; }
.testi-person img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 3px solid var(--white); box-shadow: var(--shadow-sm); }
.testi-person-name { font-weight: 700; color: var(--navy); font-size: 14.5px; }
.testi-person-role { font-size: 12.5px; color: var(--ink-faint); font-weight: 600; }
.testi-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 40px; }
.testi-dots { display: flex; gap: 8px; }
.testi-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); border: none; transition: all var(--t-fast) var(--ease); cursor: pointer; }
.testi-dot.is-active { width: 26px; border-radius: 6px; background: var(--royal); }
.testi-arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line);
  background: var(--white); display: flex; align-items: center; justify-content: center;
  color: var(--navy); transition: all var(--t-fast) var(--ease);
}
.testi-arrow:hover { background: var(--royal); border-color: var(--royal); color: var(--white); }

/* ---------------------------------------------------------------------- */
/* FAQ accordion                                                          */
/* ---------------------------------------------------------------------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px; background: none; border: none; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: 16.5px; color: var(--navy);
}
.faq-q .faq-plus { width: 34px; height: 34px; border-radius: 50%; background: var(--bg-light); flex-shrink: 0; display: flex; align-items: center; justify-content: center; position: relative; transition: all var(--t-fast) var(--ease); }
.faq-q .faq-plus::before, .faq-q .faq-plus::after { content: ''; position: absolute; background: var(--royal); border-radius: 2px; transition: transform var(--t-fast) var(--ease); }
.faq-q .faq-plus::before { width: 12px; height: 2px; }
.faq-q .faq-plus::after { width: 2px; height: 12px; }
.faq-item.is-open .faq-plus { background: var(--royal); }
.faq-item.is-open .faq-plus::before, .faq-item.is-open .faq-plus::after { background: var(--white); }
.faq-item.is-open .faq-plus::after { transform: rotate(90deg) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--t-med) var(--ease); }
.faq-a-inner { padding: 0 44px 24px 4px; font-size: 14.5px; color: var(--ink-muted); }

/* ---------------------------------------------------------------------- */
/* Pricing cards                                                          */
/* ---------------------------------------------------------------------- */
.price-card {
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-lg);
  padding: 38px 32px; display: flex; flex-direction: column; position: relative;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card.is-featured { background: var(--grad-navy); border-color: transparent; box-shadow: var(--shadow-lg); transform: scale(1.04); }
.price-card.is-featured:hover { transform: scale(1.04) translateY(-6px); }
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad-gold); color: var(--navy); font-weight: 800; font-size: 12px;
  padding: 7px 18px; border-radius: var(--r-pill); letter-spacing: .04em;
}
.price-card h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--ink-faint); }
.price-card.is-featured h3 { color: rgba(255,255,255,.6); }
.price-amount { font-family: var(--font-display); font-size: 44px; font-weight: 700; color: var(--navy); margin: 6px 0 4px; }
.price-card.is-featured .price-amount { color: var(--white); }
.price-amount .cur { font-size: 20px; vertical-align: top; }
.price-note { font-size: 13px; color: var(--ink-faint); margin-bottom: 26px; }
.price-card.is-featured .price-note { color: rgba(255,255,255,.5); }
.price-feat { display: flex; flex-direction: column; gap: 13px; margin-bottom: 30px; flex-grow: 1; }
.price-feat li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink-muted); }
.price-card.is-featured .price-feat li { color: rgba(255,255,255,.78); }
.price-feat li svg { color: var(--success); flex-shrink: 0; margin-top: 3px; }
.price-card.is-featured .price-feat li svg { color: var(--gold); }

/* ---------------------------------------------------------------------- */
/* CTA banner                                                             */
/* ---------------------------------------------------------------------- */
.cta-banner {
  background: var(--grad-royal);
  border-radius: var(--r-lg);
  padding: 64px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255,255,255,.06); top: -120px; right: -60px;
}
.cta-banner h2 { color: var(--white); font-size: clamp(24px,2.8vw,34px); margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,.75); margin-bottom: 0; max-width: 440px; }
.cta-actions { display: flex; gap: 14px; flex-shrink: 0; position: relative; z-index: 1; }

/* ---------------------------------------------------------------------- */
/* Forms                                                                  */
/* ---------------------------------------------------------------------- */
.form-card { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 44px; border: 1px solid var(--line); }
.field-group { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label.field-label { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 8px; letter-spacing: .01em; }
.field-input, .field-select, textarea.field-input {
  width: 100%; padding: 14px 16px; border-radius: var(--r-sm); border: 1.5px solid var(--line);
  font-family: var(--font-body); font-size: 14.5px; color: var(--ink); background: var(--bg-light);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.field-input:focus, .field-select:focus, textarea.field-input:focus { border-color: var(--royal); background: var(--white); outline: none; }
textarea.field-input { resize: vertical; min-height: 120px; }
.field-error { color: var(--error); font-size: 12.5px; font-weight: 600; margin-top: 6px; display: none; }
.field-group.has-error .field-input { border-color: var(--error); }
.field-group.has-error .field-error { display: block; }
.field-hint { font-size: 12px; color: var(--ink-faint); margin-top: 6px; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.is-visible { display: block; }
.form-success .fs-ico { width: 68px; height: 68px; border-radius: 50%; background: rgba(22,163,74,.12); color: var(--success); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }

/* Radio pill group */
.pill-group { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-option input { position: absolute; opacity: 0; pointer-events: none; }
.pill-option label {
  display: block; padding: 10px 18px; border-radius: var(--r-pill); border: 1.5px solid var(--line);
  font-size: 13.5px; font-weight: 700; color: var(--ink-muted); cursor: pointer; transition: all var(--t-fast) var(--ease);
}
.pill-option input:checked + label { background: var(--royal); border-color: var(--royal); color: var(--white); }

/* ---------------------------------------------------------------------- */
/* Footer                                                                 */
/* ---------------------------------------------------------------------- */
.footer { background: var(--navy); color: rgba(255,255,255,.6); padding: 90px 0 0; position: relative; overflow: hidden; }
.footer::before { content:''; position:absolute; inset:0; background: var(--grad-mesh); opacity:.6; }
.footer-inner { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand p { color: rgba(255,255,255,.55); font-size: 14px; margin: 18px 0 22px; max-width: 300px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center; transition: all var(--t-fast) var(--ease); color: rgba(255,255,255,.7); }
.footer-social a:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }
.footer h4 { color: var(--white); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 22px; }
.footer-links { display: flex; flex-direction: column; gap: 13px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.58); transition: color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease); }
.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; font-size: 13.5px; margin-bottom: 16px; color: rgba(255,255,255,.6); align-items: flex-start; }
.footer-contact svg { flex-shrink: 0; color: var(--gold); margin-top: 2px; }
.newsletter-form { display: flex; gap: 8px; margin-top: 14px; }
.newsletter-form input { flex: 1; padding: 13px 16px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); color: var(--white); font-size: 13.5px; }
.newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-form button { width: 46px; height: 46px; border-radius: 50%; background: var(--grad-gold); border: none; display: flex; align-items: center; justify-content: center; color: var(--navy); flex-shrink: 0; }
.footer-bottom { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 26px 0; font-size: 13px; color: rgba(255,255,255,.4); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,.45); }
.footer-bottom-links a:hover { color: var(--gold-light); }

/* ---------------------------------------------------------------------- */
/* Back to top                                                            */
/* ---------------------------------------------------------------------- */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--grad-royal); color: var(--white); border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: all var(--t-fast) var(--ease);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--grad-gold); color: var(--navy); }

/* ---------------------------------------------------------------------- */
/* Page loader                                                            */
/* ---------------------------------------------------------------------- */
.page-loader {
  position: fixed; inset: 0; z-index: 3000; background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
.page-loader.is-hidden { opacity: 0; visibility: hidden; }
.loader-mark { width: 56px; height: 56px; border-radius: 16px; background: var(--grad-gold); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 22px; animation: loaderPulse 1.1s ease-in-out infinite; }
@keyframes loaderPulse { 0%,100%{ transform: scale(1); } 50%{ transform: scale(.86); } }

/* ---------------------------------------------------------------------- */
/* Scroll reveal utility                                                  */
/* ---------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-scale { opacity: 0; transform: scale(.94); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-scale.is-visible { opacity: 1; transform: scale(1); }
.stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------------- */
/* Page hero (inner pages)                                                */
/* ---------------------------------------------------------------------- */
.page-hero { background: var(--grad-navy); padding: 168px 0 90px; position: relative; overflow: hidden; }
.page-hero::before { content:''; position:absolute; inset:0; background: var(--grad-mesh); }
.page-hero-inner { position: relative; z-index: 1; }
.breadcrumb {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 12.5px; font-weight: 700; letter-spacing: .01em;
  color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  padding: 8px 16px; border-radius: var(--r-pill); margin-bottom: 22px;
  backdrop-filter: blur(6px);
}
.breadcrumb a { color: rgba(255,255,255,.85); transition: color var(--t-fast) var(--ease); }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb span { color: var(--white); background: var(--amber); padding: 2px 10px; border-radius: var(--r-pill); font-weight: 800; }
.page-hero h1 { color: var(--white); font-size: clamp(32px,4.2vw,50px); max-width: 700px; }
.page-hero p { color: rgba(255,255,255,.65); max-width: 560px; font-size: 16.5px; margin-bottom: 0; }

/* Badge chip */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700; background: var(--bg-mist); color: var(--royal); }
.chip-gold { background: rgba(255,178,56,0.16); color: #7A5210; }
.chip-success { background: rgba(22,163,74,0.12); color: var(--success); }

/* Progress bar */
.pbar { height: 8px; border-radius: var(--r-pill); background: var(--bg-light); overflow: hidden; }
.pbar-fill { height: 100%; border-radius: var(--r-pill); background: var(--grad-royal); width: 0; transition: width 1.4s var(--ease); }

/* Table */
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.compare-table th, .compare-table td { padding: 18px 22px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--line); }
.compare-table th { font-family: var(--font-display); background: var(--bg-light); color: var(--navy); font-weight: 700; }
.compare-table td { color: var(--ink-muted); font-weight: 600; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table svg.yes { color: var(--success); }
.compare-table svg.no { color: var(--ink-faint); }

/* ---------------------------------------------------------------------- */
/* Boarding Pass — hero signature visual                                  */
/* A student's "file", rendered as a ticket: route, class, and an ink     */
/* stamp of approval pressed into the corner.                             */
/* ---------------------------------------------------------------------- */
.boarding-pass {
  position: relative;
  background: var(--paper-card);
  border: 1px solid var(--ink);
  border-radius: var(--r-md);
  padding: 34px 32px 28px;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.4deg);
}
.bp-row-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 26px; }
.bp-eyebrow { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.bp-title { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--ink); margin-top: 4px; }
.bp-mark { width: 34px; height: 34px; border: 1.5px solid var(--ink); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--ink); flex-shrink: 0; }

.bp-route { display: flex; align-items: center; gap: 14px; margin: 22px 0; }
.bp-route .bp-city { display: flex; flex-direction: column; }
.bp-route .bp-code { font-family: var(--font-mono); font-weight: 700; font-size: 26px; color: var(--ink); letter-spacing: .02em; }
.bp-route .bp-name { font-size: 10.5px; color: var(--ink-faint); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-top: 2px; }
.bp-route-line { flex: 1; position: relative; height: 1px; background: repeating-linear-gradient(90deg, var(--ink-faint) 0 5px, transparent 5px 10px); }
.bp-route-line svg { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); color: var(--stamp); background: var(--paper-card); padding: 0 4px; }

.bp-perf {
  position: relative;
  height: 1px;
  margin: 22px -32px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 13px);
}
.bp-perf::before, .bp-perf::after {
  content: ''; position: absolute; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; background: var(--paper); border-radius: 50%; border: 1px solid var(--ink);
}
.bp-perf::before { left: -10px; }
.bp-perf::after { right: -10px; }

.bp-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 4px; }
.bp-field .bp-flabel { font-family: var(--font-mono); font-size: 9px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.bp-field .bp-fval { font-weight: 700; font-size: 13.5px; color: var(--ink); margin-top: 3px; }
.bp-barcode { display: flex; align-items: flex-end; gap: 2px; height: 30px; margin-top: 18px; }
.bp-barcode span { display: block; width: 2px; background: var(--ink); opacity: .7; }

.bp-stamp-wrap {
  position: absolute; top: -18px; right: -22px;
  animation: stampDown .7s cubic-bezier(.34,1.56,.64,1) .5s both;
}
@keyframes stampDown { 0% { opacity: 0; transform: scale(2.2) rotate(-18deg); } 60% { opacity: 1; } 100% { opacity: .92; transform: scale(1) rotate(-14deg); } }

.hero-route-dot { position: relative; }

/* ---------------------------------------------------------------------- */
/* Dossier list — numbered case-file rows (Why Choose Us)                 */
/* ---------------------------------------------------------------------- */
.dossier-list { border-top: 1px solid var(--line); }
.dossier-row {
  display: grid; grid-template-columns: 90px 1fr; gap: 24px;
  padding: 30px 0; border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.dossier-row .dr-num { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--stamp); letter-spacing: .04em; padding-top: 4px; }
.dossier-row .dr-body h3 { font-size: 19px; margin-bottom: 6px; }
.dossier-row .dr-body p { margin-bottom: 0; max-width: 520px; }
.dossier-row .dr-tag { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .08em; margin-top: 8px; display: block; }

/* ---------------------------------------------------------------------- */
/* Passport data strip — stats band, monospace field styling              */
/* ---------------------------------------------------------------------- */
.data-strip { background: var(--grad-navy); padding: 0; }
.data-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.data-field {
  padding: 52px 30px; border-right: 1px solid var(--line-dark);
  text-align: left;
}
.data-field:last-child { border-right: none; }
.data-field .df-label { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 10px; }
.data-field .df-value { font-family: var(--font-mono); font-size: clamp(30px,3.4vw,42px); font-weight: 600; color: var(--white); }
.data-field .df-value .plus { color: var(--stamp); }

/* ---------------------------------------------------------------------- */
/* Hero search widget — tabbed course/university/scholarship finder       */
/* ---------------------------------------------------------------------- */
.search-widget {
  position: relative;
  z-index: 3;
  background: rgba(255,255,255,.98);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 10px 10px 20px;
  margin-top: 44px;
  max-width: 720px;
}
.sw-tabs { display: flex; gap: 4px; margin-bottom: 6px; }
.sw-tab {
  border: none; background: transparent; padding: 13px 20px;
  font-weight: 700; font-size: 13.5px; color: var(--ink-faint);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  display: flex; align-items: center; gap: 7px;
  transition: all var(--t-fast) var(--ease);
}
.sw-tab.is-active { background: var(--bg-mist); color: var(--royal); }
.sw-tab svg { flex-shrink: 0; }

.sw-fields { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 10px; padding: 10px; }
.sw-field { display: flex; flex-direction: column; gap: 5px; padding: 8px 14px; border-radius: var(--r-sm); background: var(--bg-light); }
.sw-field label { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); }
.sw-field select {
  border: none; background: none; font-family: var(--font-body); font-weight: 700;
  font-size: 14px; color: var(--navy); padding: 0; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235B6864' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; padding-right: 18px;
}
.sw-field select:focus { outline: none; }
.sw-submit {
  border: none; border-radius: var(--r-sm); background: var(--grad-gold); color: var(--navy);
  font-weight: 800; font-size: 14px; padding: 0 26px; display: flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-gold); transition: transform var(--t-fast) var(--ease);
}
.sw-submit:hover { transform: translateY(-2px); }
.sw-trending { display: flex; align-items: center; gap: 10px; padding: 4px 14px 0; flex-wrap: wrap; }
.sw-trending span:first-child { font-size: 11.5px; font-weight: 700; color: var(--ink-faint); }
.sw-trending a { font-size: 11.5px; font-weight: 700; color: var(--royal); background: var(--bg-mist); padding: 5px 12px; border-radius: var(--r-pill); transition: background var(--t-fast) var(--ease); }
.sw-trending a:hover { background: var(--gold); color: var(--white); }

/* ---------------------------------------------------------------------- */
/* Circular icon services (Times-style)                                   */
/* ---------------------------------------------------------------------- */
.icon-circle-card { text-align: center; padding: 14px; }
.icon-circle {
  width: 90px; height: 90px; border-radius: 50%; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-royal); color: var(--white);
  box-shadow: 0 16px 30px rgba(75,58,164,.28);
  position: relative;
  transition: transform var(--t-med) var(--ease);
}
.icon-circle-card:hover .icon-circle { transform: translateY(-6px) rotate(-6deg); }
.icon-circle::after {
  content: ''; position: absolute; inset: -7px; border-radius: 50%;
  border: 1.5px dashed var(--line); animation: spinSlow 20s linear infinite;
}
.icon-circle.is-coral { background: var(--grad-gold); color: var(--navy); box-shadow: 0 16px 30px rgba(251,109,72,.3); }
.icon-circle.is-teal { background: linear-gradient(135deg,#0E7573,#17A2A0); box-shadow: 0 16px 30px rgba(23,162,160,.3); }
.icon-circle-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.icon-circle-card p { font-size: 13.5px; }

/* ---------------------------------------------------------------------- */
/* Accreditation / partner badge strip                                    */
/* ---------------------------------------------------------------------- */
.accred-strip { background: var(--bg-section); padding: 54px 0; position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.accred-inner { position: relative; z-index: 1; }
.accred-label { text-align: center; color: var(--ink-faint); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 30px; }
.accred-grid { display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap; }
.accred-badge {
  width: 96px; height: 96px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  transition: all var(--t-fast) var(--ease);
  box-shadow: var(--shadow-sm);
}
.accred-badge:nth-child(6n+1) { border-color: rgba(13,148,136,.25); }
.accred-badge:nth-child(6n+2) { border-color: rgba(251,109,72,.3); }
.accred-badge:nth-child(6n+3) { border-color: rgba(255,178,56,.35); }
.accred-badge:nth-child(6n+4) { border-color: rgba(22,163,74,.3); }
.accred-badge:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-5px) rotate(-2deg); box-shadow: var(--shadow-primary); }
.accred-badge .ab-top { font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-dark); transition: color var(--t-fast) var(--ease); }
.accred-badge .ab-mid { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--heading); transition: color var(--t-fast) var(--ease); }
.accred-badge .ab-bot { font-size: 8.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-faint); transition: color var(--t-fast) var(--ease); }
.accred-badge:hover .ab-top { color: var(--amber); }
.accred-badge:hover .ab-mid { color: var(--white); }
.accred-badge:hover .ab-bot { color: rgba(255,255,255,.75); }

/* Testimonial split layout with illustration panel */
.testi-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.testi-illustration {
  background: var(--grad-royal); position: relative; padding: 50px 40px;
  display: flex; flex-direction: column; justify-content: center; overflow: hidden;
}
.testi-illustration::before { content:''; position:absolute; inset:0; background: var(--grad-mesh); }
.testi-illustration .ti-quote-mark { font-family: var(--font-display); font-size: 90px; color: rgba(255,255,255,.18); line-height: 1; position: relative; z-index: 1; }
.testi-illustration h3 { color: var(--white); font-size: 22px; position: relative; z-index: 1; margin-top: 10px; }
.testi-illustration p { color: rgba(255,255,255,.65); position: relative; z-index: 1; margin-bottom: 0; }
.testi-panel { background: var(--white); padding: 50px 46px; }

/* ---------------------------------------------------------------------- */
/* Document upload rows — Apply page (real file inputs)                   */
/* ---------------------------------------------------------------------- */
.doc-row {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 18px 20px; border: 1.5px solid var(--line); border-radius: var(--r-md);
  background: var(--paper-card); margin-bottom: 12px;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.doc-row.has-file { border-color: var(--success); background: rgba(22,163,74,0.05); box-shadow: var(--shadow-sm); }
.doc-row .doc-icon {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--bg-mist); color: var(--primary);
  display: flex; align-items: center; justify-content: center; position: relative;
  transition: all var(--t-fast) var(--ease);
}
.doc-row.has-file .doc-icon { background: var(--success); color: var(--white); }
.doc-row .doc-icon .doc-icon-upload { display: block; }
.doc-row .doc-icon .doc-icon-check { display: none; }
.doc-row.has-file .doc-icon .doc-icon-upload { display: none; }
.doc-row.has-file .doc-icon .doc-icon-check { display: block; }

.doc-row .doc-info { flex: 1; min-width: 160px; }
.doc-row .doc-name { font-weight: 700; font-size: 14.5px; color: var(--heading); display: block; }
.doc-row .doc-desc { font-size: 12.5px; color: var(--ink-faint); margin-top: 2px; display: block; }
.doc-row .doc-filename { font-size: 12px; font-weight: 600; color: var(--success); margin-top: 4px; display: none; align-items: center; gap: 5px; }
.doc-row.has-file .doc-filename { display: flex; }
.doc-row .doc-filename svg { flex-shrink: 0; }

.doc-row .doc-tag { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--r-pill); background: var(--bg-mist); color: var(--ink-muted); flex-shrink: 0; }
.doc-row .doc-tag.is-required { background: rgba(251,109,72,0.12); color: var(--accent-dark); }

.doc-upload { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.doc-upload-btn {
  position: relative; overflow: hidden; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: var(--r-btn); border: 1.5px solid var(--primary);
  color: var(--primary); font-weight: 700; font-size: 12.5px;
  transition: all var(--t-fast) var(--ease);
}
.doc-upload-btn:hover { background: var(--primary); color: var(--white); }
.doc-row.has-file .doc-upload-btn { border-color: var(--line); color: var(--ink-muted); }
.doc-row.has-file .doc-upload-btn:hover { background: var(--bg-mist); color: var(--heading); }
.doc-file-input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.doc-remove {
  display: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line);
  background: var(--white); color: var(--ink-faint); align-items: center; justify-content: center; flex-shrink: 0;
  transition: all var(--t-fast) var(--ease);
}
.doc-row.has-file .doc-remove { display: flex; }
.doc-remove:hover { background: var(--error); border-color: var(--error); color: var(--white); }

.doc-progress-wrap { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.doc-progress-wrap .pbar { flex: 1; }
.doc-progress-count { font-family: var(--font-mono); font-weight: 700; font-size: 14px; color: var(--heading); white-space: nowrap; }

/* ---------------------------------------------------------------------- */
/* Procedure timeline — country detail page                               */
/* ---------------------------------------------------------------------- */
.proc-timeline { position: relative; padding-left: 50px; }
.proc-timeline::before { content: ''; position: absolute; left: 17px; top: 8px; bottom: 8px; width: 1px; background: repeating-linear-gradient(180deg, var(--line) 0 6px, transparent 6px 13px); }
.proc-step { position: relative; padding-bottom: 44px; }
.proc-step:last-child { padding-bottom: 0; }
.proc-step .ps-dot {
  position: absolute; left: -50px; top: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--paper-card); border: 1.5px solid var(--ink); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 13px;
  transition: all var(--t-med) var(--ease);
}
.proc-step.is-done .ps-dot { background: var(--success); border-color: var(--success); color: var(--white); }
.proc-step h3 { font-size: 18px; margin-bottom: 6px; }
.proc-step .ps-meta { font-family: var(--font-mono); font-size: 11px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; display: block; }
.proc-step p { margin-bottom: 0; }

/* ---------------------------------------------------------------------- */
/* Card hover: gentle stamp-like lift + tilt for tactile feedback          */
/* ---------------------------------------------------------------------- */
.tilt-hover { transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease); }
.tilt-hover:hover { transform: translateY(-6px) rotate(-0.6deg); box-shadow: var(--shadow-lg); }

/* Utility */
.mb-0 { margin-bottom: 0 !important; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.w-100 { width: 100%; }
