/* =========================================================
   Manifold Institute of Technical Education — Official Website
   Based on the Manifold Brand Identity Guidelines (Oct 2026)
   Navy #1C3667 · Deep Navy #0F1F40 · Amber #FAA318 · Slate #4B5874 · Mist #F3F5F9
   Proportions: 60% White · 30% Navy · 10% Amber
   Typography: Poppins (Google Fonts)
   Graphic Device: 33° Converging Rays (Amber on Navy or Navy on White)
   Aesthetic: Premium, Modern Educational Platform
   ========================================================= */

:root {
  /* --- Primary Brand Colors --- */
  --manifold-navy: #1C3667;
  --manifold-amber: #FAA318;
  --manifold-white: #FFFFFF;

  /* --- Secondary Brand Palette (Brand Guide Page 9) --- */
  --navy-deep: #0F1F40;
  --slate: #4B5874;
  --mist: #F3F5F9;
  --amber-soft: #FEF1D6;
  --amber-dark: #C97E06;
  --amber-glow: rgba(250, 163, 24, 0.22);
  --navy-glow: rgba(28, 54, 103, 0.10);

  /* --- Surface and UI Neutral Tones --- */
  --surface: #FFFFFF;
  --surface-alt: #F3F5F9;
  --surface-card: #FFFFFF;
  --border-light: #E2E8F0;
  --border-subtle: #EDF2F7;
  --border-strong: #CBD5E1;
  --ink: #0F1F40;
  --ink-muted: #4B5874;
  --ink-light: #718096;
  --success: #16A34A;
  --success-soft: #DCFCE7;

  /* --- Typography --- */
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* --- Border Radii (Friendly, modern SaaS feel) --- */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* --- Box Shadows --- */
  --shadow-subtle: 0 1px 2px rgba(15, 31, 64, 0.04), 0 2px 4px rgba(15, 31, 64, 0.02);
  --shadow-card: 0 4px 16px -2px rgba(15, 31, 64, 0.06), 0 2px 6px -1px rgba(15, 31, 64, 0.03);
  --shadow-raised: 0 12px 32px -4px rgba(15, 31, 64, 0.09), 0 4px 12px -2px rgba(15, 31, 64, 0.04);
  --shadow-float: 0 20px 48px -8px rgba(15, 31, 64, 0.14);
  --shadow-amber: 0 8px 24px -4px rgba(250, 163, 24, 0.40);
  --shadow-navy: 0 8px 24px -4px rgba(28, 54, 103, 0.35);

  /* --- Transitions --- */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================================
   Reset and Base
   ========================================================= */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.625;
  color: var(--ink);
  background-color: var(--surface-alt);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

/* =========================================================
   Typography (Page 10 Brand Guidelines)
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
  color: var(--manifold-navy);
  font-family: var(--font);
  margin: 0;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.35;
  font-weight: 600;
}

h4 {
  font-size: 1.1rem;
  line-height: 1.4;
  font-weight: 600;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--manifold-amber);
  margin-bottom: 12px;
}

.eyebrow.on-navy {
  color: var(--manifold-amber);
}

.eyebrow.on-light {
  color: var(--amber-dark);
}

.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--slate);
}

/* =========================================================
   Containers and Utility Layouts
   ========================================================= */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow {
  max-width: 820px;
}

.nw {
  white-space: nowrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* =========================================================
   Buttons & Interactive Elements
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  text-decoration: none;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

.btn-lg {
  min-height: 54px;
  padding: 0 32px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

.btn-amber {
  background-color: var(--manifold-amber);
  color: var(--navy-deep);
  box-shadow: 0 2px 6px rgba(250, 163, 24, 0.25);
}

.btn-amber:hover {
  background-color: #f79a0b;
  box-shadow: var(--shadow-amber);
}

.btn-navy {
  background-color: var(--manifold-navy);
  color: var(--manifold-white);
  box-shadow: 0 2px 6px rgba(28, 54, 103, 0.2);
}

.btn-navy:hover {
  background-color: var(--navy-deep);
  box-shadow: var(--shadow-navy);
}

.btn-ghost {
  background-color: var(--surface);
  border-color: var(--border-strong);
  color: var(--manifold-navy);
}

.btn-ghost:hover {
  border-color: var(--manifold-navy);
  background-color: var(--mist);
}

.btn-ghost-white {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--manifold-white);
  backdrop-filter: blur(8px);
}

.btn-ghost-white:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: var(--manifold-white);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--manifold-navy);
  outline-offset: 3px;
}

/* =========================================================
   Top Announcement Bar (Optional Empanelment badge)
   ========================================================= */
.top-notice {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12.5px;
  font-weight: 500;
  padding: 7px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-notice span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.top-notice b {
  color: var(--manifold-amber);
  font-weight: 600;
}

/* =========================================================
   Header & Navigation
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition-normal);
}

.site-header .container.nav {
  max-width: 1360px;
  padding: 0 20px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity var(--transition-fast);
}

.logo:hover {
  opacity: 0.9;
}

.logo img {
  width: 160px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 20px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.nav-links a:not(.btn) {
  color: var(--slate);
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links a:not(.btn):hover {
  color: var(--manifold-navy);
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--manifold-amber);
  transition: width var(--transition-fast);
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

/* --- Nav Dropdown (GATE Coaching branches) --- */
.nav-item-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform var(--transition-fast);
}

.nav-item-dropdown:hover .nav-dropdown-arrow {
  transform: rotate(-135deg);
  margin-top: 3px;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(15, 31, 64, 0.12);
  padding: 8px 0;
  margin-top: 6px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-fast);
  z-index: 1000;
}

/* Invisible bridge so mouse hover doesn't break between link and dropdown */
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu li {
  margin: 0;
  padding: 0;
}

.nav-dropdown-menu a {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 9px 18px !important;
  font-size: 13.5px !important;
  font-weight: 500;
  color: var(--ink) !important;
  text-decoration: none;
  transition: background-color var(--transition-fast), color var(--transition-fast) !important;
  white-space: nowrap;
}

.nav-dropdown-menu a::after {
  display: none !important;
}

.nav-dropdown-menu a:hover {
  background-color: var(--mist);
  color: var(--manifold-navy) !important;
}

.nav-dropdown-menu a .branch-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--amber-dark);
  background: var(--amber-soft);
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.04em;
  margin-left: 8px;
}

.nav-dropdown-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 6px 0;
}

.nav-dropdown-menu .all-branches-link {
  font-weight: 600 !important;
  color: var(--manifold-navy) !important;
  background: rgba(28, 54, 103, 0.04);
}

.nav-dropdown-menu .all-branches-link:hover {
  background: rgba(28, 54, 103, 0.08) !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-actions .btn-sm {
  min-height: 36px;
  padding: 0 14px;
  font-size: 13px;
  white-space: nowrap;
}

.phone-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--manifold-navy);
  padding: 6px 11px;
  border-radius: var(--radius-full);
  background: var(--mist);
  border: 1px solid var(--border-light);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.phone-chip:hover {
  background: var(--amber-soft);
  border-color: var(--manifold-amber);
  color: var(--navy-deep);
}

.phone-chip svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.nav-toggle {
  display: none;
}

.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  cursor: pointer;
  position: relative;
}

.nav-burger span,
.nav-burger span::before,
.nav-burger span::after {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--manifold-navy);
  transform: translateX(-50%);
  content: "";
  transition: var(--transition-normal);
}

.nav-burger span {
  top: 50%;
  margin-top: -1px;
}

.nav-burger span::before {
  top: -6px;
}

.nav-burger span::after {
  top: 6px;
}

/* =========================================================
   Hero Section (Inspired by timso + Manifold Brand Mockup)
   ========================================================= */
.hero {
  position: relative;
  padding-top: 56px;
  padding-bottom: 32px;
  overflow: hidden;
  background: var(--surface-alt);
}

/* Converging Brand Rays in background top corner */
.hero-bg-rays {
  position: absolute;
  top: 0;
  right: 0;
  width: min(560px, 46vw);
  aspect-ratio: 1.55 / 1;
  pointer-events: none;
  opacity: 0.85;
  z-index: 0;
}

.hero-top {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.6;
  color: var(--slate);
  max-width: 620px;
  margin: 16px auto 0;
}

/* Interactive Mode Switcher (timso style pill toggle) */
.mode-switch-wrap {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.mode-selector {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-subtle);
  position: relative;
  user-select: none;
}

.mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mode-btn.active {
  background: var(--manifold-navy);
  color: var(--manifold-white);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(28, 54, 103, 0.25);
}

.mode-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.mode-caption {
  font-size: 13.5px;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 6px;
}

.mode-caption b {
  color: var(--manifold-navy);
}

/* Crowd Illustration (Student Characters with conversational bubbles) */
.crowd-section {
  position: relative;
  max-width: 1100px;
  margin: 24px auto 0;
  padding: 68px 16px 0;
  z-index: 2;
}

.crowd-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Question bubbles floating above crowd */
.bubble {
  position: absolute;
  top: 10px;
  transform: translateX(-50%);
  z-index: 3;
  background: var(--surface);
  border: 1.5px solid var(--manifold-navy);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--navy-deep);
  max-width: 190px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(15, 31, 64, 0.08);
  pointer-events: none;
  animation: floatSubtle 4s ease-in-out infinite alternate;
}

.bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 10px;
  height: 10px;
  background: var(--surface);
  border-right: 1.5px solid var(--manifold-navy);
  border-bottom: 1.5px solid var(--manifold-navy);
  transform: translateX(-50%) rotate(45deg);
}

.bubble:nth-child(2) { animation-delay: 1s; }
.bubble:nth-child(3) { animation-delay: 2s; }
.bubble:nth-child(4) { animation-delay: 1.5s; }

@keyframes floatSubtle {
  0% { transform: translateX(-50%) translateY(0); }
  100% { transform: translateX(-50%) translateY(-5px); }
}

/* =========================================================
   Hero Main Bento Card (The timso centerpiece!)
   ========================================================= */
.hero-card {
  position: relative;
  margin-top: -8px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-raised);
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  overflow: hidden;
  min-height: 440px;
  z-index: 4;
}

.hero-card-left {
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.hero-card-left h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.15rem);
  color: var(--manifold-navy);
}

.hero-card-left p {
  color: var(--slate);
  font-size: 15.5px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.hero-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: var(--mist);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 13.5px;
  color: var(--slate);
  width: fit-content;
}

.stars {
  color: var(--manifold-amber);
  letter-spacing: 1px;
  font-size: 14px;
}

.hero-rating-pill strong {
  color: var(--navy-deep);
  font-weight: 600;
}

/* Hero Right: Live Interactive Learning Portal Preview */
.hero-card-right {
  position: relative;
  background: linear-gradient(145deg, #182E56 0%, #0F1F40 100%);
  overflow: hidden;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Signature Brand Rays on Navy */
.card-rays {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.9;
}

/* App Widget Floating on Right */
.app-widget {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 18px;
  z-index: 2;
  font-size: 13px;
}

.app-widget-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--manifold-navy);
}

.app-brand img {
  width: 24px;
  height: auto;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--success-soft);
  color: var(--success);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5); }
  70% { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

/* Calendar Day Pills */
.app-days {
  display: flex;
  gap: 6px;
  margin: 12px 0;
}

.day-pill {
  flex: 1;
  text-align: center;
  padding: 6px 2px;
  border-radius: var(--radius-sm);
  background: var(--mist);
  color: var(--slate);
  font-size: 10px;
  line-height: 1.3;
}

.day-pill b {
  display: block;
  font-size: 13px;
  color: var(--navy-deep);
}

.day-pill.active {
  background: var(--manifold-navy);
  color: rgba(255, 255, 255, 0.85);
}

.day-pill.active b {
  color: var(--manifold-white);
}

/* Live Class Highlight Box */
.live-session-banner {
  background: var(--amber-soft);
  border: 1px solid #f6dca3;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 12px;
}

.live-session-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--amber-dark);
}

.live-session-topic {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-deep);
  margin-top: 2px;
}

.live-session-faculty {
  font-size: 11.5px;
  color: var(--slate);
}

/* Schedule Items */
.app-schedule {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.schedule-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  background: var(--mist);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
}

.schedule-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-tag {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.04em;
}

.badge-tag.amber {
  background: var(--manifold-amber);
  color: var(--navy-deep);
}

.badge-tag.navy {
  background: var(--manifold-navy);
  color: var(--manifold-white);
}

.schedule-time {
  font-size: 11px;
  color: var(--slate);
  font-weight: 500;
}

/* Floating Student Result Badge */
.floating-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  z-index: 3;
}

.badge-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  background: var(--manifold-amber);
  color: var(--navy-deep);
  flex-shrink: 0;
}

.badge-info b {
  display: block;
  font-size: 12.5px;
  color: var(--manifold-navy);
}

.badge-info small {
  display: block;
  font-size: 11px;
  color: var(--slate);
}

/* =========================================================
   Social Proof Logos Strip
   ========================================================= */
.proof-strip {
  padding: 44px 0 16px;
  text-align: center;
}

.proof-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.proof-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 36px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.proof-logos li {
  font-size: 17px;
  font-weight: 700;
  color: var(--slate);
  letter-spacing: -0.01em;
  opacity: 0.75;
  transition: opacity var(--transition-fast), color var(--transition-fast);
}

.proof-logos li:hover {
  opacity: 1;
  color: var(--manifold-navy);
}

/* =========================================================
   Brand Signature Stats Banner (Direct from Brand Manual Page 14!)
   ========================================================= */
.brand-stats-strip {
  margin: 48px 0 0;
  position: relative;
  background:
    radial-gradient(circle at 88% 20%, rgba(250, 163, 24, 0.14) 0%, transparent 55%),
    linear-gradient(135deg, var(--manifold-navy) 0%, var(--navy-deep) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), var(--shadow-navy);
}

.stats-rays-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  pointer-events: none;
  opacity: 0.12;
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 0) 100%);
}

.stats-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 42px 32px;
  gap: 24px;
}

.stat-item {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 12px;
}

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

.stat-number {
  display: block;
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
  color: var(--manifold-amber);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 14px rgba(15, 31, 64, 0.55);
}

.stat-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.92);
  margin-top: 8px;
}

/* =========================================================
   Standard Sections
   ========================================================= */
.section {
  padding: 96px 0 0;
}

.section-alt {
  background: var(--surface);
  padding: 88px 0;
  margin-top: 96px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-alt + .section {
  padding-top: 88px;
}

.section-head {
  margin-bottom: 40px;
}

.section-head.center {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-head.row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.section-head h2 {
  margin-top: 4px;
}

.section-head p:not(.eyebrow) {
  color: var(--slate);
  margin-top: 10px;
  font-size: 16px;
}

/* =========================================================
   Interactive Branch Selector ("Every branch. One goal.")
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 1.05fr 1fr;
}

.branch-nav-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-card);
}

.branch-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  background: transparent;
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--slate);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
}

.branch-tab:hover {
  background: var(--mist);
  color: var(--manifold-navy);
}

.branch-tab.active {
  background: var(--mist);
  color: var(--manifold-navy);
  font-weight: 600;
  border-color: var(--border-light);
  box-shadow: var(--shadow-subtle);
  border-left: 4px solid var(--manifold-amber);
}

.branch-code {
  font-weight: 700;
  font-size: 13px;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  background: var(--border-light);
  color: var(--manifold-navy);
}

.branch-tab.active .branch-code {
  background: var(--manifold-amber);
  color: var(--navy-deep);
}

/* Dynamic Demo Preview Card */
.branch-demo-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-raised);
  position: relative;
  overflow: hidden;
}

.demo-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.demo-branch-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--manifold-navy);
}

.demo-branch-tag img {
  width: 26px;
  height: auto;
}

.demo-badge-free {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--amber-soft);
  color: var(--amber-dark);
}

.demo-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--manifold-navy);
  margin-bottom: 6px;
}

.demo-card-desc {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.5;
  margin-bottom: 20px;
}

.demo-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.demo-detail-item {
  background: var(--mist);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
}

.demo-detail-item span {
  display: block;
  font-size: 11.5px;
  color: var(--ink-light);
  font-weight: 500;
  margin-bottom: 2px;
}

.demo-detail-item strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--navy-deep);
  font-weight: 600;
}

.mentor-av {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--manifold-amber);
  color: var(--navy-deep);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
}

/* =========================================================
   Courses Grid
   ========================================================= */
.course-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.course-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--manifold-navy);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-top-color var(--transition-fast);
  text-decoration: none;
}

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

.course-card.accent-amber {
  border-top-color: var(--manifold-amber);
}

.course-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.course-badge {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: var(--radius-xs);
  background: var(--mist);
  color: var(--manifold-navy);
}

.course-card.accent-amber .course-badge {
  background: var(--amber-soft);
  color: var(--amber-dark);
}

.course-hours {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-light);
}

.course-card h3 {
  font-size: 17.5px;
  line-height: 1.35;
  color: var(--manifold-navy);
  margin-bottom: 8px;
}

.course-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--slate);
  flex: 1;
  margin-bottom: 16px;
}

.course-footer-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--manifold-navy);
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  transition: gap var(--transition-fast);
}

.course-card:hover .course-footer-link {
  gap: 10px;
  color: var(--manifold-amber);
}

/* =========================================================
   Test Series & Analytics Mockup (timso style)
   ========================================================= */
.analytics-mock-wrap {
  position: relative;
  min-height: 380px;
}

.analytics-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 20px;
}

.gauge-card {
  left: 0;
  top: 12px;
  width: 210px;
  z-index: 3;
  text-align: center;
}

.card-heading-sm {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--manifold-navy);
  margin-bottom: 12px;
}

/* Percentile Donut */
.donut-ring {
  width: 124px;
  height: 124px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: conic-gradient(var(--manifold-amber) 0% 82%, var(--mist) 82% 100%);
  display: grid;
  place-items: center;
}

.donut-inner {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.donut-inner b {
  font-size: 30px;
  font-weight: 700;
  color: var(--manifold-navy);
  line-height: 1;
}

.donut-inner small {
  font-size: 10px;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.gauge-subtext {
  font-size: 12px;
  color: var(--success);
  font-weight: 600;
}

/* Verified Student Card */
.topper-card {
  left: 215px;
  top: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  z-index: 4;
}

.topper-av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--manifold-navy);
  color: var(--manifold-white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.topper-details b {
  display: block;
  font-size: 14px;
  color: var(--manifold-navy);
}

.topper-details small {
  display: block;
  font-size: 12px;
  color: var(--amber-dark);
  font-weight: 600;
}

/* Subject Accuracy Bar Card */
.accuracy-card {
  left: 110px;
  top: 105px;
  width: 350px;
  padding-top: 64px;
}

.accuracy-head {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--manifold-navy);
}

.bars-group {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 160px;
  gap: 14px;
}

.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 8px;
}

.bar-fill {
  width: 22px;
  border-radius: var(--radius-xs) var(--radius-xs) 0 0;
  transition: height 0.6s ease;
}

.bar-fill.navy { background: var(--manifold-navy); }
.bar-fill.amber { background: var(--manifold-amber); }
.bar-fill.soft { background: var(--border-light); }

.bar-col small {
  font-size: 11px;
  font-weight: 600;
  color: var(--slate);
}

/* =========================================================
   Online vs Offline Learning Modes
   ========================================================= */
.two-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.feature-box {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.feature-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-raised);
}

.feature-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--mist);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--manifold-navy);
}

.feature-box:first-child .feature-icon-wrap {
  background: var(--amber-soft);
  color: var(--amber-dark);
}

.feature-icon-wrap svg {
  width: 30px;
  height: 30px;
}

.feature-box h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.7rem);
  margin-bottom: 12px;
}

.feature-box p {
  color: var(--slate);
  margin-bottom: 22px;
  font-size: 15px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--slate);
}

.check-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--amber-soft);
  color: var(--amber-dark);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* =========================================================
   The PURE Methodology Section
   ========================================================= */
.pure-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pure-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: var(--shadow-subtle);
  transition: transform var(--transition-fast);
}

.pure-card:hover {
  transform: translateY(-3px);
}

.pure-letter {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: var(--manifold-navy);
  color: var(--manifold-white);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 18px;
}

.pure-card:nth-child(even) .pure-letter {
  background: var(--manifold-amber);
  color: var(--navy-deep);
}

.pure-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.pure-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--slate);
}

/* =========================================================
   Student Reviews & Testimonials
   ========================================================= */
.review-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 20px;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.review-card.featured {
  grid-row: span 2;
  background: linear-gradient(180deg, var(--amber-soft) 0%, #FFFDF9 100%);
  border: 1.5px solid #F6DCA3;
  border-top: 4px solid var(--manifold-amber);
}

.review-card blockquote {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
}

.review-card.featured blockquote {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--navy-deep);
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.author-avatar.navy { background: var(--manifold-navy); color: var(--manifold-white); }
.author-avatar.amber { background: var(--manifold-amber); color: var(--navy-deep); }
.author-avatar.soft { background: var(--border-light); color: var(--manifold-navy); }

.author-meta b {
  display: block;
  font-size: 14px;
  color: var(--manifold-navy);
}

.author-meta small {
  display: block;
  font-size: 12px;
  color: var(--slate);
}

.review-card:nth-child(4) {
  grid-column: 2 / span 2;
}

/* =========================================================
   Blog Section
   ========================================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

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

.blog-art {
  display: block;
  position: relative;
  height: 160px;
  background: linear-gradient(135deg, var(--mist) 0%, #E2E8F0 100%);
  overflow: hidden;
}

.blog-art.alt {
  background: linear-gradient(135deg, var(--manifold-navy) 0%, var(--navy-deep) 100%);
}

.blog-art svg {
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: auto;
  pointer-events: none;
}

.blog-category-tag {
  position: absolute;
  left: 20px;
  bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--surface);
  color: var(--manifold-navy);
}

.blog-art.alt .blog-category-tag {
  background: var(--manifold-amber);
  color: var(--navy-deep);
}

.blog-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-body h3 {
  font-size: 17.5px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.blog-body p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--slate);
  flex: 1;
}

.blog-read-more {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--manifold-navy);
  margin-top: 16px;
}

/* =========================================================
   FAQ Accordions
   ========================================================= */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

details {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-fast);
  overflow: hidden;
}

details[open] {
  border-left: 4px solid var(--manifold-amber);
  box-shadow: var(--shadow-card);
}

summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 64px 22px 24px;
  font-weight: 600;
  font-size: 16px;
  color: var(--manifold-navy);
  position: relative;
  user-select: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--manifold-navy);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 20px;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

details[open] summary::after {
  content: "–";
  background: var(--manifold-amber);
  color: var(--navy-deep);
}

details p {
  padding: 0 24px 22px;
  color: var(--slate);
  font-size: 15px;
  line-height: 1.6;
}

/* =========================================================
   Bottom CTA Section (timso character overlay + Page 14/16 brand card)
   ========================================================= */
.cta-section {
  padding: 104px 0 0;
  position: relative;
}

/* Illustrated students standing/sitting atop the CTA card */
.cta-crowd-wrap {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding-top: 52px;
  z-index: 2;
}

.crowd-mirror {
  transform: scaleX(-1);
}

.cta-bubble {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1.5px solid var(--manifold-navy);
  border-radius: var(--radius-md);
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy-deep);
  box-shadow: var(--shadow-card);
  z-index: 3;
}

.cta-bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 10px;
  height: 10px;
  background: var(--surface);
  border-right: 1.5px solid var(--manifold-navy);
  border-bottom: 1.5px solid var(--manifold-navy);
  transform: translateX(-50%) rotate(45deg);
}

/* Deep Navy CTA Card */
.cta-card {
  position: relative;
  margin-top: -6px;
  border-radius: var(--radius-xl);
  padding: 64px 56px;
  background: linear-gradient(145deg, var(--manifold-navy) 0%, var(--navy-deep) 100%);
  color: var(--manifold-white);
  box-shadow: var(--shadow-float);
  overflow: hidden;
  z-index: 3;
}

/* Signature Brand Rays on Navy Ground */
.cta-rays-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 45%);
  height: 100%;
  pointer-events: none;
  opacity: 0.95;
}

.cta-content {
  position: relative;
  max-width: 620px;
  z-index: 2;
}

.cta-content h2 {
  color: var(--manifold-white);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-top: 6px;
}

.cta-content p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  margin-top: 12px;
  font-size: 16px;
}

.cta-form {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  margin-top: 32px;
}

.cta-form input,
.cta-form select {
  width: 100%;
  min-height: 52px;
  font-family: var(--font);
  font-size: 14.5px;
  color: var(--navy-deep);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0 16px;
  appearance: none;
  -webkit-appearance: none;
}

.cta-form input::placeholder {
  color: var(--ink-light);
}

.cta-form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--manifold-navy) 50%),
                    linear-gradient(135deg, var(--manifold-navy) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.cta-form .btn {
  min-height: 52px;
  padding: 0 28px;
}

.cta-alt-contacts {
  position: relative;
  z-index: 2;
  margin-top: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.cta-alt-contacts a {
  color: var(--manifold-amber);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  padding: 72px 0 32px;
  margin-top: 96px;
  background: var(--surface);
  border-top: 1px solid var(--border-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.3fr 0.9fr;
  gap: 40px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate);
  margin-top: 16px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber-dark);
  margin-bottom: 16px;
}

.footer-col a:not(.logo) {
  display: block;
  font-size: 14px;
  color: var(--slate);
  padding: 5px 0;
  transition: color var(--transition-fast);
}

.footer-col a:not(.logo):hover {
  color: var(--manifold-navy);
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate);
}

.footer-col p a {
  color: var(--manifold-navy);
  font-weight: 500;
}

.footer-footnote {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 12px;
  color: var(--ink-light);
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
  font-size: 13px;
  color: var(--slate);
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
}

.footer-bottom-links a:hover {
  color: var(--manifold-navy);
}

/* =========================================================
   Floating WhatsApp Button
   ========================================================= */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--manifold-amber);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-raised);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: var(--shadow-amber);
}

.wa-float svg {
  width: 28px;
  height: 28px;
  fill: var(--navy-deep);
}

/* =========================================================
   Toast Notification for Actions
   ========================================================= */
.toast-msg {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--navy-deep);
  color: var(--manifold-white);
  padding: 14px 24px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-float);
  border: 1px solid var(--manifold-amber);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* =========================================================
   Responsive Breakpoints
   ========================================================= */
@media (max-width: 1120px) {
  .phone-chip {
    display: none;
  }
  .nav-links {
    gap: 16px;
  }
}

@media (max-width: 1060px) {
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .split.reverse {
    grid-template-columns: 1fr;
  }
  .split .split-text {
    order: -1;
  }
  .pure-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .cta-form {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav-burger {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 78px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-float);
  }
  .nav-links a:not(.btn) {
    padding: 12px 14px;
    color: var(--manifold-navy);
  }
  .nav-item-dropdown {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(28, 54, 103, 0.03);
    border-radius: var(--radius-sm);
    padding: 4px 0;
    margin: 4px 0 8px 12px;
  }
  .nav-dropdown-menu::before {
    display: none;
  }
  .nav-dropdown-menu a {
    padding: 8px 14px !important;
    font-size: 13px !important;
  }
  .nav-dropdown-arrow {
    display: none;
  }
  .nav-actions .btn {
    display: none;
  }
  .phone-chip {
    display: none;
  }
  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }
  .nav-toggle:checked + .nav-burger span {
    background: transparent;
  }
  .nav-toggle:checked + .nav-burger span::before {
    top: 0;
    transform: translateX(-50%) rotate(45deg);
  }
  .nav-toggle:checked + .nav-burger span::after {
    top: 0;
    transform: translateX(-50%) rotate(-45deg);
  }

  .hero-card {
    grid-template-columns: 1fr;
  }
  .hero-card-left {
    padding: 40px 28px;
  }
  .hero-card-right {
    min-height: 420px;
    padding: 24px;
  }
  .two-cards {
    grid-template-columns: 1fr;
  }
  .review-grid {
    grid-template-columns: 1fr;
  }
  .review-card.featured {
    grid-row: auto;
  }
  .review-card:nth-child(4) {
    grid-column: auto;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 18px;
  }
  body {
    font-size: 15px;
  }
  h1 br, h2 br {
    display: none;
  }
  .logo img {
    width: 160px;
  }
  .hero {
    padding-top: 36px;
  }
  .hero-bg-rays {
    display: none;
  }
  .crowd-section,
  .cta-crowd-wrap {
    overflow: hidden;
  }
  .crowd-section {
    padding: 56px 8px 0;
  }
  .crowd-section .crowd-svg,
  .cta-crowd-wrap .crowd-svg {
    width: 180%;
    margin-left: -40%;
  }
  .bubble {
    font-size: 11px;
    max-width: 140px;
    padding: 6px 10px;
  }
  .bubble.hide-mobile {
    display: none;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    padding: 28px 16px;
    gap: 20px 12px;
  }
  .stat-number {
    font-size: 2.2rem;
  }
  .floating-badge {
    display: none;
  }
  .course-grid {
    grid-template-columns: 1fr;
  }
  .pure-grid {
    grid-template-columns: 1fr;
  }
  .analytics-mock-wrap {
    min-height: 460px;
    max-width: 360px;
    margin: 0 auto;
  }
  .gauge-card {
    width: 170px;
  }
  .topper-card {
    left: auto;
    right: 0;
    top: 70px;
  }
  .accuracy-card {
    left: 0;
    right: 0;
    width: auto;
    top: 240px;
    padding-top: 48px;
  }
  .cta-card {
    padding: 40px 24px;
  }
  .cta-rays-bg {
    width: 32%;
  }
  .cta-form {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* =========================================================
   COURSES DIRECTORY & PROGRAM EXPLORER PAGE STYLES
   ========================================================= */

/* --- Breadcrumbs --- */
.breadcrumbs-bar {
  padding: 16px 0 0;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--slate);
}
.breadcrumbs a {
  color: var(--slate);
  transition: color var(--transition-fast);
}
.breadcrumbs a:hover {
  color: var(--manifold-navy);
  text-decoration: underline;
}
.breadcrumbs .crumb-sep {
  opacity: 0.5;
  font-size: 12px;
}
.breadcrumbs .current {
  color: var(--manifold-navy);
  font-weight: 600;
}

/* --- Courses Hero --- */
.courses-hero {
  position: relative;
  padding: 24px 0 44px;
  overflow: hidden;
}
.courses-hero-rays {
  position: absolute;
  top: 0;
  right: -5%;
  width: 50%;
  height: 100%;
  pointer-events: none;
  opacity: 0.12;
  z-index: 0;
}
.courses-hero-content {
  position: relative;
  z-index: 1;
  max-width: 840px;
}
.courses-hero h1 {
  margin-top: 10px;
  margin-bottom: 16px;
  font-size: clamp(2.35rem, 4.5vw, 3.4rem);
}
.courses-hero-lead {
  font-size: clamp(16px, 1.8vw, 18.5px);
  line-height: 1.6;
  color: var(--slate);
  margin-bottom: 28px;
}
.trust-badges-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.trust-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--manifold-navy);
  box-shadow: var(--shadow-subtle);
}
.trust-badge-pill .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--manifold-amber);
}
.trust-badge-pill.empanelled {
  background: var(--amber-soft);
  border-color: rgba(250, 163, 24, 0.4);
  color: var(--amber-dark);
}
.trust-badge-pill.empanelled strong {
  color: var(--navy-deep);
}

/* --- Filter & Search Hub --- */
.filter-hub {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  box-shadow: var(--shadow-raised);
  margin-bottom: 36px;
  position: relative;
  z-index: 5;
}
.search-row {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}
.search-input-box {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}
.search-icon {
  position: absolute;
  left: 16px;
  width: 20px;
  height: 20px;
  color: var(--ink-light);
  pointer-events: none;
}
.search-input {
  width: 100%;
  padding: 14px 44px 14px 48px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--navy-deep);
  background: var(--surface-alt);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  outline: none;
  transition: all var(--transition-fast);
}
.search-input:focus {
  background: var(--surface);
  border-color: var(--manifold-navy);
  box-shadow: 0 0 0 4px var(--navy-glow);
}
.search-clear-btn {
  position: absolute;
  right: 14px;
  background: transparent;
  border: none;
  font-size: 18px;
  color: var(--ink-light);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}
.search-clear-btn:hover {
  background: var(--border-light);
  color: var(--navy-deep);
}
.search-clear-btn.active {
  display: flex;
}

/* Category Filter Tabs */
.filter-tabs-wrap {
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 14px;
}
.filter-group-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-light);
  margin-bottom: 10px;
  display: block;
}
.category-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--surface-alt);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--slate);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.cat-pill:hover {
  background: #EAEFF7;
  color: var(--manifold-navy);
  border-color: var(--border-strong);
}
.cat-pill.active {
  background: var(--manifold-navy);
  color: var(--manifold-white);
  border-color: var(--manifold-navy);
  font-weight: 600;
  box-shadow: var(--shadow-navy);
}
.cat-pill .count {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 10px;
  background: rgba(15, 31, 64, 0.08);
  font-weight: 700;
}
.cat-pill.active .count {
  background: var(--manifold-amber);
  color: var(--navy-deep);
}

/* Secondary Filter Bar (Branch & Mode) */
.filter-sub-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.filter-selects {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.filter-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.filter-select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--manifold-navy);
  background: var(--surface-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 34px 8px 12px;
  cursor: pointer;
  outline: none;
  transition: all var(--transition-fast);
}
.filter-select-wrap select:focus,
.filter-select-wrap select:hover {
  border-color: var(--manifold-navy);
  background: var(--surface);
}
.filter-select-wrap .select-arrow {
  position: absolute;
  right: 12px;
  pointer-events: none;
  color: var(--slate);
  font-size: 10px;
}
.filter-status-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.match-counter {
  font-size: 13.5px;
  color: var(--slate);
}
.match-counter strong {
  color: var(--manifold-navy);
  font-weight: 700;
}
.reset-filters-btn {
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--amber-dark);
  cursor: pointer;
  text-decoration: underline;
  padding: 4px;
}
.reset-filters-btn:hover {
  color: var(--navy-deep);
}

/* --- Course Catalog Grid --- */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.catalog-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}
.catalog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-float);
  border-color: #CBD5E1;
}

/* Card Header & Accent Strips */
.card-accent-bar {
  height: 5px;
  background: var(--manifold-navy);
  width: 100%;
}
.catalog-card.accent-amber .card-accent-bar {
  background: var(--manifold-amber);
}
.catalog-card.accent-teal .card-accent-bar {
  background: #0D9488;
}
.catalog-card.accent-purple .card-accent-bar {
  background: #7C3AED;
}
.card-content-wrap {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-top-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.branch-code-chip {
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.05em;
  background: var(--mist);
  color: var(--manifold-navy);
}
.catalog-card.accent-amber .branch-code-chip {
  background: var(--amber-soft);
  color: var(--amber-dark);
}
.catalog-card.accent-teal .branch-code-chip {
  background: #CCFBF1;
  color: #0F766E;
}
.catalog-card.accent-purple .branch-code-chip {
  background: #EDE9FE;
  color: #6D28D9;
}
.mode-indicator-pill {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-light);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.mode-indicator-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
}

.catalog-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--manifold-navy);
  margin-bottom: 6px;
  line-height: 1.3;
}
.catalog-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.catalog-card-title a:hover {
  color: var(--manifold-amber);
}
.btn-view-course {
  background: var(--surface-alt);
  color: var(--manifold-navy);
  border: 1.5px solid var(--border-light);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}
.btn-view-course:hover {
  background: #EAEFF7;
  border-color: var(--manifold-navy);
  color: var(--manifold-navy);
}
.catalog-card-subtitle {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.catalog-card-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--slate);
  margin-bottom: 18px;
  flex: 1;
}

/* Feature Metrics Grid inside Card */
.card-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 12px;
  padding: 12px 14px;
  background: var(--surface-alt);
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  border: 1px solid var(--border-subtle);
}
.metric-cell {
  display: flex;
  flex-direction: column;
}
.metric-cell span {
  font-size: 11px;
  color: var(--ink-light);
  font-weight: 500;
}
.metric-cell strong {
  font-size: 12.5px;
  color: var(--navy-deep);
  font-weight: 600;
}

/* Lead Faculty & Batch Date Row */
.card-meta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
  margin-bottom: 18px;
}
.faculty-pill {
  display: flex;
  align-items: center;
  gap: 8px;
}
.faculty-av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--manifold-navy);
  color: var(--manifold-white);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}
.catalog-card.accent-amber .faculty-av {
  background: var(--manifold-amber);
  color: var(--navy-deep);
}
.faculty-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.faculty-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy-deep);
}
.faculty-creds {
  font-size: 11px;
  color: var(--ink-light);
}

.batch-pill {
  text-align: right;
  line-height: 1.25;
}
.batch-pill span {
  display: block;
  font-size: 10.5px;
  color: var(--ink-light);
  text-transform: uppercase;
  font-weight: 600;
}
.batch-pill strong {
  font-size: 12px;
  color: var(--success);
  font-weight: 600;
}

/* Card Action Buttons */
.card-actions-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.btn-syllabus {
  background: var(--surface-alt);
  color: var(--manifold-navy);
  border: 1.5px solid var(--border-light);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-syllabus:hover {
  background: #EAEFF7;
  border-color: var(--manifold-navy);
}
.btn-enrol-card {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
}

/* No Results State */
.no-results-state {
  text-align: center;
  padding: 64px 24px;
  background: var(--surface);
  border: 2px dashed var(--border-light);
  border-radius: var(--radius-lg);
  margin-bottom: 48px;
  display: none;
}
.no-results-state.show {
  display: block;
}
.no-results-icon {
  font-size: 42px;
  margin-bottom: 12px;
}
.no-results-state h3 {
  font-size: 1.35rem;
  color: var(--manifold-navy);
  margin-bottom: 8px;
}
.no-results-state p {
  color: var(--slate);
  margin-bottom: 18px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Interactive Syllabus & Program Details Modal --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 31, 64, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  place-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.modal-backdrop.open {
  display: grid;
  opacity: 1;
}
.modal-window {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -12px rgba(15, 31, 64, 0.35);
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--border-light);
}
.modal-backdrop.open .modal-window {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 24px 28px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.modal-header-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.modal-header h2 {
  font-size: 1.55rem;
  color: var(--manifold-navy);
  margin: 0;
}
.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: var(--slate);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
}
.modal-close-btn:hover {
  background: var(--border-light);
  color: var(--navy-deep);
}

.modal-nav-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-light);
  background: var(--surface);
  padding: 0 24px;
  gap: 8px;
  overflow-x: auto;
}
.modal-tab-btn {
  padding: 14px 16px;
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--slate);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}
.modal-tab-btn:hover {
  color: var(--manifold-navy);
}
.modal-tab-btn.active {
  color: var(--manifold-navy);
  font-weight: 600;
  border-bottom-color: var(--manifold-amber);
}

.modal-body {
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1;
}
.modal-pane {
  display: none;
}
.modal-pane.active {
  display: block;
}

/* Syllabus Subject List */
.syllabus-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.syllabus-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  background: var(--surface);
  transition: border-color var(--transition-fast);
}
.syllabus-item:hover {
  border-color: var(--border-strong);
}
.syllabus-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.syllabus-item-head h4 {
  font-size: 15px;
  color: var(--manifold-navy);
  margin: 0;
}
.syllabus-weightage {
  font-size: 12px;
  font-weight: 700;
  color: var(--amber-dark);
  background: var(--amber-soft);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
}
.syllabus-topics {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.55;
  margin: 0;
}

/* Schedule Table */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.schedule-table th, .schedule-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}
.schedule-table th {
  background: var(--surface-alt);
  font-weight: 600;
  color: var(--manifold-navy);
}
.schedule-table td {
  color: var(--slate);
}

/* Modal Inclusions Box */
.inclusions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.inclusion-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--slate);
}
.inclusion-item .check {
  color: var(--success);
  font-weight: 700;
}

.modal-footer {
  padding: 18px 28px;
  background: var(--surface-alt);
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.modal-footer-cta {
  display: flex;
  gap: 10px;
}

/* --- Learning Mode Comparison Matrix --- */
.compare-table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin-top: 32px;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
.compare-table th, .compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
}
.compare-table th {
  background: var(--surface-alt);
  color: var(--manifold-navy);
  font-weight: 700;
  font-size: 15px;
}
.compare-table th.col-feature {
  width: 34%;
}
.compare-table th.highlight {
  background: var(--amber-soft);
  color: var(--navy-deep);
  border-top: 3px solid var(--manifold-amber);
}
.compare-table tr:last-child td {
  border-bottom: none;
}
.compare-table td.col-feature {
  font-weight: 600;
  color: var(--navy-deep);
}
.compare-table td {
  color: var(--slate);
}
.compare-table td.highlight {
  background: rgba(254, 241, 214, 0.25);
  font-weight: 500;
}
.check-yes {
  color: var(--success);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.check-no {
  color: var(--ink-light);
  font-size: 13px;
}

/* --- Interactive Course Advisor Section --- */
.advisor-card {
  background: linear-gradient(135deg, var(--manifold-navy) 0%, var(--navy-deep) 100%);
  color: var(--manifold-white);
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-float);
  margin-top: 48px;
}
.advisor-rays {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  opacity: 0.18;
  pointer-events: none;
}
.advisor-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  position: relative;
  z-index: 2;
  align-items: center;
}
.advisor-info h2 {
  color: var(--manifold-white);
  margin-bottom: 14px;
}
.advisor-info p {
  color: #CBD5E1;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.advisor-perks-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.advisor-perks-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #E2E8F0;
}
.advisor-perks-list .check {
  color: var(--manifold-amber);
  font-weight: 800;
}

.advisor-form-card {
  background: var(--surface);
  color: var(--navy-deep);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.advisor-form-card h3 {
  font-size: 18px;
  color: var(--manifold-navy);
  margin-bottom: 6px;
}
.advisor-form-card p {
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 20px;
}
.advisor-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-field-full {
  grid-column: span 2;
}
.advisor-form-grid label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 4px;
}
.advisor-form-grid input,
.advisor-form-grid select {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--font);
  font-size: 14px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  color: var(--navy-deep);
  outline: none;
  transition: all var(--transition-fast);
}
.advisor-form-grid input:focus,
.advisor-form-grid select:focus {
  border-color: var(--manifold-navy);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--navy-glow);
}
.advisor-form-btn {
  grid-column: span 2;
  margin-top: 8px;
  padding: 12px 20px;
  font-size: 14.5px;
  font-weight: 600;
}

/* --- Mobile Bottom Quick Action Bar --- */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border-light);
  padding: 10px 16px;
  box-shadow: 0 -4px 16px rgba(15, 31, 64, 0.12);
  z-index: 990;
  grid-template-columns: 1fr 1.4fr;
  gap: 10px;
}
.mobile-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  background: var(--surface-alt);
  color: var(--manifold-navy);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border-light);
}
.mobile-call-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.mobile-demo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: var(--manifold-amber);
  color: var(--navy-deep);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-amber);
}

/* --- Responsive Adaptations for Courses Explorer --- */
@media (max-width: 1080px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .advisor-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .filter-hub {
    padding: 18px;
  }
  .search-row {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-sub-row {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-selects {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-select-wrap select {
    width: 100%;
  }
  .advisor-card {
    padding: 28px 20px;
  }
  .advisor-form-grid {
    grid-template-columns: 1fr;
  }
  .form-field-full {
    grid-column: span 1;
  }
  .advisor-form-btn {
    grid-column: span 1;
  }
  .modal-window {
    max-height: 94vh;
  }
  .modal-header, .modal-body, .modal-footer {
    padding: 18px 20px;
  }
  .inclusions-grid {
    grid-template-columns: 1fr;
  }
  .mobile-action-bar {
    display: grid;
  }
  body {
    padding-bottom: 64px;
  }
}

/* =========================================================
   Rank Holders Marquee Section (Home Page)
   ========================================================= */
.rankers {
  --rk-speed: 60s;
  margin-top: 96px;
  padding: 88px 0 80px;
  background: var(--mist);
  border-top: 1px solid var(--border-light);
  overflow: hidden;
  color: var(--ink);
}

.rankers + .section-alt {
  margin-top: 0;
}

.rk-head {
  margin-bottom: 40px;
}

.rk-head h2 span {
  color: var(--manifold-navy);
}

.rk-stats {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.rk-stats li {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 22px;
  min-width: 140px;
  box-shadow: var(--shadow-subtle);
}

.rk-stats strong {
  display: block;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--manifold-navy);
  line-height: 1.1;
}

.rk-stats span {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--slate);
}

.rk-marquee {
  display: flex;
  gap: 20px;
  padding: 14px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.rk-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
  flex-shrink: 0;
  animation: rk-scroll var(--rk-speed) linear infinite;
}

.rk-right .rk-track {
  animation-direction: reverse;
  animation-duration: calc(var(--rk-speed) * 0.85);
}

.rk-marquee:hover .rk-track,
.rk-marquee:focus-within .rk-track {
  animation-play-state: paused;
}

@keyframes rk-scroll {
  to {
    transform: translateX(calc(-100% - 20px));
  }
}

.rk-card {
  position: relative;
  width: 204px;
  flex-shrink: 0;
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 10px 10px 16px;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.rk-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-raised);
  border-color: rgba(28, 54, 103, 0.2);
}

.rk-photo {
  width: 75%;
  margin: 6px auto 0;
  aspect-ratio: 11 / 13;
  border-radius: 12px;
  overflow: hidden;
  background: var(--mist);
}

.rk-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.rk-photo-monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(250, 163, 24, 0.18) 0%, transparent 60%),
    linear-gradient(145deg, var(--manifold-navy) 0%, var(--navy-deep) 100%);
  color: var(--manifold-amber);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.rk-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--manifold-amber);
  color: var(--navy-deep);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1;
  padding: 6px 9px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(15, 31, 64, 0.22);
}

.rk-badge small {
  display: block;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
  opacity: 0.85;
}

.rk-name {
  margin: 14px 0 6px;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.rk-meta {
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.75rem;
}

.rk-branch {
  background: var(--manifold-navy);
  color: var(--manifold-white);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.rk-year {
  background: var(--mist);
  color: var(--manifold-navy);
  border: 1px solid var(--border-light);
  font-weight: 600;
  padding: 2px 9px;
  border-radius: var(--radius-full);
}

/* Top-3 cards (AIR 4, 12, 12) get a Manifold Amber ring */
.rk-left .rk-track li:nth-child(-n+3) .rk-photo {
  outline: 3px solid var(--manifold-amber);
  outline-offset: -3px;
}

.rk-cta {
  text-align: center;
  margin-top: 36px;
}

@media (max-width: 600px) {
  .rankers {
    margin-top: 64px;
    padding: 64px 0 56px;
  }
  .rk-card {
    width: 168px;
  }
  .rk-badge {
    font-size: 0.88rem;
    top: 10px;
    right: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rk-track {
    animation: none;
  }
  .rk-track[aria-hidden] {
    display: none;
  }
  .rk-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
            mask-image: none;
    padding-inline: 20px;
  }
}

