/* ================================================================
   SARHAD NATIONAL SCHOOL — PRODUCTION STYLESHEET v2.0
   Domain: vijay.education | Hostinger Ready
   Brand: Vijay Foundation Logo Colors
   Primary:   #2D3A8C (Deep Royal Blue)
   Secondary: #3AAA35 (Emerald Green - India flag)
   Accent:    #F58220 (Saffron Orange - India flag)
   ================================================================ */

/* ── Google Fonts ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ── CSS Design Tokens ────────────────────────────────────────── */
:root {
  /* Core Brand Colors */
  --blue:          #2D3A8C;
  --blue-dark:     #1A2468;
  --blue-mid:      #3D4EA0;
  --blue-light:    #5B6EC4;
  --blue-xlight:   #EEF1FA;
  --green:         #3AAA35;
  --green-dark:    #28862A;
  --green-light:   #E8F7E8;
  --saffron:       #F58220;
  --saffron-dark:  #D96B10;
  --saffron-light: #FEF3E8;

  /* Neutrals */
  --white:         #FFFFFF;
  --off-white:     #FAFBFF;
  --bg-section:    #F4F6FD;
  --border:        #E2E6F3;
  --border-mid:    #C8CDE8;
  --text-dark:     #111827;
  --text-mid:      #374151;
  --text-soft:     #6B7280;
  --text-muted:    #9CA3AF;

  /* Typography */
  --font-display:  'Cormorant Garamond', Georgia, serif;
  --font-body:     'Plus Jakarta Sans', system-ui, sans-serif;

  /* Spacing */
  --section-pad:   90px;
  --section-pad-sm:60px;
  --container:     1200px;
  --gutter:        28px;

  /* Shadows */
  --shadow-xs:     0 1px 4px rgba(45,58,140,0.06);
  --shadow-sm:     0 4px 16px rgba(45,58,140,0.09);
  --shadow-md:     0 10px 40px rgba(45,58,140,0.14);
  --shadow-lg:     0 24px 64px rgba(45,58,140,0.18);
  --shadow-saffron:0 8px 32px rgba(245,130,32,0.35);
  --shadow-green:  0 8px 32px rgba(58,170,53,0.3);

  /* Radii */
  --r-sm:   8px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-xl:   36px;
  --r-full: 999px;

  /* Transitions */
  --ease:   cubic-bezier(0.4, 0, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 0.2s var(--ease);
  --t-mid:  0.35s var(--ease);
  --t-slow: 0.55s var(--ease);
}

/* ── Reset ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-mid);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
::selection { background: rgba(45,58,140,0.15); color: var(--blue-dark); }

/* ── Typography ───────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-dark);
  line-height: 1.18;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem);   font-weight: 700; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem);   font-weight: 700; }
h4 { font-size: 1.2rem;  font-weight: 600; }
h5 { font-size: 0.95rem; font-weight: 700; }
p  { color: var(--text-soft); line-height: 1.8; }

/* ── Layout Utilities ─────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-pad) 0; }
.section-sm { padding: var(--section-pad-sm) 0; }
.bg-section { background: var(--bg-section); }
.bg-dark { background: var(--blue-dark); }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ── Section Labels ───────────────────────────────────────────── */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--saffron); background: var(--saffron-light);
  padding: 7px 18px; border-radius: var(--r-full);
  margin-bottom: 18px; border: 1px solid rgba(245,130,32,0.2);
}
.tag-blue { color: var(--blue); background: var(--blue-xlight); border-color: rgba(45,58,140,0.2); }
.tag-green { color: var(--green-dark); background: var(--green-light); border-color: rgba(58,170,53,0.2); }
.section-title { margin-bottom: 14px; }
.section-sub { color: var(--text-soft); max-width: 600px; font-size: 1.05rem; line-height: 1.7; }

/* ── BUTTONS ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 15px 36px;
  font-family: var(--font-body); font-size: 0.93rem; font-weight: 700;
  border-radius: var(--r-full); transition: all var(--t-mid);
  position: relative; overflow: hidden; white-space: nowrap;
  letter-spacing: 0.02em;
}
.btn::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  transition: opacity var(--t-fast);
}
.btn:hover::before { opacity: 1; }
.btn:active { transform: scale(0.97); }

/* Primary */
.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 4px 20px rgba(45,58,140,0.28);
}
.btn-primary::before { background: linear-gradient(135deg, var(--blue-mid), var(--blue)); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(45,58,140,0.36); }

/* Saffron */
.btn-saffron {
  background: linear-gradient(135deg, var(--saffron), #F9A54A);
  color: #fff; box-shadow: var(--shadow-saffron);
}
.btn-saffron:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(245,130,32,0.45); }

/* Green */
.btn-green {
  background: linear-gradient(135deg, var(--green), #4DC947);
  color: #fff; box-shadow: var(--shadow-green);
}
.btn-green:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(58,170,53,0.4); }

/* Outline */
.btn-outline {
  background: transparent; color: var(--blue);
  border: 2px solid var(--blue); box-shadow: none;
}
.btn-outline:hover { background: var(--blue); color: #fff; transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* Ghost White */
.btn-ghost-white {
  background: rgba(255,255,255,0.12);
  color: #fff; border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
}
.btn-ghost-white:hover { background: #fff; color: var(--blue); transform: translateY(-3px); }

/* White */
.btn-white { background: #fff; color: var(--saffron); font-weight: 800; }
.btn-white:hover { background: var(--text-dark); color: #fff; transform: translateY(-3px); }

/* Icon Btn */
.btn-icon { width: 48px; height: 48px; border-radius: 50%; padding: 0; }

/* ── SCROLL PROGRESS BAR ──────────────────────────────────────── */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 9999;
  background: linear-gradient(90deg, var(--blue), var(--saffron), var(--green));
  width: 0%; transition: width 0.1s linear;
}

/* ── BACK TO TOP ──────────────────────────────────────────────── */
#back-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 990;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(20px);
  transition: all var(--t-mid); pointer-events: none;
  border: 3px solid rgba(255,255,255,0.2);
}
#back-to-top.show { opacity: 1; transform: translateY(0); pointer-events: all; }
#back-to-top:hover { background: var(--saffron); transform: translateY(-4px); }

/* ── CURSOR EFFECT ────────────────────────────────────────────── */
.cursor-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--saffron); position: fixed; z-index: 10000;
  pointer-events: none; transform: translate(-50%,-50%);
  transition: transform 0.1s, opacity 0.3s;
}
.cursor-ring {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid rgba(45,58,140,0.4);
  position: fixed; z-index: 9999; pointer-events: none;
  transform: translate(-50%,-50%);
  transition: transform 0.18s var(--ease), width 0.3s, height 0.3s, border-color 0.3s;
}
.cursor-ring.expand { width: 56px; height: 56px; border-color: var(--saffron); }

/* ================================================================
   HEADER / NAVIGATION
   ================================================================ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: all var(--t-mid);
}
.site-header.scrolled {
  box-shadow: 0 4px 32px rgba(45,58,140,0.12);
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 80px; gap: 16px;
}

/* Logo */
.logo-wrap { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-wrap img { height: 52px; width: auto; object-fit: contain; }
.logo-text { line-height: 1.2; }
.logo-school { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; color: var(--blue); display: block; }
.logo-sub { font-size: 0.68rem; color: var(--text-muted); font-weight: 500; letter-spacing: 0.04em; }

/* Nav */
.main-nav { display: flex; align-items: center; gap: 2px; }
.nav-link {
  position: relative; font-size: 0.87rem; font-weight: 600;
  color: var(--text-mid); padding: 9px 14px;
  border-radius: var(--r-sm); transition: all var(--t-fast);
  letter-spacing: 0.01em;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 4px; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 28px); height: 2px;
  background: var(--saffron); border-radius: 2px;
  transition: transform var(--t-mid) var(--spring);
}
.nav-link:hover { color: var(--blue); background: var(--blue-xlight); }
.nav-link:hover::after, .nav-link.active::after { transform: translateX(-50%) scaleX(1); }
.nav-link.active { color: var(--blue); background: var(--blue-xlight); }

/* Nav CTA */
.nav-cta { margin-left: 8px; padding: 11px 24px; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column;
  gap: 5px; padding: 8px; border-radius: var(--r-sm);
  transition: background var(--t-fast);
}
.hamburger:hover { background: var(--blue-xlight); }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--blue); border-radius: 2px;
  transition: all 0.35s var(--spring); transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed; top: 80px; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
  z-index: 999; padding: 28px 28px 40px;
  flex-direction: column; gap: 4px;
  transform: translateX(100%); transition: transform 0.4s var(--spring);
  overflow-y: auto; display: flex;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer .nav-link { font-size: 1.15rem; padding: 16px 18px; border-radius: var(--r-md); border-bottom: 1px solid var(--border); }
.mobile-drawer .btn { margin-top: 16px; }
.mobile-drawer-footer { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--border); }
.mobile-drawer-footer p { font-size: 0.82rem; color: var(--text-muted); }

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #0F1B6B 0%, #1E2B8A 40%, #172266 100%);
  padding: 100px 0 80px;
}

/* Mesh gradient blobs */
.hero-blob {
  position: absolute; border-radius: 50%; pointer-events: none; filter: blur(80px);
}
.hero-blob-1 {
  width: 600px; height: 600px; right: -100px; top: -100px;
  background: radial-gradient(circle, rgba(245,130,32,0.22) 0%, transparent 70%);
  animation: blobFloat 8s ease-in-out infinite;
}
.hero-blob-2 {
  width: 400px; height: 400px; left: -80px; bottom: -100px;
  background: radial-gradient(circle, rgba(58,170,53,0.18) 0%, transparent 70%);
  animation: blobFloat 10s ease-in-out infinite reverse;
}
.hero-blob-3 {
  width: 300px; height: 300px; left: 40%; top: 20%;
  background: radial-gradient(circle, rgba(91,110,196,0.25) 0%, transparent 70%);
  animation: blobFloat 12s ease-in-out infinite 2s;
}
@keyframes blobFloat { 0%,100%{transform:translate(0,0) scale(1);} 33%{transform:translate(30px,-20px) scale(1.05);} 66%{transform:translate(-20px,15px) scale(0.95);} }

/* Grid pattern overlay */
.hero::before {
  content: '';
  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;
  pointer-events: none;
}

.hero-container { position: relative; z-index: 2; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: 64px; align-items: center;
}

/* Hero Left */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 8px 20px; border-radius: var(--r-full);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.9);
  margin-bottom: 28px;
}
.pulse-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--saffron);
  animation: pulseDot 2.2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(245,130,32,0.4);
}
@keyframes pulseDot {
  0%  { box-shadow: 0 0 0 0 rgba(245,130,32,0.5); }
  70% { box-shadow: 0 0 0 10px rgba(245,130,32,0); }
  100%{ box-shadow: 0 0 0 0 rgba(245,130,32,0); }
}
.hero-title { color: #fff; margin-bottom: 22px; }
.hero-title .highlight {
  position: relative; display: inline-block; color: var(--saffron);
}
.hero-title .highlight::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--saffron), transparent);
  border-radius: 2px;
}
.hero-desc { color: rgba(255,255,255,0.78); font-size: 1.08rem; max-width: 520px; margin-bottom: 38px; line-height: 1.8; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Stats Row */
.hero-stats-row {
  display: flex; gap: 0; margin-top: 48px;
  background: rgba(255,255,255,0.07); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12); border-radius: var(--r-lg);
  overflow: hidden;
}
.hero-stat {
  flex: 1; padding: 20px 24px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.hero-stat:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 800;
  color: var(--saffron); display: block; line-height: 1;
}
.stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-top: 4px; font-weight: 500; }

/* Hero Right — Real School Building Image */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-img-wrap {
  position: relative; z-index: 3;
  width: 100%; max-width: 520px;
  border-radius: 28px; overflow: visible;
  animation: heroFloat 6s ease-in-out infinite;
}
.hero-building-img {
  width: 100%; height: auto; aspect-ratio: 4/3;
  object-fit: cover; border-radius: 24px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.1);
  display: block;
}
.hero-img-overlay {
  position: absolute; inset: 0; border-radius: 24px;
  background: linear-gradient(to top, rgba(15,27,107,0.55) 0%, transparent 50%);
  pointer-events: none;
}
/* Hero image label (school name at bottom of image) */
.hero-img-label {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.12); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-md); padding: 12px 16px;
  z-index: 4;
}
.hero-img-label strong { color: #fff; font-size: 0.92rem; display: block; line-height: 1.2; }
.hero-img-label span { color: rgba(255,255,255,0.65); font-size: 0.72rem; }
/* Floating cards */
.hero-float-card {
  position: absolute; background: #fff;
  border-radius: var(--r-md); padding: 12px 16px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px;
  z-index: 5; pointer-events: none;
}
.hfc-top-right { top: -18px; right: -20px; animation: heroFloat 4s ease-in-out infinite; }
.hfc-bottom-left { bottom: 80px; left: -24px; animation: heroFloat 5s ease-in-out infinite 2s; }
@keyframes heroFloat { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-14px);} }
.hfc-icon { font-size: 1.6rem; }
.hfc-text strong { font-size: 0.85rem; color: var(--text-dark); display: block; line-height: 1.2; }
.hfc-text span { font-size: 0.7rem; color: var(--text-muted); }

/* ================================================================
   ANNOUNCEMENT TICKER
   ================================================================ */
.ticker-bar {
  background: linear-gradient(135deg, var(--saffron), #F9A54A);
  padding: 11px 0; overflow: hidden;
}
.ticker-track {
  display: flex; gap: 48px; white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes tickerScroll { from{transform:translateX(0);} to{transform:translateX(-50%);} }
.ticker-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.83rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.ticker-sep { color: rgba(255,255,255,0.5); font-size: 1.2rem; }

/* ================================================================
   ABOUT SECTION
   ================================================================ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-visual { position: relative; }
.about-img-box {
  width: 100%; aspect-ratio: 5/4;
  border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(145deg, var(--bg-section), #d4dbf5);
  position: relative;
}
.about-img-box img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.about-img-box::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(145deg, rgba(45,58,140,0.06), transparent);
  pointer-events: none;
}
/* Decorative ring */
.about-ring {
  position: absolute; border-radius: 50%;
  border: 2px dashed rgba(245,130,32,0.3);
  animation: spin 20s linear infinite;
}
.about-ring-1 { width: 120%; height: 120%; top: -10%; left: -10%; }
.about-ring-2 { width: 140%; height: 140%; top: -20%; left: -20%; animation-direction: reverse; border-color: rgba(58,170,53,0.2); animation-duration: 30s; }
@keyframes spin { from{transform:rotate(0deg);} to{transform:rotate(360deg);} }

.about-float-badge {
  position: absolute; background: var(--saffron); color: #fff;
  border-radius: var(--r-md); padding: 18px 22px;
  box-shadow: var(--shadow-saffron); text-align: center;
  right: -28px; bottom: -20px; z-index: 2;
}
.about-float-badge strong { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; display: block; line-height: 1; }
.about-float-badge span { font-size: 0.75rem; opacity: 0.9; font-weight: 600; }

.about-float-card2 {
  position: absolute; background: #fff; border-radius: var(--r-md);
  padding: 14px 18px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px;
  left: -28px; top: 32px; z-index: 2;
}
.afc2-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--green-light); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.afc2-text strong { font-size: 0.88rem; color: var(--text-dark); display: block; }
.afc2-text span { font-size: 0.73rem; color: var(--text-muted); }

/* About content */
.about-list { margin: 24px 0 32px; display: flex; flex-direction: column; gap: 14px; }
.about-list-item { display: flex; gap: 14px; align-items: flex-start; }
.check-circle {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
  background: var(--green-light); color: var(--green); font-size: 0.75rem;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.about-list-item p { font-size: 0.94rem; margin: 0; }

/* ================================================================
   FEATURE CARDS (Why Choose Us)
   ================================================================ */
.features-3col {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px;
}
.feat-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 36px 28px;
  transition: all var(--t-mid); position: relative; overflow: hidden;
  cursor: default;
}
.feat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--saffron));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--spring);
}
.feat-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(145deg, rgba(45,58,140,0.03), transparent);
  opacity: 0; transition: opacity var(--t-mid);
}
.feat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(45,58,140,0.15); }
.feat-card:hover::before { transform: scaleX(1); }
.feat-card:hover::after { opacity: 1; }
.feat-card:hover .feat-card-icon { background: var(--blue); color: #fff; transform: scale(1.1) rotate(-5deg); }

.feat-card-icon {
  width: 64px; height: 64px; border-radius: var(--r-md);
  background: var(--bg-section); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; margin-bottom: 22px;
  transition: all 0.4s var(--spring);
}
.feat-card h4 { font-family: var(--font-body); font-weight: 700; margin-bottom: 10px; color: var(--text-dark); font-size: 1.05rem; }
.feat-card p { font-size: 0.91rem; line-height: 1.75; }

/* ================================================================
   NUMBERS / ACHIEVEMENTS
   ================================================================ */
.achievements-section {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  position: relative; overflow: hidden;
}
.achievements-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.achievements-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; position: relative; z-index: 1;
}
.achievement-item {
  text-align: center; padding: 52px 32px;
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: background var(--t-mid);
}
.achievement-item:last-child { border-right: none; }
.achievement-item:hover { background: rgba(255,255,255,0.05); }
.achievement-num {
  font-family: var(--font-display); font-size: 3.5rem; font-weight: 800;
  color: var(--saffron); display: block; line-height: 1;
  margin-bottom: 8px;
}
.achievement-label { color: rgba(255,255,255,0.75); font-size: 0.9rem; font-weight: 500; }
.achievement-icon { font-size: 2rem; display: block; margin-bottom: 16px; }

/* ================================================================
   PROGRAMS (Academics Preview)
   ================================================================ */
.programs-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 56px;
}
.program-card {
  border-radius: var(--r-xl); overflow: hidden;
  position: relative; min-height: 240px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 32px;
  transition: all var(--t-mid);
}
.program-card::before {
  content: ''; position: absolute; inset: 0;
  background: inherit; transition: transform var(--t-mid);
}
.program-card:hover::before { transform: scale(1.04); }
.program-card:hover { box-shadow: var(--shadow-lg); }
.program-card > * { position: relative; z-index: 1; }
.program-card::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(to top, rgba(10,15,50,0.85) 0%, rgba(10,15,50,0.3) 60%, transparent 100%);
}
.prog-card-1 { background: linear-gradient(145deg, #2D3A8C, #1A2468); }
.prog-card-2 { background: linear-gradient(145deg, #3AAA35, #1E6B1A); }
.prog-card-3 { background: linear-gradient(145deg, #F58220, #C15A05); }
.prog-card-4 { background: linear-gradient(145deg, #5B6EC4, #2D3A8C); }
.prog-emoji { font-size: 2.8rem; margin-bottom: 14px; display: block; }
.prog-card-tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.65); margin-bottom: 8px;
}
.program-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: 8px; }
.program-card p { color: rgba(255,255,255,0.75); font-size: 0.88rem; line-height: 1.6; }
.prog-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.15); color: #fff;
  margin-top: 18px; font-size: 1.2rem;
  transition: all var(--t-mid);
}
.program-card:hover .prog-arrow { background: var(--saffron); transform: translateX(6px); }

/* ================================================================
   FACILITIES BENTO GRID
   ================================================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 20px; margin-top: 56px;
}
.bento-card {
  border-radius: var(--r-xl); padding: 32px 28px;
  transition: all var(--t-mid); cursor: default;
  position: relative; overflow: hidden;
}
.bento-card::after {
  content: ''; position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(145deg, rgba(255,255,255,0.1), transparent);
  transition: opacity var(--t-mid);
}
.bento-card:hover::after { opacity: 1; }
.bento-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.bento-card-1 { background: linear-gradient(145deg, var(--blue), var(--blue-mid)); color: #fff; grid-column: span 2; }
.bento-card-2 { background: var(--bg-section); }
.bento-card-3 { background: linear-gradient(145deg, var(--saffron-light), #FDE8D0); }
.bento-card-4 { background: linear-gradient(145deg, var(--green-light), #D0F0CE); grid-column: span 2; }
.bento-card-5 { background: linear-gradient(145deg, var(--blue-xlight), #DDE3F5); }

.bento-icon { font-size: 2.5rem; margin-bottom: 18px; display: block; }
.bento-card-1 .bento-icon { font-size: 3rem; }
.bento-card h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.08rem; margin-bottom: 8px; }
.bento-card-1 h4 { color: #fff; font-size: 1.3rem; }
.bento-card-1 p { color: rgba(255,255,255,0.8); }
.bento-card p { font-size: 0.91rem; }

/* ================================================================
   GALLERY GRID
   ================================================================ */
.gallery-masonry {
  columns: 3; column-gap: 16px; margin-top: 48px;
}
.gallery-item {
  break-inside: avoid; margin-bottom: 16px;
  border-radius: var(--r-md); overflow: hidden;
  background: linear-gradient(145deg, var(--bg-section), #ccd3f0);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: rgba(45,58,140,0.15);
  transition: all var(--t-mid); cursor: pointer; position: relative;
}
.gallery-item::after {
  content: '🔍'; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; background: rgba(45,58,140,0.7);
  opacity: 0; transition: opacity var(--t-mid);
  color: #fff;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }
.gallery-item.tall { height: 280px; }
.gallery-item.short { height: 180px; }
.gallery-item.mid { height: 220px; }

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px;
}
.testi-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 32px 28px;
  transition: all var(--t-mid); position: relative;
}
.testi-card::before {
  content: '"'; position: absolute; top: 20px; right: 24px;
  font-family: var(--font-display); font-size: 5rem; color: rgba(245,130,32,0.12);
  line-height: 1; pointer-events: none;
}
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(45,58,140,0.15); }
.testi-stars { color: var(--saffron); font-size: 0.9rem; margin-bottom: 14px; }
.testi-text { font-size: 0.93rem; line-height: 1.8; margin-bottom: 22px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-xlight), #ccd3f0);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.testi-name { font-size: 0.9rem; font-weight: 700; color: var(--text-dark); }
.testi-child { font-size: 0.78rem; color: var(--text-muted); }

/* ================================================================
   INQUIRY FORM
   ================================================================ */
.inquiry-split {
  display: grid; grid-template-columns: 1fr 1.35fr; gap: 72px; align-items: start;
}
.inquiry-left h2 { margin-bottom: 16px; }
.inquiry-left p { margin-bottom: 28px; }

.contact-info-stacked { display: flex; flex-direction: column; gap: 14px; }
.ci-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 16px 18px;
  transition: all var(--t-mid);
}
.ci-item:hover { border-color: var(--blue); transform: translateX(4px); box-shadow: var(--shadow-xs); }
.ci-icon {
  width: 40px; height: 40px; border-radius: var(--r-sm);
  background: var(--blue-xlight); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.ci-content strong { display: block; font-size: 0.87rem; color: var(--text-dark); margin-bottom: 2px; }
.ci-content span { font-size: 0.82rem; color: var(--text-muted); }

/* Form Card */
.form-card {
  background: var(--white); border-radius: var(--r-xl); padding: 48px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.form-card-title { font-size: 1.6rem; margin-bottom: 6px; }
.form-card-sub { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg { display: flex; flex-direction: column; gap: 6px; }
.fg.full { grid-column: span 2; }
.fg label {
  font-size: 0.8rem; font-weight: 700;
  color: var(--text-mid); letter-spacing: 0.04em;
  text-transform: uppercase;
}
.fg label .req { color: var(--saffron); }

.form-control {
  width: 100%; padding: 13px 18px;
  border: 2px solid var(--border); border-radius: var(--r-md);
  font-family: var(--font-body); font-size: 0.94rem;
  color: var(--text-dark); background: var(--off-white);
  transition: all var(--t-mid); outline: none;
}
.form-control::placeholder { color: var(--text-muted); }
.form-control:focus {
  border-color: var(--blue); background: #fff;
  box-shadow: 0 0 0 4px rgba(45,58,140,0.1);
}
.form-control.is-error { border-color: #ef4444; box-shadow: 0 0 0 4px rgba(239,68,68,0.1); }
.form-control.is-valid { border-color: var(--green); box-shadow: 0 0 0 4px rgba(58,170,53,0.1); }
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  padding-right: 44px;
}
.form-error-msg { font-size: 0.76rem; color: #ef4444; margin-top: 2px; display: none; }
.form-error-msg.show { display: block; }
.form-submit { grid-column: span 2; margin-top: 8px; }
.form-submit .btn { width: 100%; padding: 18px; font-size: 1rem; border-radius: var(--r-md); }
.success-banner {
  display: none; background: var(--green-light);
  border: 1px solid rgba(58,170,53,0.3); border-radius: var(--r-md);
  padding: 20px 24px; margin-top: 20px; text-align: center;
  color: var(--green-dark); font-weight: 700; font-size: 1rem;
}
.success-banner.show { display: block; animation: fadeIn 0.4s var(--spring); }
@keyframes fadeIn { from{opacity:0;transform:translateY(-10px);} to{opacity:1;transform:translateY(0);} }

/* ================================================================
   CTA BANNER
   ================================================================ */
.cta-strip {
  background: linear-gradient(135deg, var(--saffron) 0%, #F9A54A 100%);
  border-radius: var(--r-xl); margin: 0 var(--gutter);
  padding: 64px 56px; display: flex;
  justify-content: space-between; align-items: center;
  gap: 32px; position: relative; overflow: hidden;
}
.cta-strip::before {
  content: ''; 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.05'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-strip > * { position: relative; z-index: 1; }
.cta-strip h2 { color: #fff; }
.cta-strip p { color: rgba(255,255,255,0.85); max-width: 480px; }
.cta-strip .btn-white { padding: 16px 36px; font-size: 1rem; flex-shrink: 0; }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: #0C1238; color: rgba(255,255,255,0.65);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 52px;
  padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand-col .logo-wrap img { height: 44px; filter: brightness(10); }
.footer-brand-col .logo-school { color: #fff; }
.footer-brand-col .logo-sub { color: rgba(255,255,255,0.45); }
.footer-desc { font-size: 0.87rem; line-height: 1.8; margin: 16px 0 20px; }
.footer-tagline-text {
  font-family: var(--font-display); font-style: italic;
  color: var(--saffron); font-size: 1.05rem;
}
/* Social links */
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; transition: all var(--t-fast);
  border: 1px solid rgba(255,255,255,0.1);
}
.social-btn:hover { background: var(--saffron); color: #fff; border-color: var(--saffron); transform: translateY(-3px); }

.footer-col-title {
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: #fff; margin-bottom: 20px;
}
.footer-links-list { display: flex; flex-direction: column; gap: 10px; }
.footer-links-list a {
  font-size: 0.88rem; color: rgba(255,255,255,0.6);
  transition: all var(--t-fast); display: flex; align-items: center; gap: 8px;
}
.footer-links-list a:hover { color: var(--saffron); transform: translateX(4px); }
.footer-links-list a::before { content: '›'; color: rgba(255,255,255,0.25); }

.footer-contact-row { display: flex; flex-direction: column; gap: 14px; }
.footer-ci {
  display: flex; gap: 12px; font-size: 0.87rem;
  color: rgba(255,255,255,0.65);
}
.footer-ci .fci { color: var(--saffron); flex-shrink: 0; margin-top: 2px; }
.footer-ci a { color: rgba(255,255,255,0.65); transition: color var(--t-fast); }
.footer-ci a:hover { color: var(--saffron); }

/* Footer Bottom */
.footer-bottom {
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.35); margin: 0; }
.footer-bottom a { color: var(--saffron); }

/* ================================================================
   PAGE HERO (Inner Pages)
   ================================================================ */
.inner-hero {
  background: linear-gradient(145deg, #0F1B6B 0%, #1E2B8A 55%, #122050 100%);
  padding: 80px 0 72px; position: relative; overflow: hidden;
}
.inner-hero::before {
  content: ''; position: absolute; right: -10%; top: -40%;
  width: 550px; height: 550px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,130,32,0.14), transparent 65%);
}
.inner-hero::after {
  content: ''; position: absolute; left: -5%; bottom: -30%;
  width: 350px; height: 350px; border-radius: 50%;
  background: radial-gradient(circle, rgba(58,170,53,0.12), transparent 65%);
}
.inner-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,0.55); transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--saffron); }
.breadcrumb .sep { color: rgba(255,255,255,0.25); }
.inner-hero h1 { color: #fff; }
.inner-hero .hero-desc { margin-top: 14px; max-width: 640px; }

/* ================================================================
   CARDS — Generic
   ================================================================ */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }

.card-basic {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 32px 26px;
  transition: all var(--t-mid);
}
.card-basic:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(45,58,140,0.15); }
.card-icon {
  width: 58px; height: 58px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
  transition: transform 0.4s var(--spring);
}
.card-basic:hover .card-icon { transform: scale(1.1) rotate(-8deg); }
.ci-blue { background: var(--blue-xlight); color: var(--blue); }
.ci-green { background: var(--green-light); color: var(--green); }
.ci-saffron { background: var(--saffron-light); color: var(--saffron-dark); }
.card-basic h4 { font-family: var(--font-body); font-weight: 700; margin-bottom: 10px; font-size: 1.02rem; }
.card-basic p { font-size: 0.9rem; }

/* ================================================================
   TABLE
   ================================================================ */
.table-responsive { overflow-x: auto; border-radius: var(--r-xl); box-shadow: var(--shadow-sm); margin-top: 36px; }
table { width: 100%; border-collapse: collapse; }
thead tr { background: var(--blue); }
th { padding: 16px 22px; text-align: left; color: #fff; font-size: 0.87rem; font-weight: 700; letter-spacing: 0.04em; }
th:first-child { border-radius: 0; }
td { padding: 14px 22px; border-bottom: 1px solid var(--border); font-size: 0.91rem; color: var(--text-mid); }
tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: var(--bg-section); }
tbody tr { transition: background var(--t-fast); }
tbody tr:hover td { background: rgba(45,58,140,0.04); }

/* ================================================================
   ACCORDION
   ================================================================ */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.acc-item {
  border: 1.5px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; transition: border-color var(--t-fast);
}
.acc-item.open { border-color: var(--blue); }
.acc-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 26px; cursor: pointer; background: var(--white);
  transition: background var(--t-fast); gap: 16px;
}
.acc-header:hover { background: var(--bg-section); }
.acc-item.open .acc-header { background: var(--blue-xlight); }
.acc-q { font-size: 1rem; font-weight: 700; font-family: var(--font-body); color: var(--text-dark); }
.acc-icon {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: var(--bg-section); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: all 0.35s var(--spring);
  font-weight: 700;
}
.acc-item.open .acc-icon { background: var(--blue); color: #fff; transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease), padding 0.3s; }
.acc-item.open .acc-body { max-height: 500px; }
.acc-body-inner { padding: 4px 26px 24px; }
.acc-body-inner p, .acc-body-inner li { font-size: 0.93rem; }
.acc-body-inner ul { list-style: disc; padding-left: 20px; margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }

/* ================================================================
   STEPS
   ================================================================ */
.steps-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-top: 56px; position: relative;
}
.steps-row::after {
  content: ''; position: absolute; top: 34px; left: 8%; right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--saffron) 50%, var(--green) 100%);
}
.step {
  text-align: center; padding: 0 20px;
  position: relative; z-index: 1;
}
.step-num {
  width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: #fff; font-family: var(--font-display); font-size: 1.7rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(45,58,140,0.35);
  transition: all var(--t-mid);
}
.step:hover .step-num { transform: scale(1.12); background: linear-gradient(135deg, var(--saffron), var(--saffron-dark)); }
.step h4 { font-family: var(--font-body); font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 0.87rem; }

/* ================================================================
   MANAGEMENT MEMBER CARDS
   ================================================================ */
.members-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px;
}
.member-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden; text-align: center;
  transition: all var(--t-mid);
}
.member-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(45,58,140,0.2); }
.member-avatar-area {
  height: 170px; background: linear-gradient(145deg, var(--bg-section), #d0d9f0);
  display: flex; align-items: center; justify-content: center;
  font-size: 4.5rem; position: relative; overflow: hidden;
}
.member-avatar-area::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40px;
  background: linear-gradient(to top, var(--white), transparent);
}
.member-initials {
  font-family: var(--font-display); font-size: 3rem; font-weight: 800;
  color: var(--blue); opacity: 0.45;
}
.member-body { padding: 20px 16px 24px; }
.role-tag {
  display: inline-block; font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 14px; border-radius: var(--r-full); margin-bottom: 10px;
}
.rt-blue { color: var(--blue); background: var(--blue-xlight); }
.rt-green { color: var(--green-dark); background: var(--green-light); }
.rt-saffron { color: var(--saffron-dark); background: var(--saffron-light); }
.member-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.member-bio { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }

/* ================================================================
   HIGHLIGHT BOX
   ================================================================ */
.highlight-box {
  background: linear-gradient(135deg, rgba(45,58,140,0.05), rgba(58,170,53,0.05));
  border: 1px solid rgba(45,58,140,0.15);
  border-left: 4px solid var(--blue); border-radius: var(--r-md);
  padding: 20px 24px; margin: 24px 0;
}
.highlight-box.hl-saffron { border-left-color: var(--saffron); background: rgba(245,130,32,0.04); border-color: rgba(245,130,32,0.2); }
.highlight-box p { color: var(--text-dark); font-size: 0.94rem; margin: 0; }

/* ================================================================
   MAP WRAPPER
   ================================================================ */
.map-container {
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--border);
  margin-top: 48px; height: 400px;
}
.map-container iframe { width: 100%; height: 100%; border: none; display: block; }

/* ================================================================
   LIGHTBOX
   ================================================================ */
.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.92);
  z-index: 9998; display: none; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
}
.lightbox-overlay.open { display: flex; }
.lightbox-content {
  position: relative; max-width: 90vw; max-height: 90vh;
  background: var(--white); border-radius: var(--r-xl); overflow: hidden;
  padding: 40px; display: flex; align-items: center; justify-content: center;
  font-size: 8rem;
}
.lightbox-close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0,0,0,0.2); color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.2rem; transition: all var(--t-fast);
}
.lightbox-close:hover { background: var(--saffron); }

/* ================================================================
   SCROLL ANIMATIONS
   ================================================================ */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity: 0; transform: translateX(-40px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.reveal-right { opacity: 0; transform: translateX(40px);  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.9); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }
[class*="reveal"]:nth-child(2) { transition-delay: 0.1s; }
[class*="reveal"]:nth-child(3) { transition-delay: 0.2s; }
[class*="reveal"]:nth-child(4) { transition-delay: 0.3s; }
[class*="reveal"]:nth-child(5) { transition-delay: 0.4s; }
[class*="reveal"]:nth-child(6) { transition-delay: 0.5s; }

/* ================================================================
   RESPONSIVE — TABLET (1024px)
   ================================================================ */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-stats-row { max-width: 600px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { display: none; }
  .inquiry-split { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .features-3col { grid-template-columns: repeat(2, 1fr); }
  .programs-grid { grid-template-columns: 1fr; }
  .achievements-grid { grid-template-columns: repeat(2, 1fr); }
  .achievement-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .achievement-item:nth-child(2), .achievement-item:nth-child(4) { border-bottom: none; }
  .members-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card-1, .bento-card-4 { grid-column: span 2; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================
   RESPONSIVE — MOBILE (768px)
   ================================================================ */
@media (max-width: 768px) {
  :root { --section-pad: 60px; --section-pad-sm: 44px; }
  .main-nav, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 70px 0 60px; min-height: auto; }
  .hero-stats-row { flex-direction: column; border-radius: var(--r-md); }
  .hero-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .hero-stat:last-child { border-bottom: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .features-3col, .cards-3, .testimonials-grid { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card-1, .bento-card-4 { grid-column: span 1; }
  .steps-row { grid-template-columns: 1fr 1fr; }
  .steps-row::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .members-grid { grid-template-columns: 1fr 1fr; }
  .cta-strip { flex-direction: column; text-align: center; margin: 0; border-radius: var(--r-lg); }
  .form-grid { grid-template-columns: 1fr; }
  .fg.full, .form-submit { grid-column: span 1; }
  .form-card { padding: 28px 20px; }
  .gallery-masonry { columns: 2; }
  .achievements-grid { grid-template-columns: 1fr 1fr; }
  .achievement-item { border: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .programs-grid { grid-template-columns: 1fr; }
  .cursor-dot, .cursor-ring { display: none; }
  #back-to-top { bottom: 20px; right: 20px; width: 44px; height: 44px; }
}

/* ================================================================
   RESPONSIVE — SMALL MOBILE (480px)
   ================================================================ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .members-grid { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; }
  .gallery-masonry { columns: 1; }
  .cards-4 { grid-template-columns: 1fr; }
}

/* ================================================================
   CONTACT PAGE — Complete Styles
   ================================================================ */

/* 4-column contact detail cards */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 0;
}
.contact-detail-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 24px;
  transition: all var(--t-mid);
  position: relative;
  overflow: hidden;
}
.contact-detail-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--saffron));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--spring);
}
.contact-detail-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(45,58,140,0.2); }
.contact-detail-card:hover::before { transform: scaleX(1); }

.cdc-icon-wrap {
  width: 60px; height: 60px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 20px; flex-shrink: 0;
}
.cdc-blue    { background: var(--blue-xlight); color: var(--blue); }
.cdc-green   { background: var(--green-light); color: var(--green-dark); }
.cdc-saffron { background: var(--saffron-light); color: var(--saffron-dark); }

.cdc-content h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.cdc-content p,
.cdc-content address {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-soft);
  font-style: normal;
  margin-bottom: 14px;
}
.cdc-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
  transition: color var(--t-fast), gap var(--t-fast);
}
.cdc-link:hover { color: var(--saffron); gap: 8px; }

/* How to Reach box */
.how-to-reach-box {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  margin-top: 20px;
}
.how-to-reach-box h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 18px;
}
.reach-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.reach-item:last-child { border-bottom: none; padding-bottom: 0; }
.reach-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 36px;
  text-align: center;
  margin-top: 2px;
}
.reach-item strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.reach-item p {
  font-size: 0.83rem;
  color: var(--text-soft);
  margin: 0;
}

/* Map container — override top margin issue */
.map-container {
  border-radius: var(--r-lg) !important;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border);
  margin-top: 16px !important;
  height: 300px !important;
}

/* Form card header with icon */
.form-card-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.form-card-icon-lg {
  font-size: 2.2rem;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--blue-xlight);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Quick contact row below form */
.quick-contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.qc-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-right: 4px;
}
.qc-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  border-radius: var(--r-full);
  font-size: 0.82rem;
  font-weight: 700;
  transition: all var(--t-fast);
  border: 1.5px solid;
}
.qc-call     { color: var(--blue);         border-color: var(--blue);       background: var(--blue-xlight); }
.qc-whatsapp { color: #25D366;              border-color: #25D366;           background: #e8fbee; }
.qc-email    { color: var(--saffron-dark);  border-color: var(--saffron);    background: var(--saffron-light); }
.qc-btn:hover { opacity: 0.85; transform: translateY(-2px); }

/* Visit CTA box — colorful banner with flex */
.visit-cta-box {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: var(--r-xl);
  padding: 48px 56px;
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
}
.vcb-left {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  flex: 1;
}
.vcb-emoji {
  font-size: 3.5rem;
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.vcb-left h3 { color: #fff; margin-bottom: 8px; }
.vcb-left p { color: rgba(255,255,255,0.75); font-size: 0.93rem; margin: 0 0 14px; }
.vcb-note {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.08);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  line-height: 1.6;
}
.vcb-note strong { color: rgba(255,255,255,0.9); }
.vcb-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  min-width: 200px;
}
.btn-outline-white {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: var(--r-full);
  font-weight: 700; font-size: 0.9rem;
  border: 2px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.85);
  transition: all var(--t-fast);
  text-align: center;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.6); }

/* ================================================================
   HERO IMAGE OVERLAP FIX — z-index layering
   ================================================================ */
.hero { isolation: isolate; }
.hero-blob { z-index: 0; }
.hero::before { z-index: 1; }
.hero-container { z-index: 2; }
.hero-float-card { z-index: 5; }

/* About section img overflow fix */
.about-img-box { overflow: hidden; }
.about-ring {
  pointer-events: none;
  z-index: 0;
  position: absolute;
}
/* Ensure floating badges don't clip */
.about-visual { overflow: visible !important; }
.about-float-badge,
.about-float-card2 { z-index: 3; }

/* ================================================================
   INNER HERO — Fix overlap with header
   ================================================================ */
.inner-hero {
  position: relative;
  background: linear-gradient(145deg, #0F1B6B 0%, #1E2B8A 40%, #172266 100%);
  padding: 120px 0 70px;
  overflow: hidden;
  isolation: isolate;
}
.inner-hero .hero-blob { position: absolute; pointer-events: none; }
.inner-hero .container { position: relative; z-index: 2; }

/* ================================================================
   FORM CARD — Fix padding/overlap on mobile
   ================================================================ */
.form-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

/* ================================================================
   NAV active link style
   ================================================================ */
.nav-link.active { color: var(--blue); font-weight: 700; }
.nav-link.active::after { transform: scaleX(1) !important; }

/* ================================================================
   RESPONSIVE — Contact Page
   ================================================================ */
@media (max-width: 1100px) {
  .contact-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .visit-cta-box { flex-direction: column; gap: 28px; padding: 36px 28px; }
  .vcb-right { flex-direction: row; min-width: auto; width: 100%; }
}

@media (max-width: 768px) {
  .contact-cards-grid { grid-template-columns: 1fr 1fr; }
  .vcb-left { flex-direction: column; gap: 16px; }
  .vcb-right { flex-direction: column; }
  .vcb-right .btn { text-align: center; }
  .quick-contact-row { justify-content: flex-start; }
  .hero-img-wrap { max-width: 100%; }
  .hfc-top-right { top: -12px; right: -8px; }
  .hfc-bottom-left { bottom: 70px; left: -8px; }
}

@media (max-width: 480px) {
  .contact-cards-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px 16px; }
  .visit-cta-box { padding: 28px 20px; }
}
