/* ============================================================
   Swamy Vivekananda Central School - CBSE
   Custom Stylesheet | Bootstrap 5 Extension
   ============================================================ */

:root {
  --svcs-green:    #1a6b2a;
  --svcs-green-dk: #0d4018;
  --svcs-green-lt: #e8f5ec;
  --svcs-purple:   #3b1f8c;
  --svcs-purple-lt:#ede7f6;
  --svcs-gold:     #c8971a;
  --svcs-gold-lt:  #fff8e1;
  --svcs-saffron:  #e8630a;
  --svcs-cream:    #fdfaf4;
  --svcs-dark:     #1c1c1e;
  --svcs-text:     #2d2d2d;
  --svcs-muted:    #6c757d;
  --nav-height:    76px;
  --transition:    0.28s ease;
  --radius:        10px;
  --radius-lg:     18px;
  --shadow:        0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:     0 8px 40px rgba(0,0,0,.13);
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--svcs-text);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }

/* ── Typography helpers ── */
.section-chip {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--svcs-saffron);
  background: #fff3e8;
  padding: 5px 14px;
  border-radius: 40px;
  margin-bottom: 12px;
}
.section-chip.chip-green { color: var(--svcs-green); background: var(--svcs-green-lt); }
.section-chip.chip-white { color: #fff; background: rgba(255,255,255,.12); }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.65rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--svcs-dark);
  line-height: 1.2;
}
.section-title.text-white { color: #fff; }
.section-sub {
  font-size: 1rem;
  color: var(--svcs-muted);
  line-height: 1.75;
  max-width: 560px;
}

/* ── Buttons ── */
.btn-svcs-primary {
  background: var(--svcs-saffron);
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
  padding: 12px 26px;
  border-radius: var(--radius);
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-svcs-primary:hover { background: #b84d00; color: #fff; transform: translateY(-1px); }

.btn-svcs-outline {
  background: transparent;
  color: var(--svcs-saffron);
  font-weight: 600;
  font-size: .9rem;
  padding: 11px 26px;
  border-radius: var(--radius);
  border: 2px solid var(--svcs-saffron);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-svcs-outline:hover { background: var(--svcs-saffron); color: #fff; }

.btn-svcs-white {
  background: #fff;
  color: var(--svcs-saffron);
  font-weight: 700;
  font-size: .9rem;
  padding: 12px 26px;
  border-radius: var(--radius);
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-svcs-white:hover { background: #fff3e8; color: var(--svcs-saffron); }

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }
section.reveal {
  position: relative;
}
section.reveal::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.02);
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px) scale(0.99);
  transition: opacity .7s ease, transform .7s ease;
  z-index: -1;
}
section.reveal.visible::before {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ============================================================
   1. NAVBAR
   ============================================================ */
#mainNav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1050;
  min-height: var(--nav-height);
  padding: 0 !important;        /* override Bootstrap's navbar padding */
  flex-wrap: nowrap !important; /* prevent brand+toggler from wrapping */
  transition: background var(--transition), box-shadow var(--transition);
  background: transparent;
}
#mainNav > .container {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  min-height: var(--nav-height);
}
#mainNav.nav-scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

/* Brand */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 0;
  min-width: 0;        /* allow flex shrink below content size */
  flex-shrink: 1;
}
.navbar-brand img {
  width: 250px;
  height: 100px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-text {
  min-width: 0;
  overflow: hidden;
}
.brand-text .school-name {
  font-family: 'Playfair Display', serif;
  font-size: .9rem;
  font-weight: 700;
  color: var(--svcs-dark);
  line-height: 1.2;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#mainNav:not(.nav-scrolled) .brand-text .school-name { color: #fff; }
.brand-text .school-loc {
  font-size: .62rem;
  color: var(--svcs-muted);
  text-transform: uppercase;
  letter-spacing: .8px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#mainNav:not(.nav-scrolled) .brand-text .school-loc { color: rgba(255,255,255,.7); }

/* On small mobiles hide tagline to give space for hamburger */
@media (max-width: 575px) {
  .brand-text .school-loc { display: none; }
  .navbar-brand img { width: 40px; height: 40px; }
  .brand-text .school-name { font-size: .82rem; }
}

/* Nav links — desktop */
.nav-link {
  font-size: .88rem;
  font-weight: 500;
  color: var(--svcs-dark) !important;
  padding: 6px 12px !important;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
#mainNav:not(.nav-scrolled) .nav-link { color: rgba(255,255,255,.9) !important; }
.nav-link:hover { background: #fff3e8; color: var(--svcs-saffron) !important; }
#mainNav:not(.nav-scrolled) .nav-link:hover { background: rgba(255,255,255,.14); color: #fff !important; }

/* Enquire Now button */
.nav-enquire {
  background: var(--svcs-saffron) !important;
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
}
.nav-enquire:hover { background: #b84d00 !important; color: #fff !important; }
#mainNav:not(.nav-scrolled) .nav-enquire {
  background: rgba(255,255,255,.18) !important;
  border: 1.5px solid rgba(255,255,255,.5);
}

/* Hamburger toggler */
.navbar-toggler {
  border: none !important;
  box-shadow: none !important;
  padding: 6px 8px;
  flex-shrink: 0;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,0.8)' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
#mainNav:not(.nav-scrolled) .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Mobile dropdown panel */
@media (max-width: 991.98px) {
  .navbar-collapse {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(12px);
    padding: 12px 20px 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
    z-index: 1049;
  }
  /* Force dark text on mobile menu regardless of hero state */
  #mainNav .nav-link { color: var(--svcs-dark) !important; }
  #mainNav .nav-link:hover { background: #fff3e8; color: var(--svcs-saffron) !important; }
  #mainNav .nav-enquire { color: #fff !important; background: var(--svcs-saffron) !important; }
}

/* ============================================================
   2. HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide:nth-child(1) { background: linear-gradient(135deg, #071a0d 0%, #1a5c2a 45%, #3b1f8c 100%); }
.hero-slide:nth-child(2) { background: linear-gradient(145deg, #0d0a2e 0%, #1f0a6b 50%, #1a5c2a 100%); }
.hero-slide:nth-child(3) { background: linear-gradient(135deg, #1a0a00 0%, #5c2a00 50%, #1a5c2a 100%); }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.68) 0%, rgba(0,0,0,.3) 65%, transparent 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; }

.hero-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: .78rem;
  padding: 6px 14px;
  border-radius: 40px;
  margin-bottom: 20px;
}
.live-dot { width: 7px; height: 7px; background: #4caf50; border-radius: 50%; flex-shrink: 0; }

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 18px;
}
.hero-headline .accent { color: #ffb347; }
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,.82); max-width: 500px; margin-bottom: 32px; }

.hero-indicators {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px;
  z-index: 3;
}
.hi-dot {
  width: 8px; height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,.38);
  border: none; cursor: pointer;
  transition: all var(--transition);
}
.hi-dot.active { width: 24px; background: #fff; }

.hero-scroll-hint {
  position: absolute;
  bottom: 30px; right: 36px;
  writing-mode: vertical-rl;
  font-size: .65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  display: flex; align-items: center; gap: 10px;
  z-index: 3;
}
.scroll-bar {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 1; transform: scaleY(1); }
  50%      { opacity: .4; transform: scaleY(.5); }
}

/* ============================================================
   3. TRUST BAR
   ============================================================ */
#trustBar { background: var(--svcs-dark); }
.trust-item {
  padding: 26px 12px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.07);
}
.trust-item:last-child { border-right: none; }
.trust-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--svcs-saffron);
  line-height: 1;
  display: block;
}
.trust-lbl {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,.45);
  display: block;
  margin-top: 4px;
}

/* ============================================================
   4. ABOUT
   ============================================================ */
#about { background: var(--svcs-cream); }
.about-img-wrap { position: relative; }
.about-img-box {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--svcs-green), #2e7d42);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; overflow: hidden;
  position: relative;
}
.about-badge {
  position: absolute; bottom: -20px; right: -16px;
  background: #fff;
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  min-width: 110px;
}
.about-badge .big { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--svcs-green); line-height: 1; }
.about-badge .sm  { font-size: .65rem; text-transform: uppercase; letter-spacing: 1px; color: var(--svcs-muted); }

.quote-card {
  background: #fff;
  border-left: 4px solid var(--svcs-saffron);
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}
.quote-text { font-family: 'Kalam', cursive; font-size: 1.05rem; color: var(--svcs-dark); line-height: 1.65; margin-bottom: 14px; }
.quote-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff3e8;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--svcs-saffron); font-size: .9rem;
  flex-shrink: 0;
}

.why-check {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--svcs-green-lt);
  color: var(--svcs-green);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 700;
  flex-shrink: 0; margin-top: 2px;
}

/* ============================================================
   5. GURUKUL DIFFERENTIATOR
   ============================================================ */
#gurukul { background: #fff; }
.split-left {
  background: linear-gradient(145deg, #2d1b00, #5c3600);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  padding: 44px 36px; color: #fff;
}
.split-right {
  background: linear-gradient(145deg, #0a2e1a, #1a5c2a);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 44px 36px; color: #fff;
}
@media (max-width: 767px) {
  .split-left  { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .split-right { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
}
.split-tag { font-size: .65rem; letter-spacing: 3px; text-transform: uppercase; opacity: .55; margin-bottom: 8px; }
.split-ttl { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; margin-bottom: 20px; }
.split-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.split-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; opacity: .9; line-height: 1.55; }

.pillar-card {
  background: var(--svcs-cream);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin: 0 auto 14px;
}

/* ============================================================
   6. ACADEMICS
   ============================================================ */
#academics {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #112515 0%, #1f3e27 48%, #132e1d 100%);
  color: #f8f3e8;
}
#academics .section-title,
#academics .section-chip,
#academics .section-sub,
#academics .btn-svcs-outline {
  color: #f8f3e8;
}
#academics .btn-svcs-outline {
  border-color: rgba(255,255,255,.32);
}
#academics .btn-svcs-outline:hover {
  background: rgba(255,255,255,.08);
}
#academics::before,
#academics::after {
  content: '';
  position: absolute;
  pointer-events: none;
  opacity: .24;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: -1;
}
#academics::before {
  top: -20px;
  right: -20px;
  width: 360px;
  height: 360px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23f9e5b8' stroke-width='6' stroke-linejoin='round'%3E%3Cpath d='M30 78h60M36 78L60 36l24 42M36 78v18h48V78M48 52h24M52 64h16'/%3E%3Cpath d='M14 96h92'/%3E%3C/g%3E%3C/svg%3E");
}
#academics::after {
  bottom: -20px;
  left: -20px;
  width: 340px;
  height: 340px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg fill='%23f9e7c0'%3E%3Cpath d='M60 28c-14 12-24 20-24 30 0 10 8 18 20 18s20-8 20-18c0-10-10-20-16-30z'/%3E%3Cpath d='M20 64c10-20 30-30 40-30s30 10 40 30c-10 0-30 0-40 0s-30 0-40 0z' opacity='0.85'/%3E%3Cpath d='M30 82c10 8 20 12 30 12s20-4 30-12c-10 0-20 0-30 0s-20 0-30 0z' opacity='0.7'/%3E%3Cpath d='M60 50c-6 6-10 10-10 14s4 8 10 8 10-4 10-8-4-8-10-14z' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E");
}
@media (max-width: 767px) {
  #academics::before,
  #academics::after {
    width: 220px;
    height: 220px;
    opacity: .08;
  }
  #academics::before { top: -14px; right: -14px; }
  #academics::after { bottom: -14px; left: -14px; }
}
.program-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-decoration: none;
  display: block;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  transform-style: preserve-3d;
  transform: translateZ(0);
  will-change: transform;
}
.program-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--svcs-saffron);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.program-card:hover::before { transform: scaleX(1); }
.program-card:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
  box-shadow: 0 24px 48px rgba(0,0,0,.14);
}
.prog-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: #fff3e8;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 14px;
}
.prog-stage { font-size: .65rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--svcs-saffron); margin-bottom: 4px; }
.prog-name { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: var(--svcs-dark); margin-bottom: 6px; }
.prog-grades { font-size: .78rem; color: var(--svcs-muted); margin-bottom: 8px; }
.prog-desc { font-size: .82rem; color: var(--svcs-text); line-height: 1.6; }

/* ============================================================
   7. CAMPUS LIFE
   ============================================================ */
#campus { background: #fff; }
.campus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 200px 200px;
  gap: 10px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.campus-cell {
  position: relative; overflow: hidden; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.campus-cell:nth-child(1) { grid-column: span 2; background: linear-gradient(135deg,#1a3a6b,#2d5a9a); }
.campus-cell:nth-child(2) { background: linear-gradient(135deg,#1a5c2a,#2e7d42); }
.campus-cell:nth-child(3) { background: linear-gradient(135deg,#5c3600,#8b5a00); }
.campus-cell:nth-child(4) { grid-column: span 2; background: linear-gradient(135deg,#2d1b4e,#4a2d7a); }
.campus-cell:nth-child(5) { background: linear-gradient(135deg,#1a3a2a,#2a5a3a); }
.campus-cell img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.campus-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
  color: #fff; font-size: .82rem; font-weight: 600;
  padding: 20px 14px 12px;
}
.campus-cell .placeholder-icon { position: relative; z-index: 1; }

@media (max-width: 767px) {
  .campus-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 160px);
  }
  .campus-cell:nth-child(1),
  .campus-cell:nth-child(4) { grid-column: span 1; }
}

/* ============================================================
   8. CO-CURRICULAR
   ============================================================ */
#cocurricular { background: linear-gradient(135deg, #091a28 0%, #0d2e4a 100%); }
.activity-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius);
  padding: 26px 18px;
  text-align: center;
  transition: all var(--transition);
  height: 100%;
}
.activity-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,165,0,.35);
  transform: translateY(-4px);
}
.activity-icon { font-size: 2.2rem; margin-bottom: 12px; }
.activity-name { font-size: .9rem; font-weight: 600; color: #fff; margin-bottom: 4px; }
.activity-desc { font-size: .75rem; color: rgba(255,255,255,.5); }

/* ============================================================
   9. ACHIEVEMENTS
   ============================================================ */
#achievements { background: var(--svcs-cream); }
.achievement-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius);
  padding: 26px 18px;
  text-align: center;
  box-shadow: var(--shadow);
  height: 100%;
}
.ach-icon { font-size: 2.2rem; margin-bottom: 10px; }
.ach-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; font-weight: 700;
  color: var(--svcs-saffron); line-height: 1; margin-bottom: 4px;
}
.ach-lbl { font-size: .78rem; color: var(--svcs-muted); }

.result-bar {
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius);
  padding: 28px 36px;
  box-shadow: var(--shadow);
}
.result-pct {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem; font-weight: 700;
  color: var(--svcs-green); line-height: 1;
}
.result-lbl { font-size: .78rem; color: var(--svcs-muted); margin-top: 4px; }

/* ============================================================
   10. TESTIMONIALS
   ============================================================ */
#testimonials { background: #fff; }
.testi-card {
  background: var(--svcs-cream);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius);
  padding: 28px;
  height: 100%;
}
.testi-stars { color: #ffb347; font-size: 1rem; letter-spacing: 2px; margin-bottom: 12px; }
.testi-quote { font-size: .9rem; color: var(--svcs-text); line-height: 1.75; font-style: italic; margin-bottom: 20px; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: .85rem;
  flex-shrink: 0;
}
.testi-name { font-weight: 600; font-size: .88rem; color: var(--svcs-dark); }
.testi-role { font-size: .75rem; color: var(--svcs-muted); }

/* ============================================================
   11. FACULTY
   ============================================================ */
#faculty { background: var(--svcs-cream); }
.faculty-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
}
.faculty-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.faculty-photo {
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
}
.faculty-photo.bg1 { background: linear-gradient(135deg,#fff3e8,#ffd9b3); }
.faculty-photo.bg2 { background: linear-gradient(135deg,var(--svcs-green-lt),#a5d6b0); }
.faculty-photo.bg3 { background: linear-gradient(135deg,var(--svcs-gold-lt),#ffe082); }
.faculty-photo.bg4 { background: linear-gradient(135deg,var(--svcs-purple-lt),#ce93d8); }
.faculty-info { padding: 18px; }
.faculty-name { font-size: .95rem; font-weight: 700; color: var(--svcs-dark); margin-bottom: 2px; }
.faculty-sub  { font-size: .78rem; color: var(--svcs-saffron); font-weight: 600; margin-bottom: 6px; }
.faculty-exp  { font-size: .75rem; color: var(--svcs-muted); }
.qual-tag {
  font-size: .65rem; font-weight: 600;
  background: #fff3e8; color: #b84d00;
  padding: 3px 8px; border-radius: 4px;
  display: inline-block; margin: 3px 3px 0 0;
}

/* ============================================================
   12. NEWS & EVENTS
   ============================================================ */
#news { background: #fff; }
.news-card {
  background: var(--svcs-cream);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  display: flex; flex-direction: column;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-thumb {
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.news-card:nth-child(1) .news-thumb { background: linear-gradient(135deg,#e8f5ec,#a5d6b0); height: 200px; }
.news-card:nth-child(2) .news-thumb { background: linear-gradient(135deg,#fff3e8,#ffd9b3); }
.news-card:nth-child(3) .news-thumb { background: linear-gradient(135deg,var(--svcs-gold-lt),#ffe082); }
.news-body { padding: 18px; flex: 1; }
.news-cat { font-size: .65rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--svcs-saffron); margin-bottom: 6px; }
.news-title { font-family: 'Playfair Display', serif; font-size: .92rem; font-weight: 700; color: var(--svcs-dark); line-height: 1.4; margin-bottom: 6px; }
.news-date { font-size: .75rem; color: var(--svcs-muted); }

/* ============================================================
   13. ADMISSIONS CTA
   ============================================================ */
/* ── Admissions section: 3-circle design ── */
.adm-section {
  background: #fff;
  position: relative;
  overflow: hidden;
}
.adm-section::before {
  content: '';
  position: absolute;
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, #f0f9ff 0%, transparent 70%);
  top: -150px; left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  pointer-events: none;
}
.adm-section .section-title { color: var(--svcs-dark); }
.adm-section .section-sub   { color: var(--svcs-gray); }

/* Stage container */
.adm-stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 340px;
  margin: 44px 0 24px;
  z-index: 1;
}

/* SVG connector overlay */
.adm-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

/* Path draw: dashes march in from start */
.adm-path {
  stroke-dashoffset: 220;
  transition: stroke-dashoffset 1.8s ease 0.4s;
}
.adm-stage.visible .adm-path-1 { stroke-dashoffset: 0; }
.adm-stage.visible .adm-path-2 { stroke-dashoffset: 0; transition-delay: 0.7s; }

/* Junction dots on SVG paths */
.adm-path-dot {
  opacity: 0;
}
.adm-stage.visible .adm-path-dot {
  animation: dotPulse 1.6s ease-in-out infinite;
  animation-delay: 1.2s;
}
.adm-stage.visible .adm-path-dot-delay {
  animation-delay: 1.5s;
}

/* Node */
.adm-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  max-width: 280px;
  position: relative;
  z-index: 2;
  padding-bottom: 16px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.adm-stage.visible .adm-node:not(.adm-node-mid) {
  opacity: 1;
  transform: translateY(0);
}
.adm-stage.visible .adm-node:nth-child(6) { transition-delay: 0.1s; }
.adm-stage.visible .adm-node:nth-child(8) { transition-delay: 0.25s; }

/* Elevated centre node */
.adm-node-mid { margin-bottom: 68px; }
.adm-stage.visible .adm-node-mid {
  opacity: 1;
  transform: translateY(-68px);
  transition-delay: 0.18s;
}

/* Outer ring link */
.adm-ring {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px; height: 180px;
  border-radius: 50%;
  text-decoration: none;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.adm-ring:hover { transform: scale(1.07); }
.adm-ring-blue {
  border: 5px solid #1565c0;
  box-shadow: 0 0 0 9px rgba(21,101,192,.11), 0 8px 28px rgba(21,101,192,.18);
  background: linear-gradient(145deg,#e3f2fd 0%,#fff 70%);
}
.adm-ring-red {
  border: 5px solid #c62828;
  box-shadow: 0 0 0 9px rgba(198,40,40,.11), 0 8px 28px rgba(198,40,40,.18);
  background: linear-gradient(145deg,#fce4ec 0%,#fff 70%);
  width: 200px; height: 200px;
}
.adm-ring-orange {
  border: 5px solid #e65100;
  box-shadow: 0 0 0 9px rgba(230,81,0,.11), 0 8px 28px rgba(230,81,0,.18);
  background: linear-gradient(145deg,#fff3e0 0%,#fff 70%);
}

/* Inner circle */
.adm-inner {
  width: 82%; height: 82%;
  border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 2px 8px rgba(0,0,0,.06);
  animation: circleFloat 3.8s ease-in-out infinite;
}
.adm-node-mid .adm-inner { animation-delay: -1.3s; }
.adm-node:last-of-type .adm-inner { animation-delay: -0.7s; }

/* Emoji */
.adm-emoji { font-size: 3.2rem; line-height: 1; }
.adm-ring-red .adm-emoji { font-size: 3.8rem; }

/* Labels */
.adm-label {
  font-size: .71rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-align: center;
  line-height: 1.45;
  text-transform: uppercase;
  margin: 14px 0 0;
}
.adm-label-above {
  margin: 0 0 12px;
  order: -1;
}
.adm-label-blue   { color: #1565c0; }
.adm-label-red    { color: #c62828; }
.adm-label-orange { color: #e65100; }

/* Small node dot */
.adm-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  position: absolute;
  top: 14px; right: -2px;
  animation: dotPulse 2.2s ease-in-out infinite;
}
.dot-b { background: #1565c0; }
.dot-r { background: #c62828; right: auto; left: -2px; animation-delay: .6s; }
.dot-o { background: #e65100; animation-delay: 1.1s; }

/* Decorative floating dots */
.adm-decor-dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: dotFloat 3.2s ease-in-out infinite;
}
.dot-yellow  { width:14px; height:14px; background:#fbc02d; top:12%;  left:6%;  animation-delay:0s; }
.dot-blue    { width:10px; height:10px; background:#1565c0; top:20%;  right:5%; animation-delay:0.9s; }
.dot-orange2 { width:10px; height:10px; background:#e65100; bottom:18%; left:10%; animation-delay:1.7s; }

/* Paper plane */
.adm-plane {
  position: absolute;
  top: 2%; right: 5%;
  font-size: 2.6rem;
  color: var(--svcs-saffron);
  animation: planeFloat 3s ease-in-out infinite;
  pointer-events: none;
  line-height: 1;
  filter: drop-shadow(0 3px 8px rgba(232,99,10,.32));
}

/* Keyframes */
@keyframes circleFloat {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-9px); }
}
@keyframes dotPulse {
  0%,100% { opacity:.45; transform: scale(.8); }
  50%     { opacity:1;   transform: scale(1.4); }
}
@keyframes dotFloat {
  0%,100% { transform: translateY(0) scale(1); opacity:.55; }
  50%     { transform: translateY(-13px) scale(1.2); opacity:1; }
}
@keyframes planeFloat {
  0%,100% { transform: translate(0,0) rotate(-15deg); }
  50%     { transform: translate(9px,-11px) rotate(-8deg); }
}

/* Mobile – vertical stack */
@media (max-width: 767.98px) {
  .adm-stage {
    flex-direction: column;
    align-items: center;
    min-height: auto;
    gap: 32px;
    margin: 20px 0;
  }
  .adm-node { padding-bottom: 0; max-width: 100%; }
  .adm-node-mid { margin-bottom: 0; }
  .adm-stage.visible .adm-node-mid { transform: translateY(0); }
  .adm-svg, .adm-plane { display: none; }
}

/* ============================================================
   14. CONTACT
   ============================================================ */
#contact { background: var(--svcs-cream); }
.contact-icon-box {
  width: 42px; height: 42px; border-radius: 10px;
  background: #fff3e8;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; flex-shrink: 0;
}
.contact-lbl { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--svcs-muted); margin-bottom: 2px; }
.contact-val { font-size: .9rem; font-weight: 500; color: var(--svcs-dark); }
.map-box {
  height: 220px; border-radius: var(--radius);
  background: linear-gradient(135deg,#e8f5ec,#d4e8d7);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; border: 1px solid rgba(0,0,0,.07);
  margin-top: 20px; flex-direction: column; gap: 6px; color: var(--svcs-green);
}
.map-box small { font-size: .78rem; font-family: 'Inter',sans-serif; color: var(--svcs-muted); }

.form-control, .form-select {
  border: 1.5px solid rgba(0,0,0,.1) !important;
  border-radius: var(--radius) !important;
  font-size: .88rem !important;
  padding: 10px 14px !important;
  transition: border-color var(--transition) !important;
  background: #fff !important;
}
.form-control:focus, .form-select:focus {
  border-color: var(--svcs-saffron) !important;
  box-shadow: 0 0 0 3px rgba(232,99,10,.1) !important;
}

/* ============================================================
   15. FOOTER
   ============================================================ */
/* ── 1. Social bar ── */
.ft-social-bar {
  background: #fff;
  position: relative;
  padding: 20px 0 18px;
  overflow: hidden;
}
.ft-arch-svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.ft-social-label {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #1b2b5e;
  margin-bottom: 14px;
}
.ft-social-icons {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.ft-soc-btn {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: transform .2s ease, opacity .2s ease;
  flex-shrink: 0;
}
.ft-soc-btn svg { width: 22px; height: 22px; }
.ft-soc-btn:hover { transform: translateY(-3px); opacity: .88; color: #fff; }
.ft-soc-ig { background: linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045); }
.ft-soc-fb { background: #1877f2; }
.ft-soc-x  { background: #000; }
.ft-soc-yt { background: #ff0000; }
.ft-soc-li { background: #0a66c2; }

/* ── 2. Logo + CTA bar ── */
.ft-cta-bar {
  background: #fff;
  border-top: 1px solid #ebebeb;
  border-bottom: 1px solid #ebebeb;
  padding: 22px 0;
}
.ft-cta-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.ft-cta-line {
  flex: 1;
  height: 1px;
  background: #ddd;
}
.ft-cta-logo-block {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.ft-cta-school-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #1b2b5e;
  line-height: 1.3;
}
.ft-cta-school-sub {
  font-size: .65rem;
  color: #888;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 3px;
}
.ft-cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.ft-cta-btn {
  background: #1b2b5e;
  color: #fff;
  padding: 10px 26px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .22s ease, transform .22s ease;
}
.ft-cta-btn:hover { background: var(--svcs-saffron); color: #fff; transform: translateY(-2px); }

/* ── 3. Main columns ── */
.ft-main {
  background: linear-gradient(155deg,#e4f5fb 0%,#eef8f1 55%,#f0f9ff 100%);
  position: relative;
  overflow: hidden;
}
.ft-leaf-wm {
  position: absolute;
  bottom: -60px; right: -60px;
  width: 340px; height: 340px;
  border-radius: 50% 30% 50% 30%;
  border: 28px solid rgba(26,107,42,.06);
  transform: rotate(-30deg);
  pointer-events: none;
}
.ft-leaf-wm::after {
  content: '';
  position: absolute;
  inset: 40px;
  border-radius: 50% 30% 50% 30%;
  border: 18px solid rgba(26,107,42,.04);
}
.ft-col-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #1b2b5e;
  margin-bottom: 8px;
}
.ft-addr {
  font-size: .82rem;
  color: #555;
  line-height: 1.75;
  margin-bottom: 14px;
}
.ft-contact-heading {
  font-size: .66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #777;
  margin-bottom: 3px;
}
.ft-contact-link {
  display: block;
  font-size: .82rem;
  color: #444;
  text-decoration: none;
  line-height: 2;
  transition: color .2s;
}
.ft-contact-link:hover { color: var(--svcs-saffron); }
.ft-email-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px 18px;
  margin-top: 22px;
  box-shadow: 0 2px 14px rgba(0,0,0,.09);
}
.ft-email-card-q {
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: #333;
  margin-bottom: 10px;
}
.ft-email-card-btn {
  display: inline-block;
  background: #cc0000;
  color: #fff;
  padding: 9px 20px;
  border-radius: 7px;
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  text-decoration: none;
  transition: background .2s;
}
.ft-email-card-btn:hover { background: #a80000; color: #fff; }
.ft-col-heading {
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: #cc0000;
  margin-bottom: 14px;
  padding-bottom: 7px;
  border-bottom: 2px solid #cc0000;
  display: inline-block;
}
.ft-link-list {
  list-style: none;
  padding: 0; margin: 0;
}
.ft-link-list li { margin-bottom: 10px; }
.ft-link-list a {
  font-size: .83rem;
  color: #444;
  text-decoration: none;
  display: block;
  transition: color .2s, padding-left .2s;
}
.ft-link-list a:hover { color: var(--svcs-green); padding-left: 4px; }

/* ── 4. Copyright bar ── */
.ft-copyright-bar { background: #1b2b5e; }
.ft-copy { font-size: .74rem; color: rgba(255,255,255,.5); }
.ft-affil-badge {
  font-size: .65rem; font-weight: 600; letter-spacing: 1px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 6px; padding: 4px 10px;
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.06);
}

/* Footer responsive */
@media (max-width: 767.98px) {
  .ft-cta-inner { flex-wrap: wrap; justify-content: center; }
  .ft-cta-line  { display: none; }
  .ft-cta-logo-block { flex-direction: column; text-align: center; }
  .ft-cta-btns { gap: 8px; }
  .ft-cta-btn  { padding: 9px 18px; font-size: .72rem; }
}

/* ── Back to top ── */
#backToTop {
  position: fixed; bottom: 24px; right: 24px;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--svcs-saffron); color: #fff;
  border: none; font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(232,99,10,.35);
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 999;
}
#backToTop.show { opacity: 1; pointer-events: auto; }
#backToTop:hover { transform: translateY(-2px); }

/* ── Utility section padding ── */
.sec-py { padding: 72px 0; }
@media (max-width: 767px) { .sec-py { padding: 52px 0; } }
