/* ============================================================
   RAJHANS PUBLIC SCHOOL — MAIN STYLESHEET
   Author: Design System
   Version: 1.0
   ============================================================ */

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

/* ── CSS Variables ── */
:root {
  /* ── Logo-derived palette: Rajhans Public School ── */
  --primary:       #1F2A78;   /* Royal Blue — main brand colour */
  --primary-light: #3F51B5;   /* Light variant */
  --primary-dark:  #141B4D;   /* Dark variant */
  --accent:        #5C6BC0;   /* Accent / indigo */
  --accent-light:  #7986CB;   /* Lighter accent */
  --accent-dark:   #3949AB;   /* Deeper accent */
  --white:         #FFFFFF;
  --off-white:     #F5F7FA;   /* Background */
  --light-gray:    #E8ECF4;   /* Subtle section bg */
  --mid-gray:      #A0A4B8;   /* Borders / subtext */
  --dark-gray:     #4A5278;   /* Muted foreground */
  --text:          #2C2C2C;   /* Text Primary */
  --text-muted:    #6B7194;   /* Secondary text */
  --border:        #D0D4E8;   /* Border colour */
  --shadow-sm:     0 2px 10px rgba(31,42,120,0.08);
  --shadow-md:     0 8px 30px rgba(31,42,120,0.13);
  --shadow-lg:     0 20px 60px rgba(31,42,120,0.20);
  --radius:        12px;
  --radius-lg:     20px;
  --transition:    0.35s cubic-bezier(0.4,0,0.2,1);
  --font-serif:    'Playfair Display', Georgia, serif;
  --font-sans:     'Nunito Sans', system-ui, sans-serif;

  /* Semantic aliases — keep backward compat */
  --navy:          #1F2A78;   /* = --primary */
  --gold:          #5C6BC0;   /* = --accent  */
  --text-dark:     #2C2C2C;   /* = --text    */
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p  { color: var(--text-muted); font-size: 1rem; line-height: 1.8; }

/* ── Utilities ── */
.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-padding { padding: 90px 0; }
.section-padding-sm { padding: 60px 0; }
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-accent { color: var(--primary-light); }
.text-primary { color: var(--primary); }

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-light);
  background: rgba(63,81,181,0.10);
  border: 1px solid rgba(63,81,181,0.20);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.section-header {
  margin-bottom: 54px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p  { max-width: 600px; }
.section-header.center { text-align: center; }
.section-header.center p { margin: 0 auto; }

.divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  margin: 16px 0 20px;
}
.section-header.center .divider { margin: 16px auto 20px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
}
.btn-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-accent {
  background: var(--primary-light);
  color: var(--white);
  border: 2px solid var(--primary-light);
}
.btn-accent:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(92,107,192,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-lg { padding: 17px 40px; font-size: 1rem; }
.btn-sm { padding: 10px 22px; font-size: 0.82rem; }

/* ── TOPBAR ── */
.topbar {
  background: #141B4D;
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-info {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.topbar-info span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.topbar-info i { color: var(--accent-light); }
.topbar-social {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar-social a {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  color: rgba(255,255,255,0.75);
  font-size: 0.75rem;
  transition: var(--transition);
}
.topbar-social a:hover {
  background: var(--primary-light);
  color: var(--white);
}

/* ── HEADER / NAV ── */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(31,42,120,0.1);
  transition: var(--transition);
}
.header.scrolled {
  box-shadow: 0 4px 30px rgba(31,42,120,0.18);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 80px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}
/* Real logo image */
.logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
  filter: drop-shadow(0 2px 6px rgba(31,42,120,0.18));
  transition: filter 0.3s ease;
}
.logo:hover .logo-img {
  filter: drop-shadow(0 4px 12px rgba(31,42,120,0.32));
}
/* Legacy emblem (hidden — replaced by real logo) */
.logo-emblem { display: none; }
.logo-text h1 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.1;
  margin-bottom: 2px;
}
.logo-text p {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin: 0;
}

/* Desktop Nav */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: var(--off-white);
}
.nav-link i.fa-chevron-down {
  font-size: 0.65rem;
  transition: var(--transition);
}
.nav-item:hover .nav-link i.fa-chevron-down { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  z-index: 500;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-gray);
  transition: var(--transition);
}
.dropdown a:hover {
  color: var(--primary);
  background: var(--off-white);
  padding-left: 24px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  width: 26px; height: 2.5px;
  background: var(--primary);
  border-radius: 4px;
  transition: var(--transition);
  display: block;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 999;
  background: var(--white);
  padding: 100px 24px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid var(--light-gray);
}
.mobile-submenu {
  padding-left: 16px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.mobile-submenu.open { max-height: 500px; }
.mobile-submenu a {
  display: block;
  padding: 12px 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-gray);
  border-bottom: 1px solid var(--light-gray);
}
.mobile-close {
  position: absolute;
  top: 22px; right: 24px;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: var(--light-gray);
  border-radius: 50%;
  font-size: 1.1rem;
  color: var(--text);
}

/* ── PAGE HERO ── */
.page-hero {
  /* Background-image is set via inline style on each page */
  /* Fallback: dark navy gradient when no image is set */
  background-color: #1F2A78;
  background-image: linear-gradient(135deg, #141B4D 0%, #1F2A78 60%, #3F51B5 100%);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  padding: 90px 0 82px;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-title   { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 800; color: #ffffff; margin-bottom: 10px; line-height: 1.15; text-shadow: 0 2px 8px rgba(0,0,0,0.25); position: relative; z-index: 2; }
.page-hero-sub     { font-size: 1rem; color: rgba(255,255,255,0.85); margin-bottom: 0; max-width: 600px; line-height: 1.7; position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p  { color: rgba(255,255,255,0.75); font-size: 1rem; margin: 0; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  position: relative;
  z-index: 2;
}
.breadcrumb a { color: #ffffff; text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { color: #C5CAE9; }
.breadcrumb span { color: rgba(255,255,255,0.65); }
.breadcrumb i { font-size: 0.65rem; }

/* ── HOME HERO ── */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, #1e4fa5 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-geo-1 {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(92,107,192,0.06);
  top: -180px; right: -120px;
  pointer-events: none;
}
.hero-geo-2 {
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  bottom: -80px; left: -80px;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content { max-width: 580px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(92,107,192,0.15);
  border: 1px solid rgba(92,107,192,0.3);
  color: var(--accent-light);
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 span { color: #C5CAE9; }
.hero-desc {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  margin-bottom: 38px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}
.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: var(--white);
}
.hero-card-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.hero-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
}
.hero-card-list li:last-child { border: none; }
.hero-card-list i { color: var(--accent-light); margin-top: 3px; flex-shrink: 0; }
.hero-card-notice {
  margin-top: 16px;
  background: rgba(92,107,192,0.12);
  border: 1px solid rgba(92,107,192,0.2);
  border-radius: 10px;
  padding: 14px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
}
.hero-card-notice strong { color: var(--accent-light); display: block; margin-bottom: 4px; }

/* ── TICKER ── */
.ticker-bar {
  background: var(--primary-light);
  padding: 10px 0;
  overflow: hidden;
}
.ticker-label {
  background: var(--primary-dark);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 4px;
  flex-shrink: 0;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 60px;
  animation: ticker-scroll 30s linear infinite;
  white-space: nowrap;
}
.ticker-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  overflow: hidden;
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
}
.ticker-item i { font-size: 0.75rem; }
@keyframes ticker-scroll {
  0%  { transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}

/* ── WHY CHOOSE US ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  font-size: 1.4rem;
  color: var(--white);
  transition: var(--transition);
}
.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: scale(1.08);
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: 10px; }

/* ── ABOUT SECTION ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--light-gray);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
}
.about-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 320px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: rgba(255,255,255,0.4);
  font-size: 4rem;
}
.about-img-placeholder p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  margin-top: 12px;
  font-family: var(--font-sans);
}
.about-badge-float {
  position: absolute;
  bottom: -24px; right: -24px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 1px solid var(--border);
}
.about-badge-float .num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.about-badge-float .label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.about-content ul {
  margin: 20px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.about-content ul li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark-gray);
}
.about-content ul li i { color: var(--primary-light); flex-shrink: 0; }

/* ── STATS BAR ── */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 70px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 40px;
  text-align: center;
}
.stat-item { color: var(--white); }
.stat-icon { font-size: 2rem; color: var(--accent-light); margin-bottom: 14px; }
.stat-num {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
}

/* ── ACADEMICS ── */
.academics-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
.academic-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--white);
  transition: var(--transition);
  cursor: default;
}
.academic-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.academic-card-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 18px;
}
.academic-card:hover .academic-card-icon { color: var(--primary-light); }
.academic-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.academic-card p { font-size: 0.87rem; }

/* ── FACILITIES ── */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
}
.facility-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border);
}
.facility-card:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-4px);
}
.facility-icon {
  width: 60px; height: 60px;
  background: var(--white);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  margin: 0 auto 16px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.facility-card:hover .facility-icon {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}
.facility-card h4 {
  font-size: 0.92rem;
  color: var(--text);
  transition: var(--transition);
}
.facility-card:hover h4 { color: var(--white); }

/* ── NOTICE BOARD ── */
.notices-section { background: var(--off-white); }
.notices-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}
.notice-list { }
.notice-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 14px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.notice-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.notice-date {
  background: var(--primary);
  color: var(--white);
  border-radius: 10px;
  padding: 10px 14px;
  text-align: center;
  flex-shrink: 0;
  min-width: 56px;
}
.notice-date .day {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}
.notice-date .mon { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; opacity: 0.8; }
.notice-body h4 { font-size: 0.95rem; margin-bottom: 4px; font-family: var(--font-sans); }
.notice-body p { font-size: 0.82rem; }
.notice-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.notice-tag.new { background: rgba(16,185,129,0.1); color: #059669; }
.notice-tag.exam { background: rgba(245,158,11,0.1); color: #d97706; }
.notice-tag.event { background: rgba(99,102,241,0.1); color: #4f46e5; }
.events-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
  height: fit-content;
}
.events-widget h3 { font-size: 1rem; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--light-gray); font-family: var(--font-sans); }
.event-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--light-gray);
}
.event-item:last-child { border: none; }
.event-dot {
  width: 10px; height: 10px;
  background: var(--primary-light);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}
.event-title { font-size: 0.83rem; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.event-date { font-size: 0.75rem; color: var(--text-muted); }

/* ── GALLERY PREVIEW ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
}
.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--light-gray);
  position: relative;
  cursor: pointer;
}
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery-placeholder {
  width: 100%; height: 100%; min-height: 180px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--mid-gray);
  font-size: 1.8rem;
  transition: var(--transition);
}
.gallery-item:nth-child(1) .gallery-placeholder { min-height: 380px; font-size: 3rem; }
.gallery-item:nth-child(1) .gallery-placeholder { background: linear-gradient(135deg,#E4E8F5,#d0dbf0); }
.gallery-item:nth-child(2) .gallery-placeholder { background: linear-gradient(135deg,#e8f0e8,#d0e8d0); }
.gallery-item:nth-child(3) .gallery-placeholder { background: linear-gradient(135deg,#f0e8e8,#e8d0d0); }
.gallery-item:nth-child(4) .gallery-placeholder { background: linear-gradient(135deg,#f0ece0,#e8d8b0); }
.gallery-item:nth-child(5) .gallery-placeholder { background: linear-gradient(135deg,#e8e0f0,#d0c0e8); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(31,42,120,0.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: var(--transition);
  color: var(--white);
  font-size: 1.6rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-placeholder { filter: scale(1.05); }

/* ── PRINCIPAL SECTION ── */
.principal-section { background: var(--off-white); }
.principal-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: start;
}
.principal-card-left { width: 260px; }
.principal-photo {
  width: 200px; height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  color: rgba(255,255,255,0.4);
  margin: 0 auto 20px;
  border: 5px solid var(--white);
  box-shadow: var(--shadow-md);
}
.principal-name { text-align: center; }
.principal-name h4 { font-size: 1rem; color: var(--primary-dark); font-family: var(--font-sans); }
.principal-name p { font-size: 0.8rem; color: var(--accent-dark); font-weight: 600; margin: 0; }
.principal-content blockquote {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--primary);
  padding: 20px 24px;
  border-left: 4px solid var(--accent);
  background: rgba(92,107,192,0.06);
  border-radius: 0 10px 10px 0;
  margin-bottom: 24px;
  line-height: 1.7;
}

/* ── CONTACT SECTION ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
}
.contact-info-card {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
  height: 100%;
}
.contact-info-card h3 {
  color: var(--white);
  margin-bottom: 28px;
  font-size: 1.3rem;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-info-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-light);
  flex-shrink: 0;
  font-size: 1rem;
}
.contact-info-text .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  margin-bottom: 4px;
}
.contact-info-text .val {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
}
.contact-social {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.contact-social a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.contact-social a:hover { background: var(--primary-light); color: var(--white); }
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.contact-form-wrap h3 { margin-bottom: 28px; font-size: 1.2rem; }
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(31,42,120,0.08);
}
textarea.form-control { resize: vertical; min-height: 130px; }
.form-success {
  display: none;
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 14px;
}
.form-error {
  display: none;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 14px;
}

/* ── DISCLOSURE TABLE ── */
.disclosure-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.disclosure-table th {
  background: var(--primary);
  color: var(--white);
  padding: 14px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: left;
  letter-spacing: 0.03em;
}
.disclosure-table td {
  padding: 13px 18px;
  font-size: 0.88rem;
  color: var(--text);
  border-bottom: 1px solid var(--light-gray);
}
.disclosure-table tr:nth-child(even) td { background: var(--off-white); }
.disclosure-table tr:hover td { background: #E8ECF4; }
.disclosure-section-title {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 12px 18px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── GALLERY PAGE ── */
.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.filter-btn {
  padding: 8px 22px;
  border-radius: 100px;
  font-size: 0.83rem;
  font-weight: 700;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--dark-gray);
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
}
.gallery-page-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--light-gray);
  aspect-ratio: 1;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}
.gallery-page-item:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }
.gallery-ph {
  width:100%;height:100%;min-height:200px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  color:var(--mid-gray);font-size:1.5rem;
}
.gallery-ph p { font-size:0.75rem;margin-top:8px;font-family:var(--font-sans); }
.gallery-overlay-hover {
  position:absolute;inset:0;
  background:rgba(31,42,120,0.8);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  opacity:0;transition:var(--transition);
  color:var(--white);gap:8px;
}
.gallery-page-item:hover .gallery-overlay-hover { opacity:1; }
.gallery-overlay-hover i { font-size:1.6rem; }
.gallery-overlay-hover p { font-size:0.8rem;margin:0; }

/* ── ACADEMICS PAGE ── */
.tabs-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  border-bottom: 2px solid var(--border);
  padding-bottom: -2px;
}
.tab-btn {
  padding: 12px 24px;
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}
.tab-btn:hover { color: var(--primary); background: var(--off-white); }
.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: var(--off-white);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── ADMISSION PAGE ── */
.admission-steps {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  margin: 40px 0;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}
.step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.step-number {
  position: absolute;
  top: -18px; left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 36px;
  background: var(--primary-light);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
}
.step-icon { font-size: 2rem; color: var(--primary); margin: 12px 0 16px; }
.step-card h4 { font-size: 0.95rem; margin-bottom: 8px; font-family: var(--font-sans); }
.step-card p { font-size: 0.82rem; }

/* ── TEAM GRID ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--primary); }
.team-photo {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 2rem;
  color: rgba(255,255,255,0.4);
  border: 3px solid var(--light-gray);
}
.team-card h4 { font-size: 0.95rem; font-family: var(--font-sans); margin-bottom: 4px; }
.team-card .role { font-size: 0.78rem; font-weight: 600; color: var(--accent-dark); margin: 0; }
.team-card .subject { font-size: 0.78rem; color: var(--text-muted); margin: 0; }

/* ── EVENTS PAGE ── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}
.event-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.event-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.event-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 3rem;
}
.event-card-body { padding: 24px; }
.event-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.event-meta span { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.event-meta i { color: var(--primary-light); }
.event-card h3 { font-size: 1rem; margin-bottom: 10px; font-family: var(--font-sans); }
.event-card p { font-size: 0.84rem; }

/* ── FOOTER ── */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
}
.footer-main { padding: 70px 0 50px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
}
.footer-brand h3 {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 14px;
}
.footer-brand p { font-size: 0.87rem; line-height: 1.8; color: rgba(255,255,255,0.6); margin-bottom: 22px; }
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.07);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  font-size: 0.85rem;
}
.footer-social a:hover { background: var(--primary-light); color: var(--white); }
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.footer-links a:before {
  content: '';
  width: 5px; height: 5px;
  background: var(--primary-light);
  border-radius: 50%;
  flex-shrink: 0;
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.footer-contact-item i { color: var(--accent-light); margin-top: 3px; flex-shrink: 0; }
.footer-bottom {
  background: rgba(0,0,0,0.2);
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.45); margin: 0; }

/* ── SCROLL TO TOP ── */
.scroll-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  background: var(--primary);
  color: var(--white);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 900;
  box-shadow: var(--shadow-md);
  border: none;
}
.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover { background: var(--primary-light); transform: translateY(-3px); }

/* ── ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.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; }

/* ── INFO CARD ── */
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.info-card h3 { font-size: 1rem; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--light-gray); font-family: var(--font-sans); }
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--light-gray);
  font-size: 0.87rem;
}
.info-row:last-child { border: none; }
.info-row .key { font-weight: 600; color: var(--text); flex: 1; }
.info-row .val { color: var(--text-muted); flex: 1; text-align: right; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .facilities-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-badge-float { bottom: -14px; right: 14px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 24px; }
  .academics-grid { grid-template-columns: repeat(2,1fr); }
  .admission-steps { grid-template-columns: repeat(2,1fr); }
  .gallery-page-grid { grid-template-columns: repeat(3,1fr); }
  .team-grid { grid-template-columns: repeat(3,1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: repeat(2,1fr); }
  .notices-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
  .topbar-info span:nth-child(3) { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .facilities-grid { grid-template-columns: repeat(2,1fr); }
  .academics-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .gallery-page-grid { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .principal-grid { grid-template-columns: 1fr; }
  .principal-card-left { width: 100%; }
  .events-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-item:nth-child(1) { grid-column: span 2; }
  .section-padding { padding: 60px 0; }
  .admission-steps { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .gallery-page-grid { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .facilities-grid { grid-template-columns: 1fr 1fr; }
  .topbar { display: none; }
}

/* ══════════════════════════════════════════════════════
   SUPPLEMENTAL UTILITIES — added for extended pages
   ══════════════════════════════════════════════════════ */

/* Page hero typography */
.page-hero-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.page-hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 0;
}

/* Section system */
.section-lg  { padding: 80px 0; }
.section-md  { padding: 56px 0; }
.bg-light-alt { background: #F0F2FA; }

.section-header { margin-bottom: 48px; text-align: center; }
.section-title  { font-size: clamp(1.5rem,3vw,2.1rem); color: var(--primary-dark, #1F2A78); margin-bottom: 12px; }
.section-sub    { font-size: .95rem; color: var(--text-muted, #6b7a99); max-width: 600px; margin: 0 auto; line-height: 1.7; }

.section-badge {
  display: inline-block;
  background: rgba(92,107,192,.15);
  color: var(--accent, #5C6BC0);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* Two-column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
}

/* Outline navy button */
.btn-outline-navy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border: 2px solid var(--primary-dark, #1F2A78);
  border-radius: 8px;
  color: var(--primary-dark, #1F2A78);
  background: transparent;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: .25s;
}
.btn-outline-navy:hover {
  background: var(--primary-dark, #1F2A78);
  color: #fff;
}

/* CTA Banner */
.cta-banner { padding: 64px 0; }
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner-text h2 { font-size: 1.6rem; color: #fff; margin-bottom: 8px; }
.cta-banner-text p  { color: rgba(255,255,255,.8); font-size: .95rem; margin: 0; }
.cta-banner-btns    { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 768px) {
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .cta-banner-btns  { justify-content: center; }
}

/* Reveal animation utility */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: none;
}

/* Stats section */
.stats-section { background: linear-gradient(135deg,#141B4D,#1F2A78); padding: 56px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  text-align: center;
}
.stat-item { color: #fff; }
.stat-icon { font-size: 2rem; color: #5C6BC0; margin-bottom: 10px; }
.stat-number { font-size: 2.4rem; font-weight: 800; font-family: 'Playfair Display', serif; line-height: 1; margin-bottom: 6px; color: #ffffff !important; }
.stat-label  { font-size: .85rem; opacity: .8; text-transform: uppercase; letter-spacing: .06em; color: #ffffff !important; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }

/* ══════════════════════════════════════════════════════════════════
   GLOBAL ENHANCEMENT PACK v2 — Animations, AOS, UX, SEO support
   ══════════════════════════════════════════════════════════════════ */

/* ── Scroll Progress Bar ─────────────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #5C6BC0, #7986CB, #5C6BC0);
  background-size: 200% 100%;
  animation: shimmer 2s linear infinite;
  z-index: 10000;
  transition: width .1s linear;
}
@keyframes shimmer { to { background-position: 200% 0; } }

/* ── Page Loader ─────────────────────────────────────────────────── */
#page-loader {
  position: fixed;
  inset: 0;
  background: #141B4D;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transition: opacity .5s ease .1s, visibility .5s ease .1s;
}
#page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.pl-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #5C6BC0;
  letter-spacing: 0.03em;
  animation: plFade .5s ease .15s both;
}
.pl-bar {
  width: 160px;
  height: 3px;
  background: rgba(255,255,255,.12);
  border-radius: 2px;
  overflow: hidden;
  animation: plFade .5s ease .25s both;
}
.pl-bar::after {
  content: '';
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #5C6BC0, #7986CB);
  animation: plLoad .7s ease .35s both;
}
@keyframes plFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes plLoad { from { width: 0; } to { width: 100%; } }

/* ── Scroll-to-Top (enhanced) ────────────────────────────────────── */
.scroll-top, #scroll-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, #1F2A78, #3F51B5);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .35s, visibility .35s, transform .35s, background .25s, box-shadow .25s;
  box-shadow: 0 4px 20px rgba(31,42,120,.3);
  z-index: 999;
}
.scroll-top.visible, #scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover, #scroll-top:hover {
  background: linear-gradient(135deg, #5C6BC0, #3949AB);
  box-shadow: 0 8px 28px rgba(92,107,192,.45);
  transform: translateY(-4px);
}

/* ── Header: hide-on-scroll-down ─────────────────────────────────── */
.header {
  transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}
.header.scrolled {
  box-shadow: 0 4px 24px rgba(31,42,120,.14);
}
.header.header-hidden {
  transform: translateY(-100%);
}

/* ── AOS — Animate On Scroll ─────────────────────────────────────── */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: .65s;
  transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
[data-aos="fade-up"]    { transform: translateY(36px); }
[data-aos="fade-down"]  { transform: translateY(-36px); }
[data-aos="fade-right"] { transform: translateX(-36px); }
[data-aos="fade-left"]  { transform: translateX(36px); }
[data-aos="fade-in"]    { transform: none; }
[data-aos="zoom-in"]    { transform: scale(0.88); }
[data-aos="zoom-out"]   { transform: scale(1.1); }
[data-aos="flip-up"]    { transform: perspective(800px) rotateX(-20deg); }

[data-aos].aos-animate  { opacity: 1; transform: none; }

/* Delay helpers */
[data-aos-delay="50"]   { transition-delay: 50ms; }
[data-aos-delay="100"]  { transition-delay: 100ms; }
[data-aos-delay="150"]  { transition-delay: 150ms; }
[data-aos-delay="200"]  { transition-delay: 200ms; }
[data-aos-delay="250"]  { transition-delay: 250ms; }
[data-aos-delay="300"]  { transition-delay: 300ms; }
[data-aos-delay="350"]  { transition-delay: 350ms; }
[data-aos-delay="400"]  { transition-delay: 400ms; }
[data-aos-delay="450"]  { transition-delay: 450ms; }
[data-aos-delay="500"]  { transition-delay: 500ms; }

/* ── Image enhancements ──────────────────────────────────────────── */
img { transition: opacity .35s ease; }
img[loading="lazy"] { opacity: 0; }
img.img-loaded      { opacity: 1; }

/* Zoom-on-hover image containers */
.img-zoom { overflow: hidden; border-radius: inherit; display: block; }
.img-zoom img { transition: transform .55s ease, opacity .35s ease; display: block; width: 100%; }
.img-zoom:hover img { transform: scale(1.06); }

/* ── Card interactions ───────────────────────────────────────────── */
.hp-highlight-card,
.hp-news-card,
.hp-testimonial-card,
.facility-detail-card,
.value-card,
.event-past-card,
.staff-card,
.cocurr-card,
.house-card,
.eql-card {
  transition: transform .3s ease, box-shadow .3s ease;
}
.hp-highlight-card:hover,
.facility-detail-card:hover,
.value-card:hover,
.cocurr-card:hover,
.house-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(31,42,120,.14);
}

/* ── Button improvements ─────────────────────────────────────────── */
.btn {
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); transition-duration: .1s; }

.btn-primary:hover {
  box-shadow: 0 10px 28px rgba(31,42,120,.28);
}

/* Pulsing accent button for CTAs */
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(92,107,192,.45); }
  50%       { box-shadow: 0 0 0 10px rgba(92,107,192,0); }
}
.btn-pulse { animation: ctaPulse 2.2s ease infinite; }

/* ── Typography improvements ─────────────────────────────────────── */
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
:focus-visible { outline: 3px solid #5C6BC0; outline-offset: 3px; border-radius: 4px; }

/* Underline animation for links */
.animated-link {
  position: relative;
  text-decoration: none;
}
.animated-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--primary-light);
  transition: width .3s ease;
}
.animated-link:hover::after { width: 100%; }

/* ── Mobile nav overlay ──────────────────────────────────────────── */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(3px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s;
}
.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile nav open state */
.mobile-nav.open {
  transform: translateX(0) !important;
}

/* ── Mobile submenu smooth accordion ────────────────────────────── */
.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}

/* ── Section dividers ────────────────────────────────────────────── */
.section-divider {
  width: 100%;
  height: 60px;
  background: #fff;
  clip-path: ellipse(55% 100% at 50% 100%);
  margin-top: -1px;
}
.section-divider-alt {
  background: #F0F2FA;
}

/* ── Lightbox (global) ───────────────────────────────────────────── */
.lb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.93);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
}
.lb-overlay.active { display: flex; }
.lb-content { max-width: 86vw; text-align: center; }
.lb-img {
  max-width: 82vw;
  max-height: 80vh;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0,0,0,.55);
  display: block;
}
.lb-caption {
  color: rgba(255,255,255,.75);
  font-size: .88rem;
  margin-top: 14px;
  font-weight: 600;
}
.lb-close, .lb-prev, .lb-next {
  position: fixed;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  width: 46px; height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background .2s, transform .2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover {
  background: rgba(255,255,255,.25);
  transform: scale(1.1);
}
.lb-close { top: 20px; right: 20px; }
.lb-prev  { left: 20px;  top: 50%; transform: translateY(-50%); }
.lb-next  { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.1); }

/* ── Form message ────────────────────────────────────────────────── */
.form-message {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: .88rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-weight: 600;
}
.form-msg-success { background: #D1FAE5; color: #065F46; border: 1px solid #A7F3D0; }
.form-msg-error   { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }

/* ── Responsive extras ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .page-hero { padding: 80px 0 64px; }
  #scroll-progress { height: 2px; }
  .scroll-top, #scroll-top { bottom: 18px; right: 18px; width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-aos], .reveal { opacity: 1 !important; transform: none !important; }
}

/* ── Pre-Footer CTA Strip ──────────────────────────────────────── */
.footer-cta-strip {
  background: linear-gradient(135deg, #141B4D 0%, #1F2A78 60%, #3F51B5 100%);
  padding: 32px 0;
  border-top: 3px solid #5C6BC0;
}
.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-cta-text h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-cta-text h3 i { color: #5C6BC0; }
.footer-cta-text p  { font-size: 0.88rem; color: rgba(255,255,255,.7); margin: 0; }
.footer-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .footer-cta-inner  { flex-direction: column; text-align: center; }
  .footer-cta-actions { justify-content: center; }
}

/* ── Footer Logo Block ─────────────────────────────────────────── */
.footer-logo-block {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.footer-logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #5C6BC0, #3949AB);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.footer-logo-text h3  { font-size: 1rem; color: #fff; margin: 0; }
.footer-logo-text span { font-size: .75rem; color: rgba(255,255,255,.55); }

/* ── Page Hero background position helpers ─────────────────────── */
.hero-pos-top    { background-position: center top !important; }
.hero-pos-bottom { background-position: center bottom !important; }
.hero-pos-left   { background-position: left center !important; }

/* ── Image figure captions ─────────────────────────────────────── */
figure { margin: 0; }
figcaption {
  font-size: .78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}

/* ── Skip-to-content for accessibility ─────────────────────────── */
.skip-link {
  position: fixed;
  top: -100px;
  left: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  background: #1F2A78;
  color: #fff;
  padding: 10px 20px;
  font-weight: 700;
  border-radius: 0 0 8px 0;
  z-index: 20000;
  text-decoration: none;
  transition: top .2s, opacity .2s;
}
.skip-link:focus {
  top: 0;
  width: auto;
  height: auto;
  overflow: visible;
  opacity: 1;
  pointer-events: auto;
}

/* ── Print styles ──────────────────────────────────────────────── */
@media print {
  .topbar, .header, .footer, .scroll-top, #scroll-progress, #page-loader,
  .hp-ticker, .footer-cta-strip, .hp-hero-actions, .btn { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .page-hero { background: #fff !important; padding: 20pt 0; }
  .page-hero-title, .page-hero-sub { color: #000 !important; }
  a { color: #000; text-decoration: underline; }
  a[href]::after { content: ' (' attr(href) ')'; font-size: 9pt; }
}

/* ══════════════════════════════════════════════════════════════════
   LOGO & PALETTE v2 — Applied from school logo colours
   Primary: #1F2A78 | Dark: #141B4D | Light: #3F51B5
   Accent: #5C6BC0  | BG: #F5F7FA  | Text: #2C2C2C
   ══════════════════════════════════════════════════════════════════ */

/* ── Body background (off-white from palette) ──────────────────── */
body { background: var(--off-white); }

/* ── Topbar ─────────────────────────────────────────────────────── */
.topbar {
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
}
.topbar-info span i,
.topbar-social a       { color: var(--accent-light); }
.topbar-social a:hover { color: var(--white); }

/* ── Header ─────────────────────────────────────────────────────── */
.header {
  background: var(--white);
  border-bottom: 3px solid var(--primary);
}
.header.scrolled {
  box-shadow: 0 4px 24px rgba(31,42,120,0.13);
}

/* ── Nav links ──────────────────────────────────────────────────── */
.nav-link {
  color: var(--primary-dark);
  font-weight: 600;
}
.nav-link:hover,
.nav-link.active { color: var(--primary); }
.nav-link.active::after { background: var(--primary); }

/* Dropdown */
.dropdown {
  border-top: 3px solid var(--primary);
  box-shadow: 0 8px 32px rgba(31,42,120,0.14);
}
.dropdown a { color: var(--primary-dark); }
.dropdown a:hover {
  background: var(--off-white);
  color: var(--primary);
  padding-left: 20px;
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn-primary, .btn-accent {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-color: var(--primary);
  color: var(--white);
}
.btn-primary:hover, .btn-accent:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  box-shadow: 0 8px 24px rgba(31,42,120,0.30);
}
.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline-primary:hover { background: var(--primary); color: var(--white); }

/* ── Section badges ─────────────────────────────────────────────── */
.section-badge {
  background: rgba(31,42,120,0.10);
  color: var(--primary);
  border: 1px solid rgba(31,42,120,0.20);
}

/* ── Divider accent line ─────────────────────────────────────────── */
.divider {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

/* ── About sticky image: ensure no ancestor clips position:sticky ── */
.about-section-wrap { overflow: visible !important; }

/* ── Stats section ──────────────────────────────────────────────── */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
}
.stat-icon { color: var(--accent-light); }

/* ── Page hero ──────────────────────────────────────────────────── */
.page-hero {
  background-color: var(--primary-dark);
  background-image:
    linear-gradient(135deg, rgba(20,27,77,0.92) 0%, rgba(31,42,120,0.85) 52%, rgba(63,81,181,0.55) 100%),
    var(--hero-img, linear-gradient(135deg, #141B4D 0%, #1F2A78 60%, #3F51B5 100%));
}

/* ── Cards ───────────────────────────────────────────────────────── */
.facility-detail-card:hover,
.hp-highlight-card:hover,
.value-card:hover {
  border-color: var(--primary);
  box-shadow: 0 16px 48px rgba(31,42,120,0.14);
}
.fdc-header h3   { color: var(--primary-dark); }
.fdc-list li i   { color: var(--primary); }
.value-icon      { border-radius: 12px; }

/* ── About section ──────────────────────────────────────────────── */
.hp-about { background: var(--off-white); }
.hp-about-title span { color: var(--primary-light); }

/* ── Notice board ───────────────────────────────────────────────── */
.notice-tag.new    { background: var(--primary); color: var(--white); }
.notice-tag.exam   { background: var(--primary-light); color: var(--white); }
.notice-tag.event  { background: var(--primary-light); color: var(--white); }

/* ── Section background alternation ─────────────────────────────── */
.bg-light-alt { background: var(--off-white); }
section:nth-of-type(even) { background: var(--white); }
section:nth-of-type(odd)  { background: var(--off-white); }
/* Override for specific sections that need custom bg */
.hp-about, .hp-news, .hp-facilities,
.footer-cta-strip, .footer { background: unset; }
.stats-section { background: linear-gradient(135deg, #141B4D 0%, #1F2A78 60%, #3F51B5 100%) !important; }

/* ── Footer ─────────────────────────────────────────────────────── */
.footer {
  background: linear-gradient(180deg, var(--primary-dark) 0%, #0D1240 100%);
}
.footer-main { background: transparent; }
.footer-brand h3, .footer-col h4  { color: var(--white); }
.footer-brand p                   { color: rgba(255,255,255,0.65); }
.footer-links li a                { color: rgba(255,255,255,0.65); }
.footer-links li a:hover          { color: var(--accent-light); padding-left: 6px; }
.footer-links li a::before        { color: var(--primary-light); }
.footer-contact-item i            { color: var(--accent-light); }
.footer-contact-item span         { color: rgba(255,255,255,0.7); }
.footer-social a {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
}
.footer-social a:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: var(--white);
}
.footer-bottom {
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ── Footer CTA strip ───────────────────────────────────────────── */
.footer-cta-strip {
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  border-top-color: var(--accent);
}

/* ── Mobile nav ─────────────────────────────────────────────────── */
.mobile-nav {
  background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
}
.mobile-nav-link { color: rgba(255,255,255,0.9); }
.mobile-nav-link:hover { color: var(--accent-light); }
.mobile-submenu a { color: rgba(255,255,255,0.75); }
.mobile-submenu a:hover { color: var(--accent-light); }
.mobile-close { color: rgba(255,255,255,0.8); }

/* ── Scroll top ─────────────────────────────────────────────────── */
.scroll-top, #scroll-top {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}
.scroll-top:hover, #scroll-top:hover {
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  box-shadow: 0 8px 28px rgba(92,107,192,0.45);
}

/* ── Focus ring ─────────────────────────────────────────────────── */
:focus-visible { outline-color: var(--primary-light); }

/* ── Page loader ────────────────────────────────────────────────── */
#page-loader { background: var(--primary-dark); }
.pl-logo { color: var(--accent-light); }
.pl-bar::after { background: linear-gradient(90deg, var(--primary-light), var(--accent-light)); }

/* ── Scroll progress ────────────────────────────────────────────── */
#scroll-progress {
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary-light));
}

/* ── Info / Notice boxes ─────────────────────────────────────────── */
.notice-box { border-left-color: var(--primary) !important; }
.exam-notice { background: linear-gradient(135deg,#EEF2FF,#E0E7FF); border-left-color: var(--primary-light) !important; }
.exam-notice i { color: var(--primary-light); }

/* ── Table styles ────────────────────────────────────────────────── */
.exam-table th, .fee-table th, .disclosure-table th {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
}
.exam-table tbody tr:hover td { background: #EEF2FF; }

/* ── Breadcrumb ─────────────────────────────────────────────────── */
.breadcrumb a { color: var(--accent-light); }
.breadcrumb a:hover { color: var(--white); }

/* ── Footer logo img ─────────────────────────────────────────────── */
.footer-logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3));
}
.footer-logo-text h3  { color: var(--white) !important; }
.footer-logo-text span { color: rgba(255,255,255,0.55) !important; }

/* ── Logo text in header (on white bg) ───────────────────────────── */
.logo-text h1 { color: var(--primary-dark); }
.logo-text p  { color: var(--primary-light); }

/* ── Topbar (accent correction) ──────────────────────────────────── */
.topbar-social a      { color: rgba(255,255,255,0.75); }
.topbar-social a:hover { background: var(--primary-light); border-radius: 50%; }

/* ── Principal/Director profile cards ────────────────────────────── */
.profile-role   { background: var(--primary); }
.pd-row > i     { color: var(--accent); }
.profile-quote i { color: var(--primary-light); opacity: 0.5; }

/* ── Section header divider ─────────────────────────────────────── */
.message-divider, .sig-line {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

/* ── House card colours ──────────────────────────────────────────── */
.house-card { border-top: 5px solid var(--primary-light); }

/* ── Google Map iframe ───────────────────────────────────────────── */
.contact-map-header { border-bottom: 1px solid var(--border); }
.contact-map-header h3 { color: var(--primary-dark); }

