/* ══════════════════════════════════════════════════════════════
   SMART VISION INSTITUTE — PREMIUM DESIGN SYSTEM v2.0
   ══════════════════════════════════════════════════════════════ */

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

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  /* Brand Colors */
  --primary:      #2563EB;
  --primary-hover:#1D4ED8;
  --dark-navy:    #0F172A;
  --secondary:    #06B6D4;
  --accent:       #06B6D4;
  --success:      #10B981;
  --warning:      #F59E0B;
  --danger:       #EF4444;
  --purple:       #8B5CF6;

  /* Page background & card tokens */
  --bg-app:        #F8FAFC;
  --bg-card:       #FFFFFF;
  --border-color:  #E2E8F0;
  --text-main:     #0F172A;
  --text-muted:    #64748B;
  --radius-premium:16px;
  --shadow-soft:   0 2px 12px rgba(0,0,0,.05);
  --shadow-premium:0 16px 48px rgba(37,99,235,.12);
  --transition:    all .3s cubic-bezier(.4,0,.2,1);

  /* Gradients */
  --grad-hero:    linear-gradient(135deg, #0F172A 0%, #1e3a5f 50%, #2563EB 100%);
  --grad-blue:    linear-gradient(135deg, #2563EB, #06B6D4);
  --grad-dark:    linear-gradient(135deg, #0F172A, #1E293B);
  --grad-accent:  linear-gradient(135deg, #06B6D4, #10B981);
  --grad-purple:  linear-gradient(135deg, #8B5CF6, #2563EB);

  /* Neutrals */
  --white:      #FFFFFF;
  --gray-50:    #F8FAFC;
  --gray-100:   #F1F5F9;
  --gray-200:   #E2E8F0;
  --gray-300:   #CBD5E1;
  --gray-400:   #94A3B8;
  --gray-500:   #64748B;
  --gray-600:   #475569;
  --gray-700:   #334155;
  --gray-800:   #1E293B;
  --gray-900:   #0F172A;

  /* Typography */
  --font-primary:  'Plus Jakarta Sans', sans-serif;
  --font-body:     'Poppins', sans-serif;
  --font-mono:     'Inter', monospace;

  /* Spacing */
  --section-py: 96px;
  --card-radius: 20px;
  --btn-radius:  50px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.06);
  --shadow-xl:  0 32px 80px rgba(0,0,0,0.16), 0 12px 32px rgba(0,0,0,0.08);
  --shadow-blue: 0 16px 40px rgba(37,99,235,0.25);
  --shadow-cyan: 0 16px 40px rgba(6,182,212,0.25);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.3s var(--ease);
  --transition-fast: all 0.15s var(--ease);

  /* Glass */
  --glass-bg:     rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.12);
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-primary);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--gray-900);
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

/* ── Utility Classes ───────────────────────────────────────── */
.text-gradient {
  background: var(--grad-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-accent {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-py { padding: var(--section-py) 0; }
.section-py-sm { padding: 60px 0; }
.bg-dark-primary { background: var(--primary); }
.bg-gray-50 { background: var(--gray-50); }

/* ── HEADER ────────────────────────────────────────────────── */
/* ── Fixed Header ── */
#sv-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  transition: background .3s, box-shadow .3s;
}

/* Topbar collapse on scroll */
.sv-topbar {
  overflow: hidden;
  max-height: 40px;
  transition: max-height .35s ease, opacity .35s ease, padding .35s ease;
  opacity: 1;
}

#sv-header.scrolled .sv-topbar {
  max-height: 0;
  opacity: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

#sv-header.scrolled {
  background: rgba(15,23,42,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

#sv-header.light-header {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid #E2E8F0;
}

#sv-header.light-header.scrolled {
  background: rgba(255,255,255,0.99);
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  border-bottom-color: #E2E8F0;
}

/* ── Global page content offset (fixed header = topbar+navbar) ── */
/* Fixed navbar = 68px only (no topbar) */
.page-hero,
.courses-hero,
.cd-hero {
  padding-top: 80px !important;
}

/* Ticker on home page */
.ticker-below-header { margin-top: 68px; }

/* Light page (no hero) — add body offset */
.light-page-offset { padding-top: 108px; }

/* Top Bar */
.sv-topbar {
  background: var(--secondary);
  padding: 7px 0;
  font-size: 0.78rem;
  font-weight: 500;
}

/* Navbar */
.sv-navbar { padding: 14px 0; }

.sv-brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}

.sv-brand-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad-blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(37,99,235,0.4);
}

.sv-brand-name {
  font-family: var(--font-primary);
  font-size: 1.05rem; font-weight: 900;
  color: var(--white); line-height: 1.1;
  letter-spacing: -0.3px;
}

.sv-brand-tag {
  font-size: 0.66rem; font-weight: 500;
  color: rgba(255,255,255,0.55); letter-spacing: 0.3px;
}

/* Light header brand */
#sv-header.light-header .sv-brand-name { color: var(--gray-900); }
#sv-header.light-header .sv-brand-tag  { color: var(--gray-500); }

/* Nav Links */
.sv-nav-link {
  font-family: var(--font-body);
  font-size: 0.875rem; font-weight: 600;
  color: rgba(255,255,255,0.8);
  padding: 8px 14px; border-radius: 8px;
  transition: var(--transition-fast);
  position: relative; white-space: nowrap;
}

.sv-nav-link:hover, .sv-nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

#sv-header.light-header .sv-nav-link { color: var(--gray-600); }
#sv-header.light-header .sv-nav-link:hover,
#sv-header.light-header .sv-nav-link.active {
  color: var(--secondary); background: rgba(37,99,235,0.06);
}

/* Mega Menu */
.sv-dropdown { position: relative; }

.sv-mega-menu {
  position: absolute; top: calc(100% + 16px); left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.06);
  padding: 24px;
  min-width: 640px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: var(--transition);
  transform: translateX(-50%) translateY(8px);
}

.sv-dropdown:hover .sv-mega-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.sv-mega-menu::before {
  content: ''; position: absolute; top: -8px; left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-bottom-color: var(--white);
  border-top: none;
}

.mega-section-title {
  font-size: 0.68rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1px; color: var(--gray-400); margin-bottom: 12px;
}

.mega-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 10px;
  transition: var(--transition-fast); cursor: pointer;
  text-decoration: none;
}

.mega-item:hover { background: var(--gray-50); }

.mega-item-icon {
  width: 36px; height: 36px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; flex-shrink: 0;
}

.mega-item-title {
  font-size: 0.85rem; font-weight: 700; color: var(--gray-900);
  margin-bottom: 1px;
}

.mega-item-sub { font-size: 0.73rem; color: var(--gray-500); }

/* Simple dropdown */
.sv-simple-menu {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%);
  background: var(--white); border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05);
  padding: 10px; min-width: 220px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: var(--transition);
  transform: translateX(-50%) translateY(6px);
}

.sv-dropdown:hover .sv-simple-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.sv-simple-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 10px;
  font-size: 0.84rem; font-weight: 500; color: var(--gray-700);
  transition: var(--transition-fast); text-decoration: none;
}

.sv-simple-item:hover { background: var(--gray-50); color: var(--secondary); }
.sv-simple-item i { width: 18px; color: var(--secondary); font-size: 0.85rem; }

/* ── Scholarship Highlight Button ── */
.sv-scholarship-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
  color: #fff !important;
  padding: 8px 18px; border-radius: 50px;
  font-weight: 700; font-size: .83rem;
  text-decoration: none; white-space: nowrap;
  position: relative; line-height: 1;
  transition: all .25s;
  box-shadow: 0 4px 16px rgba(217,119,6,.4);
  animation: schol-glow 2.5s ease-in-out infinite;
}
.sv-scholarship-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217,119,6,.55);
  color: #fff !important;
}
.sv-scholarship-btn.active { background: linear-gradient(135deg,#B45309,#D97706); }

.sv-schol-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: #EF4444; color: #fff;
  font-size: .58rem; font-weight: 900;
  padding: 2px 6px; border-radius: 20px;
  letter-spacing: .4px; text-transform: uppercase;
  flex-shrink: 0; line-height: 1;
  animation: schol-pulse 1.8s ease-in-out infinite;
}
@keyframes schol-glow {
  0%,100% { box-shadow: 0 4px 16px rgba(217,119,6,.35); }
  50%      { box-shadow: 0 6px 24px rgba(245,158,11,.65); }
}
@keyframes schol-pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.75; transform:scale(1.15); }
}

/* CTA Buttons */
.btn-sv-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad-blue);
  color: var(--white) !important;
  padding: 10px 22px; border-radius: var(--btn-radius);
  font-family: var(--font-body); font-weight: 700; font-size: 0.85rem;
  border: none; cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-blue);
  text-decoration: none;
}

.btn-sv-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(37,99,235,0.4);
}

.btn-sv-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--white) !important;
  padding: 9px 20px; border-radius: var(--btn-radius);
  font-weight: 600; font-size: 0.85rem;
  border: 1.5px solid rgba(255,255,255,0.35);
  transition: var(--transition); text-decoration: none;
}

.btn-sv-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

.btn-sv-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--secondary) !important;
  padding: 14px 32px; border-radius: var(--btn-radius);
  font-weight: 800; font-size: 0.95rem; border: none;
  cursor: pointer; transition: var(--transition);
  box-shadow: var(--shadow-xl); text-decoration: none;
}

.btn-sv-white:hover { transform: translateY(-2px); box-shadow: 0 24px 60px rgba(0,0,0,0.2); }

.btn-sv-dark {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: var(--white) !important;
  padding: 14px 32px; border-radius: var(--btn-radius);
  font-weight: 700; font-size: 0.95rem; border: none;
  cursor: pointer; transition: var(--transition); text-decoration: none;
}

.btn-sv-dark:hover { background: var(--gray-800); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-lg { padding: 16px 40px !important; font-size: 1rem !important; }

/* ── HERO ──────────────────────────────────────────────────── */
.sv-hero {
  min-height: 100vh;
  background: var(--grad-hero);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding-top: 68px; /* navbar only */
}

.hero-bg-shape {
  position: absolute; border-radius: 50%;
  background: rgba(6,182,212,0.08);
  animation: float 8s ease-in-out infinite;
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(6,182,212,0.15);
  border: 1px solid rgba(6,182,212,0.3);
  color: #67E8F9; padding: 6px 16px; border-radius: 50px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #06B6D4; animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900; color: var(--white);
  line-height: 1.1; margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,0.65);
  line-height: 1.8; max-width: 520px; margin-bottom: 36px;
}

/* Hero stat cards */
.hero-stat-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px; padding: 18px 22px;
  backdrop-filter: blur(12px);
  text-align: center; transition: var(--transition);
}

.hero-stat-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }
.hero-stat-num { font-family: var(--font-primary); font-size: 1.9rem; font-weight: 900; color: var(--white); line-height: 1; }
.hero-stat-num span { font-size: 1.1rem; color: #06B6D4; }
.hero-stat-lbl { font-size: 0.72rem; color: rgba(255,255,255,0.55); margin-top: 4px; font-weight: 500; }

/* Hero illustration card */
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; padding: 24px;
  backdrop-filter: blur(16px);
}

/* ── SECTION HEADERS ───────────────────────────────────────── */
.sv-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.15);
  color: var(--secondary);
  padding: 5px 14px; border-radius: 50px;
  font-size: 0.73rem; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; margin-bottom: 12px;
}

.sv-badge-accent {
  background: rgba(6,182,212,0.08);
  border-color: rgba(6,182,212,0.2);
  color: #0891B2;
}

.sv-badge-dark {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
}

.sv-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 900; color: var(--gray-900);
  letter-spacing: -0.03em; line-height: 1.15;
}

.sv-title-white { color: var(--white); }
.sv-sub { color: var(--gray-500); font-size: 0.95rem; line-height: 1.7; max-width: 540px; }
.sv-sub-white { color: rgba(255,255,255,0.6); }

/* ── TRUST STRIP ───────────────────────────────────────────── */
.trust-strip {
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  padding: 28px 0;
}

.trust-item {
  text-align: center; padding: 0 28px;
  border-right: 1px solid var(--gray-200);
}

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

.trust-num {
  font-family: var(--font-primary);
  font-size: 2rem; font-weight: 900;
  background: var(--grad-blue);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.trust-lbl { font-size: 0.78rem; color: var(--gray-500); font-weight: 500; margin-top: 2px; }

/* ── CARDS ─────────────────────────────────────────────────── */
.sv-card {
  background: var(--white);
  border-radius: var(--card-radius);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
}

.sv-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: rgba(37,99,235,0.15);
}

.sv-card-glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  backdrop-filter: blur(16px);
  transition: var(--transition);
}

.sv-card-glass:hover { background: rgba(255,255,255,0.12); transform: translateY(-4px); }

/* ── COURSE CARDS ──────────────────────────────────────────── */
.course-card {
  background: var(--white);
  border-radius: var(--card-radius);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden; position: relative;
}

.course-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--grad-blue);
  transform: scaleX(0); transform-origin: left;
  transition: var(--transition);
}

.course-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: transparent; }
.course-card:hover::before { transform: scaleX(1); }

.course-icon-wrap {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}

.course-tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 50px;
  font-size: 0.72rem; font-weight: 700;
}

.course-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--success); color: var(--white);
  font-size: 0.68rem; font-weight: 700; padding: 3px 10px;
  border-radius: 50px;
}

/* ── WHY US ────────────────────────────────────────────────── */
.why-card {
  padding: 32px 28px; border-radius: 20px;
  border: 1px solid var(--gray-100);
  background: var(--white);
  transition: var(--transition); position: relative; overflow: hidden;
}

.why-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; top: 0;
  background: var(--grad-blue); opacity: 0; transition: var(--transition); border-radius: 20px;
}

.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-blue); }
.why-card:hover::after { opacity: 0.04; }

.why-icon {
  width: 64px; height: 64px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 20px;
}

/* ── TESTIMONIALS ──────────────────────────────────────────── */
.testimonial-card {
  background: var(--white);
  border-radius: 20px; padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  position: relative; transition: var(--transition);
}

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

.testimonial-quote {
  position: absolute; top: 20px; right: 20px;
  font-size: 3rem; color: var(--gray-100);
  font-family: Georgia, serif; line-height: 1;
}

.star-rating { color: #F59E0B; font-size: 0.85rem; letter-spacing: 2px; }

/* ── PLACEMENT SECTION ─────────────────────────────────────── */
.placement-stat {
  text-align: center; padding: 28px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px; backdrop-filter: blur(12px);
  transition: var(--transition);
}

.placement-stat:hover { background: rgba(255,255,255,0.12); transform: translateY(-4px); }

/* ── FRANCHISE BANNER ──────────────────────────────────────── */
.franchise-banner {
  background: linear-gradient(135deg, #0F172A 0%, #1e293b 40%, #1e3a6e 100%);
  border-radius: 24px; padding: 60px;
  position: relative; overflow: hidden;
}

.franchise-banner::before {
  content: ''; position: absolute; right: -60px; top: -60px;
  width: 300px; height: 300px;
  background: rgba(6,182,212,0.08); border-radius: 50%;
}

/* ── PARTNER LOGOS ─────────────────────────────────────────── */
.partner-logo {
  height: 50px; object-fit: contain;
  filter: grayscale(100%); opacity: 0.5;
  transition: var(--transition);
}

.partner-logo:hover { filter: none; opacity: 1; }

/* ── FORM ──────────────────────────────────────────────────── */
.sv-input {
  width: 100%;
  padding: 13px 18px; border-radius: 12px;
  border: 1.5px solid var(--gray-200);
  font-family: var(--font-body); font-size: 0.9rem;
  color: var(--gray-800); background: var(--white);
  transition: var(--transition-fast);
  outline: none;
}

.sv-input:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.sv-input::placeholder { color: var(--gray-400); }

.sv-label {
  font-size: 0.8rem; font-weight: 700; color: var(--gray-700);
  text-transform: uppercase; letter-spacing: 0.5px;
  display: block; margin-bottom: 6px;
}

/* ── FOOTER ────────────────────────────────────────────────── */
.sv-footer {
  background: linear-gradient(135deg, #0F172A 0%, #1e3a6e 100%);
  color: rgba(255, 255, 255, 0.6);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sv-footer::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, rgba(37, 99, 235, 0) 70%);
  pointer-events: none;
}

.sv-footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  opacity: 0.7;
}

.footer-brand-name {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.3px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  transition: var(--transition);
}

.footer-contact-item:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer-contact-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #06B6D4;
  flex-shrink: 0;
  transition: var(--transition);
}

.footer-contact-item:hover .footer-contact-icon {
  background: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.3);
  color: #06B6D4;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.25);
}

.footer-link {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
  text-decoration: none;
  margin-bottom: 12px;
}

.footer-link:hover {
  color: #06B6D4;
  padding-left: 6px;
}

.footer-link i {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.2);
  transition: var(--transition-fast);
}

.footer-link:hover i {
  color: #06B6D4;
  transform: translateX(2px);
}

.footer-title {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.social-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg-hover, var(--secondary));
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 0;
}

.social-btn i {
  position: relative;
  z-index: 1;
}

.social-btn:hover {
  color: white;
  border-color: transparent;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px var(--shadow-color, rgba(6, 182, 212, 0.25));
}

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

.footer-student-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  z-index: 5;
}

.footer-student-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  background: linear-gradient(135deg, #2563EB, #06B6D4);
  color: white !important;
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  font-size: 0.9rem;
  margin-bottom: 12px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

.footer-student-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.4);
  background: linear-gradient(135deg, #1D4ED8, #0891B2);
}

.footer-student-sublink {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.65) !important;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}

.footer-student-sublink:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(6, 182, 212, 0.3);
  color: #06B6D4 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.1);
}

.footer-student-sublink i {
  font-size: 0.85rem;
  color: #06B6D4;
  transition: var(--transition);
}

.footer-student-sublink:hover i {
  transform: scale(1.1);
}

.footer-newsletter-form {
  display: flex;
  gap: 8px;
  position: relative;
  z-index: 5;
}

.footer-newsletter-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 16px;
  color: white;
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition);
}

.footer-newsletter-input:focus {
  border-color: #06B6D4;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}

.footer-newsletter-btn {
  background: linear-gradient(135deg, #06B6D4, #2563EB);
  border: none;
  border-radius: 12px;
  padding: 12px 20px;
  color: white;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.2);
}

.footer-newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45);
  background: linear-gradient(135deg, #0891B2, #1D4ED8);
}

.footer-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0) 100%);
  margin: 50px 0 0;
}

.footer-bottom {
  padding: 24px 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
  position: relative;
  z-index: 2;
}

.footer-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 30px;
  color: rgba(255, 255, 255, 0.4) !important;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.footer-badge-link:hover {
  color: var(--hover-color, white) !important;
  background: var(--hover-bg, rgba(255, 255, 255, 0.08));
  border-color: var(--hover-border, rgba(255, 255, 255, 0.15));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--hover-shadow, rgba(0, 0, 0, 0.15));
}

.footer-bottom-link {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-size: 0.76rem;
  transition: var(--transition);
}

.footer-bottom-link:hover {
  color: rgba(255, 255, 255, 0.85);
}

/* ── FLOATING ELEMENTS ─────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 90px; right: 24px; z-index: 9000;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: white; text-decoration: none;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: wa-pulse 3s ease-in-out infinite;
}

.wa-float:hover { transform: scale(1.1); box-shadow: 0 12px 32px rgba(37,211,102,0.5); color: white; }

.back-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 9000;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--secondary); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; box-shadow: var(--shadow-blue);
  transition: var(--transition); cursor: pointer;
  opacity: 0; visibility: hidden;
}

.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { transform: translateY(-3px); }

/* ── ANIMATIONS ────────────────────────────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-20px) rotate(3deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.2); }
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 8px 32px rgba(37,211,102,0.7); }
}

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

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes shimmer {
  0%   { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

.animate-fade-up { animation: fadeUp 0.6s var(--ease) both; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

/* Reveal — animations removed, always visible */
.reveal {
  opacity: 1;
  transform: none;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── MISC COMPONENTS ───────────────────────────────────────── */
.sv-divider {
  width: 50px; height: 3px; border-radius: 3px;
  background: var(--grad-blue); margin: 14px 0;
}

.sv-divider.mx-auto { margin-left: auto; margin-right: auto; }

.process-step {
  display: flex; gap: 20px; align-items: flex-start;
  margin-bottom: 32px;
}

.step-num {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad-blue); color: white;
  font-family: var(--font-primary); font-weight: 900;
  font-size: 1rem; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
  box-shadow: var(--shadow-blue);
}

/* FAQ Accordion */
.sv-faq { border: 1px solid var(--gray-200); border-radius: 14px; margin-bottom: 10px; overflow: hidden; }
.sv-faq-q {
  padding: 18px 20px; font-weight: 700; font-size: 0.92rem;
  color: var(--gray-800); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  transition: var(--transition-fast);
}

.sv-faq-q:hover { background: var(--gray-50); color: var(--secondary); }
.sv-faq-a { padding: 0 20px; max-height: 0; overflow: hidden; transition: all 0.3s var(--ease); }
.sv-faq.open .sv-faq-a { padding: 0 20px 18px; max-height: 500px; }
.sv-faq.open .sv-faq-q { color: var(--secondary); background: rgba(37,99,235,0.03); }
.sv-faq .faq-icon { transition: transform 0.3s; color: var(--gray-400); font-size: 0.8rem; }
.sv-faq.open .faq-icon { transform: rotate(180deg); color: var(--secondary); }

/* Timeline */
.sv-timeline { position: relative; padding-left: 28px; }
.sv-timeline::before {
  content: ''; position: absolute; left: 10px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(to bottom, var(--secondary), var(--accent));
  border-radius: 2px;
}

.sv-timeline-item { position: relative; margin-bottom: 28px; }
.sv-timeline-dot {
  position: absolute; left: -24px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--secondary); border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--secondary);
}

/* Counter */
.counter-num {
  font-family: var(--font-primary);
  font-size: 2.5rem; font-weight: 900;
  background: var(--grad-blue);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Tags */
.sv-tag {
  display: inline-flex; align-items: center;
  padding: 4px 12px; border-radius: 50px;
  font-size: 0.73rem; font-weight: 700;
  background: var(--gray-100); color: var(--gray-600);
}

/* Feature list */
.feature-item {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 14px; font-size: 0.9rem; color: var(--gray-700);
}

.feature-icon {
  width: 22px; height: 22px; border-radius: 6px;
  background: rgba(16,185,129,0.1); color: var(--success);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; flex-shrink: 0; margin-top: 1px;
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1199px) {
  .sv-mega-menu, .sv-simple-menu { display: none !important; }
}

@media (max-width: 991px) {
  :root { --section-py: 64px; }
  .sv-hero { padding-top: 80px; min-height: auto; padding-bottom: 60px; }
  .hero-title { font-size: 2.2rem !important; }
  .sv-title { font-size: 1.8rem !important; }
  .franchise-banner { padding: 40px 28px !important; }
}

@media (max-width: 767px) {
  :root { --section-py: 48px; }
  body { font-size: 0.9rem; }
  h1, .hero-title { font-size: 1.9rem !important; }
  h2, .sv-title { font-size: 1.55rem !important; }
  h3 { font-size: 1.3rem !important; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--gray-200); padding: 18px; }
  .franchise-banner { border-radius: 16px; padding: 30px 20px !important; }
  .btn-lg { padding: 12px 24px !important; font-size: 0.88rem !important; }
  .lead-form { padding: 32px 20px !important; border-radius: 18px !important; }
  .hero-stat-row { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .hero-float { padding: 20px !important; border-radius: 16px !important; }
}

@media (max-width: 575px) {
  h1, .hero-title { font-size: 1.7rem !important; }
  h2, .sv-title { font-size: 1.4rem !important; }
  h3 { font-size: 1.2rem !important; }
  .section-py { padding: 40px 0 !important; }
}

@media (max-width: 480px) {
  h1, .hero-title { font-size: 1.55rem !important; }
  h2, .sv-title { font-size: 1.3rem !important; }
  h3 { font-size: 1.15rem !important; }
  .hero-stat-row { grid-template-columns: repeat(1, 1fr) !important; }
  .lead-form { padding: 24px 16px !important; }
  .social-btn { width: 36px; height: 36px; font-size: 0.85rem; }
}

/* Global utility table-responsiveness overrides */
.table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100% !important;
}

/* ── DARK MODE ─────────────────────────────────────────────── */
body.dark-mode {
  background: #0B0F1A;
  color: rgba(255,255,255,0.8);
}

body.dark-mode .sv-card,
body.dark-mode .sv-faq,
body.dark-mode .why-card,
body.dark-mode .course-card,
body.dark-mode .testimonial-card {
  background: #111827;
  border-color: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
}

body.dark-mode .sv-title,
body.dark-mode h1,h2,h3,h4,h5,h6 { color: var(--white); }
body.dark-mode .bg-gray-50 { background: #111827; }
body.dark-mode .trust-strip { background: #111827; border-color: rgba(255,255,255,0.06); }
body.dark-mode .sv-input { background: #1F2937; border-color: rgba(255,255,255,0.1); color: var(--white); }

/* ── SCROLLBAR ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }
