/* =============================================================================
   TAGORE SENIOR SECONDARY SCHOOL — MAIN EXTERNAL STYLESHEET
   www.tagoremgarh.edu.in
   Version: 2.0 | Updated: April 2026
   Description: Complete styles — nav, hero, sections, cards, footer,
                responsive breakpoints, animations, hover effects.
   ============================================================================= */

/* ── GOOGLE FONTS: loaded via <link> in HTML head ── */

/* =============================================================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================================= */
:root {
  /* Brand Colors */
  --navy:       #0d2044;
  --navy-mid:   #163366;
  --navy-light: #1e4080;
  --gold:       #c8960c;
  --gold-lt:    #f0c040;
  --orange:     #e05c10;
  --cream:      #fdf8ef;
  --cream-dark: #f5ede0;
  --white:      #ffffff;
  --text:       #1a1a2e;
  --muted:      #6b7280;
  --border:     #e5e0d5;
  --green:      #1a6b3c;

  /* Spacing & Shape */
  --radius:     14px;
  --radius-sm:  8px;
  --radius-xs:  4px;

  /* Shadows */
  --shadow:     0 4px 28px rgba(13,32,68,.11);
  --shadow-md:  0 8px 40px rgba(13,32,68,.16);
  --shadow-lg:  0 16px 60px rgba(13,32,68,.20);

  /* Transitions */
  --transition: .3s ease;
  --transition-fast: .18s ease;
}

/* =============================================================================
   2. RESET & BASE
   ============================================================================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}

a         { text-decoration: none; color: inherit; }
img       { max-width: 100%; display: block; }
ul        { list-style: none; padding: 0; margin: 0; }
button    { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }
address   { font-style: normal; }

/* =============================================================================
   3. TYPOGRAPHY
   ============================================================================= */
.font-serif { font-family: 'Cormorant Garamond', serif; }

/* =============================================================================
   4. TOP BAR
   ============================================================================= */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.85);
  font-size: .8rem;
  padding: 7px 0;
  position: relative;
  z-index: 300;
}

.topbar a {
  color: rgba(255,255,255,.85);
  transition: var(--transition-fast);
}
.topbar a:hover { color: var(--gold-lt); }

.topbar-contact { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.topbar-pipe    { margin: 0 8px; opacity: .3; }

/* Scrolling Ticker */
.ticker-wrap  { overflow: hidden; flex: 1; margin: 0 18px; }
.ticker-inner { display: flex; gap: 60px; white-space: nowrap; animation: ticker 38s linear infinite; }
.ticker-inner span { padding: 0 10px; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* CBSE Badge in topbar */
.cbse-badge {
  background: linear-gradient(90deg, var(--gold), var(--orange));
  color: #fff !important;
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: .74rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}
.cbse-badge:hover { transform: scale(1.05); box-shadow: 0 3px 12px rgba(200,150,12,.4); }

/* Social icons in topbar */
.topbar-social         { display: flex; gap: 6px; }
.topbar-social a       { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; font-size: .68rem; color: #fff; transition: var(--transition); }
.topbar-social a:hover { background: var(--gold); transform: scale(1.15); color: #fff; }

/* =============================================================================
   5. MAIN NAVIGATION
   ============================================================================= */
.navbar-main {
  background: #fff;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 999;
  transition: var(--transition);
}
.navbar-main.scrolled { box-shadow: 0 4px 32px rgba(13,32,68,.2); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

/* Brand logo */
.nav-brand img { height: 64px; width: auto; transition: var(--transition); }
.nav-brand:hover img { opacity: .9; }

/* Nav list */
.nav-list { display: flex; gap: 2px; align-items: center; }
.nav-item { position: relative; }

.nav-link {
  color: var(--navy);
  font-weight: 600;
  font-size: .86rem;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover,
.nav-item:hover > .nav-link { background: var(--navy); color: var(--gold-lt); }

/* Chevron rotation on hover */
.nav-chevron           { font-size: .6rem; transition: var(--transition); }
.nav-item:hover .nav-chevron { transform: rotate(180deg); }

/* Dropdown */
.nav-drop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  min-width: 230px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  z-index: 500;
}
.nav-item:hover .nav-drop { opacity: 1; visibility: visible; transform: translateY(0); }

.nav-drop a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  font-size: .83rem;
  font-weight: 500;
  color: var(--navy);
  transition: var(--transition);
}
.nav-drop a i             { width: 16px; color: var(--gold); font-size: .78rem; flex-shrink: 0; }
.nav-drop a:hover         { background: var(--navy); color: #fff; }
.nav-drop a:hover i       { color: var(--gold-lt); }

/* Flyout submenu */
.nav-flyout              { position: relative; }
.nav-flyout > a          { justify-content: space-between; }
.flyout-arrow            { font-size: .6rem; opacity: .5; }
.nav-fly-drop {
  position: absolute;
  left: 100%;
  top: 0;
  background: #fff;
  min-width: 210px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.nav-flyout:hover .nav-fly-drop { opacity: 1; visibility: visible; }

/* CBSE Disclosure highlight button */
.nav-disc > a {
  background: linear-gradient(90deg, var(--gold), var(--orange)) !important;
  color: #fff !important;
  border-radius: var(--radius-sm);
}

/* Hamburger toggle */
.nav-toggle {
  background: none;
  border: 2px solid var(--navy);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* =============================================================================
   6. MOBILE MENU
   ============================================================================= */
.mob-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.52);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.mob-overlay.open { opacity: 1; visibility: visible; }

.mob-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100vh;           /* fallback for older browsers */
  height: 100dvh;          /* dynamic viewport height — fixes iOS Safari bottom-bar crop */
  background: #fff;
  z-index: 1001;
  overflow-y: auto;
  overflow-y: scroll;      /* force scroll on iOS */
  -webkit-overflow-scrolling: touch;  /* momentum scroll on iOS */
  overscroll-behavior: contain;       /* prevent page scroll bleed-through */
  transition: right .35s ease;        /* only animate right — not all — avoids height jank */
  box-shadow: -4px 0 32px rgba(0,0,0,.2);
}
.mob-menu.open { right: 0; }

.mob-close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1rem;
}

.mob-menu > ul   { padding: 64px 0 48px; } /* extra bottom space for iOS chrome */
.mob-item        { border-bottom: 1px solid var(--border); }

.mob-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-weight: 600;
  color: var(--navy);
  font-size: .92rem;
  transition: var(--transition-fast);
  cursor: pointer;
}
.mob-link:hover { background: var(--cream); color: var(--gold); }

.mob-sub       { display: none; background: var(--cream); padding: 4px 0; }
.mob-sub.open  { display: block; }
.mob-sub a     { display: block; padding: 9px 28px; font-size: .84rem; color: var(--muted); font-weight: 500; transition: var(--transition-fast); }
.mob-sub a:hover { color: var(--navy); padding-left: 34px; }

.mob-sub-hdr { display: block; padding: 7px 20px; font-size: .73rem; font-weight: 700; color: var(--gold); letter-spacing: .1em; text-transform: uppercase; }
.mob-child   { padding-left: 36px !important; }

/* =============================================================================
   7. HERO / SLIDER
   ============================================================================= */
.hero-swiper        { height: 90vh; min-height: 560px; }
.hero-slide         { position: relative; display: flex; align-items: center; overflow: hidden; }
.hero-slide .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 8s ease; }
.hero-slide.swiper-slide-active .hero-img { transform: scale(1.07); }
.hero-overlay       { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(13,32,68,.88) 0%, rgba(13,32,68,.45) 60%, rgba(200,150,12,.1) 100%); }

/* Hero content — hidden by default on ALL slides */
.hero-content       { position: relative; z-index: 2; color: #fff; max-width: 700px; padding: 0 10px; }
.hero-content .hero-tag,
.hero-content .hero-h1,
.hero-content .hero-sub,
.hero-content .hero-btns {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0s, transform 0s;
}

/* Animate content IN only on the active slide */
.swiper-slide-active .hero-content .hero-tag  { opacity: 1; transform: none; transition: opacity .6s ease .15s, transform .6s ease .15s; }
.swiper-slide-active .hero-content .hero-h1   { opacity: 1; transform: none; transition: opacity .7s ease .3s,  transform .7s ease .3s; }
.swiper-slide-active .hero-content .hero-sub  { opacity: 1; transform: none; transition: opacity .7s ease .5s,  transform .7s ease .5s; }
.swiper-slide-active .hero-content .hero-btns { opacity: 1; transform: none; transition: opacity .7s ease .7s,  transform .7s ease .7s; }

.hero-tag           { background: rgba(200,150,12,.25); border: 1px solid var(--gold); color: var(--gold-lt); display: inline-block; padding: 5px 18px; border-radius: 20px; font-size: .79rem; font-weight: 700; letter-spacing: .1em; margin-bottom: 20px; }
.hero-h1            { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.2rem, 5vw, 4.4rem); font-weight: 700; line-height: 1.08; margin-bottom: 18px; }
.hero-h1 span       { color: var(--gold-lt); }
.hero-sub           { font-size: 1.05rem; margin-bottom: 32px; max-width: 520px; line-height: 1.78; }
.hero-btns          { display: flex; gap: 14px; flex-wrap: wrap; }

/* Swiper pagination dots */
.swiper-hero-pagination .swiper-pagination-bullet        { background: #fff; opacity: .45; width: 10px; height: 10px; }
.swiper-hero-pagination .swiper-pagination-bullet-active { background: var(--gold); opacity: 1; width: 28px; border-radius: 5px; }

/* Floating decorative shapes on hero slides */
.float-shape { position: absolute; border-radius: 50%; animation: floatAnim 7s ease-in-out infinite; pointer-events: none; opacity: .12; }
@keyframes floatAnim { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-24px) rotate(10deg); } }

/* =============================================================================
   8. PARALLAX SECTION
   ============================================================================= */
.parallax-section {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  color: #fff;
}
.parallax-bg {
  position: absolute;
  inset: -80px 0;          /* extra height top/bottom so parallax has room */
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
  will-change: transform;
  z-index: 0;
  transition: transform .05s linear;
}
/* Fallback for mobile — fixed-attachment doesn't work on iOS */
@media (max-width: 768px) {
  .parallax-bg {
    background-attachment: scroll;
    inset: 0;
  }
}
.parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,32,68,.87) 0%, rgba(13,32,68,.55) 50%, rgba(200,150,12,.18) 100%);
  z-index: 1;
}
.parallax-shapes { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.para-shape {
  position: absolute;
  border-radius: 50%;
  animation: floatAnim 8s ease-in-out infinite;
  opacity: .13;
}
.parallax-content { position: relative; z-index: 3; }
.parallax-h { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 5vw, 3.8rem); font-weight: 700; line-height: 1.1; margin-bottom: 18px; }
.parallax-h span { color: var(--gold-lt); }
.parallax-sub { font-size: 1.1rem; opacity: .88; max-width: 580px; margin: 0 auto 32px; line-height: 1.8; }

/* =============================================================================
   9. STATS BAND (counter row — single row with animated shapes bg)
   ============================================================================= */
.stats-band {
  position: relative;
  background: var(--navy);
  padding: 56px 0;
  overflow: hidden;
}

/* Animated background shapes inside stats band */
.stats-bg-shape {
  position: absolute;
  border-radius: 50%;
  animation: statsFloat 8s ease-in-out infinite;
  pointer-events: none;
}
.stats-bg-shape.sh1 { width: 260px; height: 260px; background: rgba(200,150,12,.07); top: -80px; left: -60px; animation-delay: 0s; }
.stats-bg-shape.sh2 { width: 180px; height: 180px; background: rgba(255,255,255,.04); top: 50%;  right: -50px; animation-delay: 2s; border-radius: 30%; }
.stats-bg-shape.sh3 { width: 120px; height: 120px; background: rgba(224,92,16,.08); bottom:-30px; left: 30%; animation-delay: 4s; }
.stats-bg-shape.sh4 { width: 80px;  height: 80px;  background: rgba(200,150,12,.1); top: 20%; right: 20%; animation-delay: 1.5s; border-radius: 20%; }
.stats-bg-shape.sh5 { width: 50px;  height: 50px;  background: rgba(255,255,255,.06); bottom: 10%; left: 15%; animation-delay: 3.5s; }
@keyframes statsFloat { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-18px) scale(1.05); } }

/* Stats row — forced single line */
.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;          /* never wrap */
  gap: 0;
  position: relative;
  z-index: 2;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 16px 10px;
  color: #fff;
  min-width: 0;
}
.stat-num  { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; color: var(--gold-lt); line-height: 1; display: inline-block; }
.stat-suf  { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; color: var(--orange); }
.stat-lbl  { font-size: clamp(.72rem, 1.5vw, .88rem); opacity: .72; margin-top: 6px; letter-spacing: .04em; }

.stat-divider { width: 1px; height: 60px; background: rgba(255,255,255,.15); flex-shrink: 0; }

/* =============================================================================
   10. BUTTONS
   ============================================================================= */
.btn-gold {
  background: linear-gradient(90deg, var(--gold), var(--orange));
  color: #fff;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  border: none;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,150,12,.42); color: #fff; }

.btn-navy {
  background: var(--navy);
  color: #fff;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  border: none;
}
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-2px); color: #fff; }

.btn-wa {
  background: #25D366;
  color: #fff;
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-wa:hover { background: #1db954; transform: translateY(-2px); color: #fff; }

.btn-outline-gold {
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 11px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  background: transparent;
}
.btn-outline-gold:hover { background: var(--gold); color: #fff; }

.btn-outline-w {
  border: 2px solid rgba(255,255,255,.65);
  color: #fff;
  padding: 11px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  background: transparent;
}
.btn-outline-w:hover { background: #fff; color: var(--navy); border-color: #fff; }

.btn-sm-pad { padding: 9px 18px !important; font-size: .84rem !important; }

/* =============================================================================
   11. SECTIONS
   ============================================================================= */
.sec       { padding: 80px 0; }
.sec-cream { background: var(--cream); }
.sec-navy  { background: var(--navy); color: #fff; }

.sec-tag {
  display: inline-block;
  background: rgba(200,150,12,.13);
  color: var(--gold);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.sec-tag-w {
  display: inline-block;
  background: rgba(255,255,255,.12);
  color: var(--gold-lt);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.sec-h     { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.9rem, 3.5vw, 2.9rem); font-weight: 700; color: var(--navy); line-height: 1.18; }
.sec-h span { color: var(--gold); }
.sec-h-w   { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.9rem, 3.5vw, 2.9rem); font-weight: 700; color: #fff; line-height: 1.18; }

.gold-rule        { width: 52px; height: 3px; background: linear-gradient(90deg, var(--gold), var(--orange)); border-radius: 2px; margin-top: 14px; }
.gold-rule.center { margin-left: auto; margin-right: auto; }

.body-text   { font-size: 1rem; color: var(--muted); line-height: 1.85; }
.body-text-w { font-size: 1rem; color: rgba(255,255,255,.8); line-height: 1.85; }

.sec-intro   { max-width: 640px; }

/* =============================================================================
   12. PAGE BANNER
   ============================================================================= */
.page-banner {
  position: relative;
  background: linear-gradient(120deg, #0d2044 0%, #163366 55%, #0d2a1a 100%);
  padding: 80px 0 62px;
  overflow: hidden;
  color: #fff;
}
.banner-shapes           { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.bshape                  { position: absolute; border-radius: 50%; animation: floatAnim 7s ease-in-out infinite; opacity: .09; }
.bshape.s1 { width: 280px; height: 280px; background: var(--gold);   top: -80px;   right: 8%;  animation-delay: 0s;   }
.bshape.s2 { width: 160px; height: 160px; background: #fff;          bottom: -50px; right: 27%; animation-delay: 2.5s; }
.bshape.s3 { width: 110px; height: 110px; background: var(--orange); top: 45%;     left: 4%;   animation-delay: 4.5s; }
.bshape.s4 { width: 70px;  height: 70px;  background: var(--gold);   bottom: 15%;  right: 14%; animation-delay: 1.5s; }

.banner-tag { background: rgba(200,150,12,.22); border: 1px solid rgba(200,150,12,.5); color: var(--gold-lt); font-size: .72rem; font-weight: 700; letter-spacing: .16em; padding: 5px 16px; border-radius: 20px; display: inline-block; text-transform: uppercase; margin-bottom: 16px; }
.banner-h1  { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: 700; line-height: 1.14; margin-bottom: 16px; }

.breadcrumbs     { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: rgba(255,255,255,.6); flex-wrap: wrap; }
.breadcrumbs a   { color: rgba(255,255,255,.6); transition: var(--transition); }
.breadcrumbs a:hover { color: var(--gold-lt); }
.bc-sep          { font-size: .65rem; color: rgba(255,255,255,.3); }
.bc-cur          { color: #fff; font-weight: 600; }

/* =============================================================================
   13. FEATURE CARDS (with image on top)
   ============================================================================= */
.card-feat {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-bottom: 4px solid var(--gold);
  transition: var(--transition);
  height: 100%;
  overflow: hidden;
}
.card-feat:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* Feature card image (replaces icon) */
.feat-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.card-feat:hover .feat-img { transform: scale(1.05); }

.feat-body  { padding: 22px 24px 26px; }
.feat-title { font-family: 'Cormorant Garamond', serif; font-size: 1.18rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.feat-text  { font-size: .85rem; color: var(--muted); line-height: 1.78; }

/* =============================================================================
   14. ACTIVITY / GENERAL CONTENT CARDS
   ============================================================================= */
.card-act {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card-act:hover           { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.card-act-img             { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .4s ease; display: block; }
.card-act:hover .card-act-img { transform: scale(1.06); }
.card-act-body            { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-act-icon            { color: var(--gold); font-size: 1.4rem; margin-bottom: 10px; }
.card-act-title           { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.card-act-text            { font-size: .85rem; color: var(--muted); line-height: 1.78; flex: 1; }
.read-link                { color: var(--gold); font-weight: 700; font-size: .82rem; display: inline-flex; align-items: center; gap: 5px; margin-top: 14px; transition: var(--transition); }
.read-link:hover          { color: var(--orange); gap: 9px; }

/* =============================================================================
   15. LEADERSHIP CARDS (with real image on top)
   ============================================================================= */
.leader-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  height: 100%;
  display: flex;           /* flex column so info stretches to fill */
  flex-direction: column;
}
/* Ensure info section fills remaining space */
.leader-info { flex: 1; }
.leader-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.leader-img {
  width: 100%;
  height: auto;            /* let aspect-ratio drive the height */
  aspect-ratio: 3 / 4;    /* portrait — shows full face on all screen widths */
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .4s ease;
}
.leader-card:hover .leader-img { transform: scale(1.04); }

.leader-info    { padding: 20px 20px 26px; }
.leader-name    { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 700; color: var(--navy); }
.leader-role    { font-size: .78rem; font-weight: 700; color: var(--gold); letter-spacing: .12em; text-transform: uppercase; margin: 5px 0 14px; }
.leader-msg     { font-size: .85rem; color: var(--muted); line-height: 1.78; font-style: italic; margin-bottom: 14px; }

/* =============================================================================
   16. IMAGE + TEXT BLOCKS
   ============================================================================= */
.img-block { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 64px; }
.img-block.rev           { direction: rtl; }
.img-block.rev > *       { direction: ltr; }
.img-block-img           { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.img-block-img img       { width: 100%; height: auto; max-height: 600px; object-fit: cover; display: block; transition: transform .4s ease; }
/* On mobile, cap the image height so it doesn't dominate small screens */
@media (max-width: 767px) {
  .img-block-img img { max-height: 320px; }
}
@media (max-width: 480px) {
  .img-block-img img { max-height: 260px; }
}
.img-block-img:hover img { transform: scale(1.04); }

/* =============================================================================
   17. IMAGE GRIDS
   ============================================================================= */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.grid-img     { width: 100%; height: 220px; object-fit: cover; border-radius: 10px; box-shadow: var(--shadow); transition: var(--transition); display: block; }
.grid-img:hover { transform: scale(1.03); box-shadow: var(--shadow-md); }
.grid-img-tall { height: auto; max-height: 340px; }
.grid-img-sm   { height: 170px; }

/* =============================================================================
   18. TOPPERS GALLERY (4-per-row, image + name below)
   ============================================================================= */
.toppers-gallery-section { padding: 80px 0; }

.topper-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}
.topper-card:hover          { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.topper-card-img            { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; display: block; transition: transform .4s ease; }
.topper-card:hover .topper-card-img { transform: scale(1.06); }
.topper-card-body           { padding: 16px; text-align: center; }
.topper-card-name           { font-family: 'Cormorant Garamond', serif; font-weight: 700; color: var(--navy); font-size: 1.05rem; margin-bottom: 2px; }
.topper-card-rank           { font-size: .78rem; font-weight: 700; color: var(--gold); letter-spacing: .08em; }
.topper-badge               { position: absolute; top: 10px; right: 10px; background: linear-gradient(90deg, var(--gold), var(--orange)); color: #fff; font-size: .68rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.topper-card-wrap           { position: relative; }

/* =============================================================================
   19. GALLERY
   ============================================================================= */
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gal-item { border-radius: 10px; overflow: hidden; position: relative; cursor: pointer; }
.gal-item:first-child { grid-column: span 2; grid-row: span 2; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; min-height: 190px; display: block; transition: transform .38s ease; }
.gal-item:hover img { transform: scale(1.07); }
.gal-overlay { position: absolute; inset: 0; background: rgba(13,32,68,0); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.6rem; transition: var(--transition); opacity: 0; }
.gal-item:hover .gal-overlay { background: rgba(13,32,68,.32); opacity: 1; }
.gal-tab-wrap { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.gal-tab { background: #fff; border: 2px solid var(--border); color: var(--navy); padding: 8px 22px; border-radius: 50px; font-weight: 600; font-size: .85rem; transition: var(--transition); }
.gal-tab:hover, .gal-tab.active { background: var(--navy); color: var(--gold-lt); border-color: var(--navy); }

/* =============================================================================
   20. TESTIMONIALS
   ============================================================================= */
.testi-card  { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); border-left: 4px solid var(--gold); height: 100%; }
.testi-stars { color: var(--gold); font-size: .9rem; margin-bottom: 12px; letter-spacing: 2px; }
.testi-text  { font-size: .95rem; color: var(--text); line-height: 1.85; font-style: italic; margin-bottom: 22px; }
.testi-ava   { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--navy-mid)); display: flex; align-items: center; justify-content: center; color: var(--gold); font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.testi-name  { font-weight: 700; color: var(--navy); font-size: .95rem; }
.testi-role  { font-size: .78rem; color: var(--muted); }

/* =============================================================================
   21. ACHIEVEMENT CARDS
   ============================================================================= */
.achieve-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius);
  padding: 32px;
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}
.achieve-card:hover    { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.achieve-card::before  { content: ''; position: absolute; top: -40px; right: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(200,150,12,.09); }
.achieve-emoji         { font-size: 2.6rem; display: block; margin-bottom: 14px; }
.achieve-badge         { position: absolute; top: 18px; right: 18px; background: var(--gold); color: #fff; font-size: .7rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.achieve-title         { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; }
.achieve-text          { font-size: .85rem; opacity: .76; line-height: 1.75; margin-bottom: 14px; }

/* =============================================================================
   22. VIDEO CARDS
   ============================================================================= */
.vid-card { border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow); transition: var(--transition); }
.vid-card:hover           { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.vid-card img             { width: 100%; height: 230px; object-fit: cover; display: block; transition: transform .4s ease; }
.vid-card:hover img       { transform: scale(1.05); }
.vid-overlay              { position: absolute; top: 0; left: 0; right: 0; height: 230px; background: rgba(13,32,68,.35); display: flex; align-items: center; justify-content: center; }
.play-btn                 { width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; color: var(--navy); font-size: 1.3rem; transition: var(--transition); }
.vid-card:hover .play-btn { background: #fff; transform: scale(1.1); }
.vid-title                { padding: 16px 20px; font-weight: 600; font-size: .9rem; color: var(--navy); background: #fff; }

/* =============================================================================
   23. CTA BAND
   ============================================================================= */
.cta-band {
  background: linear-gradient(120deg, var(--navy), var(--navy-mid));
  padding: 76px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #fff;
}
.cta-band::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(200,150,12,.07) 1px, transparent 1px); background-size: 28px 28px; }
.cta-inner        { position: relative; z-index: 1; }
.cta-h            { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 700; }
.cta-sub          { opacity: .8; font-size: 1rem; max-width: 560px; margin: 0 auto; }
.pulse-badge      { background: rgba(200,150,12,.2); border: 1px solid var(--gold); color: var(--gold-lt); padding: 5px 18px; border-radius: 20px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; display: inline-flex; align-items: center; gap: 8px; }
.pulse-dot        { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pdot 1.5s ease-in-out infinite; }
@keyframes pdot   { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.65); opacity: .35; } }

/* =============================================================================
   24. CAREER / JOB CARDS
   ============================================================================= */
.job-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; border-left: 5px solid var(--gold); height: 100%; transition: var(--transition); }
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.job-open { background: rgba(26,107,60,.12); border: 1px solid #4ade80; color: #166534; padding: 4px 12px; border-radius: 20px; font-size: .74rem; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.job-qual { background: var(--cream); border-radius: 8px; padding: 12px; font-size: .82rem; color: var(--text); }
.job-title { font-family: 'Cormorant Garamond', serif; font-weight: 700; color: var(--navy); font-size: 1.28rem; margin-bottom: 3px; }
.job-cat   { font-size: .77rem; font-weight: 700; color: var(--gold); letter-spacing: .1em; text-transform: uppercase; }
.job-desc  { font-size: .88rem; color: var(--muted); line-height: 1.78; margin-bottom: 14px; }
.job-dot   { font-size: .45rem; vertical-align: middle; }

/* =============================================================================
   25. CBSE DISCLOSURE TABLE
   ============================================================================= */
.disc-section   { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 28px; }
.disc-letter    { width: 42px; height: 42px; border-radius: var(--radius-sm); background: linear-gradient(135deg, var(--navy), var(--navy-mid)); display: flex; align-items: center; justify-content: center; color: var(--gold); font-weight: 700; font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; flex-shrink: 0; }
.disc-table     { width: 100%; border-collapse: collapse; font-size: .88rem; }
.disc-table th  { background: linear-gradient(90deg, var(--navy), var(--navy-mid)); color: #fff; padding: .9rem 1.2rem; text-align: left; font-weight: 600; font-size: .85rem; }
.disc-table td  { padding: .8rem 1.2rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.disc-table tbody tr:hover      { background: rgba(200,150,12,.04); }
.disc-table tbody tr:last-child td { border-bottom: none; }
.badge-active   { background: rgba(26,107,60,.14); border: 1px solid #4ade80; color: #166534; padding: 3px 12px; border-radius: 20px; font-size: .79rem; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.badge-pending  { background: rgba(200,150,12,.12); color: var(--gold); padding: 3px 10px; border-radius: 20px; font-size: .78rem; font-weight: 600; }
.view-btn       { background: linear-gradient(90deg, var(--gold), var(--orange)); color: #fff; padding: 5px 14px; border-radius: 20px; font-size: .77rem; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; transition: var(--transition); }
.view-btn:hover { opacity: .85; color: #fff; }

/* =============================================================================
   26. MISSION / VISION HOVER EFFECT
   ============================================================================= */
.mv-block {
  border-radius: var(--radius);
  padding: 48px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
}

/* Navy variant */
.mv-block-navy {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: #fff;
}
.mv-block-navy:hover {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.mv-block-navy h2,
.mv-block-navy .mv-icon { transition: color var(--transition); }
.mv-block-navy:hover h2 { color: #fff; }

/* Cream variant */
.mv-block-cream {
  background: var(--cream);
  border: 2px solid var(--border);
}
.mv-block-cream:hover {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-color: var(--navy);
  color: #fff;
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.mv-block-cream:hover h2 { color: var(--gold-lt); }
.mv-block-cream:hover .body-text { color: rgba(255,255,255,.82); }
.mv-block-cream:hover .info-box { background: rgba(255,255,255,.08); }
.mv-block-cream:hover .info-box p { color: var(--gold-lt); }

.mv-icon {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  transition: var(--transition);
}
.mv-block-navy .mv-icon  { background: rgba(200,150,12,.2); border: 2px solid var(--gold); color: var(--gold); }
.mv-block-cream .mv-icon { background: linear-gradient(135deg, var(--gold), var(--orange)); color: #fff; }
.mv-block-navy:hover .mv-icon  { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.5); }
.mv-block-cream:hover .mv-icon { background: rgba(200,150,12,.25); border: 2px solid var(--gold); color: var(--gold-lt); }

/* =============================================================================
   27. FORMS
   ============================================================================= */
.form-control, .form-select {
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: .94rem;
  transition: var(--transition);
  font-family: inherit;
  width: 100%;
}
.form-control:focus, .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,150,12,.12); outline: none; }
textarea.form-control { min-height: 130px; resize: vertical; }
.form-label { font-weight: 600; font-size: .87rem; color: var(--navy); margin-bottom: 6px; display: block; }

.form-dark {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  padding: 12px 16px;
  color: #fff;
  font-size: .9rem;
  font-family: inherit;
  width: 100%;
  transition: var(--transition);
}
.form-dark:focus { border-color: var(--gold); outline: none; background: rgba(255,255,255,.15); }
.form-dark::placeholder { color: rgba(255,255,255,.5); }

/* =============================================================================
   28. SITE FOOTER
   ============================================================================= */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.72);
  padding: 70px 0 0;
}

/* Logo image in footer */
.ft-logo-img { height: 60px; width: auto; border-radius: 8px; display: block; }

.ft-about   { font-size: .85rem; line-height: 1.78; margin: 14px 0; }

/* Social row in footer */
.ft-social   { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; margin-bottom: 16px; }
.ft-social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; font-size: .85rem; color: rgba(255,255,255,.7); transition: var(--transition); }
.ft-social a:hover { background: var(--gold); color: #fff; transform: scale(1.1); }

/* Affiliation box */
.ft-aff-box  { background: rgba(255,255,255,.06); border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); }
.ft-aff-num  { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 700; color: var(--gold-lt); }
.ft-aff-lbl  { font-size: .72rem; color: rgba(255,255,255,.5); letter-spacing: .06em; padding-bottom: 8px; }
.ft-col-div  { border-right: 1px solid rgba(255,255,255,.1); }

/* Footer headings */
.ft-h { font-family: 'Cormorant Garamond', serif; font-size: 1.12rem; font-weight: 700; color: #fff; margin-bottom: 20px; padding-bottom: 8px; border-bottom: 2px solid var(--gold); display: inline-block; }

/* Footer links */
.ft-links li { margin-bottom: 8px; }
.ft-links a  { font-size: .84rem; color: rgba(255,255,255,.62); transition: var(--transition); display: flex; align-items: center; gap: 7px; }
.ft-links a i      { color: var(--gold); font-size: .7rem; flex-shrink: 0; }
.ft-links a:hover  { color: #fff; padding-left: 4px; }

/* Contact info rows */
.ft-ci       { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; font-size: .85rem; color: rgba(255,255,255,.72); }
.ft-ci a     { color: rgba(255,255,255,.72); transition: var(--transition); }
.ft-ci a:hover { color: var(--gold-lt); }
.ft-ci-icon  { width: 36px; height: 36px; background: rgba(255,255,255,.08); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: .85rem; flex-shrink: 0; margin-top: 1px; }

/* Footer address */
.ft-address  { font-style: normal; }

/* Footer bottom bar */
.ft-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 54px;
  padding: 18px 0;
  font-size: .79rem;
  color: rgba(255,255,255,.42);
}
.ft-bottom a { color: var(--gold); font-weight: 600; }
.ft-bottom a:hover { color: var(--gold-lt); }

/* =============================================================================
   29. STICKY BUTTONS
   ============================================================================= */
/* WhatsApp sticky button */
.sticky-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 22px rgba(37,211,102,.55);
  transition: var(--transition);
}
.sticky-wa:hover { transform: scale(1.12); color: #fff; }

/* Floating social sidebar: 4 platforms */
.sticky-social {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sticky-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .88rem;
  color: #fff;
  transition: var(--transition);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.sticky-social a:hover { width: 46px; }
.ss-yt  { background: #ff0000; }
.ss-ig  { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.ss-fb  { background: #1877f2; }
.ss-tw  { background: #000000; }

/* =============================================================================
   30. INFO BOXES
   ============================================================================= */
.info-box       { background: var(--cream); border-radius: var(--radius); padding: 24px; border-left: 4px solid var(--gold); transition: var(--transition); }
.info-box-navy  { background: linear-gradient(135deg, var(--navy), var(--navy-mid)); border-radius: var(--radius); padding: 28px; color: #fff; }
.map-wrap       { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.text-gold      { color: var(--gold) !important; }
.text-navy      { color: var(--navy) !important; }
.rounded-img-lg { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); display: block; }
.rounded-img-xl { width: 100%; height: auto; max-height: 420px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); display: block; }

/* List check */
.list-check-ul   { list-style: none; padding: 0; }
.list-check-item { padding: 10px 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; font-size: .92rem; }
.list-check-item:last-child { border-bottom: none; }
.list-check-item i { color: var(--gold); font-size: 1rem; flex-shrink: 0; }

/* =============================================================================
   31. MODAL
   ============================================================================= */
.modal-content    { border-radius: 18px; overflow: hidden; border: none; }

/* Modal top with image */
.modal-top        { position: relative; overflow: hidden; color: #fff; min-height: 200px; display: flex; align-items: flex-end; }
.modal-top-img    { position: absolute; inset: 0; width: 100%; height: 100%; /* object-fit: cover; */ }
/* .modal-top-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,32,68,.95) 0%, rgba(13,32,68,.5) 100%); } */
/* .modal-top-content { position: relative; z-index: 2; padding: 32px 32px 28px; width: 100%; } */

.modal-close-btn  { position: absolute; top: 14px; right: 14px; background: rgba(0,0,0,.4); border: none; color: #fff; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .9rem; cursor: pointer; transition: var(--transition); z-index: 3; }
.modal-close-btn:hover { background: rgba(0,0,0,.7); }

.modal-bottom     { padding: 28px; }
.modal-link       { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 10px; background: var(--cream); border: 1px solid var(--border); color: var(--navy); font-weight: 600; font-size: .9rem; margin-bottom: 10px; transition: var(--transition); }
.modal-link:hover { background: var(--navy); color: #fff; }
.modal-link i     { color: var(--gold); width: 20px; }
.modal-link:hover i { color: var(--gold-lt); }

/* =============================================================================
   32. CAREER / ALUMNI / BLOG / CONTACT / LEGAL / SITEMAP / ADMISSIONS / DOWNLOADS
   ============================================================================= */

/* Career apply steps */
.how-apply-title  { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 700; color: var(--gold-lt); margin-bottom: 20px; }
.apply-step       { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.apply-step-num   { width: 36px; height: 36px; border-radius: 50%; background: rgba(200,150,12,.2); border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--gold); flex-shrink: 0; }
.apply-step-title { font-weight: 700; margin-bottom: 4px; color: #fff; }
.apply-step-desc  { font-size: .85rem; opacity: .78; line-height: 1.65; margin: 0; }

/* Alumni cards */
.alumni-card      { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; text-align: center; border-top: 4px solid var(--gold); height: 100%; transition: var(--transition); }
.alumni-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.alumni-avatar    { width: 86px; height: 86px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--navy-mid)); display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 2.1rem; font-weight: 700; color: var(--gold); margin: 0 auto 14px; border: 3px solid var(--gold); }
.alumni-name      { font-family: 'Cormorant Garamond', serif; font-weight: 700; color: var(--navy); font-size: 1.15rem; margin-bottom: 2px; }
.alumni-role      { font-size: .8rem; font-weight: 700; color: var(--gold); letter-spacing: .06em; margin-bottom: 2px; }
.alumni-batch     { font-size: .74rem; color: var(--muted); margin-bottom: 14px; }
.alumni-quote     { font-size: .84rem; color: var(--muted); line-height: 1.72; font-style: italic; }

/* Blog cards */
.blog-card             { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; display: flex; flex-direction: column; transition: var(--transition); }
.blog-card:hover       { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card-img-wrap    { position: relative; overflow: hidden; }
.blog-card-img         { width: 100%; height: 210px; object-fit: cover; display: block; transition: transform .4s ease; }
.blog-card:hover .blog-card-img { transform: scale(1.06); }
.blog-cat-badge        { position: absolute; top: 14px; left: 14px; background: var(--gold); color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 12px; border-radius: 20px; }
.blog-card-body        { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-title       { font-family: 'Cormorant Garamond', serif; font-weight: 700; color: var(--navy); font-size: 1.1rem; margin-bottom: 10px; flex: 1; }
.blog-card-text        { font-size: .84rem; color: var(--muted); line-height: 1.75; margin-bottom: 14px; }
.blog-card-meta        { display: flex; gap: 14px; font-size: .74rem; color: var(--muted); margin-bottom: 8px; }
.blog-card-meta span   { display: flex; align-items: center; gap: 5px; }

/* Contact */
.contact-form-wrap   { background: var(--cream); border-radius: var(--radius); padding: 40px; border: 1px solid var(--border); }
.contact-form-title  { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 700; color: var(--navy); margin-bottom: 24px; }
.contact-info-item   { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.contact-info-icon   { width: 48px; height: 48px; background: linear-gradient(135deg, var(--navy), var(--navy-mid)); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 1.1rem; flex-shrink: 0; }
.contact-info-icon-wa { background: #25D366 !important; color: #fff !important; }
.contact-info-label  { font-weight: 700; color: var(--navy); margin-bottom: 4px; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-info-val    { font-size: .9rem; color: var(--muted); line-height: 1.7; }
.contact-info-val a  { color: var(--muted); transition: var(--transition); }
.contact-info-val a:hover { color: var(--gold); }

/* Admissions */
.admission-info-box { background: #fff; border-radius: 10px; padding: 16px; border-left: 3px solid var(--gold); box-shadow: var(--shadow); }
.admission-info-num { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 700; color: var(--navy); }
.admission-info-lbl { font-size: .74rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }
.step-card { background: #fff; border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); border-bottom: 4px solid var(--gold); height: 100%; position: relative; transition: var(--transition); }
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.step-num  { position: absolute; top: 20px; right: 20px; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--orange)); color: #fff; font-weight: 700; font-size: .85rem; display: flex; align-items: center; justify-content: center; }
.step-icon { width: 54px; height: 54px; background: linear-gradient(135deg, var(--navy), var(--navy-mid)); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 1.4rem; margin-bottom: 18px; }
.step-title { font-family: 'Cormorant Garamond', serif; font-weight: 700; color: var(--navy); font-size: 1.15rem; margin-bottom: 10px; }
.step-text  { font-size: .85rem; color: var(--muted); line-height: 1.78; }
.doc-item   { display: flex; align-items: center; gap: 12px; background: var(--cream); border-radius: 10px; padding: 14px 16px; border-left: 3px solid var(--gold); font-size: .88rem; font-weight: 500; }
.doc-icon   { width: 32px; height: 32px; background: linear-gradient(135deg, var(--navy), var(--navy-mid)); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: .8rem; flex-shrink: 0; }

/* Feedback form */
.feedback-form-wrap { background: var(--cream); border-radius: var(--radius); padding: 40px; border: 1px solid var(--border); }

/* Legal pages */
.legal-intro          { margin-bottom: 40px; }
.legal-effective-date { background: var(--cream); border: 1px solid var(--border); border-radius: 8px; padding: 12px 18px; font-size: .88rem; margin-top: 20px; display: inline-block; }
.legal-section        { display: flex; gap: 20px; align-items: flex-start; padding: 28px 0; border-bottom: 1px solid var(--border); }
.legal-section:last-of-type { border-bottom: none; }
.legal-section-num    { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--navy), var(--navy-mid)); color: var(--gold); font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.legal-section-body   { flex: 1; }
.legal-section-title  { font-family: 'Cormorant Garamond', serif; font-weight: 700; color: var(--navy); font-size: 1.2rem; margin-bottom: 10px; }
.legal-contact-box    { background: var(--cream); border-radius: var(--radius); padding: 32px; border: 2px solid var(--border); margin-top: 40px; }
.legal-contact-title  { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.legal-contact-box a  { color: var(--muted); transition: var(--transition); }
.legal-contact-box a:hover { color: var(--gold); }

/* Sitemap */
.sitemap-section        { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; height: 100%; border-top: 4px solid var(--gold); }
.sitemap-section-header { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.sitemap-section-icon   { width: 44px; height: 44px; background: linear-gradient(135deg, var(--navy), var(--navy-mid)); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 1.1rem; flex-shrink: 0; }
.sitemap-section-title  { font-family: 'Cormorant Garamond', serif; font-weight: 700; color: var(--navy); font-size: 1.2rem; margin: 0; }
.sitemap-list           { list-style: none; padding: 0; margin: 0; }
.sitemap-item           { border-bottom: 1px solid var(--border); }
.sitemap-item:last-child { border-bottom: none; }
.sitemap-link           { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; color: var(--navy); transition: var(--transition); }
.sitemap-link:hover     { color: var(--gold); }
.sitemap-arrow          { color: var(--gold); font-size: .65rem; margin-top: 5px; flex-shrink: 0; }
.sitemap-link-title     { font-weight: 600; font-size: .9rem; }
.sitemap-link-desc      { font-size: .78rem; color: var(--muted); margin-top: 1px; }
.quick-link-box         { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: #fff; border-radius: 12px; padding: 20px 10px; box-shadow: var(--shadow); border-bottom: 3px solid var(--gold); color: var(--navy); font-weight: 600; font-size: .84rem; transition: var(--transition); text-align: center; }
.quick-link-box i       { font-size: 1.5rem; color: var(--gold); }
.quick-link-box:hover   { background: var(--navy); color: var(--gold-lt); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.quick-link-box:hover i { color: var(--gold-lt); }

/* Downloads table */
.dl-table        { width: 100%; border-collapse: collapse; font-size: .9rem; }
.dl-table th     { background: linear-gradient(90deg, var(--navy), var(--navy-mid)); color: #fff; padding: 1rem 1.2rem; text-align: left; font-weight: 600; }
.dl-table td     { padding: .85rem 1.2rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.dl-table tr:hover td { background: rgba(200,150,12,.04); }
.dl-table tr:last-child td { border-bottom: none; }
.dl-btn          { background: linear-gradient(90deg, var(--gold), var(--orange)); color: #fff; padding: 6px 16px; border-radius: 20px; font-size: .8rem; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; transition: var(--transition); }
.dl-btn:hover    { opacity: .87; color: #fff; transform: scale(1.04); }
.dl-badge-free   { background: rgba(26,107,60,.12); color: #166534; border: 1px solid #4ade80; padding: 2px 10px; border-radius: 20px; font-size: .74rem; font-weight: 700; }
.dl-badge-req    { background: rgba(200,150,12,.12); color: var(--gold); border: 1px solid var(--gold); padding: 2px 10px; border-radius: 20px; font-size: .74rem; font-weight: 700; }

/* Leader page message layout */
.leader-page-img { width: 100%; max-width: 240px; border-radius: var(--radius); box-shadow: var(--shadow-md); display: block; margin: 0 auto; border: 5px solid var(--gold); }

/* Tag chip */
.tag-chip { display: inline-block; background: rgba(200,150,12,.12); color: var(--gold); font-size: .73rem; font-weight: 700; padding: 3px 12px; border-radius: 20px; }

/* =============================================================================
   33. SCROLL REVEAL ANIMATIONS
   ============================================================================= */
.sr        { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.sr.vis    { opacity: 1; transform: none; }
.sr-left   { opacity: 0; transform: translateX(-28px); transition: opacity .65s ease, transform .65s ease; }
.sr-left.vis  { opacity: 1; transform: none; }
.sr-right  { opacity: 0; transform: translateX(28px); transition: opacity .65s ease, transform .65s ease; }
.sr-right.vis { opacity: 1; transform: none; }

/* =============================================================================
   34. RESPONSIVE BREAKPOINTS
   ============================================================================= */

/* Large screens (1200px and below) */
@media (max-width: 1199px) {
  .img-block { grid-template-columns: 1fr; gap: 28px; }
  .img-block.rev { direction: ltr; }
  /* img-block-img height handled per breakpoint above */
  .gal-grid { grid-template-columns: repeat(3, 1fr); }
  .gal-item:first-child { grid-column: span 1; grid-row: span 1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Tablets (991px and below) */
@media (max-width: 991px) {
  .sec { padding: 60px 0; }
  .hero-swiper { height: 75vh; min-height: 460px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .stat-divider { display: none; }
  .stat-item { padding: 12px 8px; }
}

/* Mobile landscape / small tablets (767px and below) */
@media (max-width: 767px) {
  .sec { padding: 50px 0; }
  .hero-swiper { height: 65vh; min-height: 380px; }
  .hero-h1 { font-size: 1.8rem; }
  .hero-sub { font-size: .95rem; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .hero-btns .btn-gold,
  .hero-btns .btn-outline-w { width: 100%; justify-content: center; }

  /* Stats: allow 2x2 grid on mobile */
  .stats-row { flex-wrap: wrap; }
  .stat-item { flex: 0 0 50%; }
  .stat-num  { font-size: 2rem; }

  /* Gallery */
  .gal-grid  { grid-template-columns: 1fr 1fr; }
  .grid-3    { grid-template-columns: 1fr 1fr; }
  .grid-2    { grid-template-columns: 1fr 1fr; }

  /* Page banner */
  .page-banner { padding: 60px 0 44px; }
  .banner-h1   { font-size: 1.8rem; }

  /* CTA band */
  .cta-band { padding: 52px 0; }
  .cta-band .d-flex { flex-direction: column; align-items: center; }
  .cta-band .btn-gold,
  .cta-band .btn-outline-w,
  .cta-band .btn-wa { width: 100%; max-width: 300px; justify-content: center; }

  /* Footer: center align on mobile */
  .site-footer .col-lg-3,
  .site-footer .col-lg-2,
  .site-footer .col-lg-3,
  .site-footer .col-lg-4 { text-align: center; }
  .ft-ci { justify-content: center; }
  .ft-social { justify-content: center; }
  .ft-links a { justify-content: center; }
  .ft-aff-box { max-width: 280px; margin: 16px auto 0; }
  .ft-logo-img { margin: 0 auto; }
  .ft-h { display: block; text-align: center; }

  /* Hide floating social sidebar on mobile */
  .sticky-social { display: none; }

  /* WhatsApp sticky — smaller on mobile */
  .sticky-wa { width: 48px; height: 48px; font-size: 1.3rem; bottom: 20px; right: 16px; }

  /* Nav center on mobile */
  .nav-inner { padding: 8px 0; }
  .ft-bottom { font-size: .72rem; line-height: 1.8; }
}

/* Extra small (480px and below) */
@media (max-width: 480px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .gal-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { flex: 0 0 50%; }

  .sec-h    { font-size: 1.7rem; }
  .banner-h1 { font-size: 1.6rem; }

  .leader-img { aspect-ratio: 3 / 4; } /* maintain portrait ratio on small screens */
  .feat-img   { aspect-ratio: 4 / 3; }   /* scale naturally, no fixed crop */
  .card-act-img { aspect-ratio: 16 / 10; } /* scale naturally on small phones */

  /* Stack topper grid */
  .topper-gallery-grid { grid-template-columns: 1fr 1fr; }
}

/* Print styles */
@media print {
  .topbar, .navbar-main, .mob-menu, .mob-overlay,
  .sticky-wa, .sticky-social, .cta-band { display: none !important; }
  .site-footer { background: #fff; color: #000; }
  a { color: #000; }
}

/* ===== TOPPERS SCROLL SECTION ===== */
.toppers-scroll-wrap {
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) #eee;
}
.toppers-scroll-wrap::-webkit-scrollbar { height: 5px; }
.toppers-scroll-wrap::-webkit-scrollbar-track { background: #eee; border-radius: 10px; }
.toppers-scroll-wrap::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 10px; }

.toppers-scroll-track {
  display: flex;
  gap: 20px;
  padding: 8px 4px 4px;
  width: max-content;
}

.topper-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  flex-shrink: 0;
}

.topper-scroll-card {
  width: 200px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(13,32,68,.09);
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
  cursor: pointer;
}
.topper-scroll-card:hover { transform: translateY(-8px); box-shadow: 0 14px 40px rgba(13,32,68,.18); }
.topper-scroll-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .4s ease;
}
.topper-scroll-card:hover img { transform: scale(1.06); }
.topper-scroll-info {
  padding: 14px 14px 16px;
  text-align: center;
}
.topper-scroll-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.topper-scroll-rank {
  font-size: .75rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .05em;
  margin-bottom: 3px;
}
.topper-scroll-school {
  font-size: .74rem;
  color: var(--muted);
}

/* Badge on card */
.topper-scroll-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  z-index: 2;
}
.topper-scroll-badge.jee   { background: var(--navy); color: #fff; }
.topper-scroll-badge.neet  { background: #28a745; color: #fff; }
.topper-scroll-badge.nda   { background: #c0392b; color: #fff; }
.topper-scroll-badge.board { background: var(--gold); color: #fff; }

/* Filter tabs */
.topper-tab {
  padding: 8px 22px;
  border-radius: 30px;
  border: 2px solid var(--border);
  background: #fff;
  color: var(--navy);
  font-size: .84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s ease;
}
.topper-tab:hover, .topper-tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* Nav arrow buttons */
.topper-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: #fff;
  color: var(--gold);
  font-size: 1rem;
  cursor: pointer;
  transition: all .25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.topper-nav-btn:hover { background: var(--gold); color: #fff; }

/* Hidden topper cards during filter */
.topper-card-link.hidden { display: none; }
/* ===== END TOPPERS SCROLL ===== */

/* =============================================================================
   TOPPERS IMAGE CARD GRID (index.html — Meet Our CBSE Toppers)
   ============================================================================= */

.topper-img-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform .32s ease, box-shadow .32s ease;
  cursor: pointer;
}
.topper-img-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

/* Image wrapper — no gradient */
.topper-img-wrap {
  position: relative;
  overflow: hidden;
}
.topper-img-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;      /* portrait — matches vertical student photos */
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .45s ease;
}
.topper-img-card:hover .topper-img-wrap img {
  transform: scale(1.07);
}

/* Category badge pill — top-left on image */
.topper-img-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .09em;
  z-index: 2;
}
.cbse-badge-pill   { background: var(--gold); color: #fff; }
.jee-badge-pill    { background: var(--navy); color: #fff; }
.neet-badge-pill   { background: #1a6b3c;     color: #fff; }
.nda-badge-pill    { background: #b91c1c;     color: #fff; }
.sainik-badge-pill { background: #7c3aed;     color: #fff; }

/* Info area below image */
.topper-img-info {
  padding: 16px 18px 20px;
  border-top: 3px solid var(--gold);
  background: #fff;
}
.topper-img-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.topper-img-rank {
  font-size: .75rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .06em;
  margin-bottom: 3px;
}
.topper-img-cat {
  font-size: .74rem;
  color: var(--muted);
}

/* Filter grid hidden state */
.topper-grid-item.hidden { display: none !important; }

/* ── Responsive: portrait ratio maintained on all screen sizes ── */
@media (max-width: 575px) {
  .topper-img-wrap img { aspect-ratio: 3 / 4; }
}

/* =============================================================================
   ACHIEVER CARDS (jee / neet / nda / sainik pages)
   ============================================================================= */
.achiever-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .32s ease, box-shadow .32s ease;
}
.achiever-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.achiever-img-wrap {
  position: relative;
  overflow: hidden;
}
.achiever-img-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;      /* portrait — matches vertical student photos */
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .42s ease;
}
.achiever-card:hover .achiever-img-wrap img {
  transform: scale(1.06);
}
.achiever-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 2;
}
.achiever-body {
  padding: 16px 18px 20px;
  border-top: 3px solid var(--gold);
  text-align: center;
}
.achiever-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.achiever-rank {
  font-size: .74rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .06em;
  margin-bottom: 3px;
}
.achiever-college {
  font-size: .73rem;
  color: var(--muted);
}
@media (max-width: 575px) {
  .achiever-img-wrap img { aspect-ratio: 3 / 4; }
}

/* =============================================================================
   ACTIVITY GALLERY CARDS (activity1.html and similar pages)
   ============================================================================= */
.act-gallery-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: zoom-in;
  transition: transform .3s ease, box-shadow .3s ease;
}
.act-gallery-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-lg);
}
.act-gallery-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform .42s ease;
}
.act-gallery-card:hover img {
  transform: scale(1.06);
}
.act-gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(13,32,68,.85) 0%, transparent 100%);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  padding: 28px 12px 10px;
  text-align: center;
  letter-spacing: .04em;
  transform: translateY(100%);
  transition: transform .3s ease;
}
.act-gallery-card:hover .act-gallery-caption {
  transform: translateY(0);
}
@media (max-width: 575px) {
  .act-gallery-card img { height: 170px; }
}
