/* ============================================
   LS Predictor — Master Stylesheet
   Modern SaaS Dashboard Aesthetic
   ============================================ */

/* --- CSS Reset / Normalize --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-body);
  background-color: var(--bg-light);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.2;
  overflow-wrap: break-word;
}

p {
  overflow-wrap: break-word;
}

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --primary: #1e3a5f;
  --primary-dark: #152d4a;
  --primary-light: #e8eef5;
  --primary-glow: rgba(30, 58, 95, 0.15);
  --accent: #e8614d;
  --accent-dark: #d04e3a;
  --accent-light: #fdeeed;
  --accent-glow: rgba(232, 97, 77, 0.15);
  --tertiary: #2ec4b6;
  --tertiary-dark: #25a99d;
  --tertiary-light: #e6f9f7;
  --text-dark: #1a1a2e;
  --text-body: #555770;
  --text-muted: #8e8ea0;
  --bg-light: #f7f8fc;
  --bg-white: #ffffff;
  --border-color: #e2e4ee;
  --border-light: #eff0f6;

  /* Semantic */
  --success: #2ec4b6;
  --warning: #f0ad4e;
  --danger: #e8614d;
  --info: #1e3a5f;

  /* Fonts */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50px;

  /* Shadows — soft and modern */
  --shadow-sm: 0 1px 3px rgba(30, 58, 95, 0.04), 0 2px 8px rgba(30, 58, 95, 0.03);
  --shadow-md: 0 4px 12px rgba(30, 58, 95, 0.06), 0 8px 24px rgba(30, 58, 95, 0.05);
  --shadow-lg: 0 8px 24px rgba(30, 58, 95, 0.07), 0 16px 48px rgba(30, 58, 95, 0.06);
  --shadow-xl: 0 16px 40px rgba(30, 58, 95, 0.08), 0 24px 80px rgba(30, 58, 95, 0.07);
  --shadow-primary: 0 8px 32px rgba(30, 58, 95, 0.25);
  --shadow-accent: 0 8px 32px rgba(232, 97, 77, 0.25);

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --max-width: 1200px;
  --nav-height: 72px;
}

/* --- Typography Scale --- */
.heading-xl {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.heading-lg {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.heading-md {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.heading-sm {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  line-height: 1.3;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75;
}

.text-md {
  font-size: 1rem;
  line-height: 1.65;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.55;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1.4;
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section-padding {
  padding: var(--space-4xl) 0;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-primary {
  color: var(--primary);
}

.text-accent {
  color: var(--accent);
}

.text-muted {
  color: var(--text-muted);
}

.bg-white {
  background-color: var(--bg-white);
}

.bg-light {
  background-color: var(--bg-light);
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.grid {
  display: grid;
}

.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

/* Section header pattern */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-3xl);
}

.section-header .section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  border: 1px solid rgba(30, 58, 95, 0.1);
}

.section-header h2 {
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  transition: all var(--transition-base), transform 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn:active {
  transform: translateY(0) scale(0.98) !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #264d7a 100%);
  color: var(--bg-white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1e3a5f 100%);
  border-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-primary);
}

.btn-secondary {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(30, 58, 95, 0.04);
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(30, 58, 95, 0.1);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #d04e3a 100%);
  color: var(--bg-white);
  border-color: var(--accent);
}

.btn-accent:hover {
  background: linear-gradient(135deg, var(--accent-dark) 0%, #b8402e 100%);
  border-color: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-accent);
}

.btn-white {
  background: var(--bg-white);
  color: var(--primary);
  border-color: var(--bg-white);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.3);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 18px 42px;
  font-size: 1rem;
}

/* Scroll reveal animation classes */
.reveal {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition-base);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 12px rgba(30, 58, 95, 0.04);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--text-dark);
  flex-shrink: 0;
  transition: opacity var(--transition-fast);
}

.nav-logo:hover {
  opacity: 0.85;
}

.nav-logo svg {
  width: 32px;
  height: 32px;
}

.nav-logo .logo-highlight {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text-body);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--tertiary));
  border-radius: 2px;
  transition: width var(--transition-base) cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.dropdown-toggle svg {
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-toggle svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(30, 58, 95, 0.15);
  padding: 8px 0;
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 1100;
  border: 1px solid rgba(30, 58, 95, 0.08);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--text-body);
  font-size: 0.9rem;
  font-weight: 400;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

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

.nav-cta {
  flex-shrink: 0;
}

.nav-cta .btn {
  padding: 10px 24px;
  font-size: 0.875rem;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav overlay */
.nav-mobile-overlay {
  display: none;
}

/* ============================================
   HERO SECTION
   ============================================ */

/* Homepage hero - light, functional style */
.hero-home {
  padding: 120px 0 80px;
  background: linear-gradient(165deg, #1e3a5f 0%, #264d7a 50%, #1a3352 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.hero-home::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,196,182,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-home-inner {
  max-width: 720px;
}
.hero-home-tagline {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #2ec4b6;
  margin-bottom: 16px;
}
.hero-home h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  color: white;
}
.hero-home-sub {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
}
.hero-home-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-home-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.hero-home-phone:hover {
  color: white;
}
/* hero-home-stats removed */
.hero-stat-box {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}
.hero-stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-heading);
}
.hero-stat-lbl {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Old dark hero (used on predictor, about, contact) */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  background: linear-gradient(160deg, #1a2d4a 0%, #1e3a5f 30%, #264d7a 60%, #2d5f8a 100%);
  overflow: hidden;
  color: var(--bg-white);
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(46, 196, 182, 0.12) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  animation: heroPulse 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 97, 77, 0.08) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  animation: heroPulse 10s ease-in-out infinite 2s;
}

@keyframes heroPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.7; }
}

.hero .container {
  display: flex;
  align-items: center;
  gap: var(--space-3xl);
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.hero-content {
  flex: 0 0 58%;
  max-width: 58%;
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--tertiary);
  background: rgba(46, 196, 182, 0.12);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
  border: 1px solid rgba(46, 196, 182, 0.2);
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}

.hero-label svg {
  width: 16px;
  height: 16px;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: var(--space-lg);
  color: var(--bg-white);
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.hero-content h1 .highlight {
  position: relative;
  color: var(--tertiary);
  display: inline-block;
}

.hero-content h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: -2px;
  right: -2px;
  height: 10px;
  background: linear-gradient(90deg, rgba(46, 196, 182, 0.3), rgba(46, 196, 182, 0.1));
  border-radius: 4px;
  z-index: -1;
  transform: skewX(-3deg);
}

.hero-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
  margin-bottom: var(--space-xl);
  line-height: 1.75;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.35s both;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.45s both;
}

.hero-buttons .btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #d04e3a 100%);
  border-color: var(--accent);
}

.hero-buttons .btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-dark) 0%, #b8402e 100%);
  border-color: var(--accent-dark);
  box-shadow: 0 8px 32px rgba(232, 97, 77, 0.4);
}

.hero-buttons .btn-secondary {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.25);
}

.hero-buttons .btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--bg-white);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.hero-stats-mini {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.55s both;
}

.hero-stat-item {
  text-align: left;
}

.hero-stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bg-white);
  letter-spacing: -0.02em;
}

.hero-stat-item .stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

/* Hero illustration area */
.hero-visual {
  flex: 0 0 40%;
  max-width: 40%;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

.hero-illustration {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-illustration .illustration-circle {
  width: 85%;
  height: 85%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(46, 196, 182, 0.15), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(46, 196, 182, 0.06) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: inset 0 0 60px rgba(46, 196, 182, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-illustration .illustration-icon {
  width: 50%;
  height: 50%;
  color: rgba(255, 255, 255, 0.35);
  opacity: 0.55;
}

/* Floating cards around illustration */
.hero-float-card {
  position: absolute;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 5s ease-in-out infinite;
  z-index: 2;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.hero-float-card:nth-child(2) {
  top: 10%;
  right: -5%;
  animation-delay: 0s;
}

.hero-float-card:nth-child(3) {
  bottom: 20%;
  left: -10%;
  animation-delay: 1.8s;
}

.hero-float-card:nth-child(4) {
  bottom: 5%;
  right: 5%;
  animation-delay: 3.6s;
}

.hero-float-card .float-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-float-card .float-icon.green {
  background: var(--tertiary-light);
  color: var(--tertiary);
}

.hero-float-card .float-icon.orange {
  background: var(--accent-light);
  color: var(--accent);
}

.hero-float-card .float-icon.blue {
  background: var(--primary-light);
  color: var(--primary);
}

.hero-float-card .float-text {
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--text-dark);
  white-space: nowrap;
}

.hero-float-card .float-sub {
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--text-muted);
}

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
  background: var(--bg-white);
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  transition: all var(--transition-base), transform 0.25s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--tertiary));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  transition: transform var(--transition-spring);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

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

.feature-icon.green {
  background: var(--primary-light);
  color: var(--primary);
}

.feature-icon.orange {
  background: var(--accent-light);
  color: var(--accent);
}

.feature-icon.blue {
  background: var(--tertiary-light);
  color: var(--tertiary);
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ============================================
   SUPPORTED EXAMS SECTION
   ============================================ */
.exams {
  background: var(--bg-light);
}

.exams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-lg);
}

.exam-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base), transform 0.25s ease;
  position: relative;
  overflow: hidden;
}

.exam-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  transition: width var(--transition-base);
}

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

.exam-card:hover::after {
  width: 50%;
}

/* Featured card style */
.exam-card.featured {
  border: 2px solid var(--primary);
  position: relative;
}

.exam-card.featured::before {
  content: 'Featured';
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--font-heading);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bg-white);
  background: linear-gradient(135deg, var(--primary), var(--tertiary));
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.exam-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  margin-bottom: var(--space-md);
  color: var(--bg-white);
  transition: transform var(--transition-spring);
}

.exam-card:hover .exam-badge {
  transform: scale(1.08) rotate(-2deg);
}

.exam-badge.jee-main {
  background: linear-gradient(135deg, #4facfe, #2980b9);
  box-shadow: 0 4px 16px rgba(52, 152, 219, 0.3);
}
.exam-badge.srm {
  background: linear-gradient(135deg, #1e3a5f, #152d4a);
  box-shadow: 0 4px 16px rgba(30, 58, 95, 0.3);
}
.exam-badge.neet {
  background: linear-gradient(135deg, #2ec4b6, #25a99d);
  box-shadow: 0 4px 16px rgba(46, 196, 182, 0.3);
}
.exam-badge.comedk {
  background: linear-gradient(135deg, var(--accent), #d04e3a);
  box-shadow: 0 4px 16px rgba(232, 97, 77, 0.3);
}
.exam-badge.vit {
  background: linear-gradient(135deg, #a855f7, #7b2d8e);
  box-shadow: 0 4px 16px rgba(123, 45, 142, 0.3);
}

.exam-card:nth-child(1)::after { background: var(--accent); }
.exam-card:nth-child(2)::after { background: var(--primary); }
.exam-card:nth-child(3)::after { background: #4facfe; }
.exam-card:nth-child(4)::after { background: var(--tertiary); }
.exam-card:nth-child(5)::after { background: #a855f7; }

.exam-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.exam-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
  background: var(--bg-white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
}

/* Connector line between steps */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 52px;
  left: 17%;
  right: 17%;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--tertiary), var(--accent));
  z-index: 0;
  opacity: 0.5;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bg-white);
  margin: 0 auto var(--space-lg);
  position: relative;
  transition: transform var(--transition-spring), box-shadow var(--transition-base);
}

.step-card:hover .step-number {
  transform: scale(1.1);
}

.step-card:nth-child(1) .step-number {
  background: linear-gradient(135deg, var(--primary), #264d7a);
  box-shadow: 0 6px 20px rgba(30, 58, 95, 0.3);
}

.step-card:nth-child(2) .step-number {
  background: linear-gradient(135deg, var(--tertiary), #25a99d);
  box-shadow: 0 6px 20px rgba(46, 196, 182, 0.3);
}

.step-card:nth-child(3) .step-number {
  background: linear-gradient(135deg, var(--accent), #d04e3a);
  box-shadow: 0 6px 20px rgba(232, 97, 77, 0.3);
}

.step-card:hover .step-number {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

.step-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  transition: background var(--transition-base);
}

.step-card:hover .step-icon-wrap {
  background: var(--primary-light);
}

.step-icon-wrap svg {
  width: 32px;
  height: 32px;
  color: var(--text-dark);
  transition: color var(--transition-base);
}

.step-card:hover .step-icon-wrap svg {
  color: var(--primary);
}

.step-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.step-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 260px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ============================================
   STATS BANNER
   ============================================ */
.stats-banner {
  background: linear-gradient(135deg, #1a2d4a 0%, #1e3a5f 30%, #264d7a 60%, #1e3a5f 100%);
  color: var(--bg-white);
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.stats-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(46, 196, 182, 0.06);
  border-radius: 50%;
  animation: statFloat 12s ease-in-out infinite;
}

.stats-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 350px;
  height: 350px;
  background: rgba(232, 97, 77, 0.05);
  border-radius: 50%;
  animation: statFloat 15s ease-in-out infinite 3s;
}

@keyframes statFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -20px); }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item {
  position: relative;
  padding: var(--space-lg) 0;
}

.stat-item::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
}

.stat-item:last-child::after {
  display: none;
}

.stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.85) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item .stat-label {
  font-size: 0.9375rem;
  opacity: 0.65;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  background: var(--bg-light);
  position: relative;
}

.testimonial-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  min-width: 100%;
  padding: 0 var(--space-md);
}

.testimonial-card-inner {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-2xl) var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.testimonial-card-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--tertiary));
  opacity: 0.8;
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: var(--space-md);
  color: #f4c150;
}

.testimonial-stars svg {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 1px 2px rgba(244, 193, 80, 0.3));
}

.testimonial-card-inner blockquote {
  font-size: 1.0625rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
  font-style: italic;
  position: relative;
}

.testimonial-card-inner blockquote::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.12;
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), rgba(30, 58, 95, 0.15));
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  border: 2px solid rgba(30, 58, 95, 0.1);
}

.testimonial-author-info h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: left;
}

.testimonial-author-info p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: left;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  padding: 0;
}

.testimonial-dot:hover {
  background: var(--text-muted);
}

.testimonial-dot.active {
  background: var(--primary);
  width: 32px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(30, 58, 95, 0.3);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
  background: var(--bg-white);
}

.faq-list {
  max-width: 740px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  overflow: hidden;
  transition: all var(--transition-base);
  background: var(--bg-white);
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--border-color);
}

.faq-item.active {
  border-color: rgba(30, 58, 95, 0.25);
  box-shadow: 0 4px 20px rgba(30, 58, 95, 0.06);
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.02), transparent);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  gap: var(--space-md);
  transition: color var(--transition-fast);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition-base), color var(--transition-fast);
  color: var(--text-muted);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-item.active .faq-question {
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
}

.faq-answer-inner {
  padding: 0 var(--space-xl) var(--space-lg);
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, #1a2d4a 0%, #1e3a5f 40%, #264d7a 100%);
  padding: var(--space-4xl) 0;
  text-align: center;
  color: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='1.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--bg-white);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.cta-section p {
  font-size: 1.125rem;
  opacity: 0.75;
  margin-bottom: var(--space-xl);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: linear-gradient(180deg, #1a1a2e 0%, #151525 100%);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-4xl) 0 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(30, 58, 95, 0.4), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.footer-brand .nav-logo {
  color: var(--bg-white);
  margin-bottom: var(--space-md);
  font-size: 1.25rem;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.75;
  margin-bottom: var(--space-lg);
  color: rgba(255, 255, 255, 0.4);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base), transform 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(30, 58, 95, 0.4);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.footer-social a:hover svg {
  color: var(--bg-white);
}

.footer-column h4 {
  color: var(--bg-white);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
  display: inline-block;
}

.footer-column ul li a:hover {
  color: var(--tertiary);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: 0.875rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--tertiary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--space-lg) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.3);
  transition: color var(--transition-fast);
}

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

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base), transform 0.25s ease;
  border: none;
  cursor: pointer;
  position: relative;
}

.float-btn::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: inherit;
  opacity: 0;
  filter: blur(8px);
  z-index: -1;
  transition: opacity var(--transition-base);
}

.float-btn:hover::before {
  opacity: 0.4;
}

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

.float-btn:active {
  transform: scale(1.05);
}

.float-btn.whatsapp {
  background: linear-gradient(135deg, #25d366, #128c46);
}

.float-btn.phone {
  background: linear-gradient(135deg, var(--primary), #264d7a);
}

.float-btn svg {
  width: 24px;
  height: 24px;
}

/* ============================================
   MOBILE BOTTOM BAR
   ============================================ */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 -1px 20px rgba(0, 0, 0, 0.06);
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border-light);
}

.mobile-bottom-bar nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.mobile-bottom-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  position: relative;
}

.mobile-bottom-bar a.active {
  color: var(--primary);
}

.mobile-bottom-bar a.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.mobile-bottom-bar a svg {
  width: 22px;
  height: 22px;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.page-hero {
  background: linear-gradient(160deg, #1a2d4a 0%, #1e3a5f 50%, #264d7a 100%);
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  color: var(--bg-white);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: var(--nav-height);
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(46, 196, 182, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero .section-label {
  color: var(--tertiary);
  background: rgba(46, 196, 182, 0.12);
  border: 1px solid rgba(46, 196, 182, 0.2);
}

.page-hero h1 {
  margin-bottom: var(--space-md);
  position: relative;
  color: var(--bg-white);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.125rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Mission & Vision */
.mission-vision {
  background: var(--bg-white);
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.mv-card {
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base), transform 0.25s ease;
  position: relative;
  overflow: hidden;
}

.mv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.mv-card:first-child::before {
  background: linear-gradient(90deg, var(--primary), var(--tertiary));
}

.mv-card:last-child::before {
  background: linear-gradient(90deg, var(--accent), var(--tertiary));
}

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

.mv-card:hover::before {
  opacity: 1;
}

.mv-card .mv-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  transition: transform var(--transition-spring);
}

.mv-card:hover .mv-icon {
  transform: scale(1.08);
}

.mv-card .mv-icon svg {
  width: 26px;
  height: 26px;
}

.mv-card:first-child .mv-icon {
  background: var(--primary-light);
  color: var(--primary);
}

.mv-card:last-child .mv-icon {
  background: var(--accent-light);
  color: var(--accent);
}

.mv-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}

.mv-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.75;
}

/* Our Story */
.our-story {
  background: var(--bg-light);
}

.story-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.story-content p {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: var(--space-lg);
}

.story-content p:last-child {
  margin-bottom: 0;
}

/* Team section */
.team {
  background: var(--bg-white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-xl);
}

.team-card {
  text-align: center;
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base), transform 0.25s ease;
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(135deg, var(--bg-light), rgba(30, 58, 95, 0.03));
  transition: background var(--transition-base);
}

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

.team-card:hover::before {
  background: linear-gradient(135deg, var(--primary-light), rgba(30, 58, 95, 0.06));
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bg-white);
  position: relative;
  z-index: 1;
  transition: transform var(--transition-spring);
  border: 3px solid var(--bg-white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team-card:hover .team-avatar {
  transform: scale(1.06);
}

.team-avatar.green { background: linear-gradient(135deg, var(--primary), #264d7a); }
.team-avatar.orange { background: linear-gradient(135deg, var(--accent), #d04e3a); }
.team-avatar.blue { background: linear-gradient(135deg, var(--tertiary), #25a99d); }
.team-avatar.purple { background: linear-gradient(135deg, #9b59b6, #8e44ad); }

.team-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 2px;
  position: relative;
  z-index: 1;
}

.team-card .team-role {
  font-size: 0.8125rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
}

.team-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* Why Choose Us */
.why-choose {
  background: var(--bg-light);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.why-card {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-xl);
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base), transform 0.25s ease;
}

.why-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: rgba(30, 58, 95, 0.12);
}

.why-card .why-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--primary-light);
  color: var(--primary);
  transition: transform var(--transition-spring);
}

.why-card:hover .why-icon {
  transform: scale(1.1) rotate(-3deg);
}

.why-card .why-icon svg {
  width: 22px;
  height: 22px;
}

.why-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.why-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
  background: var(--bg-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-form-wrap {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.contact-form-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--tertiary));
}

.contact-form-wrap h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.01em;
}

.contact-form-wrap > p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: var(--space-xl);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  background: var(--bg-white);
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background-color var(--transition-fast);
  outline: none;
}

.form-control:hover {
  border-color: #c4c4d6;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.08);
  background: rgba(30, 58, 95, 0.01);
}

.form-control::placeholder {
  color: var(--text-muted);
  opacity: 0.55;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23555770' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-error {
  font-size: 0.75rem;
  color: var(--danger);
  margin-top: 4px;
  display: none;
}

.form-group.error .form-control {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(232, 97, 77, 0.08);
}

.form-group.error .form-error {
  display: block;
}

.form-success-message {
  display: none;
  background: linear-gradient(135deg, var(--tertiary-light), rgba(46, 196, 182, 0.08));
  color: var(--tertiary-dark);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: var(--space-lg);
  align-items: center;
  gap: var(--space-sm);
  border: 1px solid rgba(46, 196, 182, 0.15);
}

.form-success-message.visible {
  display: flex;
}

.form-error-message {
  display: none;
  background: linear-gradient(135deg, #fdeaea, rgba(232, 97, 77, 0.06));
  color: var(--danger);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: var(--space-lg);
  align-items: center;
  gap: var(--space-sm);
  border: 1px solid rgba(232, 97, 77, 0.12);
}

.form-error-message.visible {
  display: flex;
}

/* Contact info cards */
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-xl);
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base), transform 0.25s ease;
}

.contact-info-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
  border-color: rgba(30, 58, 95, 0.1);
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-spring);
}

.contact-info-card:hover .contact-info-icon {
  transform: scale(1.08);
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
}

.contact-info-icon.green {
  background: var(--tertiary-light);
  color: var(--tertiary);
}

.contact-info-icon.blue {
  background: var(--primary-light);
  color: var(--primary);
}

.contact-info-icon.orange {
  background: var(--accent-light);
  color: var(--accent);
}

.contact-info-icon.purple {
  background: linear-gradient(135deg, #f3eeff, rgba(155, 89, 182, 0.12));
  color: #9b59b6;
}

.contact-info-card h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-info-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.contact-info-card a {
  color: var(--primary);
  transition: opacity var(--transition-fast);
  font-weight: 500;
}

.contact-info-card a:hover {
  opacity: 0.8;
}

/* Map placeholder */
.map-placeholder {
  margin-top: var(--space-md);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 200px;
  background: linear-gradient(135deg, var(--bg-light), rgba(30, 58, 95, 0.03));
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.map-placeholder svg {
  width: 32px;
  height: 32px;
  margin-bottom: var(--space-sm);
  opacity: 0.35;
}

/* ============================================
   COLLEGE PAGES — Vinayak-inspired layout
   ============================================ */

/* Hero */
.cp-hero {
  position: relative;
  background: linear-gradient(165deg, #1e3a5f 0%, #264d7a 50%, #1a3352 100%);
  margin-top: var(--nav-height);
  color: white;
  padding: 120px 0 40px;
  overflow: hidden;
}

.cp-hero-banner {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.cp-hero-profile {
  text-align: left;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
.cp-hero-profile h1,
.cp-hero-profile .cp-location {
  max-width: 700px;
}

.cp-hero-logo {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: #fff;
  border: 4px solid #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  margin: 0 0 16px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cp-hero-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.cp-hero h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
}

.cp-hero .cp-location {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
}

.cp-hero .cp-hero-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 32px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}

.cp-hero .cp-hero-cta:hover {
  background: #d4543f;
}

/* Key Info Bar */
.key-info-bar {
  background: transparent;
  border: none;
  padding: 0;
  margin-top: -32px;
  position: relative;
  z-index: 3;
}
.key-info-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.key-info-item {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  text-align: center;
  padding: 16px;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.key-info-item:last-child {
  border-right: none;
}
.key-info-item .ki-icon {
  margin-bottom: 4px;
  display: flex;
  justify-content: center;
}
.key-info-item .ki-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--primary);
}
.key-info-item .ki-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dark);
  display: block;
}
.key-info-item .ki-value {
  font-size: 0.8rem;
  color: var(--text-body);
  display: block;
}

/* Tab Navigation */
.college-tabs {
  background: var(--bg-white);
  border-bottom: none;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  z-index: 100;
  padding: 16px 0;
}
.college-tabs.sticky {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  z-index: 100;
}
.college-tabs .container {
  display: flex;
  gap: 8px;
}
.tab-link {
  display: inline-block;
  padding: 8px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  transition: all .2s;
  cursor: pointer;
  flex-shrink: 0;
  font-family: var(--font-heading);
}
.tab-link:hover:not(.active) {
  color: var(--text-dark);
  background: var(--bg-light);
}
.tab-link.active {
  color: white;
  background: var(--primary);
  border-color: var(--primary);
}

/* Two-Column Layout */
.content-wrap {
  padding-top: 32px;
  padding-bottom: 24px;
}
.content-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.main-content {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.sidebar {
  width: 320px;
  flex-shrink: 0;
  position: sticky;
  top: calc(var(--nav-height) + 60px);
  align-self: flex-start;
}

/* Tab Panels */
.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
}

/* Section Blocks */
.section-block {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
  overflow: hidden;
  word-wrap: break-word;
}
.section-block h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: none;
  border-left: 4px solid var(--primary);
  padding-left: 12px;
  line-height: 1.4;
}
.section-block h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 16px 0 10px;
}
.section-block p {
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 12px;
  line-height: 1.8;
}
.section-block ul {
  padding-left: 0;
  margin-bottom: 12px;
}
.section-block ul li {
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
  line-height: 1.7;
}
.section-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Fee Tables */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 12px 0;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.data-table thead {
  background: linear-gradient(180deg, #f7f8fc 0%, #f0f1f5 100%);
}
.data-table thead th {
  background: transparent;
  color: var(--text-dark);
  padding: 10px 12px;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  white-space: nowrap;
}
.data-table tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-body);
  vertical-align: top;
}
.data-table tbody tr:nth-child(even) {
  background: var(--bg-light);
}
.data-table tbody tr:hover {
  background: rgba(30,58,95,0.03);
}

/* Stats Cards */
.cp-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 14px 0;
}
.cp-stat-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cp-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--tertiary));
}
.cp-stat-card .stat-num {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  font-family: var(--font-heading);
}
.cp-stat-card .stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

/* Recruiter Tags */
.recruiter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.recruiter-tag {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 5px 14px;
  font-size: 0.8rem;
  color: var(--text-body);
  font-weight: 500;
}

/* FAQ Accordion (College pages) */
.cp-faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  overflow: hidden;
}
.cp-faq-question {
  padding: 14px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-light);
  transition: background .2s;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
}
.cp-faq-question:hover {
  background: var(--border-light);
}
.cp-faq-question svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-left: 10px;
  transition: transform .3s;
  stroke: var(--text-muted);
}
.cp-faq-item.active .cp-faq-question {
  background: var(--primary-light);
}
.cp-faq-item.active .cp-faq-question svg {
  transform: rotate(180deg);
}
.cp-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.cp-faq-answer-inner {
  padding: 14px 18px;
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.8;
  border-top: 1px solid var(--border-light);
}
.cp-faq-item.active .cp-faq-answer {
  max-height: 400px;
}

/* Disclaimer */
.site-disclaimer {
  background: #fef9e7;
  border-top: 1px solid #f0e6c0;
  border-bottom: 1px solid #f0e6c0;
  padding: 16px 0;
  margin-top: 32px;
}
.site-disclaimer p {
  font-size: 0.8rem;
  color: #7a6d3a;
  line-height: 1.7;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.site-disclaimer strong {
  color: #5a4f2a;
}

/* Sidebar Cards */
.sidebar-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.sidebar-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-light);
}

/* Sidebar Form */
.sidebar-card .form-group {
  margin-bottom: 12px;
}
.sidebar-card label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.sidebar-card input[type="text"],
.sidebar-card input[type="tel"],
.sidebar-card input[type="email"],
.sidebar-card select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-white);
}
.sidebar-card input:focus,
.sidebar-card select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.btn-submit {
  display: block;
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 11px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-heading);
  transition: background .2s;
  margin-top: 4px;
}
.btn-submit:hover {
  background: var(--accent-dark);
}

/* Sidebar Lists */
.sidebar-list a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-body);
  padding: 7px 0;
  border-bottom: 1px solid var(--border-light);
  transition: color .2s;
}
.sidebar-list a:hover {
  color: var(--accent);
}

/* Course Pills */
.course-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.course-pill {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 5px 14px;
  font-size: 0.78rem;
  color: var(--text-body);
  transition: all .2s;
  text-align: center;
}
.course-pill:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* CTA Sidebar Card */
.sidebar-cta-card {
  background: linear-gradient(135deg, #1e3a5f, #264d7a);
  border: none;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  margin-bottom: 18px;
  text-align: center;
  color: white;
}
.sidebar-cta-card h3 {
  color: #fff;
  border-bottom: none;
  font-size: 1.05rem;
  margin-bottom: 8px;
  padding-bottom: 0;
}
.sidebar-cta-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 16px;
}
.sidebar-cta-card .btn-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 10px 28px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-heading);
  transition: background .2s;
}
.sidebar-cta-card .btn-cta:hover {
  background: var(--accent-dark);
}

/* ============================================
   RESPONSIVE -- Large Tablet (1024px)
   ============================================ */
@media (max-width: 1024px) {
  .hero .container {
    gap: var(--space-xl);
  }

  .hero-content {
    flex: 0 0 55%;
    max-width: 55%;
  }

  .hero-visual {
    flex: 0 0 42%;
    max-width: 42%;
  }

  .features-grid {
    gap: var(--space-lg);
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-grid .footer-column:last-child {
    grid-column: 1 / -1;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl) var(--space-lg);
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }
}

/* ============================================
   RESPONSIVE -- Tablet (768px)
   ============================================ */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .hero-home { padding: 100px 0 60px; }
  .hero-home h1 { font-size: 1.5rem; }
  .hero-home-sub { font-size: 0.9rem; }

  /* Nav mobile */
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-xl);
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.25rem;
    font-weight: 600;
  }

  .nav-cta {
    display: none;
  }

  .nav-links.open ~ .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
    z-index: 1001;
  }

  /* Dropdown becomes accordion-style in mobile overlay */
  .nav-links.open .nav-dropdown {
    width: 100%;
    text-align: center;
  }
  .nav-links.open .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: var(--space-sm) 0;
    max-height: 260px;
    overflow-y: auto;
    margin-top: var(--space-sm);
    min-width: 0;
  }
  .nav-links.open .dropdown-menu a {
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 8px 16px;
    color: var(--text-body);
  }
  .nav-links.open .dropdown-menu a:hover { color: var(--primary); }

  /* Hero mobile */
  .hero {
    min-height: auto;
    padding-top: var(--nav-height);
    padding-bottom: var(--space-xl);
  }

  .hero .container {
    flex-direction: column;
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-xl);
    gap: var(--space-xl);
  }

  .hero-content {
    flex: 1;
    max-width: 100%;
    text-align: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats-mini {
    justify-content: center;
    gap: var(--space-xl);
  }

  .hero-stat-item {
    text-align: center;
  }

  .hero-visual {
    flex: 1;
    max-width: 70%;
    margin: 0 auto;
  }

  /* Grids mobile */
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .steps-grid::before {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }

  .stat-item::after {
    display: none;
  }

  .exams-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  /* Footer mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  /* Floating buttons adjust for bottom bar */
  .floating-buttons {
    bottom: 72px;
    right: 12px;
    gap: 8px;
  }

  .float-btn {
    width: 44px;
    height: 44px;
  }

  .float-btn svg {
    width: 20px;
    height: 20px;
  }

  /* Prevent last tab hiding under floating buttons */
  .college-tabs .container {
    padding-right: 72px;
  }

  /* Compact info tiles on mobile */
  .key-info-row {
    gap: 8px;
  }
  .key-info-item {
    padding: 10px 8px;
  }
  .key-info-item .ki-icon {
    margin-bottom: 2px;
  }
  .key-info-item .ki-icon svg {
    width: 18px;
    height: 18px;
  }
  .key-info-item .ki-label {
    font-size: 0.7rem;
  }
  .key-info-item .ki-value {
    font-size: 0.72rem;
  }

  /* Mobile bottom bar */
  .mobile-bottom-bar {
    display: block;
  }

  /* About page mobile */
  .mission-vision-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  /* Contact mobile */
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  /* Section padding mobile */
  .section-padding {
    padding: var(--space-3xl) 0;
  }

  .section-header {
    margin-bottom: var(--space-2xl);
  }

  .page-hero {
    padding-top: calc(var(--nav-height) + var(--space-2xl));
    padding-bottom: var(--space-2xl);
  }

  /* College pages mobile */
  .content-row {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    position: static;
  }
  .cp-hero {
    padding: 90px 0 56px;
  }
  .cp-hero-banner { height: auto; }
  .cp-hero-profile { margin-top: 0; }
  .cp-hero-logo { width: 52px; height: 52px; }
  .cp-hero-logo img { width: 40px; height: 40px; }
  .cp-hero h1 { font-size: clamp(1.2rem, 4vw, 1.5rem); }
  .cp-hero .cp-hero-cta { margin-bottom: 4px; }
  .key-info-bar { margin-top: 16px; }
  .key-info-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .key-info-item {
    border-bottom: none;
  }
  .key-info-item:last-child {
    grid-column: 1 / -1;
  }
  .key-info-item:nth-child(3) {
    border-right: none;
  }
  .tab-link {
    padding: 6px 14px;
    font-size: 0.8rem;
  }
  .college-tabs.sticky {
    top: 64px;
  }
  .cp-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-block {
    padding: 16px;
  }
  .section-block h2 {
    font-size: 1rem;
  }
  .data-table {
    font-size: 0.78rem;
    min-width: 500px;
  }

  /* Dropdown mobile */
  .nav-dropdown {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(30, 58, 95, 0.03);
    border-radius: 8px;
    min-width: auto;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0;
  }

  .nav-dropdown.open .dropdown-menu {
    max-height: 500px;
    padding: 8px 0;
  }

  .nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .dropdown-menu a {
    font-size: 1rem;
    text-align: center;
    padding: 8px 16px;
  }
}

/* ============================================
   RESPONSIVE -- Small Mobile (480px)
   ============================================ */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-stats-mini {
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

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

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

  .stat-item .stat-number {
    font-size: 1.75rem;
  }

  .testimonial-card-inner {
    padding: var(--space-lg);
  }

  .section-padding {
    padding: var(--space-2xl) 0;
  }

  .faq-question {
    padding: var(--space-md) var(--space-lg);
    font-size: 0.9375rem;
  }

  .faq-answer-inner {
    padding: 0 var(--space-lg) var(--space-md);
  }
}

/* ============================================
   SELECTION & SCROLLBAR
   ============================================ */
::selection {
  background: rgba(30, 58, 95, 0.12);
  color: var(--text-dark);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: #c4c4d6;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a4a4b8;
}

/* ============================================
   LEGAL PAGES (Terms, Privacy, Disclaimer)
   ============================================ */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: var(--space-2xl) 0;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--border-light);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.legal-content p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: var(--space-md);
}

.legal-content ul,
.legal-content ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

.legal-content li {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: var(--space-xs);
}

.legal-content strong {
  color: var(--text-heading);
  font-weight: 600;
}

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--accent);
}

.legal-content .legal-updated {
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-light);
}

.legal-content .legal-contact-box {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-top: var(--space-xl);
}

.legal-content .legal-contact-box h3 {
  margin-top: 0;
}

.legal-content .legal-contact-box p {
  margin-bottom: var(--space-xs);
}

.legal-content .legal-contact-box p:last-child {
  margin-bottom: 0;
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}
