/* ============================================
   LS Predictor — Master Stylesheet
   Premium Design System + All Page Styles
   ============================================ */

/* --- 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.6;
  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: #0ea960;
  --primary-dark: #0b8a4e;
  --primary-light: #e8f8f0;
  --primary-glow: rgba(14, 169, 96, 0.15);
  --accent: #ff6b35;
  --accent-dark: #e55a28;
  --accent-light: #fff0ea;
  --accent-glow: rgba(255, 107, 53, 0.15);
  --text-dark: #1a1a2e;
  --text-body: #4a4a68;
  --text-muted: #7a7a96;
  --bg-light: #f8f9fb;
  --bg-white: #ffffff;
  --border-color: #e4e4ee;
  --border-light: #f0f0f5;

  /* Semantic */
  --success: #0ea960;
  --warning: #f0ad4e;
  --danger: #e74c3c;
  --info: #3498db;

  /* 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 — layered for depth */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05), 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.06), 0 16px 48px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 16px 40px rgba(0, 0, 0, 0.08), 0 24px 80px rgba(0, 0, 0, 0.1);
  --shadow-primary: 0 8px 32px rgba(14, 169, 96, 0.25);
  --shadow-accent: 0 8px 32px rgba(255, 107, 53, 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: linear-gradient(135deg, var(--primary-light), rgba(14, 169, 96, 0.08));
  padding: 7px 18px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  border: 1px solid rgba(14, 169, 96, 0.12);
}

.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 var(--transition-spring);
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0));
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: -1;
}

.btn:hover::before {
  opacity: 1;
}

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

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

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #087d44 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(14, 169, 96, 0.04);
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(14, 169, 96, 0.1);
}

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

.btn-accent:hover {
  background: linear-gradient(135deg, var(--accent-dark) 0%, #d04e1f 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: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
  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.65);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 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(--primary-dark));
  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%;
}

.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
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  background:
    radial-gradient(ellipse 80% 60% at 10% 90%, rgba(14, 169, 96, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(255, 107, 53, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(14, 169, 96, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, #f4fdf8 0%, #f8f9fb 40%, #fefefe 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(14, 169, 96, 0.06) 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(255, 107, 53, 0.05) 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(--primary);
  background: linear-gradient(135deg, var(--primary-light), rgba(14, 169, 96, 0.06));
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
  border: 1px solid rgba(14, 169, 96, 0.1);
  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);
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

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

.hero-content h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: -2px;
  right: -2px;
  height: 10px;
  background: linear-gradient(90deg, rgba(14, 169, 96, 0.2), rgba(14, 169, 96, 0.08));
  border-radius: 4px;
  z-index: -1;
  transform: skewX(-3deg);
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  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-stats-mini {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-light);
  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(--text-dark);
  letter-spacing: -0.02em;
}

.hero-stat-item .stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  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(14, 169, 96, 0.15), transparent 60%),
    linear-gradient(135deg, var(--primary-light) 0%, rgba(14, 169, 96, 0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: inset 0 0 60px rgba(14, 169, 96, 0.05);
}

.hero-illustration .illustration-icon {
  width: 50%;
  height: 50%;
  color: var(--primary);
  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.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  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);
  backdrop-filter: blur(8px);
}

.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(--primary-light);
  color: var(--primary);
}

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

.hero-float-card .float-icon.blue {
  background: #eef4ff;
  color: var(--info);
}

.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 var(--transition-spring);
  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(--accent));
  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: linear-gradient(135deg, var(--primary-light), rgba(14, 169, 96, 0.12));
  color: var(--primary);
}

.feature-icon.orange {
  background: linear-gradient(135deg, var(--accent-light), rgba(255, 107, 53, 0.12));
  color: var(--accent);
}

.feature-icon.blue {
  background: linear-gradient(135deg, #eef4ff, rgba(52, 152, 219, 0.12));
  color: var(--info);
}

.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 var(--transition-spring);
  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%;
}

.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, #3498db, #2471a3);
  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, #0ea960, #0b8a4e);
  box-shadow: 0 4px 16px rgba(14, 169, 96, 0.3);
}
.exam-badge.comedk {
  background: linear-gradient(135deg, #ff6b35, #e55a28);
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}
.exam-badge.vit {
  background: linear-gradient(135deg, #7b2d8e, #612272);
  box-shadow: 0 4px 16px rgba(123, 45, 142, 0.3);
}

.exam-card:nth-child(1)::after { background: #3498db; }
.exam-card:nth-child(2)::after { background: #9b59b6; }
.exam-card:nth-child(3)::after { background: #0ea960; }
.exam-card:nth-child(4)::after { background: #ff6b35; }
.exam-card:nth-child(5)::after { background: #f39c12; }

.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(--info), var(--accent));
  z-index: 0;
  opacity: 0.6;
}

.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), #0b9e58);
  box-shadow: 0 6px 20px rgba(14, 169, 96, 0.3);
}

.step-card:nth-child(2) .step-number {
  background: linear-gradient(135deg, var(--info), #2980b9);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

.step-card:nth-child(3) .step-number {
  background: linear-gradient(135deg, var(--accent), #e55a28);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 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:
    radial-gradient(ellipse 50% 80% at 20% 100%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 40% 60% at 80% 0%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
    linear-gradient(135deg, #0ca55c 0%, #0a8f4f 30%, #087d44 60%, #067039 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(255, 255, 255, 0.04);
  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(255, 255, 255, 0.03);
  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.12);
}

.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.75;
  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(--accent));
  opacity: 0.7;
}

.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.15;
  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(14, 169, 96, 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(14, 169, 96, 0.15);
}

.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(14, 169, 96, 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(14, 169, 96, 0.3);
  box-shadow: 0 4px 20px rgba(14, 169, 96, 0.08);
  background: linear-gradient(135deg, rgba(14, 169, 96, 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:
    radial-gradient(ellipse 60% 50% at 20% 100%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 50% 60% at 80% 0%, rgba(255, 107, 53, 0.15) 0%, transparent 50%),
    linear-gradient(135deg, var(--primary) 0%, #0a9555 25%, #0a8048 50%, #d4572a 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.04'%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.9;
  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(14, 169, 96, 0.3), 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.45);
}

.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 var(--transition-spring);
  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(14, 169, 96, 0.3);
}

.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.45);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
  display: inline-block;
}

.footer-column ul li a:hover {
  color: var(--primary);
  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(--primary);
}

.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(--primary);
}

/* ============================================
   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 var(--transition-spring);
  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(--info), #2176bd);
}

.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.92);
  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 rgba(0, 0, 0, 0.04);
}

.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:
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(14, 169, 96, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(255, 107, 53, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, #f4fdf8 0%, #f8f9fb 50%, #fefefe 100%);
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

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

.page-hero p {
  color: var(--text-muted);
  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 var(--transition-spring);
  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), #0b9e58);
}

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

.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: linear-gradient(135deg, var(--primary-light), rgba(14, 169, 96, 0.12));
  color: var(--primary);
}

.mv-card:last-child .mv-icon {
  background: linear-gradient(135deg, var(--accent-light), rgba(255, 107, 53, 0.12));
  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 var(--transition-spring);
  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(14, 169, 96, 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(14, 169, 96, 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), #0b8a4e); }
.team-avatar.orange { background: linear-gradient(135deg, var(--accent), #e55a28); }
.team-avatar.blue { background: linear-gradient(135deg, var(--info), #2980b9); }
.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 var(--transition-spring);
}

.why-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: rgba(14, 169, 96, 0.15);
}

.why-card .why-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary-light), rgba(14, 169, 96, 0.1));
  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(--accent));
}

.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(14, 169, 96, 0.1);
  background: rgba(14, 169, 96, 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='%234a4a68' 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(231, 76, 60, 0.08);
}

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

.form-success-message {
  display: none;
  background: linear-gradient(135deg, var(--primary-light), rgba(14, 169, 96, 0.08));
  color: var(--primary-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(14, 169, 96, 0.15);
}

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

.form-error-message {
  display: none;
  background: linear-gradient(135deg, #fdeaea, rgba(231, 76, 60, 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(231, 76, 60, 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 var(--transition-spring);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
  border-color: rgba(14, 169, 96, 0.12);
}

.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: linear-gradient(135deg, var(--primary-light), rgba(14, 169, 96, 0.12));
  color: var(--primary);
}

.contact-info-icon.blue {
  background: linear-gradient(135deg, #eef4ff, rgba(52, 152, 219, 0.12));
  color: var(--info);
}

.contact-info-icon.orange {
  background: linear-gradient(135deg, var(--accent-light), rgba(255, 107, 53, 0.12));
  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(14, 169, 96, 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;
}

/* ============================================
   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;
  }

  /* 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: none;
    z-index: 1001;
  }

  /* 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: 80px;
    right: 16px;
  }

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

  /* 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);
  }
}

/* ============================================
   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(14, 169, 96, 0.15);
  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;
}

/* ============================================
   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;
  }
}
