/* ============================================================
   SARHAD SCHOOL CBSE — MASTER STYLESHEET v3.0
   Premium · Inter + Poppins · Mobile-First · Performance-Optimised
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --navy:        #1a3a6c;
  --navy-dark:   #0f2347;
  --navy-deeper: #091a35;
  --gold:        #e8831a;
  --gold-light:  #f5a623;
  --gold-pale:   #fff8ee;
  --white:       #ffffff;
  --light:       #f8f9fc;
  --light-2:     #eef1f7;
  --text:        #1e2a3a;
  --muted:       #64748b;
  --border:      #e2e8f0;
  --shadow-sm:   0 2px 8px rgba(26,58,108,0.07);
  --shadow:      0 4px 24px rgba(26,58,108,0.11);
  --shadow-lg:   0 8px 40px rgba(26,58,108,0.17);
  --shadow-xl:   0 20px 60px rgba(26,58,108,0.22);
  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --transition:  all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body:   'Inter', sans-serif;
  --font-head:   'Poppins', sans-serif;
  --font-main:   'Poppins', sans-serif; /* legacy alias */
  --grad-navy:   linear-gradient(135deg,#0f2347 0%,#1a3a6c 60%,#2a5298 100%);
  --grad-gold:   linear-gradient(135deg,#e8831a,#f5a623);
  --header-h:    148px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  margin-top: var(--header-h);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.site-header .school-name h1,
.main-navbar,
.section-heading h2,
.page-hero h1,
.carousel-caption-custom h2 {
  font-family: var(--font-head);
}

/* ============================================================
   PAGE PRELOADER
   ============================================================ */
#sarhad-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--grad-navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
#sarhad-preloader.pl-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Logo ring */
.pl-ring {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 28px;
}
.pl-ring::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--gold);
  border-right-color: var(--gold-light);
  animation: pl-spin 1.1s linear infinite;
}
.pl-ring::after {
  content: '';
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 2px solid rgba(232,131,26,0.2);
}
@keyframes pl-spin {
  to { transform: rotate(360deg); }
}
.pl-logo-wrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pl-pulse 2s ease-in-out infinite;
}
@keyframes pl-pulse {
  0%, 100% { transform: scale(1);   box-shadow: 0 0 0 0 rgba(232,131,26,0.35); }
  50%       { transform: scale(1.04); box-shadow: 0 0 0 18px rgba(232,131,26,0); }
}
.pl-logo-wrap img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.35));
}

/* School name */
.pl-name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.12em;
  text-align: center;
  line-height: 1.2;
  text-transform: uppercase;
}
.pl-sub {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.22em;
  text-align: center;
  margin-top: 5px;
  text-transform: uppercase;
}

/* Gold dots */
.pl-dots {
  display: flex;
  gap: 7px;
  margin-top: 32px;
}
.pl-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: pl-bounce 1.3s ease-in-out infinite;
}
.pl-dots span:nth-child(2) { animation-delay: 0.2s; background: var(--gold-light); }
.pl-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes pl-bounce {
  0%, 80%, 100% { transform: translateY(0);    opacity: 0.55; }
  40%           { transform: translateY(-10px); opacity: 1;    }
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 50px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* Selection */
::selection { background: var(--gold); color: var(--white); }
::-moz-selection { background: var(--gold); color: var(--white); }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); transition: var(--transition); text-decoration: none; }
a:hover { color: var(--gold); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-right.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   TOP INFO BAR
   ============================================================ */
.top-info-bar {
  background: #1c2230;
  color: rgba(255,255,255,0.78);
  font-family: var(--font-body);
  font-size: 0.74rem;
  padding: 5px 0;
  letter-spacing: 0.02em;
  transition: var(--transition);
}
.top-info-bar a { color: rgba(255,255,255,0.78); }
.top-info-bar a:hover { color: var(--gold-light); }
.top-info-bar .divider { margin: 0 8px; opacity: 0.28; }
.top-info-bar span { display: inline-flex; align-items: center; gap: 4px; }

/* ============================================================
   STICKY HEADER WRAPPER
   ============================================================ */
.sticky-top-wrap {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1030;
  box-shadow: 0 2px 20px rgba(0,0,0,0.12);
  transition: box-shadow 0.3s ease;
}
.sticky-top-wrap.scrolled .top-info-bar { display: none !important; }
.sticky-top-wrap.scrolled { box-shadow: 0 6px 32px rgba(0,0,0,0.18); }
.sticky-top-wrap.scrolled .site-header { padding: 5px 0; }
.sticky-top-wrap.scrolled .site-header .logo-wrap img { height: 50px; }
.sticky-top-wrap.scrolled .site-header .school-name h1 { font-size: 1.05rem; }
.sticky-top-wrap.scrolled .site-header .affil-info { display: none; }

/* ============================================================
   MAIN HEADER
   ============================================================ */
.site-header {
  background: var(--white);
  padding: 10px 0;
  border-bottom: 3px solid var(--gold);
  transition: padding 0.3s ease;
}
.site-header .logo-wrap { display: flex; align-items: center; gap: 14px; }
.site-header .logo-wrap img { height: 72px; width: auto; transition: height 0.3s ease; }
.site-header .school-name { font-family: var(--font-head); line-height: 1.25; }
.site-header .school-name h1 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.04em;
  margin: 0;
  transition: font-size 0.3s ease;
}
.site-header .school-name p {
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 2px 0;
  font-family: var(--font-body);
}
.site-header .affil-info {
  font-size: 0.66rem;
  color: var(--muted);
  font-weight: 500;
  font-family: var(--font-body);
  transition: var(--transition);
}

.header-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.header-actions .btn {
  font-size: 0.74rem;
  padding: 7px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0.03em;
  transition: var(--transition);
}
.btn-navy { background: var(--navy); color: var(--white) !important; border: 2px solid var(--navy); }
.btn-navy:hover { background: var(--navy-dark); border-color: var(--navy-dark); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-gold { background: var(--grad-gold); background: var(--gold); color: var(--white) !important; border: 2px solid var(--gold); }
.btn-gold:hover { background: #d4741a; border-color: #d4741a; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(232,131,26,0.4); }

/* ============================================================
   NAVBAR
   ============================================================ */
.main-navbar {
  background: var(--grad-navy) !important;
  padding: 0;
}
.main-navbar .navbar-brand { display: none; font-family: var(--font-head); }
.main-navbar .nav-link {
  font-family: var(--font-head);
  color: rgba(255,255,255,0.88) !important;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 14px 11px !important;
  letter-spacing: 0.03em;
  transition: var(--transition);
  position: relative;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active-page {
  color: var(--gold-light) !important;
}
.main-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 3px;
  background: var(--grad-gold);
  transform: translateX(-50%);
  transition: width 0.3s ease;
  border-radius: 2px 2px 0 0;
}
.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active-page::after { width: 68%; }

.main-navbar .dropdown-menu {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  min-width: 230px;
  border-left: 4px solid var(--gold);
  animation: dropIn 0.22s ease;
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.main-navbar .dropdown-item {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  padding: 9px 20px;
  transition: var(--transition);
  display: flex; align-items: center; gap: 8px;
}
.main-navbar .dropdown-item::before {
  content: '›';
  color: var(--gold);
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}
.main-navbar .dropdown-item:hover {
  background: var(--gold-pale);
  color: var(--navy);
  padding-left: 26px;
}
.main-navbar .dropdown-header {
  font-family: var(--font-head);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 10px 20px 4px;
}
.main-navbar .dropdown-divider { border-color: var(--border); margin: 4px 0; }

/* Mobile nav */
@media (max-width: 991px) {
  .main-navbar .navbar-brand { display: block; font-size: 0.9rem; padding: 12px 0; }
  .main-navbar .navbar-toggler { padding: 8px 10px; }
  .main-navbar .dropdown-menu { box-shadow: none; border-radius: 0; border-left: 3px solid var(--gold); border-top: none; margin-left: 12px; animation: none; }
  .main-navbar .nav-link { padding: 10px 16px !important; }
  .main-navbar .nav-link::after { display: none; }
}

/* ============================================================
   PAGE HERO BANNER (inner pages)
   ============================================================ */
.page-hero {
  background: var(--grad-navy);
  padding: 56px 0 48px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(232,131,26,0.08);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  pointer-events: none;
}
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  margin: 0;
  position: relative;
}
.page-hero .breadcrumb { background: transparent; padding: 0; margin: 12px 0 0; position: relative; }
.page-hero .breadcrumb-item { font-size: 0.82rem; color: rgba(255,255,255,0.65); font-family: var(--font-body); }
.page-hero .breadcrumb-item a { color: var(--gold-light); }
.page-hero .breadcrumb-item.active { color: rgba(255,255,255,0.9); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.35); }

.gold-bar { width: 60px; height: 4px; background: var(--grad-gold); margin: 14px 0 0; border-radius: 2px; }

/* ============================================================
   HOME HERO CAROUSEL
   ============================================================ */
.hero-carousel { position: relative; width: 100%; overflow: hidden; }
.hero-carousel .carousel-item img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  object-position: center;
  filter: brightness(1);
  transition: transform 8s ease;
}
.hero-carousel .carousel-item.active img { transform: scale(1.04); }

.carousel-caption-custom {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: linear-gradient(105deg, rgba(9,26,53,0.84) 0%, rgba(9,26,53,0.3) 60%, transparent 100%);
  padding: 0 80px;
}
.carousel-caption-custom .tag-hero {
  display: inline-block;
  background: var(--grad-gold);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 50px;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(232,131,26,0.35);
}
.carousel-caption-custom h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4.5vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
  line-height: 1.18;
  max-width: 680px;
}
.carousel-caption-custom p {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.6vw, 1.1rem);
  color: rgba(255,255,255,0.88);
  margin-top: 14px;
  max-width: 520px;
  line-height: 1.65;
}
.carousel-caption-custom .btn-hero {
  margin-top: 28px;
  background: var(--grad-gold);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 13px 36px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(232,131,26,0.4);
}
.carousel-caption-custom .btn-hero::after {
  content: '→';
  font-size: 1rem;
  transition: transform 0.3s ease;
}
.carousel-caption-custom .btn-hero:hover {
  background: linear-gradient(135deg,#f5a623,#e8831a);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(232,131,26,0.55);
}
.carousel-caption-custom .btn-hero:hover::after { transform: translateX(4px); }

/* Carousel indicators — pill shaped */
.hero-carousel .carousel-indicators { bottom: 28px; gap: 6px; }
.hero-carousel .carousel-indicators [data-bs-target] {
  width: 24px; height: 5px;
  border-radius: 50px;
  background: rgba(255,255,255,0.45);
  border: none;
  transition: var(--transition);
}
.hero-carousel .carousel-indicators .active {
  background: var(--gold);
  width: 44px;
}

/* Carousel controls — glassmorphism circles */
.carousel-control-prev, .carousel-control-next { width: 54px; opacity: 1; }
.carousel-control-prev-icon, .carousel-control-next-icon {
  width: 46px; height: 46px;
  background-color: rgba(9,26,53,0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  background-size: 18px;
  transition: var(--transition);
}
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  background-color: var(--gold);
  border-color: var(--gold);
}

/* ============================================================
   NEWS TICKER
   ============================================================ */
.news-ticker {
  background: var(--gold);
  color: var(--white);
  padding: 9px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.ticker-label {
  background: var(--navy-deeper);
  color: var(--white);
  padding: 5px 22px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%);
  padding-right: 34px;
}
.ticker-content { flex: 1; overflow: hidden; white-space: nowrap; padding-left: 16px; }
.ticker-track {
  display: inline-block;
  animation: ticker 28s linear infinite;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.ticker-track span { margin-right: 70px; }
.news-ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker {
  0%   { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* ============================================================
   SECTION UTILITIES
   ============================================================ */
.section-heading { text-align: center; margin-bottom: 54px; }
.section-heading .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-pale);
  padding: 5px 18px;
  border-radius: 50px;
  margin-bottom: 14px;
  border: 1px solid rgba(232,131,26,0.25);
}
.section-heading h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
}
.section-heading .underline {
  width: 64px; height: 4px;
  background: var(--grad-gold);
  border-radius: 2px;
  margin: 16px auto 0;
}
.section-heading p {
  margin-top: 16px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.96rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.78;
}

/* Inline tag */
.tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-pale);
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
  border: 1px solid rgba(232,131,26,0.22);
}

/* Filter buttons (gallery/news/achievements) */
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 20px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
  background: var(--grad-navy);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
/* Dot-grid pattern */
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  pointer-events: none;
}
.stat-card {
  text-align: center;
  color: var(--white);
  padding: 28px 20px;
  position: relative;
}
.stat-card + .stat-card::before {
  content: '';
  position: absolute;
  left: 0; top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.1);
}
/* Gold-ringed icon circles */
.stat-card .stat-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(232,131,26,0.12);
  border: 2.5px solid rgba(232,131,26,0.35);
  outline: 4px solid rgba(232,131,26,0.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.85rem;
  color: var(--gold-light);
  transition: var(--transition);
}
.stat-card:hover .stat-icon {
  background: var(--grad-gold);
  border-color: var(--gold);
  outline-color: rgba(232,131,26,0.2);
  color: var(--white);
  transform: scale(1.1);
}
.stat-card .stat-number {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-card .stat-label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { padding: 96px 0; }
.about-img-wrap { position: relative; }
/* Diagonal image frame */
.about-img-wrap::before {
  content: '';
  position: absolute;
  top: -18px; left: -18px;
  right: 18px; bottom: 18px;
  border: 3px solid var(--gold);
  border-radius: var(--radius);
  opacity: 0.28;
  z-index: 0;
  transform: rotate(-1deg);
}
.about-section .about-img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  width: 100%;
  height: 420px;
}
/* Gold accent badge */
.about-section .about-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  z-index: 2;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: var(--grad-gold);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  color: var(--white);
  box-shadow: 0 8px 28px rgba(232,131,26,0.4);
}
.about-section .about-badge .num { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; line-height: 1; }
.about-section .about-badge .lbl { font-family: var(--font-body); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.3; margin-top: 4px; }

.about-section h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.28;
  margin-bottom: 16px;
}
.about-section .gold-bar { margin: 0 0 22px; }
.about-section p { font-family: var(--font-body); color: var(--muted); line-height: 1.9; font-size: 0.94rem; }

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.about-feature:hover { background: var(--light); }
.about-feature .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--grad-navy);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.05rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(26,58,108,0.25);
}
.about-feature .text strong { font-family: var(--font-head); font-size: 0.88rem; color: var(--navy); font-weight: 700; }
.about-feature .text span { font-family: var(--font-body); font-size: 0.81rem; color: var(--muted); display: block; margin-top: 2px; line-height: 1.5; }

/* ============================================================
   TOPPERS SECTION
   ============================================================ */
/* ── TOPPERS SECTION ── */
.toppers-section { padding: 96px 0; background: var(--grad-navy); position: relative; overflow: hidden; }
.toppers-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(232,131,26,0.06);
  pointer-events: none;
}
.toppers-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  pointer-events: none;
}
/* Override section-heading for dark bg */
.toppers-section .section-heading .tag { background: rgba(255,255,255,0.1); color: var(--gold-light); border-color: rgba(255,255,255,0.15); }
.toppers-section .section-heading h2 { color: var(--white); }
.toppers-section .section-heading p  { color: rgba(255,255,255,0.65); }
.toppers-section .section-heading .underline { background: var(--grad-gold); }

/* Topper Card — premium portrait card */
.topper-card {
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
  transition: var(--transition);
  background: var(--white);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
}
.topper-card:hover { transform: translateY(-10px); box-shadow: 0 20px 60px rgba(0,0,0,0.38); }

/* Large photo area — fills top 60% */
.topper-card-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--light-2);
}
.topper-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}
.topper-card:hover .topper-card-photo img { transform: scale(1.06); }

/* Gradient overlay at bottom of photo */
.topper-card-photo::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(15,35,71,0.85) 0%, transparent 100%);
  pointer-events: none;
}

/* Rank medal — positioned over photo bottom-left */
.rank-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.8rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  z-index: 2;
  border: 3px solid rgba(255,255,255,0.9);
}
.rank-1 { background: linear-gradient(135deg, #FFD700, #f5c518); color: #6b4900; }
.rank-2 { background: linear-gradient(135deg, #C0C0C0, #e8e8e8); color: #3a3a3a; }
.rank-3 { background: linear-gradient(135deg, #CD7F32, #e8a04a); color: var(--white); }

/* Score chip over photo — bottom right */
.topper-card-score-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: var(--grad-gold);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(232,131,26,0.45);
  z-index: 2;
  letter-spacing: 0.02em;
}

/* Info area below photo */
.topper-card-info {
  padding: 20px 20px 22px;
  background: var(--white);
  flex: 1;
}
.topper-card-info .name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.2;
}
.topper-card-info .desc {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Gold/Silver/Bronze accent line at very top */
.topper-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  z-index: 3;
}
.topper-card.rank-gold::before   { background: linear-gradient(90deg, #FFD700, #f5c518); }
.topper-card.rank-silver::before { background: linear-gradient(90deg, #B8B8B8, #d4d4d4); }
.topper-card.rank-bronze::before { background: linear-gradient(90deg, #CD7F32, #d4a04a); }
.topper-card.rank-other::before  { background: var(--grad-navy); }

/* ============================================================
   ACADEMICS SECTION
   ============================================================ */
.academics-section { padding: 96px 0; }
.academic-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  background: var(--white);
  border: none;
  height: 100%;
}
.academic-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.academic-card .card-header-custom {
  color: var(--white);
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 190px;
  background-size: cover !important;
  background-position: center !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
/* dark scrim so text is always readable */
.academic-card .card-header-custom::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  filter: brightness(0.45) saturate(1.2);
  z-index: 0;
}
/* brand-colour tint on top */
.academic-card .card-header-custom::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.55;
  z-index: 1;
  /* colour set per-card via inline style via JS trick — we let ::before handle it */
  mix-blend-mode: multiply;
}
.academic-card .card-header-custom .acad-header-inner {
  position: relative;
  z-index: 2;
  padding: 20px 22px 18px;
}
.academic-card .card-header-custom .icon-bg {
  position: absolute;
  top: 14px; right: 18px;
  font-size: 3rem;
  opacity: 0.22;
  z-index: 2;
}
.academic-card .card-header-custom h3 {
  font-family: var(--font-head);
  font-size: 1.12rem; font-weight: 800; margin: 0 0 3px; position: relative;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.academic-card .card-header-custom span {
  font-family: var(--font-body);
  font-size: 0.75rem; opacity: 0.9; position: relative;
  letter-spacing: 0.03em;
}
.academic-card .card-header-custom .acad-tag {
  display: inline-block;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(255,255,255,0.2); border-radius: 20px; padding: 3px 10px;
  margin-bottom: 8px;
}
.academic-card .card-body { padding: 24px; }
.academic-card .card-body p { font-family: var(--font-body); font-size: 0.87rem; color: var(--muted); line-height: 1.78; }
.academic-card .card-body .learn-link {
  font-family: var(--font-body);
  font-size: 0.82rem; font-weight: 700; color: var(--navy);
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px;
  padding: 7px 18px;
  border: 2px solid var(--border);
  border-radius: 50px;
  transition: var(--transition);
}
.academic-card .card-body .learn-link:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  gap: 10px;
}

/* ============================================================
   FACILITIES CARDS
   ============================================================ */
.facilities-section { padding: 96px 0; background: var(--light); }
.facility-card {
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  background: var(--white);
  text-align: center;
  padding: 36px 18px;
  border-top: 4px solid transparent;
  height: 100%;
}
.facility-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--gold);
}
/* Icon circle with navy gradient on hover */
.facility-card .icon-wrap {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--light-2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--navy);
  transition: var(--transition);
}
.facility-card:hover .icon-wrap {
  background: var(--grad-navy);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(26,58,108,0.3);
}
/* Count in gold */
.facility-card .count { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--gold); line-height: 1; }
.facility-card .label { font-family: var(--font-head); font-size: 0.88rem; font-weight: 700; color: var(--navy); margin-top: 4px; }
.facility-card .desc { font-family: var(--font-body); font-size: 0.78rem; color: var(--muted); margin-top: 8px; line-height: 1.58; }

/* ============================================================
   WHY SARHAD
   ============================================================ */
.why-section { padding: 96px 0; }
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
/* Left bar accent on hover */
.why-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 4px; height: 0;
  background: var(--grad-gold);
  transition: height 0.4s ease;
  border-radius: 0 2px 2px 0;
}
.why-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: transparent; }
.why-card:hover::before { height: 100%; }
/* Icon box square-rounded */
.why-card .icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--light-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 20px;
  transition: var(--transition);
}
.why-card:hover .icon {
  background: var(--grad-gold);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(232,131,26,0.35);
}
.why-card h4 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.why-card p { font-family: var(--font-body); font-size: 0.84rem; color: var(--muted); line-height: 1.8; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { padding: 96px 0; background: var(--light); }
.testimonial-card {
  border: none;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 36px 30px 30px;
  text-align: left;
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}
/* Large quote mark watermark */
.testimonial-card::before {
  content: '\201C';
  font-size: 9rem;
  color: var(--gold);
  line-height: 0.75;
  position: absolute;
  top: 14px; left: 18px;
  font-family: Georgia, serif;
  opacity: 0.1;
  pointer-events: none;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
/* Star rating in gold */
.testimonial-card .stars { color: var(--gold); font-size: 0.88rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card p {
  font-family: var(--font-body);
  font-size: 0.88rem; color: var(--muted); line-height: 1.88;
  font-style: italic; margin-bottom: 24px; padding-top: 10px;
}
/* Reviewer row at bottom */
.testimonial-card .reviewer {
  display: flex; align-items: center; gap: 14px;
  border-top: 1px solid var(--border); padding-top: 18px;
}
.testimonial-card .reviewer img {
  width: 50px; height: 50px;
  border-radius: 50%; object-fit: cover;
  border: 3px solid var(--gold-pale);
  outline: 2px solid var(--gold);
}
.testimonial-card .reviewer strong { font-family: var(--font-head); font-size: 0.88rem; color: var(--navy); display: block; font-weight: 700; }
.testimonial-card .reviewer span { font-family: var(--font-body); font-size: 0.74rem; color: var(--muted); }

/* ============================================================
   TESTIMONIAL SLIDER
   ============================================================ */
.testi-slider-wrap {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 54px;
}
.testi-slider { position: relative; overflow: hidden; min-height: 280px; }
.testi-slide {
  display: none;
  animation: testiFadeIn .5s ease;
}
.testi-slide.active { display: block; }
@keyframes testiFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.testi-inner {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 48px 56px 40px;
  text-align: center;
  position: relative;
  border-top: 4px solid var(--gold);
}
.testi-quote {
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 10px;
  opacity: .85;
}
.testi-quote .bi { display: block; }
.testi-stars { color: var(--gold); font-size: 1rem; letter-spacing: 3px; margin-bottom: 18px; }
.testi-text {
  font-family: var(--font-body);
  font-size: 1.04rem;
  color: var(--muted);
  line-height: 1.9;
  font-style: italic;
  margin-bottom: 30px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.testi-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding-top: 22px;
}
.testi-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 3px var(--gold-pale);
}
.testi-meta { text-align: left; }
.testi-meta strong { display: block; font-family: var(--font-head); font-size: .95rem; color: var(--navy); font-weight: 700; }
.testi-meta span   { font-family: var(--font-body); font-size: .78rem; color: var(--muted); }

/* Arrows */
.testi-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--white);
  color: var(--navy);
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
  box-shadow: var(--shadow);
}
.testi-arrow:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }
.testi-prev { left: 0; }
.testi-next { right: 0; }

/* Dots */
.testi-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.testi-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: background .25s, transform .25s;
  padding: 0;
}
.testi-dot.active { background: var(--gold); transform: scale(1.3); }

@media (max-width: 767px) {
  .testi-slider-wrap { padding: 0 42px; }
  .testi-inner { padding: 36px 24px 30px; }
  .testi-text { font-size: .92rem; }
  .testi-arrow { width: 36px; height: 36px; font-size: .9rem; }
}

/* ============================================================
   ACHIEVEMENTS
   ============================================================ */
.achievements-section { padding: 96px 0; }
.achievement-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border);
}
.achievement-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.achievement-card img { width: 100%; border-radius: var(--radius-sm); object-fit: contain; max-height: 140px; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--grad-navy);
  padding: 96px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
/* Decorative blob circles */
.cta-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: rgba(232,131,26,0.07);
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  pointer-events: none;
}
.cta-section h2 {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  position: relative;
}
.cta-section p { font-family: var(--font-body); color: rgba(255,255,255,0.72); font-size: 1rem; margin-top: 14px; position: relative; }
.cta-section .cta-btns { position: relative; margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Gold primary CTA button */
.btn-cta {
  background: var(--grad-gold);
  color: var(--white) !important;
  border: none;
  border-radius: 50px;
  padding: 14px 44px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.04em;
  transition: var(--transition);
  display: inline-block;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(232,131,26,0.42);
}
.btn-cta:hover { background: linear-gradient(135deg,#f5a623,#e8831a); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(232,131,26,0.55); }

/* Outline secondary CTA */
.btn-outline-cta {
  background: transparent;
  color: var(--white) !important;
  border: 2px solid rgba(255,255,255,0.38);
  border-radius: 50px;
  padding: 12px 40px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.04em;
  transition: var(--transition);
  display: inline-block;
  text-decoration: none;
}
.btn-outline-cta:hover { border-color: var(--white); background: rgba(255,255,255,0.1); transform: translateY(-3px); }

/* ============================================================
   GALLERY PREVIEW
   ============================================================ */
.gallery-section { padding: 96px 0; background: var(--light); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9,26,53,0.78) 0%, rgba(9,26,53,0.18) 50%, transparent 100%);
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay i {
  font-size: 1.4rem;
  color: var(--white);
  background: rgba(232,131,26,0.88);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   ABOUT US — LEADERSHIP & INNER PAGES
   ============================================================ */

/* ── Sub-navigation (switch between leadership pages) ── */
.leaders-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  padding: 18px 22px;
  background: var(--light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  align-items: center;
}
.leaders-subnav-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 6px;
  white-space: nowrap;
}
.leaders-subnav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 50px;
  border: 2px solid transparent;
  background: var(--white);
  color: var(--muted);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.leaders-subnav a:hover {
  color: var(--navy);
  border-color: var(--navy);
  background: var(--white);
  transform: translateY(-1px);
}
.leaders-subnav a.active {
  background: var(--grad-navy);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(26,58,108,0.28);
}

/* ── Leader Profile Card ── */
.leader-card {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.leader-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-width: 300px;
  margin: 0 auto;
  background: var(--light-2);
  box-shadow: 0 8px 32px rgba(26,58,108,0.18), 0 0 0 4px var(--white), 0 0 0 7px var(--gold);
}
.leader-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}
.leader-photo-frame:hover img { transform: scale(1.03); }
/* Subtle gold corner accent */
.leader-photo-frame::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to bottom, transparent 55%, rgba(26,58,108,0.55) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Name badge below photo */
.leader-badge {
  margin: 18px auto 0;
  max-width: 300px;
  background: var(--grad-navy);
  border-radius: var(--radius);
  padding: 14px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}
.leader-badge-name {
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.leader-badge-title {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--gold-light);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

/* Values / pillars list below badge */
.leader-values {
  margin-top: 20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.leader-values-title {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.leader-values-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--grad-gold);
  border-radius: 2px;
}
.leader-values ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.leader-values ul li {
  font-size: 0.83rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 9px;
  line-height: 1.4;
}
.leader-values ul li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad-gold);
  flex-shrink: 0;
}

/* ── Leader Quote Block ── */
.leader-quote {
  position: relative;
  background: linear-gradient(135deg, rgba(26,58,108,0.05) 0%, rgba(232,131,26,0.04) 100%);
  border-radius: var(--radius);
  padding: 28px 32px 28px 52px;
  margin: 24px 0 28px;
  border-left: 4px solid var(--gold);
}
.leader-quote::before {
  content: '\201C';
  position: absolute;
  top: 8px;
  left: 14px;
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.5;
  pointer-events: none;
}
.leader-quote p {
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 600;
  font-style: italic;
  color: var(--navy);
  line-height: 1.75;
  margin: 0;
}

/* ── Signature block ── */
.leader-sig {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 18px;
}
.leader-sig-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--gold);
  box-shadow: var(--shadow-sm);
}
.leader-sig-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.leader-sig-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}
.leader-sig-role {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}
.leader-sig-role span {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  margin: 0 7px 1px;
  vertical-align: middle;
}

/* ── About page CTA strip ── */
.about-cta-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ── History — Timeline ── */
.school-timeline {
  position: relative;
  padding: 8px 0;
}
.school-timeline::before {
  content: '';
  position: absolute;
  left: 26px;
  top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--gold), var(--navy));
  border-radius: 2px;
}
.timeline-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 32px;
  position: relative;
}
.timeline-dot {
  flex-shrink: 0;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--grad-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gold-light);
  box-shadow: 0 0 0 4px var(--white), 0 0 0 7px rgba(26,58,108,0.18);
  z-index: 1;
}
.timeline-body {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  flex: 1;
  border-left: 3px solid var(--gold);
}
.timeline-body h5 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.timeline-body p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}

/* ── Vision / Mission cards ── */
.vm-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 36px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  border-bottom: 4px solid transparent;
}
.vm-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.vm-card-navy { border-bottom-color: var(--navy); }
.vm-card-gold  { border-bottom-color: var(--gold); }
.vm-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.vm-icon-navy { background: rgba(26,58,108,0.09); color: var(--navy); }
.vm-icon-gold  { background: rgba(232,131,26,0.1);  color: var(--gold); }
.vm-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
}
.vm-card p, .vm-card li {
  font-family: var(--font-body);
  color: var(--muted);
  line-height: 1.85;
  font-size: 0.9rem;
}
.vm-card ul { padding-left: 18px; margin: 0; }
.vm-card ul li { margin-bottom: 6px; }

/* ── Prayers & Pledge ── */
.prayer-card {
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  height: 100%;
}
.prayer-card-dark  { background: var(--grad-navy); color: var(--white); }
.prayer-card-light {
  background: var(--white);
  border: 2px solid var(--gold);
  color: var(--text);
}
.prayer-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}
.prayer-card-dark .prayer-icon  { background: rgba(255,255,255,0.1); color: var(--gold-light); }
.prayer-card-light .prayer-icon { background: rgba(26,58,108,0.08); color: var(--navy); }
.prayer-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 22px;
}
.prayer-card-dark h3  { color: var(--gold-light); }
.prayer-card-light h3 { color: var(--navy); }
.prayer-card p {
  font-family: var(--font-body);
  font-size: 0.93rem;
  line-height: 2.1;
  text-align: center;
  font-style: italic;
}
.prayer-card-dark p  { color: rgba(255,255,255,0.88); }
.prayer-card-light p { color: var(--text); }
.assembly-step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  border-bottom: 3px solid var(--gold);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.assembly-step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.assembly-step i { font-size: 1.6rem; margin-bottom: 10px; display: block; }
.assembly-step span { font-size: 0.82rem; font-weight: 600; color: var(--navy); }

/* ── Responsive tweaks for About pages ── */
@media (max-width: 991px) {
  .leader-card { position: static; }
  .leader-photo-frame { max-width: 240px; }
}
@media (max-width: 767px) {
  .leaders-subnav { gap: 6px; }
  .leaders-subnav a { font-size: 0.75rem; padding: 6px 14px; }
  .leader-quote { padding: 22px 20px 22px 42px; }
  .leader-quote::before { font-size: 3rem; top: 5px; left: 10px; }
  .leader-sig { flex-direction: column; align-items: flex-start; gap: 12px; }
  .school-timeline::before { left: 22px; }
  .timeline-dot { width: 46px; height: 46px; font-size: 0.7rem; }
}

/* ============================================================
   CONTENT SECTIONS (Inner Pages)
   ============================================================ */
.content-section { padding: 72px 0; }
.content-section .section-title {
  font-family: var(--font-head);
  font-size: 1.4rem; font-weight: 800; color: var(--navy);
  padding-bottom: 14px;
  border-bottom: 3px solid var(--gold);
  margin-bottom: 24px;
}
.content-section p { font-family: var(--font-body); color: var(--muted); line-height: 1.9; font-size: 0.94rem; }
.content-section ul li {
  font-family: var(--font-body);
  color: var(--muted);
  line-height: 1.9;
  font-size: 0.94rem;
  margin-bottom: 8px;
}
.content-section ul li strong { color: var(--navy); }
.info-box {
  background: rgba(26,58,108,0.04);
  border-left: 4px solid var(--navy);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}
.info-box p { margin: 0; font-family: var(--font-body); color: var(--muted); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section { padding: 72px 0; }
.contact-info-card {
  background: var(--grad-navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 34px;
  height: 100%;
}
.contact-info-card h3 { font-family: var(--font-head); font-size: 1.25rem; font-weight: 800; color: var(--gold-light); margin-bottom: 30px; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-info-item .ci-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(232,131,26,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-item .ci-text strong {
  font-family: var(--font-head);
  font-size: 0.72rem; font-weight: 700; color: rgba(255,255,255,0.48);
  text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 4px;
}
.contact-info-item .ci-text a, .contact-info-item .ci-text p {
  font-family: var(--font-body);
  color: rgba(255,255,255,0.88); font-size: 0.9rem; text-decoration: none; margin: 0;
}
.contact-info-item .ci-text a:hover { color: var(--gold-light); }
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 34px;
  box-shadow: var(--shadow);
}
.contact-form-card h3 { font-family: var(--font-head); font-size: 1.25rem; font-weight: 800; color: var(--navy); margin-bottom: 28px; }
.contact-form-card .form-control,
.contact-form-card .form-select {
  font-family: var(--font-body);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  font-size: 0.88rem;
  transition: var(--transition);
}
.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26,58,108,0.08); }
.contact-form-card label { font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; display: block; }
.contact-form-card textarea { min-height: 130px; resize: none; }
.btn-submit {
  background: var(--grad-navy);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 13px 40px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  width: 100%;
  transition: var(--transition);
  cursor: pointer;
}
.btn-submit:hover { background: var(--grad-gold); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,131,26,0.35); }

/* ============================================================
   CAREERS PAGE
   ============================================================ */
.careers-section { padding: 72px 0; }
.career-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  margin-bottom: 20px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--navy);
}
.career-card:hover { box-shadow: var(--shadow-lg); border-left-color: var(--gold); transform: translateX(4px); }
.career-card h4 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--navy); }
.career-card .meta { display: flex; gap: 16px; flex-wrap: wrap; margin: 10px 0; }
.career-card .meta span { font-family: var(--font-body); font-size: 0.78rem; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.career-form-card { background: var(--light); border-radius: var(--radius-lg); padding: 40px; }
.career-form-card h3 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; color: var(--navy); margin-bottom: 24px; }
.career-form-card .form-control, .career-form-card .form-select {
  font-family: var(--font-body);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.87rem;
  transition: var(--transition);
}
.career-form-card .form-control:focus, .career-form-card .form-select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,58,108,0.08);
}
.career-form-card label { font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; color: var(--navy); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #16202e;
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(232,131,26,0.04);
  pointer-events: none;
}
.footer-brand img { height: 68px; }
.footer-brand p { font-family: var(--font-body); font-size: 0.84rem; color: rgba(255,255,255,0.52); margin-top: 16px; line-height: 1.78; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--white); transform: translateY(-4px) scale(1.08); }

/* Warm gold headings */
.footer-heading {
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links li a {
  font-family: var(--font-body);
  color: rgba(255,255,255,0.54);
  font-size: 0.84rem;
  transition: var(--transition);
  display: flex; align-items: center; gap: 8px;
}
.footer-links li a::before { content: '›'; color: var(--gold); font-size: 1.05rem; }
.footer-links li a:hover { color: var(--white); padding-left: 5px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.footer-contact-item .icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(232,131,26,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.footer-contact-item p { font-family: var(--font-body); font-size: 0.82rem; color: rgba(255,255,255,0.58); margin: 0; line-height: 1.62; }
.footer-contact-item a { color: rgba(255,255,255,0.58); text-decoration: none; }
.footer-contact-item a:hover { color: var(--gold-light); }
.footer-map { height: 185px; border-radius: var(--radius); overflow: hidden; }
.footer-map iframe { width: 100%; height: 185px; border: 0; border-radius: var(--radius); filter: grayscale(40%) brightness(0.8); }
#footerMapPlaceholder:hover span:last-child { background: var(--gold-light) !important; }
.footer-bottom {
  background: rgba(0,0,0,0.28);
  margin-top: 48px;
  padding: 16px 0;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.38);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-bottom a { color: var(--gold-light); }

/* ============================================================
   BUTTONS & UTILITIES
   ============================================================ */
/* Pill shape buttons */
.btn-primary-custom {
  background: var(--grad-navy);
  color: var(--white) !important;
  border: none;
  border-radius: 50px;
  padding: 11px 30px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
  box-shadow: 0 3px 12px rgba(26,58,108,0.25);
}
.btn-primary-custom:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,58,108,0.38); }
.btn-secondary-custom {
  background: var(--grad-gold);
  color: var(--white) !important;
  border: none;
  border-radius: 50px;
  padding: 11px 30px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
  box-shadow: 0 3px 12px rgba(232,131,26,0.3);
}
.btn-secondary-custom:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,131,26,0.48); }

.text-navy { color: var(--navy); }
.text-gold { color: var(--gold); }
.bg-navy { background: var(--navy); }
.bg-gold { background: var(--gold); }

/* Admin badge classes */
.admin-badge { display: inline-flex; align-items: center; font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 50px; }
.badge-active  { background: rgba(22,163,74,0.12);  color: #16a34a; }
.badge-hidden  { background: rgba(100,116,139,0.12); color: #64748b; }
.badge-new     { background: rgba(124,58,237,0.12);  color: #7c3aed; }
.badge-pending { background: rgba(234,179,8,0.12);   color: #ca8a04; }

/* ============================================================
   SCROLL-TO-TOP BUTTON
   ============================================================ */
#scrollToTop {
  position: fixed;
  bottom: 90px; right: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(26,58,108,0.35);
  opacity: 0;
  transform: translateY(16px);
  transition: var(--transition);
  z-index: 999;
}
#scrollToTop.visible { opacity: 1; transform: none; }
#scrollToTop:hover { background: var(--gold); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(232,131,26,0.42); }

/* ============================================================
   FLOATING WHATSAPP BUTTON — pulse animation
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 54px; height: 54px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.45);
  z-index: 999;
  transition: var(--transition);
  animation: pulse-wa 2.5s ease-in-out infinite;
}
.whatsapp-float svg { width: 28px; height: 28px; }
.whatsapp-float:hover { transform: scale(1.12); box-shadow: 0 10px 28px rgba(37,211,102,0.58); animation: none; }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 6px 36px rgba(37,211,102,0.72), 0 0 0 8px rgba(37,211,102,0.1); }
}

/* ============================================================
   BANNER (inner page hero bg)
   ============================================================ */
.banner {
  position: relative;
  background-image: url('../images/bg1.jpeg');
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(9,26,53,0.7);
  z-index: 1;
}
.banner .container { position: relative; z-index: 2; }
.rules li { list-style-type: square; margin-bottom: 14px; font-weight: 500; font-size: 1rem; }

/* ============================================================
   RESPONSIVE — clamp() driven, 1400px → 360px
   ============================================================ */
@media (max-width: 1400px) {
  .main-navbar .nav-link { font-size: 0.8rem; padding: 14px 9px !important; }
}

@media (max-width: 1200px) {
  .main-navbar .nav-link { font-size: 0.78rem; padding: 14px 7px !important; }
}

@media (max-width: 992px) {
  :root { --header-h: 128px; }
  .hero-carousel .carousel-item img { height: 45vh; }
  .carousel-caption-custom { padding: 0 40px; }
  .carousel-caption-custom h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-section .about-badge { width: 90px; height: 90px; bottom: -14px; right: -10px; }
  .about-section .about-badge .num { font-size: 1.3rem; }
}

@media (max-width: 768px) {
  :root { --header-h: 116px; }
  .site-header .school-name h1 { font-size: clamp(1rem, 3vw, 1.2rem); }
  .hero-carousel .carousel-item img { height: 38vh; }
  .carousel-caption-custom { padding: 0 24px; }
  .carousel-caption-custom h2 { font-size: clamp(1.4rem, 4vw, 1.8rem); }
  .carousel-caption-custom p { display: none; }
  .section-heading h2 { font-size: clamp(1.4rem, 4vw, 1.75rem); }
  .about-section { padding: 64px 0; }
  .about-section .about-img { height: 260px; }
  .about-section .about-badge { display: none; }
  .about-img-wrap::before { display: none; }
  .toppers-section, .academics-section, .facilities-section,
  .why-section, .testimonials-section, .achievements-section,
  .gallery-section, .cta-section { padding: 72px 0; }
  .contact-info-card, .contact-form-card { margin-bottom: 24px; }
}

@media (max-width: 575px) {
  :root { --header-h: 108px; }
  .top-info-bar { display: none !important; }
  .hero-carousel .carousel-item img { height: 42vh; }
  .carousel-caption-custom { padding: 0 18px; }
  .carousel-caption-custom .tag-hero { display: none; }
  .carousel-caption-custom h2 { font-size: clamp(1.2rem, 5vw, 1.5rem); }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ticker-label { padding: 5px 16px 5px 20px; }
  .stat-card + .stat-card::before { display: none; }
  .whatsapp-float { width: 48px; height: 48px; bottom: 18px; right: 18px; }
  #scrollToTop { bottom: 80px; right: 18px; }
  .section-heading { margin-bottom: 36px; }
  .stats-section { padding: 52px 0; }
}

@media (max-width: 400px) {
  :root { --header-h: 100px; }
  .site-header .logo-wrap img { height: 48px; }
  .site-header .school-name h1 { font-size: 0.92rem; }
  .site-header .school-name p { font-size: 0.62rem; }
  .hero-carousel .carousel-item img { height: 38vh; }
}

@media (max-width: 360px) {
  .carousel-caption-custom h2 { font-size: 1.1rem; }
  .btn-cta { padding: 11px 28px; font-size: 0.88rem; }
}

/* ══ Facility Photo Cards ══════════════════════════════════════ */
.fac-photo-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: #e2e8f0;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.fac-photo-card:hover { transform: scale(1.03); box-shadow: var(--shadow-lg); }
.fac-photo-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.fac-photo-card:hover img { transform: scale(1.07); }
.fac-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(26,58,108,0.88) 0%, transparent 100%);
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 28px 10px 10px;
  text-align: center;
  letter-spacing: 0.01em;
  transition: opacity 0.25s;
}
.fac-photo-card:hover .fac-caption { opacity: 1; }

/* ══ Staff Table ════════════════════════════════════════════════ */
.staff-table { border-collapse: separate; border-spacing: 0; }
.staff-table thead th { font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; }

/* ══ Notebook Card hover (inline in page, also here) ═══════════ */
.notebook-card { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }

/* ══ Jana Gana Mana — Indian Flag + Lyrics ═════════════════════ */
.jana-gana-wrap {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  background: linear-gradient(135deg,#fff9f0 0%,#f0f4ff 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow);
}
@media (max-width:768px) {
  .jana-gana-wrap { flex-direction: column; align-items: center; padding: 28px 20px; gap: 28px; }
}

/* ── Indian Flag ─────────────────────────────────────────── */
.india-flag-col { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.india-flag {
  width: 150px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(0,0,0,0.22), 0 0 0 3px rgba(0,0,128,0.15);
}
.flag-saffron { height: 50px; background: #FF9933; }
.flag-white   { height: 50px; background: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.flag-green   { height: 50px; background: #138808; }
.chakra { width: 44px; height: 44px; }
.flag-label {
  text-align: center;
  display: flex; flex-direction: column; gap: 4px;
}
.flag-label span:first-child { font-size: 2rem; }
.flag-label strong { font-size: 0.82rem; font-weight: 700; color: var(--navy); }
.flag-label span:last-child { font-size: 0.78rem; color: var(--muted); }

/* ── Lyrics ──────────────────────────────────────────────── */
.jana-lyrics-col { flex: 1; min-width: 0; }
.jana-header { margin-bottom: 24px; }
.jana-header h3 {
  font-family: var(--font-head);
  font-size: 1.8rem; font-weight: 800; color: var(--navy);
  margin: 10px 0 4px; letter-spacing: 0.02em;
}
.jana-sub { font-size: 0.78rem; color: var(--muted); margin: 0; }

.jana-stanzas { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
@media (max-width: 600px) { .jana-stanzas { grid-template-columns: 1fr; } }

.jana-stanza {
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
}
.jana-hindi {
  background: linear-gradient(135deg,rgba(255,153,51,0.08),rgba(255,153,51,0.04));
  border: 1px solid rgba(255,153,51,0.3);
  border-left: 4px solid #FF9933;
}
.jana-roman {
  background: linear-gradient(135deg,rgba(0,0,128,0.06),rgba(0,0,128,0.02));
  border: 1px solid rgba(0,0,128,0.15);
  border-left: 4px solid #000080;
}
.jana-lang-tag {
  font-size: 0.64rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--muted); margin-bottom: 12px;
}
.jana-stanza p {
  font-size: 0.88rem; line-height: 2; margin: 0; color: #2d3748;
}
.jana-hindi p { font-size: 1rem; line-height: 2.1; }
.jana-jai { color: var(--navy); font-weight: 800; display: block; margin-top: 6px; }
.jana-hindi .jana-jai { color: #b35900; }

.jana-meaning {
  background: rgba(26,58,108,0.05);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.75;
  font-style: italic;
}

/* ============================================================
   MANDATORY PUBLIC DISCLOSURE — MPD PAGE STYLES v3.5
   ============================================================ */

/* Section wrapper */
.mpd-section { border-radius: 14px; overflow: hidden; box-shadow: 0 2px 16px rgba(26,58,108,.07); }

/* Section header */
.mpd-section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--navy);
  color: #fff;
  padding: 18px 24px;
}
.mpd-section-head h4 { font-size: 1.05rem; font-weight: 700; color: #fff; }
.mpd-section-letter {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 1.1rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.mpd-section-body { background: #fff; }

/* ── Document Cards ── */
.mpd-doc-card {
  background: #fff;
  border: 1.5px solid #ede9e0;
  border-radius: 12px;
  padding: 22px 14px 18px;
  text-align: center;
  height: 100%;
  display: flex; flex-direction: column; align-items: center;
  transition: box-shadow .2s, transform .2s;
}
.mpd-doc-card:hover {
  box-shadow: 0 6px 24px rgba(26,58,108,.13);
  transform: translateY(-3px);
}
.mpd-doc-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.mpd-doc-icon i { font-size: 1.8rem; color: var(--gold); }
.mpd-doc-label {
  font-size: 0.85rem; font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  flex-grow: 1;
  margin-bottom: 14px;
}
.mpd-doc-btn {
  display: inline-flex; align-items: center;
  background: var(--navy); color: #fff;
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 0.82rem; font-weight: 600;
  text-decoration: none;
  transition: background .2s, transform .15s;
  border: none;
}
.mpd-doc-btn:hover { background: var(--gold); color: #fff; transform: scale(1.04); }

/* ── Board Results ── */
.mpd-result-block {
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid #ede9e0;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.mpd-result-head {
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  font-weight: 700; font-size: 0.95rem;
}
.mpd-result-thead th {
  background: var(--gold); color: #fff;
  font-weight: 700; font-size: 0.83rem;
  border: none;
}
.mpd-result-block .table tbody tr:hover { background: #faf8f4; }
.mpd-pct-badge {
  padding: 4px 10px; border-radius: 50px;
  font-size: 0.82rem; font-weight: 700;
}
.mpd-pct-100  { background: #dcfce7; color: #15803d; }
.mpd-pct-high { background: #dbeafe; color: #1d4ed8; }
.mpd-pct-good { background: #fef9c3; color: #a16207; }

/* ── Infrastructure Cards ── */
.mpd-infra-card {
  display: flex; align-items: center; gap: 14px;
  background: #fff;
  border: 1.5px solid #ede9e0;
  border-radius: 10px;
  padding: 14px 16px;
  transition: box-shadow .2s;
}
.mpd-infra-card:hover { box-shadow: 0 4px 16px rgba(26,58,108,.1); }
.mpd-infra-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 10px;
  background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center;
}
.mpd-infra-icon i { font-size: 1.4rem; color: var(--gold); }
.mpd-infra-label { font-size: 0.8rem; color: #6b7280; line-height: 1.3; }
.mpd-infra-value { font-size: 1.15rem; font-weight: 800; color: var(--navy); margin-top: 2px; }

/* ── Committee Cards ── */
.mpd-committee-card {
  background: #fff;
  border: 1.5px solid #ede9e0;
  border-radius: 12px;
  padding: 20px 12px 16px;
  text-align: center;
  height: 100%;
  display: flex; flex-direction: column; align-items: center;
  transition: box-shadow .2s;
}
.mpd-committee-card:hover { box-shadow: 0 6px 20px rgba(26,58,108,.1); }
.mpd-committee-icon {
  font-size: 2.2rem; color: var(--navy);
  margin-bottom: 10px;
}
.mpd-committee-label {
  font-size: 0.82rem; font-weight: 600; color: var(--navy);
  line-height: 1.35; flex-grow: 1; margin-bottom: 10px;
}

/* Admin: Gold table header */
.table-gold th { background: var(--gold) !important; color: #fff !important; }
.table-navy th { background: var(--navy) !important; color: #fff !important; }
