/* ============================================================
   EduOoze School of Banking — Premium UI (Oliveboard/Testbook style)
   Poppins · Navy · Gold · Teal
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --navy: #0f2744;
  --navy-dark: #091d35;
  --navy-light: #1e4080;
  --gold: #f5a623;
  --gold-hover: #e8941a;
  --gold-light: #fff3d6;
  --teal: #00c4b4;
  --teal-dark: #009e8f;
  --teal-light: #e0faf8;
  --bg: #f6f8fc;
  --bg-alt: #eef2f9;
  --surface: #ffffff;
  --border: rgba(15, 39, 68, 0.1);
  --border-strong: rgba(15, 39, 68, 0.18);
  --text: #1a2840;
  --text-soft: #5a6a85;
  --text-muted: #8a9ab8;
  --shadow-xs: 0 2px 8px rgba(15,39,68,0.06);
  --shadow-sm: 0 4px 16px rgba(15,39,68,0.1);
  --shadow-md: 0 8px 32px rgba(15,39,68,0.14);
  --shadow-lg: 0 16px 48px rgba(15,39,68,0.18);
  --container: 1200px;
  --header-height: 70px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Legacy aliases for backward compat */
  --primary: #0f2744;
  --primary-dark: #091d35;
  --primary-light: #1e4080;
  --radius-sm: 12px;
  --radius-md: 20px;
}

.video-answer{margin:14px 0;padding:16px;border:1px solid #dbe5ef;border-radius:16px;background:#f8fbff}.video-answer-stage{position:relative;overflow:hidden;aspect-ratio:16/9;max-height:430px;border-radius:12px;background:#07182e}.video-answer-stage video{display:block;width:100%;height:100%;object-fit:cover;background:#07182e}.video-answer-placeholder{position:absolute;inset:0;display:grid;place-items:center;padding:24px;color:#cbd5e1;text-align:center}.video-answer-placeholder[hidden]{display:none}.video-answer-status{margin:12px 0;color:#334155;font-weight:700}.video-answer-actions{display:flex;flex-wrap:wrap;gap:10px}.video-answer-actions [hidden]{display:none}@media(max-width:640px){.video-answer{padding:12px}.video-answer-actions .btn{width:100%}}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 15px;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button[disabled] { opacity: 0.5; cursor: not-allowed; }
main { min-height: calc(100vh - 420px); }
ul { list-style: none; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-tight { padding: 56px 0; }
.section-navy { background: var(--navy); }
.section-navy .section-tag { background: rgba(245,166,35,0.15); color: var(--gold); border-color: rgba(245,166,35,0.25); }
.section-navy h2 { color: rgba(255,255,255,0.92); }
.section-navy p { color: rgba(255,255,255,0.65); }
.section-bg { background: var(--bg-alt); }
.section-dark {
  color: #fff;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #1a3f70 100%);
}
.section-glow { background: var(--bg-alt); }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.center { text-align: center; }
.muted { color: var(--text-soft); }
.hidden { display: none !important; }
.full-span { grid-column: 1 / -1; }

/* ============================================================
   TYPOGRAPHY PATTERNS
   ============================================================ */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0,196,180,0.1);
  color: var(--teal-dark);
  border: 1px solid rgba(0,196,180,0.2);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.section-sub {
  font-size: 0.98rem;
  color: var(--text-soft);
  max-width: 580px;
}

.section-head { margin-bottom: 2.5rem; }
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

/* Legacy section-heading */
.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}
.section-heading h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin: 0.5rem 0 0.75rem;
}
.section-heading p {
  color: var(--text-soft);
  line-height: 1.72;
  font-size: 0.98rem;
}
.section-dark .section-heading h2 { color: #fff; }
.section-dark .section-heading p { color: rgba(255,255,255,0.7); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(0,196,180,0.1);
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.4rem 0;
}

/* Legacy alias */
.topbar-strip {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.4rem 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

.topbar-left span,
.topbar-right a,
.topbar-links a,
.topbar-links span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255,255,255,0.72);
  font-size: 0.78rem;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar-collab {
  color: var(--gold) !important;
  font-weight: 600 !important;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  height: var(--header-height);
}

.site-header.scrolled {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.site-header.has-user-stack {
  height: auto;
  min-height: var(--header-height);
}

.header-inner {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  height: 100%;
  width: min(1500px, calc(100% - 2rem));
  max-width: 1500px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  width: 280px;
  min-width: 280px;
}

.brand img { width: 140px; }

.brand-icon {
  width: 36px;
  height: 36px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  width: 176px;
  min-width: 176px;
}
.brand-name {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.04em;
  line-height: 1;
}

.site-header .brand-sub,
.site-header .brand small {
  font-size: 0.52rem;
  font-weight: 600;
  color: var(--teal-dark);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: block;
}

/* Desktop nav */
.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  gap: 0.45rem;
  min-width: 0;
  margin-left: 8px;
}

.desktop-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  text-align: center;
  line-height: 1.2;
  padding: 0.45rem 0.42rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.76rem;
  color: var(--text);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  background: var(--bg);
  color: var(--navy);
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 80;
  min-width: 250px;
  padding: 0.45rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .18s ease, transform .18s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.desktop-nav .nav-dropdown-menu a {
  display: flex;
  justify-content: flex-start;
  min-height: auto;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 6px;
  color: var(--text);
  font-size: 0.83rem;
  text-align: left;
  white-space: normal;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  gap: 0.45rem;
}

.nav-actions .btn {
  min-height: 40px;
  padding-left: 0.85rem;
  padding-right: 0.85rem;
}

.site-header.has-user-stack .header-inner {
  height: auto;
  min-height: var(--header-height);
  padding: 0.4rem 0;
}

.nav-user-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.32rem;
}

.nav-user-stack .btn {
  width: auto;
  min-width: 88px;
  min-height: 34px;
  padding: 0.32rem 0.85rem;
  border-radius: 18px;
  font-size: 0.8rem;
  line-height: 1.1;
  justify-content: center;
  white-space: nowrap;
}

.nav-user-name {
  font-weight: 700;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-user-logout {
  font-weight: 700;
  min-width: 96px;
}

.desktop-only { display: inline-flex; }

/* Nav dropdown */
.nav-with-dropdown { position: relative; }

.nav-dropdown {
  position: relative;
  display: inline-flex;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem;
  min-width: 260px;
  box-shadow: var(--shadow-md);
  display: none;
  z-index: 60;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-dropdown:hover .nav-dropdown-menu { display: flex; }

.nav-dropdown-menu a {
  display: flex;
  flex-direction: column;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  color: var(--text);
  font-size: 0.85rem;
}

.nav-dropdown-menu a strong {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.85rem;
}

.nav-dropdown-menu a span {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.nav-dropdown-menu a:hover { background: var(--bg); }

.nav-dropdown-all {
  border-top: 1px solid var(--border);
  margin-top: 0.25rem;
  padding-top: 0.6rem !important;
  color: var(--teal-dark) !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
}

/* Mobile drawer */
.menu-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--border-strong);
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text);
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface);
  z-index: 100;
  padding: 1.5rem;
  overflow-y: auto;
  display: none;
}

.mobile-drawer.open { display: block; }

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.drawer-links a {
  font-weight: 600;
  color: var(--text);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  display: block;
}

.drawer-sub-link {
  padding-left: 1rem !important;
  font-size: 0.88rem !important;
  color: var(--text-soft) !important;
}

/* Reading progress */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  z-index: 100;
  width: 0%;
  transition: width 0.1s;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
  box-shadow: 0 4px 18px rgba(245,166,35,0.35);
}
.btn-primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  box-shadow: 0 8px 24px rgba(245,166,35,0.45);
}

.btn-secondary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 4px 14px rgba(15,39,68,0.25);
}
.btn-secondary:hover { background: var(--navy-light); }

.btn-navy {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 4px 14px rgba(15,39,68,0.25);
}
.btn-navy:hover { background: var(--navy-light); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border-strong);
}
.btn-outline:hover { background: var(--bg); }

.btn-ghost {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.16);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,0.22); }

.btn-teal {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.btn-teal:hover { background: var(--teal-dark); }

.btn-white {
  background: #fff;
  color: var(--navy);
  border-color: rgba(255,255,255,0.3);
}
.btn-white:hover { background: var(--gold); color: var(--navy-dark); }

.btn-sm { min-height: 36px; padding: 0.4rem 1rem; font-size: 0.82rem; }
.btn-lg { min-height: 52px; padding: 0.85rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero,
.hero-premium {
  background: linear-gradient(135deg, #091d35 0%, #0f2744 40%, #1a3f70 100%);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.hero::before,
.hero-premium::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(0,196,180,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 70%, rgba(245,166,35,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero::after { display: none; }

.hero-grid,
.hero-premium-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hero copy */
.hero-copy,
.hero-premium-copy { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245,166,35,0.15);
  color: var(--gold);
  border: 1px solid rgba(245,166,35,0.3);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 1.2rem;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-badge-collab {
  background: rgba(245,166,35,0.15);
  color: var(--gold);
  border: 1px solid rgba(245,166,35,0.3);
}

.hero-badge-trust {
  background: rgba(0,196,180,0.15);
  color: #7effed;
  border: 1px solid rgba(0,196,180,0.25);
}

.hero h1,
.hero-copy h1,
.hero-premium-copy h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}

.hero h1 span,
.hero-copy h1 span,
.hero-premium-copy h1 span { color: var(--gold); }

.hero-sub,
.hero-copy p,
.hero-premium-copy > p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-cta-row,
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-trust-item {
  display: flex;
  flex-direction: column;
}

.hero-trust-item strong {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero-trust-item small {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Legacy hero stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.hero-stat {
  padding: 1.15rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
}

.hero-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
}

.hero-stat p { color: rgba(255,255,255,0.65); font-size: 0.82rem; margin: 0; }

/* Hero card (right column) */
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  backdrop-filter: blur(12px);
}

.hero-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.hero-course-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hero-course-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 0.75rem 1rem;
}

.hero-course-item-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-course-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.hero-course-item strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}

.hero-course-item span {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.55);
}

.hero-enroll {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
}

/* Hero gallery (legacy) */
.hero-visual { display: grid; gap: 1rem; }
.hero-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}
.hero-gallery-main { min-height: 280px; border-radius: var(--radius); overflow: hidden; }
.hero-gallery-stack { display: grid; gap: 1rem; }
.hero-gallery-stack img,
.hero-gallery-main img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.floating-highlight {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar { background: var(--navy); padding: 32px 0; }

.stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat-item {
  text-align: center;
  padding: 0.5rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -0.04em;
  line-height: 1;
  display: block;
}

.stat-lbl {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
  display: block;
}

/* Legacy stat-card */
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
}

.stat-card strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -0.04em;
}

.stat-card p { color: var(--text-soft); font-size: 0.85rem; margin: 0.25rem 0 0; }

/* ============================================================
   EXAM CARDS
   ============================================================ */
.exam-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.exam-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  transition: all 0.25s;
  cursor: pointer;
  display: block;
}

.exam-card:hover {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,196,180,0.12);
  transform: translateY(-2px);
}

.exam-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  font-size: 1.5rem;
}

.exam-card-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.exam-card-sub {
  font-size: 0.74rem;
  color: var(--text-soft);
  font-weight: 500;
}

.exam-card-vacancies {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal-dark);
  background: var(--teal-light);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  margin-top: 0.6rem;
  display: inline-block;
}

/* ============================================================
   COURSE CARD (Oliveboard-style)
   ============================================================ */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.course-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.course-card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--navy);
  min-height: 140px;
}

.course-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.course-card:hover .course-card-thumb img { transform: scale(1.05); }

.course-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.06em;
}

.course-card-body {
  padding: 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-card-bank {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}

.course-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.course-card-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
}

.course-card-meta span {
  font-size: 0.78rem;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 500;
}

.course-card-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.rating-stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.rating-count {
  font-size: 0.78rem;
  color: var(--text-soft);
}

.course-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.course-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.course-price-original {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 0.25rem;
}

.course-discount {
  font-size: 0.75rem;
  font-weight: 700;
  color: #22c55e;
}

/* Legacy course/programme cards */
.programme-card,
.blog-card,
.testimonial-card,
.info-card {
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}

.programme-card:hover,
.blog-card:hover,
.testimonial-card:hover,
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-media {
  position: relative;
  min-height: 200px;
  background: linear-gradient(135deg, rgba(15,39,68,0.12), rgba(0,196,180,0.16));
  padding: 1rem;
  overflow: hidden;
}

.card-media img,
.programme-image,
.course-image,
.blog-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius) - 4px);
}

.card-body { padding: 1.4rem; }

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0.5rem 0;
  line-height: 1.3;
}

.card-kpis {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, 1fr);
  margin: 1rem 0 1.15rem;
}

.card-kpis span,
.detail-list li,
.benefit-list li,
.phase-card li {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

.card-kpis strong {
  display: block;
  color: var(--navy);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.card p { color: var(--text-soft); line-height: 1.72; font-size: 0.9rem; }
.info-card p { font-size: 0.88rem; color: var(--text-soft); line-height: 1.7; }

/* ============================================================
   PROGRAMME CARD (Placement)
   ============================================================ */
.prog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.prog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.prog-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}

.prog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.prog-card:hover::before { transform: scaleX(1); }

.prog-bank {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-dark);
  margin-bottom: 0.4rem;
}

.prog-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.35;
}

.prog-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.prog-meta-item {
  background: var(--bg);
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
}

.prog-meta-item small {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
}

.prog-meta-item strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}

/* ============================================================
   COLLABORATION BANNER
   ============================================================ */
.collab-banner {
  background: linear-gradient(135deg, #0a1f3d 0%, #0f2744 50%, #0d4a6b 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.collab-banner::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(0,196,180,0.15) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 50%, rgba(245,166,35,0.08) 0%, transparent 45%);
  pointer-events: none;
}

.collab-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.collab-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(245,166,35,0.15);
  color: var(--gold);
  border: 1px solid rgba(245,166,35,0.3);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}

.collab-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
}

.collab-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 520px;
}

.collab-points {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.collab-point {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
}

.collab-point::before {
  content: '✓';
  width: 20px;
  height: 20px;
  background: rgba(0,196,180,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--teal);
  flex-shrink: 0;
}

.collab-badges {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.collab-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 220px;
  backdrop-filter: blur(8px);
}

.collab-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.collab-badge strong {
  display: block;
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
}

.collab-badge small {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.55);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
}

.testi-card::before {
  content: '"';
  font-size: 5rem;
  font-weight: 900;
  color: rgba(0,196,180,0.12);
  position: absolute;
  top: -0.5rem;
  left: 1.25rem;
  line-height: 1;
}

.testi-stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
  letter-spacing: 0.05em;
}

.testi-text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-soft);
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testi-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testi-photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.testi-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
}

.testi-detail {
  font-size: 0.75rem;
  color: var(--text-soft);
}

.testi-bank-tag {
  margin-left: auto;
  background: var(--gold-light);
  color: var(--gold-hover);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

/* Legacy testimonial card */
.testimonial-card { padding: 1.5rem; }

/* ============================================================
   CARDS GRID (blog, info)
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
}

.detail-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xs);
}

.surface-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.glass-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(14px);
  color: #fff;
}

/* ============================================================
   TAG / BADGE / META
   ============================================================ */
.tag-row,
.meta-row,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.tag,
.badge,
.meta-pill,
.bank-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
}

.tag,
.meta-pill {
  background: var(--bg-alt);
  color: var(--text-soft);
}

.badge-hot {
  background: rgba(245,166,35,0.15);
  color: #8a5300;
}

.badge-new {
  background: rgba(0,196,180,0.12);
  color: var(--teal-dark);
}

.bank-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  color: var(--navy);
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { overflow: hidden; padding: 1.5rem 0; }

.marquee-track {
  display: flex;
  gap: 2rem;
  animation: marquee 25s linear infinite;
  width: max-content;
}

.marquee-track:hover { animation-play-state: paused; }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.bank-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  box-shadow: var(--shadow-xs);
}

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: #fff;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
}

.page-hero p { color: rgba(255,255,255,0.7); }

.page-hero.gradient,
.detail-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 46%, #0a7a74 100%);
  color: #fff;
  padding: 72px 0 56px;
}

.page-hero .container,
.detail-hero .container,
.two-column {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.page-hero .container,
.detail-hero .container {
  grid-template-columns: 1.2fr 0.8fr;
}

.page-side-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
}

/* ============================================================
   FORMS
   ============================================================ */
.input,
.select,
.textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border-strong);
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--surface);
  transition: border-color 0.2s;
  min-height: 44px;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,196,180,0.1);
}

.textarea { min-height: 140px; resize: vertical; }

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

.form-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.form-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-xs); }
.form-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.68fr) minmax(280px, 0.32fr);
}

/* Stepper */
.stepper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.step-chip {
  min-width: 128px;
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius);
  background: rgba(15,39,68,0.06);
  border: 1px solid transparent;
  color: var(--text-soft);
  font-weight: 700;
  font-size: 0.85rem;
}

.step-chip.active {
  color: var(--navy);
  border-color: rgba(0,196,180,0.2);
  background: rgba(0,196,180,0.1);
}

.form-step { display: none; }
.form-step.active { display: block; }

/* ============================================================
   AUTH / DASHBOARD
   ============================================================ */
.auth-shell {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.dashboard-shell { display: grid; gap: 1.5rem; }

.dashboard-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
}

.dashboard-stats,
.dashboard-panels {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}

.list-rows { display: grid; gap: 0.9rem; }

.list-row {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: rgba(15,39,68,0.04);
}

/* ============================================================
   NOTICES / ALERTS
   ============================================================ */
.notice {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  font-size: 0.88rem;
  line-height: 1.7;
}

.success-box {
  background: rgba(34,197,94,0.1);
  color: #166534;
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}

.warning-box {
  background: rgba(245,166,35,0.1);
  color: #865200;
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}

/* ============================================================
   DETAIL / PROGRAMME DETAIL
   ============================================================ */
.detail-hero {
  padding: 72px 0 56px;
}

.detail-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.7fr) minmax(260px, 0.3fr);
  align-items: start;
}

.sticky-box {
  position: sticky;
  top: calc(var(--header-height) + 18px);
}

.info-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

.timeline { display: grid; gap: 1rem; }

.phase-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  border-left: 4px solid var(--teal);
}

.phase-card ul,
.detail-list,
.benefit-list {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.35rem;
}

.rich-content { display: grid; gap: 1.15rem; }

.rich-content h2,
.rich-content h3 {
  font-weight: 700;
  color: var(--navy);
  margin: 0.5rem 0 0;
}

.rich-content blockquote {
  margin: 0;
  padding: 1.15rem 1.25rem;
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(245,166,35,0.08);
  color: var(--navy);
  font-weight: 700;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { display: grid; gap: 1rem; }

.faq-item {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  padding: 1.15rem 1.2rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item .answer {
  padding: 0 1.2rem 1.2rem;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.72;
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.comparison-wrap { overflow-x: auto; }

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.comparison-table th {
  background: rgba(15,39,68,0.05);
  color: var(--navy);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.compare-tray {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-pill);
  background: rgba(15,39,68,0.94);
  color: #fff;
  box-shadow: var(--shadow-lg);
  z-index: 20;
}

.compare-tray.show { display: flex; }

/* ============================================================
   FILTER BAR
   ============================================================ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
  position: sticky;
  top: calc(var(--header-height) + 12px);
  z-index: 8;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.filter-bar .field {
  min-width: 200px;
  flex: 1 1 200px;
}

/* ============================================================
   QUIZ
   ============================================================ */
.quiz-shell {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 0.7fr) minmax(280px, 0.3fr);
}

.quiz-options { display: grid; gap: 0.75rem; }

.quiz-option {
  padding: 0.95rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
}

.quiz-option.selected {
  border-color: rgba(0,196,180,0.42);
  background: rgba(0,196,180,0.1);
}

.quiz-progress { font-weight: 700; color: var(--navy); }

/* ============================================================
   RESULT GALLERY
   ============================================================ */
.result-gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}

.gallery-card {
  overflow: hidden;
  min-height: 200px;
  border-radius: var(--radius);
}

.gallery-card img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand { max-width: 280px; }
.footer-brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.footer-brand-tag {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
  font-weight: 500;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.footer-contact a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact a:hover { color: var(--gold); }

.footer-social {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  transition: all 0.2s;
}

.footer-social a:hover { background: var(--gold); color: var(--navy-dark); }

/* Legacy footer socials */
.footer-socials {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  transition: all 0.2s;
}

.footer-socials a:hover { background: var(--gold); color: var(--navy-dark); }

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1rem;
}

.footer h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  margin: 0 0 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold); }

.footer-note {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bar-text { font-size: 0.78rem; color: rgba(255,255,255,0.4); }
.footer-bar span { font-size: 0.78rem; color: rgba(255,255,255,0.4); }
.footer-manipal-link { color: var(--gold); font-size: 0.78rem; font-weight: 600; }
.footer-accreditation { margin-top: 1.2rem; }

/* ============================================================
   PUBLIC CHAT + AI COUNSELLOR + FLOATING WHATSAPP + SCROLL TO TOP
   ============================================================ */
.public-chat {
  position: fixed;
  right: 1.5rem;
  bottom: 10.15rem;
  z-index: 1295;
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
}

.public-chat__toggle {
  position: relative;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f2744 0%, #12c7ab 70%, #ffd572 100%);
  color: #fff;
  box-shadow: 0 12px 34px rgba(15, 39, 68, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.public-chat__toggle svg {
  width: 30px;
  height: 30px;
  display: block;
  fill: currentColor;
}

.public-chat__toggle:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 16px 42px rgba(15, 39, 68, 0.4);
}

.public-chat__dot {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #fff;
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.15);
}

.public-chat__panel {
  position: absolute;
  right: 4.75rem;
  bottom: 0;
  width: min(370px, calc(100vw - 6.5rem));
  height: min(560px, calc(100vh - 8rem));
  min-height: 430px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.24);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px) scale(0.98);
  transition: opacity 0.2s, transform 0.2s;
}

.public-chat.is-open .public-chat__panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.public-chat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  background: #0f2744;
  color: #fff;
}

.public-chat__head strong {
  display: block;
  font-size: 0.96rem;
  line-height: 1.2;
}

.public-chat__head span {
  display: block;
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.72rem;
  font-weight: 700;
}

.public-chat__close {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.public-chat__messages {
  min-height: 0;
  overflow-y: auto;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(18, 199, 171, 0.08), transparent 130px),
    #f8fafc;
}

.public-chat__msg {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.85rem;
}

.public-chat__msg--visitor {
  align-items: flex-end;
}

.public-chat__msg--team {
  align-items: flex-start;
}

.public-chat__bubble {
  max-width: 92%;
  padding: 0.76rem 0.86rem;
  border-radius: 8px;
  font-size: 0.86rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.public-chat__msg--visitor .public-chat__bubble {
  background: #0f2744;
  color: #fff;
  border-bottom-right-radius: 3px;
}

.public-chat__msg--team .public-chat__bubble {
  background: #fff;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom-left-radius: 3px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.public-chat__meta {
  max-width: 92%;
  padding: 0 0.2rem;
  color: #94a3b8;
  font-size: 0.68rem;
  font-weight: 700;
}

.public-chat__msg--visitor .public-chat__meta {
  text-align: right;
}

.public-chat__attachment {
  display: inline-block;
  margin-top: 0.35rem;
  color: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.public-chat__contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.45rem;
  padding: 0.72rem 1rem;
  background: #fff;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.public-chat__contact input {
  min-width: 0;
  height: 36px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 6px;
  padding: 0 0.62rem;
  color: #0f172a;
  font: inherit;
  font-size: 0.76rem;
  outline: none;
  background: #f8fafc;
}

.public-chat__contact input[type="email"] {
  grid-column: 1 / -1;
}

.public-chat__contact input:focus {
  border-color: #12c7ab;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(18, 199, 171, 0.13);
}

.public-chat__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  padding: 0.85rem;
  background: #fff;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.public-chat__form input {
  min-width: 0;
  height: 44px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 6px;
  padding: 0 0.78rem;
  color: #0f172a;
  font: inherit;
  font-size: 0.85rem;
  outline: none;
}

.public-chat__form input:focus {
  border-color: #f5a623;
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.13);
}

.public-chat__form button {
  height: 44px;
  border: 0;
  border-radius: 6px;
  padding: 0 0.9rem;
  background: #12c7ab;
  color: #05221f;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.public-chat__form button:disabled {
  opacity: 0.62;
  cursor: wait;
}

.ai-counsellor {
  position: fixed;
  right: 1.5rem;
  bottom: 5.85rem;
  z-index: 1290;
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
}

.ai-counsellor__toggle {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #101827 0%, #1a6f82 58%, #f5a623 100%);
  color: #fff;
  box-shadow: 0 12px 34px rgba(16, 24, 39, 0.32);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.ai-counsellor.is-busy .ai-counsellor__toggle {
  animation: ai-sarthi-pulse 1.15s ease-in-out infinite;
}

.ai-counsellor__toggle span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 1.42rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.ai-counsellor__toggle:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 16px 42px rgba(16, 24, 39, 0.42);
}

.ai-counsellor__panel {
  position: absolute;
  right: 0;
  bottom: 4.75rem;
  width: min(620px, calc(100vw - 2rem));
  height: min(760px, calc(100vh - 6.5rem));
  min-height: 620px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  background: rgba(255, 255, 255, 0.99);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  box-shadow: 0 24px 78px rgba(15, 23, 42, 0.28);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.2s, transform 0.2s;
}

.ai-counsellor__panel[hidden] {
  display: none !important;
}

.ai-counsellor.is-open .ai-counsellor__panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.ai-counsellor__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  background: linear-gradient(135deg, #101827 0%, #173256 58%, #0f766e 100%);
  color: #fff;
}

.ai-counsellor__head strong {
  display: block;
  font-size: 0.96rem;
  line-height: 1.2;
}

.ai-counsellor__head span {
  display: block;
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 700;
}

.ai-counsellor__profile {
  display: none;
  padding: 0.85rem 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.ai-counsellor__profile-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.68rem;
}

.ai-counsellor__profile-head strong {
  display: block;
  color: #0f172a;
  font-size: 0.84rem;
  line-height: 1.2;
}

.ai-counsellor__profile-head span {
  display: block;
  margin-top: 0.16rem;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
}

.ai-counsellor__profile-head button,
.ai-counsellor__profile-fields button {
  border: 0;
  border-radius: 6px;
  background: #0f2744;
  color: #fff;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 900;
  cursor: pointer;
}

.ai-counsellor__profile-head button {
  min-height: 30px;
  padding: 0 0.62rem;
  background: rgba(15, 39, 68, 0.08);
  color: #0f2744;
}

.ai-counsellor__profile-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.ai-counsellor__profile-fields input,
.ai-counsellor__profile-fields select {
  min-width: 0;
  height: 36px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 6px;
  padding: 0 0.62rem;
  color: #0f172a;
  font: inherit;
  font-size: 0.76rem;
  outline: none;
  background: #fff;
}

.ai-counsellor__profile-fields input:focus,
.ai-counsellor__profile-fields select:focus {
  border-color: #12c7ab;
  box-shadow: 0 0 0 3px rgba(18, 199, 171, 0.13);
}

.ai-counsellor__profile-fields input[type="email"],
.ai-counsellor__profile-fields select,
.ai-counsellor__profile-fields button {
  grid-column: 1 / -1;
}

.ai-counsellor__profile-fields button {
  min-height: 38px;
  background: linear-gradient(135deg, #0f2744, #12c7ab);
}

.ai-counsellor__profile-summary {
  padding: 0.58rem 0.7rem;
  border-radius: 7px;
  background: rgba(18, 199, 171, 0.09);
  color: #0f2744;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.ai-counsellor__close {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.ai-counsellor__messages {
  min-height: 0;
  overflow-y: auto;
  padding: 1.05rem;
  overscroll-behavior: contain;
  background:
    linear-gradient(180deg, rgba(18, 199, 171, 0.09), transparent 135px),
    #f8fafc;
}

.ai-counsellor__contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.45rem;
  padding: 0.72rem 1rem;
  background: #fff;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.ai-counsellor__contact input {
  min-width: 0;
  height: 36px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 6px;
  padding: 0 0.62rem;
  color: #0f172a;
  font: inherit;
  font-size: 0.76rem;
  outline: none;
  background: #f8fafc;
}

.ai-counsellor__contact input[type="email"] {
  grid-column: 1 / -1;
}

.ai-counsellor__contact input:focus {
  border-color: #f5a623;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.12);
}

.ai-counsellor__msg {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.ai-counsellor__msg--user {
  align-items: flex-end;
}

.ai-counsellor__msg--assistant {
  align-items: flex-start;
}

.ai-counsellor__bubble {
  max-width: min(100%, 540px);
  padding: 0.82rem 0.95rem;
  border-radius: 8px;
  font-size: 0.92rem;
  line-height: 1.62;
  white-space: pre-wrap;
  word-break: break-word;
}

.ai-counsellor__msg--user .ai-counsellor__bubble {
  background: #173256;
  color: #fff;
  border-bottom-right-radius: 3px;
}

.ai-counsellor__msg--assistant .ai-counsellor__bubble {
  background: #fff;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom-left-radius: 3px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.ai-counsellor__typing {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  min-width: 62px;
  min-height: 40px;
}

.ai-counsellor__typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #12c7ab;
  animation: ai-sarthi-dot 0.9s ease-in-out infinite;
}

.ai-counsellor__typing-dot:nth-child(2) {
  animation-delay: 0.13s;
}

.ai-counsellor__typing-dot:nth-child(3) {
  animation-delay: 0.26s;
}

.ai-counsellor__sources {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  max-width: 92%;
}

.ai-counsellor__source {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  max-width: 100%;
  padding: 0.28rem 0.48rem;
  border-radius: 6px;
  background: rgba(23, 50, 86, 0.08);
  color: #173256;
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-counsellor__source:hover {
  background: rgba(245, 166, 35, 0.18);
  color: #8a5700;
}

.ai-counsellor__suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  max-height: 108px;
  overflow-y: auto;
  padding: 0.65rem 1rem;
  background: #fff;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.ai-counsellor__suggestions[hidden] {
  display: none !important;
}

.ai-counsellor__chip {
  flex: 1 1 150px;
  max-width: 100%;
  min-height: 34px;
  padding: 0.42rem 0.65rem;
  border: 1px solid rgba(23, 50, 86, 0.14);
  border-radius: 6px;
  background: #f8fafc;
  color: #173256;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
  line-height: 1.28;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: left;
}

.ai-counsellor__chip:hover {
  border-color: rgba(245, 166, 35, 0.45);
  background: rgba(245, 166, 35, 0.1);
}

.ai-counsellor__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
  padding: 0.9rem 1rem;
  background: #fff;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.ai-counsellor__form input {
  min-width: 0;
  height: 52px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 6px;
  padding: 0 0.92rem;
  color: #0f172a;
  font: inherit;
  font-size: 0.94rem;
  outline: none;
}

.ai-counsellor__form input:focus {
  border-color: #12c7ab;
  box-shadow: 0 0 0 3px rgba(18, 199, 171, 0.13);
}

.ai-counsellor__form button {
  height: 52px;
  border: 0;
  border-radius: 6px;
  padding: 0 1.05rem;
  min-width: 76px;
  background: linear-gradient(135deg, #f5a623, #12c7ab);
  color: #101827;
  font-size: 0.88rem;
  font-weight: 900;
  cursor: pointer;
}

.ai-counsellor__form button:disabled {
  opacity: 0.62;
  cursor: wait;
}

@keyframes ai-sarthi-dot {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.42; }
  40% { transform: translateY(-4px); opacity: 1; }
}

@keyframes ai-sarthi-pulse {
  0%, 100% { box-shadow: 0 12px 34px rgba(16, 24, 39, 0.32); }
  50% { box-shadow: 0 16px 44px rgba(18, 199, 171, 0.45), 0 0 0 8px rgba(18, 199, 171, 0.13); }
}

.floating-whatsapp {
  position: fixed;
  bottom: 1.6rem;
  right: 1.5rem;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  box-shadow: 0 8px 26px rgba(37,211,102,.46);
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: wa-pulse 2.4s ease-in-out infinite;
}

@keyframes wa-pulse {
  0%,100% { box-shadow: 0 8px 26px rgba(37,211,102,.46); }
  50%      { box-shadow: 0 10px 34px rgba(37,211,102,.7), 0 0 0 8px rgba(37,211,102,.14); }
}

.floating-whatsapp svg {
  width: 31px;
  height: 31px;
  display: block;
  fill: currentColor;
}

.floating-whatsapp:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 12px 36px rgba(37,211,102,.68);
  animation: none;
}

.scroll-top {
  position: fixed;
  bottom: 1.6rem;
  left: 1.5rem;
  z-index: 40;
  width: 44px;
  height: 44px;
  background: var(--navy);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s, transform 0.2s;
}

.scroll-top.visible { opacity: 1; }
.scroll-top:hover { transform: translateY(-2px); }

/* ============================================================
   HERO-PREMIUM (legacy class for old index.php)
   ============================================================ */
.hero-premium {
  padding: 80px 0 100px;
}

.hero-premium-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ============================================================
   MISC UTILITIES
   ============================================================ */
.reading-progress { width: 0%; }

/* Compare checkbox */
.compare-checkbox { gap: 0.5rem; }

/* Header phone */
.header-phone { color: var(--text-soft); font-weight: 700; }

/* Programme highlights */
.programme-card-highlights,
.programme-card-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* ============================================================
   RESPONSIVE — 1100px
   ============================================================ */
@media (max-width: 1100px) {
  .hero-grid,
  .hero-premium-grid,
  .footer-grid,
  .collab-inner {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .hero-premium-grid { gap: 2rem; }

  .collab-badges {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .footer-grid { gap: 2rem; }
}

/* ============================================================
   RESPONSIVE — 900px
   ============================================================ */
@media (max-width: 900px) {
  .courses-grid,
  .prog-grid,
  .testimonials-grid,
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .exam-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar-grid { grid-template-columns: repeat(2, 1fr); }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .stat-item:last-child { border-bottom: none; }

  .auth-shell { grid-template-columns: 1fr; }

  .detail-grid { grid-template-columns: 1fr; }
  .form-layout { grid-template-columns: 1fr; }
  .quiz-shell { grid-template-columns: 1fr; }

  .page-hero .container,
  .detail-hero .container { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — 640px
   ============================================================ */
@media (max-width: 640px) {
  .public-chat {
    right: 0.75rem;
    bottom: 9.3rem;
  }

  .public-chat__panel {
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 5.2rem;
    width: auto;
    height: min(600px, calc(100vh - 7rem));
    min-height: 420px;
  }

  .ai-counsellor {
    right: 0.75rem;
    bottom: 5.25rem;
  }

  .ai-counsellor__panel {
    position: fixed;
    left: 0.5rem;
    right: 0.5rem;
    bottom: 4.95rem;
    width: auto;
    height: min(720px, calc(100vh - 6rem));
    min-height: 500px;
  }

  .ai-counsellor__messages {
    padding: 0.85rem;
  }

  .ai-counsellor__bubble {
    max-width: 100%;
    font-size: 0.9rem;
  }

  .ai-counsellor__form {
    padding: 0.75rem;
    grid-template-columns: minmax(0, 1fr) 76px;
  }

  .ai-counsellor__form input,
  .ai-counsellor__form button {
    height: 50px;
  }

  .courses-grid,
  .prog-grid,
  .testimonials-grid,
  .cards-grid,
  .result-gallery {
    grid-template-columns: 1fr;
  }

  .exam-grid { grid-template-columns: repeat(2, 1fr); }

  .desktop-nav { display: none; }
  .desktop-only { display: none; }
  .menu-toggle { display: inline-flex; }

  .hero,
  .hero-premium { padding: 56px 0 72px; }
  .section { padding: 48px 0; }
  .section-tight { padding: 40px 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .form-grid { grid-template-columns: 1fr; }

  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .collab-banner { padding: 2rem 1.5rem; }
  .collab-title { font-size: 1.4rem; }
  .stats-bar-grid { grid-template-columns: repeat(2, 1fr); }

  .topbar-left { display: none; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   SHARED COMPONENTS (used across multiple pages)
   ============================================================ */

/* CTA section — used on about, collaboration, courses, etc. */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section__glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(245,166,35,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* edu-badge component */
.edu-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.edu-badge--accent {
  background: rgba(245,166,35,0.15);
  border: 1px solid rgba(245,166,35,0.35);
  color: var(--gold);
}
.edu-badge--blue   { background: #e0f2fe; color: #0369a1; }
.edu-badge--amber  { background: #fef3c7; color: #b45309; }
.edu-badge--purple { background: #ede9fe; color: #7c3aed; }
.edu-badge--green  { background: #dcfce7; color: #16a34a; }

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header,
  .topbar,
  .topbar-strip,
  .footer,
  .public-chat,
  .ai-counsellor,
  .floating-whatsapp,
  .scroll-top,
  .mobile-drawer { display: none !important; }
  body { background: #fff; }
}
/* Keyboard accessibility shared by public pages. */
.skip-link{position:fixed;left:12px;top:-80px;z-index:100000;background:#fff;color:#073f3c;padding:12px 16px;border:2px solid #007f78;border-radius:8px;font-weight:800}.skip-link:focus{top:12px}:focus-visible{outline:3px solid #f59e0b;outline-offset:3px}
@media(max-width:760px){.learning-layout{grid-template-columns:1fr!important}}
