/* ============================================
   NV CLASSES — Complete Stylesheet v2.0
   Colors: Orange #E8751A + Navy #1B2A5C + Cream #FEFEF0
   ============================================ */

/* Fonts are now loaded via <link rel="preconnect"> + <link rel="stylesheet">
   in the HTML <head> instead of @import, which was render-blocking and added
   an extra network round-trip before the browser could even discover the
   font stylesheet request. See index.html <head>. */

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; background: #FEFEF0; color: #222; line-height: 1.6; overflow-x: hidden; cursor: none; }
html { overflow-x: hidden; max-width: 100%; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: none; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* === CSS VARIABLES === */
:root {
  --orange:       #E8751A;
  --orange-text:  #AF5711; /* WCAG AA-compliant (4.9:1 on cream) — use for small text; --orange fails AA for body-size text */
  --orange-dark:  #C4601200;
  --orange-light: #F5A623;
  --orange-pale:  #FEF3E8;
  --navy:         #1B2A5C;
  --navy-dark:    #0F1A3E;
  --navy-light:   #2A3F7E;
  --cream:        #FEFEF0;
  --cream-dark:   #F5F5E8;
  --white:        #FFFFFF;
  --gray:         #F5F5F5;
  --gray-mid:     #E0E0E0;
  --text:         #222222;
  --text-light:   #666666;
  --success:      #27AE60;
  --error:        #E74C3C;

  --shadow-sm:  0 2px 8px rgba(27,42,92,0.08);
  --shadow-md:  0 4px 20px rgba(27,42,92,0.12);
  --shadow-lg:  0 8px 40px rgba(27,42,92,0.16);
  --shadow-orange: 0 4px 20px rgba(232,117,26,0.3);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full: 9999px;
  --max-width: 1200px;
}

/* === ACCESSIBILITY: SKIP LINK === */
.skip-link {
  position: absolute; top: -50px; left: 12px; z-index: 100000;
  background: var(--navy); color: #fff; padding: 12px 20px;
  border-radius: 0 0 8px 8px; font-weight: 700; font-size: 0.9rem;
  transition: top 0.2s ease; text-decoration: none;
}
.skip-link:focus { top: 0; }

/* === CUSTOM CURSOR === */
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 99999;
  transform: translate(-50%, -50%);
  /* No transition — snaps instantly to mouse */
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 99998;
  transform: translate(-50%, -50%);
  /* No CSS transition — JS lerp controls smoothness */
  opacity: 0.5;
}
.cursor-ring.hovering {
  width: 44px; height: 44px;
  background: rgba(232,117,26,0.07);
  opacity: 0.9;
  border-color: var(--orange);
}
body * { cursor: none !important; }

/* === FLOATING PARTICLES === */
.particles-bg {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  line-height: 1;
  user-select: none;
  animation: floatParticle linear infinite;
  opacity: 0;
}
@keyframes floatParticle {
  0%   { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.5; }
  90%  { opacity: 0.5; }
  100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}
.floating-shapes { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.shape {
  position: absolute;
  animation: shapeFloat ease-in-out infinite;
}
@keyframes shapeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-20px) rotate(5deg); }
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5 { font-family: 'Plus Jakarta Sans', sans-serif; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { color: var(--text-light); line-height: 1.75; text-align: justify; hyphens: auto; }

.page-hero p, .section-header p, .popup-body p, .success-box p, .mvv-card p {
  text-align: center;
}

.eyebrow {
  font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--orange-text); display: inline-block; margin-bottom: 10px;
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-header p { font-size: 1rem; margin-top: 12px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* === LAYOUT === */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
section { padding: 45px 0; position: relative; z-index: 1; }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Inter', sans-serif; font-weight: 600;
  border-radius: var(--radius-full);
  transition: all 0.25s ease;
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%); transition: transform 0.3s;
}
.btn:hover::after { transform: translateX(0); }
.btn-primary { background: var(--orange); color: #fff; padding: 13px 28px; font-size: 0.9375rem; box-shadow: var(--shadow-orange); }
.btn-primary:hover { background: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: transparent; color: var(--navy); border: 2px solid var(--navy); padding: 11px 28px; font-size: 0.9375rem; }
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); padding: 11px 28px; font-size: 0.9375rem; }
.btn-outline-white:hover { background: #fff; color: var(--navy); }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.8125rem; }

/* === CARDS === */
.card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-mid);
  transition: all 0.3s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card-orange-top { border-top: 3px solid var(--orange); }

/* === BADGES === */
.badge {
  display: inline-block; padding: 4px 12px;
  border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600;
}
.badge-orange { background: var(--orange-pale); color: var(--orange); }
.badge-navy   { background: rgba(27,42,92,0.1); color: var(--navy); }

/* ============================================
   POPUP — multi-slide with dots
   ============================================ */
.popup-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.72);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}
.popup-overlay.hidden { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.popup-box {
  background: #fff;
  border-radius: var(--radius-xl);
  max-width: 500px; width: 100%;
  overflow: hidden;
  position: relative;
  animation: popupIn 0.4s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}
@keyframes popupIn { from { opacity:0; transform:scale(0.82) translateY(16px); } to { opacity:1; transform:none; } }
.popup-close {
  position: absolute; top: 12px; right: 12px;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(0,0,0,0.22); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; z-index: 5; transition: background 0.2s;
}
.popup-close:hover { background: rgba(0,0,0,0.45); }
.popup-slides {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.77,0,0.18,1);
  will-change: transform;
}
.popup-slide { flex: 0 0 100%; width: 100%; }
.popup-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.popup-img-placeholder {
  width: 100%; aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: #fff; text-align: center; padding: 28px; gap: 6px;
}
.popup-img-placeholder .pb { background: var(--orange); color:#fff; padding:5px 16px; border-radius:var(--radius-full); font-size:0.8rem; font-weight:700; }
.popup-img-placeholder h3 { color:#fff; font-size:1.5rem; margin: 6px 0 2px; }
.popup-img-placeholder p { color:rgba(255,255,255,0.75); font-size:0.85rem; line-height:1.5; }
.popup-body { padding: 18px 22px 20px; text-align: center; }
.popup-body h4 { color: var(--navy); margin-bottom: 5px; font-size: 1rem; }
.popup-body p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 12px; }
.popup-slide-dots {
  display: flex; justify-content: center; gap: 6px; padding: 0 0 12px;
}
.popup-slide-dots .pd {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gray-mid); transition: all 0.2s; border: none;
}
.popup-slide-dots .pd.active { background: var(--orange); width: 20px; border-radius: 4px; }

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.announcement-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.9);
  text-align: center; padding: 9px 24px;
  font-size: 0.8125rem; font-weight: 500;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  position: relative; z-index: 1001;
}
.announcement-bar a { color: var(--orange-light); font-weight: 700; text-decoration: underline; }
.ann-close { color: rgba(255,255,255,0.6); font-size: 1rem; padding: 4px 8px; transition: color 0.2s; }
.ann-close:hover { color: #fff; }

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
  background: var(--cream-dark);
  border-bottom: 1px solid var(--gray-mid);
  padding: 8px 0;
  position: relative; z-index: 1001;
}
.top-bar-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
}
.top-bar-info { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.top-bar-item { display: flex; align-items: center; gap: 6px; font-size: 0.8125rem; color: var(--text-light); }
.top-bar-item strong { color: var(--navy); }
.top-bar-item .icon { font-size: 0.875rem; }
.top-bar-social { display: flex; gap: 8px; }
.social-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; transition: background 0.2s;
  text-decoration: none;
}
.social-icon:hover { background: var(--orange); }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 68px; gap: 20px;
}

/* Logo */
.site-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-img { height: 52px; width: auto; display: block; }
.logo-fallback {
  height: 48px; width: 48px;
  background: var(--orange);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; color: #fff; font-size: 1.25rem;
}
.logo-text-wrap { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--navy); }
.logo-sub { font-size: 0.6rem; color: var(--text-light); font-style: italic; }

/* Desktop Nav */
.main-nav { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
.nav-item { position: relative; }
/* Extend the nav-item's interactive area downward to cover the dropdown gap */
.nav-item::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 0; right: 0;
  height: 8px;
  background: transparent;
}
.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 12px; border-radius: var(--radius-md);
  font-size: 0.875rem; font-weight: 500; color: var(--text);
  transition: all 0.15s; white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--orange); }
.nav-link.active { font-weight: 700; border-bottom: 2px solid var(--orange); border-radius: 0; }
.nav-arrow { width: 14px; height: 14px; transition: transform 0.2s; flex-shrink: 0; }

/* Dropdown */
.dropdown {
  position: absolute; top: 100%; left: 0;
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 8px;
  min-width: 220px;
  border: 1px solid var(--gray-mid);
  z-index: 100;
  /* Hidden by default — JS controls open/close */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav-item.open .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.dropdown-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: var(--radius-md);
  font-size: 0.875rem; color: var(--text);
  transition: all 0.15s;
}
.dropdown-link:hover { background: var(--orange-pale); color: var(--orange); }
.dropdown-link .d-icon { width: 28px; height: 28px; background: var(--orange-pale); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 0.875rem; flex-shrink: 0; }

/* Mega Menu */
.mega-menu {
  position: absolute; top: 100%;
  left: 50%; transform: translateX(-50%) translateY(-6px);
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 24px;
  min-width: 560px;
  border: 1px solid var(--gray-mid);
  z-index: 100;
  /* Hidden by default — JS controls open/close */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav-item.open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Also keep the CSS arrow rotation */
.nav-item.open .nav-arrow { transform: rotate(180deg); }
.mega-col { flex: 1; }
.mega-col + .mega-col { padding-left: 24px; border-left: 1px solid var(--gray-mid); }
.mega-label { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-light); margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--gray-mid); }
.mega-link { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--radius-md); transition: background 0.15s; margin-bottom: 2px; }
.mega-link:hover { background: var(--orange-pale); }
.mega-icon { width: 32px; height: 32px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; background: var(--orange-pale); }
.mega-link-name { font-size: 0.875rem; font-weight: 500; color: var(--text); display: block; }
.mega-link-desc { font-size: 0.75rem; color: var(--text-light); display: block; }

/* Header CTA */
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-phone { font-size: 0.8125rem; font-weight: 600; color: var(--navy); display: flex; align-items: center; gap: 4px; }

/* Mobile Toggle */
.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; border-radius: var(--radius-md); transition: background 0.2s; }
.menu-toggle:hover { background: var(--orange-pale); }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.3s; }

/* ============================================
   MOBILE NAV OVERLAY
   ============================================ */
.mobile-nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
}
.mobile-nav-overlay.open { display: block; }
.mobile-nav {
  position: fixed; top: 0; right: 0;
  width: min(340px, 90vw); height: 100vh;
  background: #fff;
  z-index: 999;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: var(--shadow-lg);
  padding-bottom: 100px;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-mid);
  background: var(--navy);
}
.mobile-nav-close { color: #fff; font-size: 1.5rem; padding: 4px 8px; }
.mobile-nav-body { padding: 12px 0; }
.mobile-nav-section-title { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); padding: 12px 20px 6px; }
.mobile-nav-link {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 20px;
  font-size: 0.9375rem; font-weight: 500; color: var(--text);
  border-bottom: 1px solid var(--gray);
  transition: all 0.15s;
}
.mobile-nav-link:hover { background: var(--orange-pale); color: var(--orange); }
.mobile-nav-link .mn-icon { width: 32px; height: 32px; background: var(--orange-pale); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; }
.mobile-nav-cta { padding: 16px 20px; }
.mobile-contact-strip { background: var(--cream-dark); padding: 16px 20px; margin-top: 8px; }
.mobile-contact-strip p { font-size: 0.8125rem; color: var(--text-light); margin-bottom: 4px; }
.mobile-contact-strip a { font-size: 0.9375rem; font-weight: 700; color: var(--navy); display: block; }

/* ============================================
   FLOATING ELEMENTS
   ============================================ */
.whatsapp-float {
  position: fixed; bottom: 80px; left: 20px; z-index: 997;
  width: 52px; height: 52px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  animation: pulse 2s infinite;
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7); }
}
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

.apply-float {
  position: fixed; bottom: 80px; right: 20px; z-index: 997;
  background: var(--orange); color: #fff;
  padding: 13px 20px; border-radius: var(--radius-full);
  font-weight: 700; font-size: 0.875rem;
  box-shadow: var(--shadow-orange);
  display: flex; align-items: center; gap: 6px;
  transition: all 0.2s;
  animation: bounceIn 0.5s 2s both;
}
@keyframes bounceIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.apply-float:hover { background: var(--navy); transform: translateY(-2px); }

.mobile-bottom-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 996;
  background: var(--orange); color: #fff;
  padding: 15px; text-align: center;
  font-weight: 700; font-size: 0.9375rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

/* ============================================
   HERO BANNER — full-width landscape slider
   Images: recommended 1920×800px, put in images/hero/
   ============================================ */
.hero-banner {
  position: relative; width: 100%;
  height: auto; aspect-ratio: 24 / 10;   /* matches a 1920x800 landscape; image fits cleanly */
  min-height: 360px; max-height: 760px;
  overflow: hidden; background: var(--navy);
}
.hb-track {
  display: flex; height: 100%;
  transition: transform 0.65s cubic-bezier(0.77,0,0.18,1);
  will-change: transform;
}
.hb-slide { flex: 0 0 100%; width: 100%; height: 100%; position: relative; overflow: hidden; }
.hb-slide-bg {
  position: absolute; inset: 0;
  background-size: contain;        /* show the WHOLE image, no cropping */
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--navy);   /* navy fills any empty bands */
}
/* Image slides: light left scrim so the box edge blends; the box carries contrast */
.hb-slide.has-image .hb-slide-overlay {
  background: linear-gradient(100deg,
    rgba(10,15,40,0.45) 0%,
    rgba(10,15,40,0.15) 45%,
    rgba(10,15,40,0) 72%);
}
/* Opt-out: a slide marked image-only (no heading/sub) shows the clean photo. */
.hb-slide.no-text .hb-slide-overlay { display: none; }
.hb-slide.no-text .hb-content { display: none; }
.hb-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(10,15,40,0.82) 0%, rgba(10,15,40,0.5) 55%, rgba(10,15,40,0.2) 100%);
  transition: opacity 0.55s ease;
}
/* During the "clean" phase the scrim fades out to reveal the full photo. */
.hb-slide.clean .hb-slide-overlay { opacity: 0; }
.hb-slide-placeholder {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, rgba(232,117,26,0.25) 100%);
}
/* Text sits directly on the photo (no box). A soft shadow keeps it legible. */
.hb-content {
  position: absolute; left: 6%; top: 50%;
  transform: translate(-16px, -50%);
  max-width: 52%; color: #fff;
  opacity: 0; pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
  text-shadow: 0 2px 14px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.7);
}
.hb-slide.show-text .hb-content { opacity: 1; transform: translate(0, -50%); pointer-events: auto; }
.hb-slide.clean .hb-content { opacity: 0; transform: translate(-16px, -50%); pointer-events: none; }
/* Heading typing caret + orange second line */
.hb-h2 { color: var(--orange-light); }
.hb-h1.typing::after, .hb-h2.typing::after {
  content: ''; display: inline-block;
  width: 3px; height: 0.95em; margin-left: 4px; vertical-align: -2px;
  background: var(--orange-light);
  animation: hbCaret 0.7s steps(1) infinite;
}
@keyframes hbCaret { 50% { opacity: 0; } }
/* Badge shows with the box; subtext + buttons reveal after the heading types */
.hb-badge, .hb-sub, .hb-actions {
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.hb-slide.show-text .hb-badge { opacity: 1; transform: none; }
.hb-slide.show-rest .hb-sub,
.hb-slide.show-rest .hb-actions { opacity: 1; transform: none; }
.hb-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: #fff;
  padding: 5px 14px; border-radius: var(--radius-full);
  font-size: 0.8rem; font-weight: 700; margin-bottom: 16px;
}
.hb-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  font-weight: 800; color: #fff; line-height: 1.1;
  margin-bottom: 14px; letter-spacing: -0.02em;
  white-space: pre-line;
}
.hb-heading em { color: var(--orange-light); font-style: normal; }
.hb-sub {
  font-size: clamp(0.875rem, 1.4vw, 1rem);
  color: rgba(255,255,255,0.78); line-height: 1.6;
  margin-bottom: 26px; max-width: 480px;
}
.hb-actions { display: flex; gap: 12px; flex-wrap: wrap; }
/* Stats bar at bottom */
.hb-stats-bar {
  background: var(--navy-light);
  position: relative; z-index: 3;
}
.hb-stats {
  display: flex; justify-content: center;
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
}
.hb-stat {
  flex: 1; text-align: center;
  padding: 13px 10px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.hb-stat:last-child { border-right: none; }
.hb-num {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 800; color: var(--orange-light); line-height: 1;
}
.hb-num sup { font-size: 0.6em; }
.hb-lbl {
  display: block; font-size: 0.68rem;
  color: rgba(255,255,255,0.6); margin-top: 3px; font-weight: 500;
}
/* Arrows */
.hb-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.14); color: #fff;
  font-size: 1.75rem; display: flex; align-items: center; justify-content: center;
  z-index: 4; border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(4px); transition: background 0.2s;
}
.hb-arrow:hover { background: var(--orange); border-color: var(--orange); }
.hb-prev { left: 20px; }
.hb-next { right: 20px; }
/* Dots */
.hb-dots {
  position: absolute; bottom: 68px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 4;
}
.hb-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.38); transition: all 0.25s; border: none;
}
.hb-dot.active { background: var(--orange); width: 26px; border-radius: 4px; }
@media (max-width: 768px) {
  .hero-banner { height: auto; aspect-ratio: 4 / 5; min-height: 400px; max-height: 560px; }
  .hb-slide-bg { background-size: cover; }
  .hb-content { left: 6%; right: 6%; max-width: none; width: 88%; top: 42%; }
  .hb-heading { font-size: clamp(1.5rem, 8vw, 2.2rem); }
  .hb-sub { font-size: 0.85rem; margin-bottom: 18px; }
  .hb-arrow { display: none; }
  .hb-stat { flex: 1 1 45%; }
  .hb-dots { bottom: 92px; }
}

/* ============================================
   EXAM TICKER
   ============================================ */
.exam-ticker { background: var(--navy); padding: 16px 0; overflow: hidden; }
.ticker-track {
  display: flex; gap: 0;
  animation: ticker 20s linear infinite;
  width: max-content;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item {
  display: flex; align-items: center; gap: 12px;
  padding: 0 32px; white-space: nowrap;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 1.25rem; color: rgba(255,255,255,0.25);
  letter-spacing: 0.05em;
}
.ticker-item.highlight { color: #fff; }
.ticker-dot { width: 6px; height: 6px; background: var(--orange); border-radius: 50%; flex-shrink: 0; }

/* ============================================
   ACHIEVEMENTS BAR
   ============================================ */
.achievements-bar { background: var(--cream-dark); padding: 48px 0; }
.achievements-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.achievement-item { text-align: center; padding: 20px; min-width: 0; }
.achievement-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.achievement-text { font-size: 0.8125rem; font-weight: 600; color: var(--navy); text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.4; overflow-wrap: break-word; word-break: break-word; }

/* ============================================
   PHILOSOPHY SECTION
   ============================================ */
.philosophy-section { background: #fff; }
.philosophy-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.philosophy-features { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.phil-feature { display: flex; gap: 16px; align-items: flex-start; }
.phil-icon { width: 52px; height: 52px; background: var(--orange); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; color: #fff; }
.phil-feature h4 { margin-bottom: 4px; }
.phil-feature p { font-size: 0.875rem; }
.philosophy-video {
  background: var(--navy);
  border-radius: var(--radius-xl);
  aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
  cursor: pointer;
}
.philosophy-video iframe { width: 100%; height: 100%; border: none; }
.video-placeholder { text-align: center; color: rgba(255,255,255,0.7); padding: 32px; }
.video-placeholder .play-circle { width: 64px; height: 64px; background: var(--orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 1.5rem; }
.video-placeholder p { font-weight: 600; color: #fff; margin-top: 8px; }

/* ============================================
   COURSES
   ============================================ */
.courses-section { background: var(--cream); }
.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.course-card {
  background: #fff; border-radius: var(--radius-xl);
  border: 1px solid var(--gray-mid);
  overflow: hidden; transition: all 0.3s; position: relative;
}
.course-card:hover { border-color: var(--orange); box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.course-card-top {
  padding: 28px 24px 20px;
  border-top: 3px solid var(--orange);
}
.course-icon-wrap { width: 56px; height: 56px; background: var(--orange-pale); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 16px; }
.course-tag { margin-bottom: 10px; }
.course-card h3 { margin-bottom: 8px; color: var(--navy); }
.course-card p { font-size: 0.875rem; margin-bottom: 16px; }
.course-subjects { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.course-subject { display: flex; align-items: center; gap: 8px; font-size: 0.8125rem; color: var(--text-light); }
.course-subject::before { content: ''; width: 6px; height: 6px; background: var(--orange); border-radius: 50%; flex-shrink: 0; }
.course-card-footer { padding: 16px 24px; background: var(--cream); border-top: 1px solid var(--gray-mid); }

/* ============================================
   WHY NV CLASSES
   ============================================ */
.why-section { background: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card { text-align: center; padding: 32px 20px; border-radius: var(--radius-xl); background: var(--cream); transition: all 0.3s; border: 1px solid transparent; }
.why-card:hover { background: #fff; border-color: var(--orange); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.why-icon { width: 68px; height: 68px; background: var(--orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1.75rem; color: #fff; transition: transform 0.3s; }
.why-card:hover .why-icon { transform: scale(1.1) rotate(-5deg); }
.why-card h4 { margin-bottom: 8px; }
.why-card p { font-size: 0.875rem; }

/* ============================================
   RESULTS SECTION
   ============================================ */
.results-section { background: var(--cream); }
.results-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--navy); border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 48px; }
.result-stat { padding: 32px 24px; text-align: center; border-right: 1px solid rgba(255,255,255,0.1); }
.result-stat:last-child { border-right: none; }
.result-stat-num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2.5rem; font-weight: 800; color: var(--orange-light); line-height: 1; }
.result-stat-label { font-size: 0.8125rem; color: rgba(255,255,255,0.7); margin-top: 6px; }
.results-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 32px; }
.result-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-mid);
  transition: all 0.3s;
}
.result-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.result-photo { aspect-ratio: 1/1; background: linear-gradient(135deg, var(--orange-pale), var(--cream-dark)); display: flex; align-items: center; justify-content: center; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--orange); position: relative; overflow: hidden; }
.result-photo img { width: 100%; height: 100%; object-fit: cover; }
.result-exam-badge { position: absolute; top: 8px; right: 8px; background: var(--orange); color: #fff; font-size: 0.625rem; font-weight: 700; padding: 2px 7px; border-radius: var(--radius-full); }
.result-info { padding: 12px; }
.result-rank { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; color: var(--orange); font-size: 1rem; }
.result-name { font-size: 0.875rem; font-weight: 600; color: var(--navy); }
.result-college { font-size: 0.75rem; color: var(--text-light); margin-top: 2px; }

/* ============================================
   FACULTY
   ============================================ */
.faculty-section { background: #fff; }
.faculty-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.faculty-grid.faculty-grid-center { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; }
.faculty-card {
  background: var(--navy); border-radius: var(--radius-xl);
  overflow: hidden; text-align: center;
  transition: all 0.3s; position: relative;
  border-top: 3px solid var(--orange);
}
.faculty-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.faculty-photo-wrap { padding: 28px 28px 0; }
.faculty-avatar { width: 100px; height: 100px; border-radius: 50%; margin: 0 auto; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.75rem; color: #fff; border: 3px solid var(--orange); overflow: hidden; }
.faculty-avatar img { width: 100%; height: 100%; object-fit: cover; }
.faculty-info { padding: 16px 20px 24px; }
.faculty-name { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.faculty-role { font-size: 0.8125rem; color: var(--orange-light); font-weight: 600; margin-bottom: 4px; }
.faculty-edu { font-size: 0.75rem; color: rgba(255,255,255,0.6); margin-bottom: 8px; }
.faculty-subject-tag { display: inline-block; background: var(--orange); color: #fff; padding: 3px 10px; border-radius: var(--radius-full); font-size: 0.6875rem; font-weight: 600; }

/* Directors section */
.directors-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 32px; }
.directors-grid .faculty-card { width: 270px; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section { background: var(--cream); }
.testimonials-tabs { display: flex; gap: 0; background: var(--gray); border-radius: var(--radius-full); padding: 4px; max-width: 320px; margin: 0 auto 40px; }
.tab-btn { flex: 1; padding: 9px 20px; border-radius: var(--radius-full); font-size: 0.875rem; font-weight: 600; color: var(--text-light); transition: all 0.2s; }
.tab-btn.active { background: var(--orange); color: #fff; box-shadow: var(--shadow-sm); }
.testimonial-pane { display: none; }
.testimonial-pane.active { display: block; }
.testimonial-slider { position: relative; }
.testimonial-slide { display: none; }
.testimonial-slide.active { display: block; animation: fadeSlide 0.4s ease; }
@keyframes fadeSlide { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.testimonial-card {
  background: #fff; border-radius: var(--radius-xl);
  padding: 36px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-mid); max-width: 760px; margin: 0 auto;
}
.testimonial-quote { font-size: 3rem; color: var(--orange); line-height: 0.5; margin-bottom: 16px; }
.testimonial-text { font-size: 1rem; color: var(--text-light); line-height: 1.8; font-style: italic; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--orange-pale); display: flex; align-items: center; justify-content: center; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 1rem; color: var(--orange); flex-shrink: 0; overflow: hidden; }
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name { font-weight: 700; color: var(--navy); font-size: 0.9375rem; }
.testimonial-role { font-size: 0.8125rem; color: var(--orange); }
.testimonial-nav { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.t-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gray-mid); transition: all 0.2s; border: none; }
.t-dot.active { background: var(--orange); width: 24px; border-radius: 4px; }

/* ============================================
   VIDEOS
   ============================================ */
.videos-section { background: #fff; }
.videos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video-card { background: var(--cream); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.3s; border: 1px solid var(--gray-mid); }
.video-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.video-thumb { position: relative; aspect-ratio: 16/9; background: var(--navy); overflow: hidden; cursor: pointer; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.video-thumb:hover img { transform: scale(1.05); }
.video-overlay { position: absolute; inset: 0; background: rgba(27,42,92,0.4); display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.video-thumb:hover .video-overlay { background: rgba(27,42,92,0.6); }
.play-btn { width: 54px; height: 54px; background: var(--orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-orange); transition: transform 0.2s; }
.video-thumb:hover .play-btn { transform: scale(1.15); }
.play-triangle { width: 0; height: 0; border-top: 9px solid transparent; border-bottom: 9px solid transparent; border-left: 16px solid #fff; margin-left: 3px; }
.video-info { padding: 16px; }
.video-subject { font-size: 0.75rem; font-weight: 700; color: var(--orange); margin-bottom: 4px; }
.video-title { font-size: 0.9375rem; font-weight: 600; color: var(--navy); line-height: 1.4; }

/* ============================================
   DOUBTS CLINIC
   ============================================ */
.doubts-section { background: var(--cream); }
.doubts-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.doubts-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.doubts-feature { background: #fff; border-radius: var(--radius-md); padding: 18px; text-align: center; box-shadow: var(--shadow-sm); transition: all 0.2s; }
.doubts-feature:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.doubts-feature-icon { width: 48px; height: 48px; background: var(--orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin: 0 auto 10px; }
.doubts-feature h5 { font-size: 0.8125rem; color: var(--navy); }

/* ============================================
   DEEPLE SECTION
   ============================================ */
.deeple-section { background: var(--navy); padding: 80px 0; }
.deeple-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.deeple-inner h2 { color: #fff; }
.deeple-inner p { color: rgba(255,255,255,0.7); }
.deeple-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.deeple-feature {
  background: rgba(255,255,255,0.08); border-radius: var(--radius-md);
  padding: 16px; display: flex; align-items: center; gap: 10px;
  font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.1);
  transition: background 0.2s;
}
.deeple-feature:hover { background: rgba(232,117,26,0.2); border-color: var(--orange); }
.deeple-feature .df-check { color: var(--orange-light); font-size: 1rem; flex-shrink: 0; }
.deeple-logo-box { background: rgba(255,255,255,0.05); border-radius: var(--radius-xl); padding: 32px; text-align: center; border: 1px solid rgba(255,255,255,0.1); }
.deeple-logo-text { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 2.5rem; color: #fff; letter-spacing: -0.03em; }
.deeple-logo-text span { color: var(--orange); }
.deeple-tagline { color: rgba(255,255,255,0.6); font-size: 0.875rem; margin-top: 6px; }
.deeple-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.deeple-stat { background: rgba(255,255,255,0.08); border-radius: var(--radius-md); padding: 16px; text-align: center; }
.deeple-stat-num { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--orange-light); }
.deeple-stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* ============================================
   FAQ
   ============================================ */
.faq-section { background: #fff; }
.faq-container { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-mid); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; cursor: pointer;
  font-size: 0.9375rem; font-weight: 600; color: var(--navy);
  gap: 16px; transition: color 0.2s;
}
.faq-q:hover { color: var(--orange); }
.faq-toggle { width: 28px; height: 28px; border-radius: 50%; background: var(--orange-pale); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; color: var(--orange); transition: all 0.25s; }
.faq-item.open .faq-toggle { background: var(--orange); color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a-inner { padding-bottom: 20px; font-size: 0.9375rem; color: var(--text-light); line-height: 1.75; }
.faq-item.open .faq-a { max-height: 400px; }

/* ============================================
   CONTACT STRIP
   ============================================ */
.contact-strip { background: var(--navy); padding: 72px 0; }
.contact-strip-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.contact-strip h2 { color: #fff; }
.contact-strip p { color: rgba(255,255,255,0.7); margin-top: 10px; }
.contact-strip-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.contact-items { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; gap: 12px; align-items: flex-start; }
.contact-item-icon { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.contact-item-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.contact-item-value { font-size: 0.9375rem; color: #fff; font-weight: 500; }
.contact-item-value a { color: var(--orange-light); }

/* ============================================
   INNER PAGES
   ============================================ */
.page-hero { background: var(--navy); padding-top: 30px; padding: 100px 0 60px; text-align: center; position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1rem; max-width: 560px; margin: 0 auto; }
.page-hero-bg { position: absolute; inset: 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%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.breadcrumb { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.1); padding: 6px 16px; border-radius: var(--radius-full); font-size: 0.8125rem; color: rgba(255,255,255,0.7); margin-top: 16px; }
.breadcrumb span { color: var(--orange-light); }

/* About page */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img-wrap { background: var(--cream-dark); border-radius: var(--radius-xl); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; font-size: 4rem; overflow: hidden; }
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mvv-card { text-align: center; padding: 32px 20px; background: var(--cream); border-radius: var(--radius-xl); border-top: 3px solid var(--orange); }
.mvv-icon { width: 56px; height: 56px; background: var(--orange); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto 14px; }
.milestones { display: flex; flex-direction: column; gap: 0; margin-top: 28px; }
.milestone { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--gray-mid); align-items: flex-start; }
.milestone:last-child { border-bottom: none; }
.milestone-year { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; color: var(--orange); min-width: 48px; font-size: 0.9375rem; }
.milestone-text { font-size: 0.875rem; color: var(--text-light); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-form-card { background: #fff; border-radius: var(--radius-xl); padding: 36px; box-shadow: var(--shadow-sm); }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-label span { color: var(--error); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--gray-mid); border-radius: var(--radius-md);
  font-size: 0.9375rem; color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none; background: #fff;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232,117,26,0.1); }
.form-select { 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='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.form-error { font-size: 0.8125rem; color: var(--error); margin-top: 4px; display: none; }
.radio-group { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-option input { display: none; }
.radio-label { display: flex; align-items: center; justify-content: center; padding: 10px 18px; border: 1.5px solid var(--gray-mid); border-radius: var(--radius-md); font-size: 0.875rem; font-weight: 500; color: var(--text-light); cursor: pointer; transition: all 0.15s; }
.radio-option input:checked + .radio-label { border-color: var(--orange); background: var(--orange-pale); color: var(--orange); }
.radio-label:hover { border-color: var(--orange); }
.conditional-block { display: none; }
.conditional-block.show { display: block; }
.honeypot { display: none !important; }

/* Admission form */
.admission-page { background: var(--cream); padding: 100px 0 80px; min-height: 100vh; }
.admission-wrap { max-width: 660px; margin: 0 auto; }
.form-card { background: #fff; border-radius: var(--radius-xl); padding: 40px; box-shadow: var(--shadow-md); }
.progress-header { margin-bottom: 28px; }
.progress-labels { display: flex; justify-content: space-between; margin-bottom: 6px; }
.progress-label { font-size: 0.6875rem; font-weight: 600; color: var(--text-light); }
.progress-label.active { color: var(--orange); font-weight: 700; }
.progress-track { height: 5px; background: var(--gray-mid); border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--orange); border-radius: 3px; transition: width 0.4s ease; }
.form-step { display: none; }
.form-step.active { display: block; animation: stepIn 0.3s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.step-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.step-sub { font-size: 0.875rem; color: var(--text-light); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-actions { display: flex; gap: 12px; justify-content: space-between; margin-top: 28px; }
.class-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.success-box { text-align: center; padding: 32px 0; }
.success-icon { width: 80px; height: 80px; background: #EDFAF0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; margin: 0 auto 20px; border: 2px solid #27AE60; }
.app-id { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--orange); background: var(--orange-pale); padding: 12px 24px; border-radius: var(--radius-md); display: inline-block; margin: 14px 0; letter-spacing: 0.06em; }

/* ============================================
   FOOTER
   ============================================ */
footer { background: var(--navy-dark); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.7; margin-top: 14px; max-width: 280px; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo-mark { width: 40px; height: 40px; background: var(--orange); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; color: #fff; font-size: 1rem; }
.footer-logo-name { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; color: #fff; font-size: 1.0625rem; }
.footer-logo-sub { font-size: 0.625rem; color: rgba(255,255,255,0.4); font-style: italic; display: block; }
.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.footer-social-link { width: 34px; height: 34px; background: rgba(255,255,255,0.08); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); font-size: 0.875rem; transition: all 0.2s; }
.footer-social-link:hover { background: var(--orange); color: #fff; }
.footer-col h5 { color: #fff; font-size: 0.9375rem; font-weight: 700; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.55); transition: color 0.15s; }
.footer-links a:hover { color: var(--orange-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.8125rem; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: rgba(255,255,255,0.5); font-size: 0.8125rem; }

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-right.visible { opacity: 1; transform: none; }

/* Page fade */
.page { display: none; }
.page.active { display: block; animation: pageFade 0.3s ease; }
@keyframes pageFade { from { opacity: 0; } to { opacity: 1; } }

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 1024px) {
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: repeat(4, 1fr); }
  .faculty-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .achievements-grid { grid-template-columns: repeat(2, 1fr); }
  .apply-float { display: none; }
  .mobile-bottom-bar { display: block; }
  body { padding-bottom: 56px; }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 768px) {
  section { padding: 60px 0; }
  .top-bar { display: none; }
  .main-nav, .header-actions { display: none; }
  .menu-toggle { display: flex; }
  .achievements-grid { grid-template-columns: repeat(2, 1fr); }
  .philosophy-inner, .about-grid, .doubts-inner, .deeple-inner, .trust-inner, .contact-strip-inner, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .courses-grid, .mvv-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .results-stats { grid-template-columns: repeat(2, 1fr); }
  .faculty-grid { grid-template-columns: repeat(2, 1fr); }
  .directors-grid { grid-template-columns: 1fr; max-width: 320px; }
  .videos-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .class-grid { grid-template-columns: repeat(2, 1fr); }
  .form-card { padding: 24px 18px; }
  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: auto; }
  body * { cursor: auto !important; }
  .deeple-features { grid-template-columns: 1fr; }
  .deeple-stats { grid-template-columns: repeat(3, 1fr); }
  .section-header { margin-bottom: 36px; }
}

/* ===== Program detail pages ===== */
.prog-detail { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.prog-main h2 { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--navy); font-size: 1.6rem; margin-bottom: 14px; }
.prog-main h3 { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--orange-text); font-size: 1.2rem; margin: 26px 0 12px; }
.prog-main p { color: var(--text-light); margin-bottom: 14px; line-height: 1.7; }
.prog-list { list-style: none; padding: 0; margin: 0; }
.prog-list li { position: relative; padding-left: 26px; margin-bottom: 12px; color: var(--text-light); line-height: 1.6; }
.prog-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--success); font-weight: 800; }
.prog-list li strong { color: var(--navy); }
.prog-side { position: sticky; top: 90px; }
.prog-card { background: #fff; border: 1px solid var(--gray-mid); border-top: 4px solid var(--orange); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-md); }
.prog-card h4 { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--navy); margin-bottom: 14px; font-size: 1.05rem; }
.prog-fact { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--gray-light); font-size: 0.85rem; }
.prog-fact span { color: var(--text-light); }
.prog-fact strong { color: var(--navy); text-align: right; }
@media (max-width: 768px) {
  .prog-detail { grid-template-columns: 1fr; gap: 26px; }
  .prog-side { position: static; }
}

/* ============================================
   PROGRAM PAGE ENRICHMENT (JEE / detail pages)
   ============================================ */
.why-grid-3 { grid-template-columns: repeat(3, 1fr); }
.why-grid-2 { grid-template-columns: repeat(2, 1fr); }
.data-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--gray-mid); box-shadow: var(--shadow-sm); }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; background: #fff; min-width: 460px; }
.data-table th, .data-table td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--gray-mid); white-space: nowrap; }
.data-table th { background: var(--navy); color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.02em; }
.data-table tbody tr:last-child td { border-bottom: none; font-weight: 700; color: var(--navy); background: var(--orange-pale); }
.data-table tbody tr:hover td { background: var(--cream-dark); }
.data-table tbody tr:last-child:hover td { background: var(--orange-pale); }

.exam-pill-box { background: var(--navy); border-radius: var(--radius-xl); padding: 40px; }
.exam-pill-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.exam-pill { background: var(--orange); color: #fff; border-radius: var(--radius-full); padding: 14px 22px; font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; gap: 10px; transition: transform 0.25s; }
.exam-pill:hover { transform: translateY(-2px); background: var(--orange-light); }

.cta-orange-strip { background: var(--orange); border-radius: var(--radius-xl); padding: 40px 44px; }
.cta-orange-strip-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-orange-strip h3 { color: #fff; margin-bottom: 4px; }
.cta-orange-strip p { color: rgba(255,255,255,0.85); margin: 0; }

.quote-box { background: var(--cream-dark); border-left: 4px solid var(--orange); border-radius: var(--radius-lg); padding: 28px 32px; font-size: 1.0625rem; color: var(--navy); font-style: italic; line-height: 1.75; }

.faq-grid-2col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }

/* --- Outline icon style (pale circle + orange glyph + dashed accent), matches reference screenshots --- */
.why-card.icon-outline { position: relative; }
.why-icon-outline {
  background: #E8F2FC; color: var(--orange);
  box-shadow: none;
}
.why-card.icon-outline:hover .why-icon-outline { background: var(--orange); color: #fff; }
.why-card.icon-outline::before {
  content: ''; position: absolute; top: 22px; left: 22px;
  width: 14px; height: 14px;
  background:
    linear-gradient(var(--gray-mid), var(--gray-mid)) center / 100% 2px no-repeat,
    linear-gradient(var(--gray-mid), var(--gray-mid)) center / 2px 100% no-repeat;
  opacity: 0.6;
}
.why-card.icon-outline::after {
  content: ''; position: absolute; top: 34px; left: 12px;
  width: 8px; height: 8px;
  background:
    linear-gradient(var(--gray-mid), var(--gray-mid)) center / 100% 2px no-repeat,
    linear-gradient(var(--gray-mid), var(--gray-mid)) center / 2px 100% no-repeat;
  opacity: 0.5;
}

/* --- Horizontal pill feature cards (icon left, text right) --- */
.pill-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pill-card {
  display: flex; align-items: flex-start; gap: 22px;
  background: var(--cream); border-radius: 999px 44px 44px 999px;
  padding: 34px 38px; transition: all 0.3s; border: 1px solid transparent;
}
.pill-card:hover { background: #fff; border-color: var(--orange); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pill-card-icon {
  width: 64px; height: 64px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; flex-shrink: 0; box-shadow: var(--shadow-sm);
}
.pill-card h4 { margin-bottom: 8px; }
.pill-card p { font-size: 0.875rem; margin: 0; }
@media (max-width: 900px) {
  .pill-card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .why-grid-3, .why-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .faq-grid-2col { grid-template-columns: 1fr; }
  .cta-orange-strip-inner { text-align: center; justify-content: center; }
}
@media (max-width: 600px) {
  .why-grid-3, .why-grid-2 { grid-template-columns: 1fr; }
  .exam-pill-grid { grid-template-columns: 1fr; }
}

.icon-square-orange { width: 60px; height: 60px; border-radius: 16px; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 20px; }
.topper-banner { text-align: center; max-width: 420px; margin: 0 auto; }
.topper-banner .about-img-wrap { aspect-ratio: 1/1; font-size: 3rem; margin-bottom: 20px; }

/* --- Pill-style FAQ (rounded box) --- */
.faq-item-pill { border: 1px solid var(--gray-mid) !important; border-radius: var(--radius-full); margin-bottom: 16px; background: #fff; }
.faq-item-pill .faq-q { padding: 16px 24px; }
.faq-item-pill .faq-a-inner { padding: 0 24px 20px; }
.faq-item-pill.open { border-color: var(--orange) !important; }

/* --- Numbered step cards (Pure Science Journey) --- */
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card { background: #fff; border: 1px solid var(--gray-mid); border-radius: var(--radius-lg); padding: 30px 26px; box-shadow: var(--shadow-sm); transition: all 0.3s; }
.step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--orange); }
.step-num { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.9rem; color: var(--orange); }
.step-arrow { color: var(--orange); font-size: 0.85rem; letter-spacing: 1px; margin-left: 6px; }
.step-icon-wrap { margin: 18px 0; color: var(--orange); }
.step-card h4 { margin-bottom: 8px; }
.step-card p { font-size: 0.875rem; margin: 0; }
@media (max-width: 900px) { .step-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .step-grid { grid-template-columns: 1fr; } }

/* --- Institution logo placeholder plate --- */
.logo-plate { background: #fff; border: 1px solid var(--gray-mid); border-radius: var(--radius-lg); aspect-ratio: 1/1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; box-shadow: var(--shadow-sm); padding: 24px; text-align: center; }
.logo-plate .logo-emoji { font-size: 3rem; }
.logo-plate .logo-name { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; color: var(--navy); font-size: 1.15rem; line-height: 1.3; }
.logo-plate .logo-sub { font-size: 0.75rem; color: var(--text-light); }
.bank-icon { color: var(--orange); }

/* --- 9th/10th course template: method cards, experiment cards, carousel dots --- */
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.method-card h4 { padding-bottom: 14px; border-bottom: 1px solid var(--gray-mid); margin-bottom: 14px; }
.method-card .about-img-wrap { margin-bottom: 16px; }
.method-card p { font-size: 0.875rem; }

.experiment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.experiment-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 36px 28px; text-align: center; transition: all 0.3s; }
.experiment-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.experiment-card h4 { margin-bottom: 14px; }
.experiment-card p { font-size: 0.875rem; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.carousel-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--gray-mid); display: inline-block; }
.carousel-dots span.active { background: var(--navy); }
@media (max-width: 900px) { .method-grid, .experiment-grid { grid-template-columns: 1fr; } }
