@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --navy: #00205c;
  --navy-dark: #00153d;
  --navy-deeper: #000d26;
  --blue-accent: #003580;
  --blue-light: #0056b3;
  --gold: #b8860b;
  --gold-light: #d4a843;
  --gold-dark: #8b6508;
  --orange: #e8600a;
  --orange-hover: #d4550a;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --light-bg: #f5f6f8;
  --medium-gray: #e9ecef;
  --border-color: #dee2e6;
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a68;
  --text-muted: #6c757d;
  --text-light: #9ca3af;
  --shadow-xs: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul { list-style: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== TOP BAR ========== */
.top-bar {
  background: var(--navy-deeper);
  padding: 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 42px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-bar-left a {
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  letter-spacing: 0.2px;
}

.top-bar-left a:hover {
  color: var(--white);
}

.top-bar-left a i {
  font-size: 11px;
  opacity: 0.6;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-affil {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  letter-spacing: 0.2px;
}

.top-affil .affil-label {
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.6px;
}

.top-disclosure {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  padding: 0 12px;
  border-right: 1px solid rgba(255,255,255,0.15);
  transition: color 0.2s ease;
}

.top-disclosure:hover {
  color: var(--white);
}

.top-bar-sep {
  width: 1px;
  height: 16px;
  margin: 0 4px;
  background: rgba(255,255,255,0.15);
}

.social-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  transition: var(--transition-fast);
}

.social-icon:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-1px);
}

/* ========== HEADER ========== */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 2px 30px rgba(0,0,0,0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 85px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 12px;
}

.logo-img {
  height: 60px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .school-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.3px;
}

.logo-text .school-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 500;
  margin-top: 2px;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 14px;
  height: 85px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.1px;
  transition: var(--transition-fast);
  white-space: nowrap;
  position: relative;
}

.nav-item > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 3px;
  background: var(--navy);
  transform: scaleX(0);
  transition: transform var(--transition-fast);
  border-radius: 3px 3px 0 0;
}

.nav-item > a:hover::after,
.nav-item > a.active::after {
  transform: scaleX(1);
}

.nav-item > a:hover {
  color: var(--navy);
}

.nav-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 4px;
  vertical-align: middle;
}

.nav-item > a .arrow {
  font-size: 9px;
  transition: var(--transition-fast);
  opacity: 0.5;
}

.nav-item:hover > a .arrow {
  transform: rotate(180deg);
  opacity: 1;
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 260px;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--navy);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 1001;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  padding: 8px 0;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  border-bottom: 1px solid transparent;
  transition: var(--transition-fast);
}

.dropdown li a:hover {
  background: var(--off-white);
  color: var(--navy);
  padding-left: 28px;
}

/* Sub-dropdown */
.dropdown .has-sub {
  position: relative;
}

.dropdown .has-sub > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sub-dropdown {
  position: absolute;
  top: 0;
  left: 100%;
  background: var(--white);
  min-width: 240px;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--navy);
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: var(--transition);
  z-index: 1002;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  padding: 8px 0;
}

.has-sub:hover .sub-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Enquire Button */
.nav-enquire {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  margin-left: 8px;
  font-size: 12.5px !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-enquire::after {
  display: none !important;
}

.nav-enquire:hover {
  background: var(--orange-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(232,96,10,0.35);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Nav */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  backdrop-filter: blur(4px);
}

.mobile-nav-overlay.active { display: block; }

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -360px;
  width: 360px;
  max-width: 90vw;
  height: 100%;
  background: var(--white);
  z-index: 9999;
  overflow-y: auto;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 40px rgba(0,0,0,0.2);
}

.mobile-nav.active { right: 0; }

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1;
}

.mobile-nav-header span {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 18px;
}

.mobile-nav-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.mobile-nav-content {
  padding: 16px 24px;
}

.mobile-nav-content .mobile-nav-item {
  border-bottom: 1px solid var(--medium-gray);
}

.mobile-nav-content .mobile-nav-item > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
}

.mobile-nav-content .mobile-nav-item > a.active {
  color: var(--navy);
  font-weight: 700;
}

.mobile-sub-menu {
  display: none;
  padding-left: 16px;
}

.mobile-sub-menu.active { display: block; }

.mobile-sub-menu a {
  display: block;
  padding: 10px 0;
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--medium-gray);
}

/* ========== HERO BANNER ========== */
.hero-banner {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: var(--navy-dark);
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.banner-slide.active { opacity: 1; }

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(transparent, rgba(0,20,60,0.4));
  pointer-events: none;
}

.banner-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.banner-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid rgba(255,255,255,0.3);
}

.banner-dot.active {
  background: var(--white);
  border-color: var(--white);
  transform: scale(1.15);
  box-shadow: 0 0 10px rgba(255,255,255,0.4);
}

/* Banner arrows */
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.banner-arrow:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-50%) scale(1.05);
}

.banner-arrow.prev { left: 30px; }
.banner-arrow.next { right: 30px; }

/* ========== PAGE BANNER (Inner) ========== */
.page-banner {
  height: 320px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.03) 0%, transparent 50%);
}

.page-banner h1 {
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.5px;
}

.page-banner p {
  font-size: 17px;
  opacity: 0.85;
  position: relative;
  z-index: 1;
  font-weight: 300;
}

.breadcrumb {
  margin-top: 16px;
  font-size: 13px;
  opacity: 0.7;
  position: relative;
  z-index: 1;
}

.breadcrumb a {
  color: var(--gold-light);
  font-weight: 500;
}

.breadcrumb a:hover { text-decoration: underline; }

/* ========== SECTION ========== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.section-header h2 {
  font-size: 40px;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 24px auto 0;
  line-height: 1.8;
}

/* ========== TWO COLUMN SECTIONS ========== */
.approach-section {
  background: linear-gradient(180deg, #f2f6ff 0%, #ffffff 100%);
  border-top: 1px solid #e7ecf7;
  border-bottom: 1px solid #e7ecf7;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.two-col-text .section-subtitle {
  text-align: left;
}

.two-col-text h2 {
  font-size: 38px;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}

.two-col-text p {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 16px;
  font-size: 15px;
}

.two-col-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.two-col-media img,
.video-wrapper img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.video-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,20,60,0.15), rgba(0,20,60,0.45));
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  background: transparent;
  padding: 0;
}

.play-btn i {
  width: 76px;
  height: 76px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--navy);
  margin-left: 4px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  transition: var(--transition);
}

.play-btn span {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.play-btn:hover i {
  background: var(--gold);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.underline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-top: 20px;
  position: relative;
}

.underline-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}

.underline-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ========== PAGE HERO (Inner pages, image banner) ========== */
.page-hero {
  position: relative;
  height: 480px;
  background-color: var(--navy);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-hero-who {
  background-image: url('../images/banner-1.png');
}

.page-hero-about {
  background-image: url('../images/banner-2.png');
}

.page-hero-vision {
  background-image: url('../images/banner-3.jpg');
}

.page-hero-life {
  background-image: url('../images/banner-4.png');
}

.page-hero-stories {
  background-image: url('../images/banner-5.png');
}

.page-hero-admissions {
  background-image: url('../images/banner-6.jpg');
}

.page-hero-contact {
  background-image: url('../images/infra-recep.jpg');
}

.page-hero-stories::after,
.page-hero-admissions::after,
.page-hero-contact::after {
  content: '';
  position: absolute;
  inset: 0;
}

.page-hero-stories::after {
  background: linear-gradient(180deg, rgba(120,20,220,0.32) 0%, rgba(60,10,110,0.5) 100%);
}

.page-hero-admissions::after {
  background: linear-gradient(180deg, rgba(0,140,130,0.32) 0%, rgba(0,56,52,0.5) 100%);
}

.page-hero-contact::after {
  background: linear-gradient(180deg, rgba(230,170,60,0.3) 0%, rgba(120,72,8,0.48) 100%);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,20,60,0.35) 0%, rgba(0,20,60,0.6) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 0 20px;
}

.page-hero-kicker {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.page-hero h1 {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.35);
}

/* ========== SUB NAV TABS ========== */
.subnav {
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 85px;
  z-index: 20;
  box-shadow: 0 4px 14px rgba(0,32,96,0.05);
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.subnav-link {
  display: inline-block;
  padding: 18px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  transition: color var(--transition);
  border-bottom: 3px solid transparent;
}

.subnav-link:hover {
  color: var(--navy);
}

.subnav-link.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

/* ========== OVERVIEW (About Us) ========== */
.overview-card {
  position: relative;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.overview-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
}

.overview-card h1,
.overview-card h2 {
  font-size: 40px;
  color: var(--navy);
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

.overview-card h1::after,
.overview-card h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.overview-description {
  position: relative;
  margin: 40px auto 20px;
  max-width: 780px;
}

.overview-description p {
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.95;
}

.policy-blocks {
  text-align: left;
  margin-top: 32px;
}

.policy-blocks p {
  margin-bottom: 22px;
  color: var(--text-secondary);
}

.policy-blocks p strong {
  display: block;
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  margin-bottom: 4px;
}

.overview-description > p + .policy-blocks p:last-child {
  font-weight: 500;
  color: var(--text-primary);
}

/* ========== TWO COLUMN PURPLE CARD ========== */
.two-col-purple .two-col-media {
  background: var(--navy);
}

/* ========== TWO COLUMN NAVY CARD ========== */
.two-col-navy {
  background: linear-gradient(135deg, #001a4d 0%, #00205c 60%, #0a2f7a 100%);
  border-radius: var(--radius-lg);
  padding: 64px;
  align-items: center;
  gap: 64px;
  box-shadow: var(--shadow-lg);
}
.two-col-navy .two-col-text h2 {
  color: var(--white);
}
.two-col-navy .two-col-text p {
  color: rgba(255, 255, 255, 0.88);
}
.two-col-navy .two-col-text .section-subtitle {
  color: var(--gold);
}
.two-col-navy .underline-link {
  color: var(--white);
}
.two-col-navy .underline-link::after {
  background: var(--gold);
}
.two-col-navy .media-scroll {
  margin-top: 0;
}
.two-col-navy .media-scroll figure {
  flex: 0 0 46%;
}
.two-col-navy .media-scroll img {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.two-col-navy .media-scroll figcaption {
  color: var(--white);
}

/* ========== ABOUT US PAGE GALLERY ========== */
.page-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.page-gallery figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.page-gallery img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.page-gallery figure:hover img { transform: scale(1.06); }

/* ========== VISION / MISSION CARDS ========== */
.vm-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 60px;
}

.vm-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.vm-card.purple {
  background: var(--navy);
}

.vm-card-img {
  height: 300px;
  overflow: hidden;
}

.vm-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vm-card-body {
  padding: 32px;
}

.vm-card-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.vm-card.purple .vm-card-title { color: var(--white); }

.vm-card-text {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.85;
}

.vm-card.purple .vm-card-text { color: rgba(255,255,255,0.8); }

/* ========== CORE VALUES ========== */
.core-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-card-img {
  height: 200px;
  overflow: hidden;
}

.value-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.value-card:hover .value-card-img img { transform: scale(1.06); }

.value-card-body {
  padding: 24px;
}

.value-card-body h4 {
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 8px;
}

.value-card-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.value-tagline {
  display: block;
  margin-top: 14px;
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* ========== DOCUMENT LISTS (Policies / Affiliations) ========== */
.doc-subtitle {
  text-align: center;
  font-size: 15px;
  color: var(--text-secondary);
  margin: 44px 0 22px;
}

.doc-list {
  max-width: 780px;
  margin: 0 auto;
}

.doc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 26px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(0,32,96,0.04);
  transition: var(--transition);
}

.doc-item:hover {
  border-color: var(--gold);
  box-shadow: 0 6px 24px rgba(0,32,96,0.1);
  transform: translateY(-2px);
}

.doc-item-name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
}

.doc-item-name i {
  color: var(--gold);
  font-size: 16px;
  width: 24px;
  text-align: center;
}

.doc-view {
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 6px 18px;
  border-radius: 30px;
  transition: var(--transition);
}

.doc-item:hover .doc-view {
  background: var(--gold);
  color: var(--white);
}

/* ========== AWARDS ========== */
.award-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  padding: 60px;
  border-radius: var(--radius-xl);
  margin-bottom: 28px;
}

.award-card.blue { background: #f0f8ff; }
.award-card.white { background: #fffafa; }

.award-card.reverse { direction: rtl; }
.award-card.reverse > * { direction: ltr; }

.award-text h2 {
  font-size: 30px;
  color: var(--navy);
  margin-bottom: 18px;
  line-height: 1.3;
}

.award-desc p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 10px;
}

.award-desc ul {
  list-style: disc;
  padding-left: 20px;
  margin: 12px 0;
}

.award-desc li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.award-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.award-gallery.three {
  grid-template-columns: repeat(3, 1fr);
}

.award-gallery img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.award-gallery.three img { height: 150px; }

/* ========== LEARNING SECTION ========== */

/* Page hero backgrounds */
.page-hero-learning {
  background-image:
    url('../images/banner-4.png');
}
.page-hero-approach {
  background-image:
    url('../images/approach.jpg');
}
.page-hero-ey {
  background-image:
    url('../images/ey.jpg');
}
.page-hero-py {
  background-image:
    url('../images/py.jpg');
}
.page-hero-ms {
  background-image:
    url('../images/banner-5.png');
}
.page-hero-senior {
  background-image:
    url('../images/banner-6.jpg');
}
.page-hero-aslevel {
  background-image:
    url('../images/banner-6.jpg');
}
.page-hero-ibdp {
  background-image:
    url('../images/banner-6.jpg');
}
.page-hero-tech {
  background-image:
    url('../images/infra-ict.jpg');
}
.page-hero-reading {
  background-image:
    url('../images/infra-lib.jpg');
}
.page-hero-parents {
  background-image:
    url('../images/infra-recep.jpg');
}
.page-hero-guidance {
  background-image:
    url('../images/infra-hall.jpg');
}

/* Shared section title block */
.title-block {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 56px;
}
.title-block .kicker {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
}
.title-block h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(30px, 4vw, 44px);
  color: var(--navy);
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 18px;
}
.title-block h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(30px, 4vw, 44px);
  color: var(--navy);
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 18px;
}
.title-block h1::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
}
.title-block h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
}
.title-block p {
  color: var(--text-primary);
  line-height: 1.9;
  font-size: 15.5px;
  max-width: 780px;
  margin: 0 auto;
}

/* Gold arrow link */
.link-gold {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 14px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.link-gold::after {
  content: '\2192';
  transition: transform 0.3s;
}
.link-gold:hover {
  color: var(--navy);
}
.link-gold:hover::after {
  transform: translateX(4px);
}

/* Media card - text + image two-column blocks */
.media-card {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 44px 52px;
  border-radius: var(--radius-lg);
  margin-bottom: 28px;
}
.media-card.blue {
  background: #eef6ff;
}
.media-card.snow {
  background: #fbfaf7;
}
.media-card.plain {
  background: transparent;
  padding: 0;
}
.media-card.reverse {
  flex-direction: row-reverse;
}
.media-card .media-text {
  flex: 1 1 auto;
  min-width: 0;
}
.media-card .media-text h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 14px;
}
.media-card .media-text p {
  color: var(--text-primary);
  line-height: 1.9;
  font-size: 15.5px;
  margin-bottom: 14px;
}
.media-card .media-text p:last-child {
  margin-bottom: 0;
}
.media-card .media-text ul {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
.media-card .media-text ul li {
  position: relative;
  padding: 8px 0 8px 30px;
  line-height: 1.7;
  color: var(--text-primary);
  border-bottom: 1px dashed var(--border-color);
  font-size: 15.5px;
}
.media-card .media-text ul li:last-child {
  border-bottom: none;
}
.media-card .media-text ul li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 15px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(184, 134, 11, 0.15);
}
.media-card .media-img {
  flex: 0 0 40%;
}
.media-card .media-img img {
  width: 100%;
  display: block;
  border-radius: 12px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

/* Feature icon grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 26px 18px;
  margin-top: 40px;
}
.feature-card {
  text-align: center;
  padding: 24px 14px 20px;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background: var(--white);
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--gold);
}
.feature-card img {
  height: 64px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto 14px;
  display: block;
}
.feature-card span {
  font-weight: 600;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.4;
  display: block;
}

/* Guide image cards with overlay caption */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.guide-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.guide-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.guide-card:hover img {
  transform: scale(1.04);
}
.guide-card .guide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 18px 16px;
  background: linear-gradient(to top, rgba(0, 32, 92, 0.92) 0%, rgba(0, 32, 92, 0) 100%);
  color: #fff;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
}

/* Photo grid gallery */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.image-grid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

/* Facility photo cards (technology page) */
.facility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.facility-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.facility-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.facility-card:hover img {
  transform: scale(1.04);
}
.facility-card span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 18px 16px;
  background: linear-gradient(to top, rgba(0, 32, 92, 0.92) 0%, rgba(0, 32, 92, 0) 100%);
  color: #fff;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
}

/* Holistic development grid (approach page) */
.holistic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.holistic-card {
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.holistic-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.holistic-card .holistic-thumb {
  position: relative;
  overflow: hidden;
}
.holistic-card .holistic-thumb img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.holistic-card:hover .holistic-thumb img {
  transform: scale(1.04);
}
.holistic-card .holistic-thumb span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 18px 14px;
  background: linear-gradient(to top, rgba(0, 32, 92, 0.9) 0%, rgba(0, 32, 92, 0) 100%);
  color: #fff;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
}
.holistic-card .holistic-body {
  padding: 24px 24px 26px;
}
.holistic-card.text {
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 280px;
}
.holistic-card.text.blue {
  background: linear-gradient(160deg, #e3f0ff, #f2f8ff);
  border-color: transparent;
}
.holistic-card.text.purple {
  background: linear-gradient(160deg, #efe9ff, #faf7ff);
  border-color: transparent;
}
.holistic-card.text img {
  height: 56px;
  width: auto;
  object-fit: contain;
  margin-bottom: 18px;
}
.holistic-card.text h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 10px;
}
.holistic-card.text p {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--text-primary);
}
.holistic-card .holistic-body h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 10px;
}
.holistic-card .holistic-body p {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--text-primary);
}

/* Learning programs rows (approach page) */
.program-item {
  display: flex;
  align-items: stretch;
  gap: 32px;
  margin-bottom: 32px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.program-item.reverse {
  flex-direction: row-reverse;
}
.program-item img {
  width: 50%;
  min-height: 300px;
  object-fit: cover;
}
.program-item .program-body {
  width: 50%;
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.program-body.purple {
  background: linear-gradient(160deg, #efe9ff, #faf7ff);
}
.program-body.blue {
  background: linear-gradient(160deg, #e3f0ff, #f2f8ff);
}
.program-body h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 12px;
}
.program-body p {
  color: var(--text-primary);
  line-height: 1.85;
  font-size: 15px;
}

/* STEAM cards (learning overview) */
.steam-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.steam-card {
  position: relative;
  border-radius: 160px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.steam-card img {
  width: 100%;
  height: 370px;
  object-fit: cover;
  display: block;
}
.steam-card span {
  position: absolute;
  left: 50%;
  top: 22px;
  transform: translateX(-50%);
  background: rgba(0, 32, 92, 0.88);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 30px;
  white-space: nowrap;
}

/* Find out more cards (learning overview) */
.fom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 44px;
}
.fom-card {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 26px 30px;
  border-radius: 16px;
  transition: var(--transition);
}
.fom-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
.fom-card.purple {
  background: linear-gradient(160deg, #efe9ff, #faf7ff);
}
.fom-card.blue {
  background: linear-gradient(160deg, #e3f0ff, #f2f8ff);
}
.fom-card img {
  flex: 0 0 150px;
  width: 150px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
}
.fom-card .fom-body h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 6px;
}
.fom-card .fom-body a {
  color: var(--gold);
  font-weight: 700;
  font-size: 13.5px;
}

/* Academic page layout - aside nav + content */
.layout-with-aside {
  display: flex;
  gap: 52px;
  align-items: flex-start;
}
.aside-nav {
  flex: 0 0 280px;
  position: sticky;
  top: 185px;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 10px;
  background: var(--white);
}
.aside-nav h5 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 700;
  padding: 8px 14px 12px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 8px;
}
.aside-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 14.5px;
  font-weight: 500;
  transition: var(--transition);
}
.aside-nav a + a {
  margin-top: 2px;
}
.aside-nav a:hover {
  background: var(--light);
  color: var(--navy);
}
.aside-nav a.active {
  background: var(--navy);
  color: #fff;
}
.aside-nav a.sub {
  padding-left: 28px;
  font-weight: 400;
  font-size: 13.5px;
}
.academic-main {
  flex: 1 1 auto;
  min-width: 0;
}

/* Academic content prose */
.blurb h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 18px;
}
.blurb h1::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
}
.blurb h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 30px;
  color: var(--navy);
  margin: 44px 0 14px;
  position: relative;
  padding-bottom: 14px;
}
.blurb h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 52px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
}
.blurb h2 + p {
  margin-top: 4px;
}
.blurb p {
  color: var(--text-primary);
  line-height: 1.95;
  font-size: 16px;
  margin-bottom: 18px;
}
.blurb ul {
  list-style: none;
  margin: 0 0 22px 0;
  padding: 0;
}
.blurb ul li {
  position: relative;
  padding: 8px 0 8px 30px;
  line-height: 1.7;
  color: var(--text-primary);
  border-bottom: 1px dashed var(--border-color);
}
.blurb ul li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 15px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(184, 134, 11, 0.15);
}
.blurb .lead-img {
  display: block;
  width: 100%;
  border-radius: 14px;
  margin: 28px 0;
  box-shadow: var(--shadow-sm);
}
.blurb .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 28px 0;
}
.blurb .row-2 img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

/* Data tables */
.table-wrap {
  overflow-x: auto;
  margin: 26px 0 30px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}
.table-wrap.wide table {
  min-width: 1020px;
}
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 560px;
}
.table-wrap th {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  padding: 15px 16px;
  text-align: left;
}
.table-wrap td {
  padding: 13px 16px;
  border-top: 1px solid var(--border-color);
  color: var(--text-primary);
}
.table-wrap tbody tr:nth-child(even) {
  background: #f6f8fb;
}
.table-wrap tbody tr:hover {
  background: #eef4ff;
}

/* Horizontal media scroller */
.media-scroll {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 6px 2px 18px;
  scroll-snap-type: x mandatory;
  margin-top: 40px;
}
.media-scroll figure {
  flex: 0 0 33%;
  scroll-snap-align: start;
  margin: 0;
}
.media-scroll img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  display: block;
}
.media-scroll figcaption {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  color: var(--navy);
  font-weight: 700;
  margin-top: 12px;
}

/* Parent portal helpers */
.portal-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}
.portal-logo img {
  height: 36px;
  width: auto;
}
.portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 22px;
  border-radius: 30px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4px;
  transition: var(--transition);
}
.portal-btn:hover {
  background: var(--gold);
  color: #fff;
}

/* Learning responsive */
@media (max-width: 1200px) {
  .holistic-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .steam-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .holistic-card .holistic-thumb img,
  .steam-card img {
    height: 320px;
  }
}
@media (max-width: 992px) {
  .layout-with-aside {
    flex-direction: column;
  }
  .aside-nav {
    position: static;
    width: 100%;
    flex: none;
  }
  .media-card,
  .media-card.reverse {
    flex-direction: column;
    padding: 32px;
  }
  .media-card .media-img {
    flex: none;
    width: 100%;
  }
  .program-item,
  .program-item.reverse {
    flex-direction: column;
  }
  .program-item img,
  .program-item .program-body {
    width: 100%;
    min-height: 0;
  }
  .program-item img {
    height: 260px;
  }
  .steam-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .fom-grid {
    grid-template-columns: 1fr;
  }
  .facility-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .media-scroll figure {
    flex: 0 0 55%;
  }
}
@media (max-width: 768px) {
  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .guide-card img {
    height: 200px;
  }
  .holistic-grid {
    grid-template-columns: 1fr 1fr;
  }
  .holistic-card .holistic-thumb img {
    height: 180px;
  }
  .steam-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steam-card img {
    height: 280px;
  }
  .fom-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }
  .fom-card img {
    width: 100%;
    height: 180px;
    flex: none;
  }
  .blurb .row-2 {
    grid-template-columns: 1fr;
  }
  .media-scroll figure {
    flex: 0 0 72%;
  }
  .program-item .program-body {
    padding: 28px 24px;
  }
  .title-block {
    margin-bottom: 40px;
  }
}
@media (max-width: 480px) {
  .guide-grid,
  .holistic-grid,
  .steam-grid,
  .image-grid,
  .facility-grid {
    grid-template-columns: 1fr;
  }
  .facility-card img {
    height: 220px;
  }
  .steam-card img {
    height: 340px;
  }
  .image-grid img {
    height: 220px;
  }
  .media-card,
  .media-card.reverse {
    padding: 22px;
    gap: 24px;
  }
  .media-card .media-img img {
    aspect-ratio: 16 / 10;
  }
  .two-col-navy {
    padding: 28px 20px;
    gap: 28px;
  }
  .two-col-navy .media-scroll figure {
    flex: 0 0 80%;
  }
  .title-block {
    margin-bottom: 34px;
  }
  .blurb h2 {
    font-size: 26px;
  }
  .aside-nav a {
    padding: 11px 14px;
  }
}

/* ========== CURRICULUM SECTION ========== */
.curriculum-section {
  background: var(--white);
  padding: 100px 0;
}

.curriculum-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 50px;
}

.curriculum-hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 280px;
  box-shadow: var(--shadow-md);
}

.curriculum-hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.curriculum-hero-card:hover img {
  transform: scale(1.05);
}

.curriculum-hero-card .card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--white);
}

.curriculum-hero-card .card-overlay h3 {
  color: var(--white);
  font-size: 24px;
  margin-bottom: 4px;
}

.curriculum-hero-card .card-overlay p {
  opacity: 0.85;
  font-size: 14px;
}

/* Academic Session Cards */
.academic-session-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 50px;
}

.session-header-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  grid-column: 1 / -1;
}

.session-header-card h3 {
  color: var(--white);
  font-size: 24px;
  font-weight: 600;
}

.session-mini-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.session-mini-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.session-mini-card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--navy);
  transition: var(--transition);
}

.session-mini-card:hover .card-icon {
  background: var(--navy);
  color: var(--white);
}

.session-mini-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.session-mini-card p {
  font-size: 12px;
  color: var(--text-muted);
}

/* ========== NUMBERS ========== */
.numbers-section {
  background: var(--navy);
  padding: 80px 0;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.number-item {
  text-align: center;
  padding: 0;
  position: relative;
  color: var(--white);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.number-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.number-item:hover .number-bg {
  transform: scale(1.05);
}

.number-content {
  position: relative;
  z-index: 2;
  background: linear-gradient(transparent, rgba(0,20,60,0.85));
  width: 100%;
  padding: 30px 20px;
}

.number-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.12);
  z-index: 3;
}

.number-item .number-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--gold-light);
}

.number-item h3 {
  color: var(--white);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 6px;
  font-family: 'Cormorant Garamond', serif;
}

.number-item p {
  font-size: 13px;
  opacity: 0.85;
  font-weight: 400;
}

/* ========== LIFE AT SCHOOL ========== */
.life-section {
  background: var(--navy);
  padding: 100px 0 60px;
  color: var(--white);
}

.life-content-grid {
  max-width: 900px;
}

.life-text .section-subtitle {
  text-align: left;
}

.life-text h2 {
  color: var(--white);
  font-size: 40px;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.life-text p {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 16px;
}

.life-text a {
  margin-top: 12px;
}

.life-text .underline-link::after {
  background: var(--gold-light);
}

.life-text .underline-link:hover {
  color: var(--white);
}

.life-slider {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.life-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 300px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  cursor: pointer;
}

.life-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.life-card img,
.life-card .card-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.life-card:hover img,
.life-card:hover .card-bg {
  transform: scale(1.08);
}

.card-bg {
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-bg i {
  font-size: 40px;
  color: rgba(255,255,255,0.9);
}

.life-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: var(--white);
}

.life-card-overlay h4 {
  color: var(--white);
  font-size: 17px;
  margin-bottom: 4px;
}

.life-card-overlay p {
  font-size: 12px;
  opacity: 0.85;
  line-height: 1.5;
}

/* ========== INFRASTRUCTURE ========== */
.infra-section {
  padding: 100px 0;
  background: var(--white);
}

.infra-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.infra-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--medium-gray);
}

.infra-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.infra-card-img {
  height: 160px;
  overflow: hidden;
}

.infra-card-img img,
.infra-card-img .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.infra-card:hover .infra-card-img img,
.infra-card:hover .infra-card-img .img-placeholder {
  transform: scale(1.05);
}

.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-placeholder i {
  font-size: 36px;
  color: rgba(255,255,255,0.9);
}

.infra-card h5 {
  padding: 14px;
  text-align: center;
  font-size: 14px;
  color: var(--navy);
  font-weight: 600;
}

/* ========== TESTIMONIALS ========== */
.testimonials-section {
  background: var(--off-white);
  padding: 100px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0 0 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--medium-gray);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonial-thumb {
  position: relative;
  height: 220px;
  margin-bottom: 22px;
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.testimonial-card:hover .testimonial-thumb img {
  transform: scale(1.05);
}

.testimonial-thumb::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(transparent 40%, rgba(0,20,60,0.3));
}

.testimonial-card .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  z-index: 2;
}

.testimonial-card .play-icon:hover {
  background: var(--gold);
  transform: translate(-50%, -50%) scale(1.08);
}

.testimonial-card .play-icon i {
  color: var(--navy);
  font-size: 16px;
  margin-left: 3px;
}

.testimonial-card:hover .play-icon {
  transform: translate(-50%, -50%) scale(1.08);
}

.testimonial-card h4 {
  font-size: 18px;
  margin-bottom: 4px;
  color: var(--navy);
  font-family: 'Inter', sans-serif;
}

.testimonial-card p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ========== STORIES ========== */
.stories-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #f2f6ff 0%, #ffffff 40%);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.story-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--medium-gray);
}

.story-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.story-card-img {
  height: 200px;
  overflow: hidden;
}

.story-card-img img,
.story-card-img .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.story-card:hover .story-card-img img,
.story-card:hover .story-card-img .img-placeholder {
  transform: scale(1.05);
}

.story-card-content {
  padding: 22px;
}

.story-card .tag {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 10px;
}

.story-card h4 {
  font-size: 17px;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.story-card .date {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
}

/* ========== CTA SECTION ========== */
.cta-section {
  padding: 100px 0;
  background: var(--off-white);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.cta-item {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  border: none;
  box-shadow: var(--shadow-lg);
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.8s ease;
}

.cta-item:hover .cta-bg {
  transform: scale(1.05);
}

.cta-purple::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(80, 26, 119, 0.55), rgba(80, 26, 119, 0.75));
  z-index: 1;
}

.cta-navy::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 32, 92, 0.55), rgba(0, 32, 92, 0.8));
  z-index: 1;
}

.cta-card-content {
  position: relative;
  z-index: 2;
  padding: 50px 40px;
}

.cta-card-content h2 {
  color: var(--white);
  font-size: 40px;
  margin-bottom: 12px;
}

.cta-card-content p {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.cta-card-content .btn-gold {
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.cta-card-content .btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.cta-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--gold-light);
}

/* ========== FAQ ========== */
.faq-section {
  padding: 100px 0;
  background: var(--off-white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--medium-gray);
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 500;
  color: var(--text-primary);
  font-size: 15px;
  transition: var(--transition-fast);
}

.faq-question:hover { color: var(--navy); }

.faq-question .toggle {
  font-size: 20px;
  transition: var(--transition);
  color: var(--navy);
  font-weight: 300;
}

.faq-item.active .faq-question .toggle {
  transform: rotate(45deg);
  color: var(--gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 14px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--navy-deeper);
  color: var(--white);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1.1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  margin-bottom: 18px;
}

.footer-logo-img {
  width: auto;
  max-height: 76px;
  height: auto;
  margin-bottom: 18px;
}

.testimonial-card .testimonial-quote {
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.6;
  color: #6b7280;
  margin-top: 10px;
}

.footer-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-about p {
  font-size: 13px;
  opacity: 0.65;
  line-height: 1.8;
  margin-bottom: 16px;
}

.footer-contact p {
  font-size: 13px;
  opacity: 0.65;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact i {
  width: 16px;
  opacity: 0.5;
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.footer-social .social-icon {
  width: 34px;
  height: 34px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--gold);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 13px;
  opacity: 0.6;
  transition: var(--transition-fast);
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 12px;
  opacity: 0.5;
}

.footer-bottom-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 8px;
}

.footer-bottom-links a {
  font-size: 12px;
  opacity: 0.5;
}

.footer-bottom-links a:hover { opacity: 1; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.3px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,32,92,0.3);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}

.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}

.btn-gold:hover {
  background: var(--gold-dark);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* ========== MV CARDS ========== */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.mv-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--medium-gray);
}

.mv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.mv-card .icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 26px;
  transition: var(--transition);
}

.mv-card:hover .icon {
  background: var(--gold);
  transform: scale(1.05);
}

.mv-card h3 {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 14px;
  font-weight: 600;
}

.mv-card p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 14px;
}

/* ========== ABOUT CONTENT ========== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-content.reverse { direction: rtl; }
.about-content.reverse > * { direction: ltr; }

.about-text h3 {
  font-size: 32px;
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}

.about-text p {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 14px;
  font-size: 15px;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img,
.about-image .img-placeholder {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: white;
}

.img-placeholder i {
  font-size: 50px;
  opacity: 0.8;
}

.img-placeholder p {
  font-size: 15px;
  opacity: 0.8;
}

/* ========== ACADEMICS ========== */
.academics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.academic-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--medium-gray);
}

.academic-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.academic-card-image {
  height: 200px;
  overflow: hidden;
}

.academic-card-image img,
.academic-card-image .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.academic-card:hover .academic-card-image img,
.academic-card:hover .academic-card-image .img-placeholder {
  transform: scale(1.05);
}

.academic-card-content {
  padding: 26px;
}

.academic-card-content h4 {
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 10px;
}

.academic-card-content p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 14px;
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-form {
  background: var(--white);
  padding: 44px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--medium-gray);
}

.contact-form h3 {
  font-size: 24px;
  margin-bottom: 28px;
  color: var(--navy);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  transition: var(--transition-fast);
  background: var(--white);
  color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0,32,92,0.08);
}

.form-group textarea {
  height: 130px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-info h3 {
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 28px;
}

.contact-info-item {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
}

.contact-info-item .icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
}

.contact-info-item h4 {
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 4px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.contact-info-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-map {
  margin-top: 30px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.contact-map iframe {
  width: 100%;
  height: 300px;
  border: none;
}

/* ========== CAREERS ========== */
.careers-hero {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 100px 0;
}

.careers-hero h1 {
  color: var(--white);
  font-size: 46px;
  margin-bottom: 16px;
}

.careers-hero p {
  font-size: 17px;
  opacity: 0.85;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.8;
}

.job-listings {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.job-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-left: 4px solid var(--navy);
  border-top: 1px solid var(--medium-gray);
  border-right: 1px solid var(--medium-gray);
  border-bottom: 1px solid var(--medium-gray);
}

.job-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.job-card h4 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 8px;
}

.job-card .department {
  display: inline-block;
  background: var(--off-white);
  padding: 4px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

.job-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 18px;
  line-height: 1.7;
}

/* ========== POLICIES ========== */
.policies-list {
  max-width: 800px;
  margin: 0 auto;
}

.policy-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  border: 1px solid var(--medium-gray);
}

.policy-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
  border-color: var(--navy);
}

.policy-item h4 {
  font-size: 15px;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.policy-item .download-btn {
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
}

/* ========== TRANSPORT ========== */
.transport-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.transport-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.transport-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
}

.transport-feature .check {
  color: var(--gold);
  font-size: 16px;
  min-width: 20px;
}

.transport-feature span {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}

/* ========== TIMELINE ========== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: var(--navy);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: 50%;
  position: relative;
  margin-bottom: 36px;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 50%;
}

.timeline-item .content {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  max-width: 360px;
  border: 1px solid var(--medium-gray);
  transition: var(--transition);
}

.timeline-item .content:hover {
  box-shadow: var(--shadow-md);
}

.timeline-item:nth-child(odd) .content { margin-right: 36px; }
.timeline-item:nth-child(even) .content { margin-left: 36px; }

.timeline-item .dot {
  position: absolute;
  top: 24px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--white);
  z-index: 1;
}

.timeline-item:nth-child(odd) .dot { right: -9px; }
.timeline-item:nth-child(even) .dot { left: -9px; }

.timeline-item .content h4 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 8px;
}

.timeline-item .content p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ========== SCROLL TO TOP ========== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  border: none;
  box-shadow: var(--shadow-md);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ========== ANIMATIONS ========== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ========== UTILITY ========== */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.dark-bg { background: var(--navy); color: var(--white); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
  .life-slider { grid-template-columns: repeat(3, 1fr); }
  .infra-grid { grid-template-columns: repeat(3, 1fr); }
  .page-gallery { grid-template-columns: repeat(2, 1fr); }
  .core-values-grid { grid-template-columns: repeat(2, 1fr); }
  .vm-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .nav-item > a { padding: 0 10px; font-size: 13px; }
  .academic-session-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav { display: none; }
  .mobile-nav { display: block; }
  
  .top-bar-left,
  .top-affil { display: none; }
  .top-bar { font-size: 11px; }
  .top-disclosure { padding: 0 6px; letter-spacing: 0.4px; }
  
  .hero-banner { height: 380px; }
  .page-banner { height: 240px; }
  .page-banner h1 { font-size: 30px; }
  .page-hero { height: 380px; }
  .page-hero h1 { font-size: 36px; }
  .subnav { top: 85px; }
  .page-hero-who {
    background-image: url('../images/banner-1.png');
  }
  
  .two-col,
  .two-col.reverse,
  .two-col-purple,
  .about-content,
  .about-content.reverse,
  .contact-grid,
  .transport-grid,
  .cta-grid {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 40px;
  }
  
  .curriculum-top,
  .mv-grid,
  .academics-grid,
  .testimonials-grid,
  .stories-grid,
  .life-slider,
  .vm-cards,
  .core-values-grid,
  .page-gallery,
  .award-card {
    grid-template-columns: 1fr;
  }

  .two-col-navy {
    padding: 40px 28px;
    gap: 36px;
  }

  .award-card { direction: ltr; padding: 36px; }
  .award-gallery.three { grid-template-columns: repeat(3, 1fr); }
  
  .infra-grid { grid-template-columns: repeat(2, 1fr); }
  
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .number-item { min-height: 220px; }
  .academic-session-grid { grid-template-columns: repeat(2, 1fr); }
  .job-listings { grid-template-columns: 1fr; }
  
  .section { padding: 60px 0; }
  .section-header h2 { font-size: 30px; }
  
  .form-row { grid-template-columns: 1fr; }
  .number-item:not(:last-child)::after { display: none; }
}

@media (max-width: 480px) {
  .hero-banner { height: 300px; }
  .page-hero { height: 320px; }
  .page-hero h1 { font-size: 28px; }
  .page-hero-kicker { font-size: 11px; letter-spacing: 3px; }
  .overview-card h1,
  .overview-card h2 { font-size: 30px; }
  .top-bar-left { display: none; }
  .top-disclosure { font-size: 9px; letter-spacing: 0.3px; padding: 0 4px; }
  .top-bar-sep { display: none; }
  .academic-session-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: 1fr; }
  .life-slider { grid-template-columns: 1fr; }
  .infra-grid { grid-template-columns: 1fr; }
  .transport-features { grid-template-columns: 1fr; }
  .banner-arrow { display: none; }

  .two-col-media img,
  .video-wrapper img {
    height: 260px;
  }

  .life-card {
    height: 220px;
  }

  .testimonial-thumb {
    height: 180px;
  }

  .curriculum-hero-card {
    height: 200px;
  }

  .about-image img,
  .about-image .img-placeholder {
    height: 260px;
  }

  .infra-card-img {
    height: 140px;
  }

  .story-card-img {
    height: 170px;
  }

  .academic-card-image {
    height: 170px;
  }

  .cta-item {
    min-height: 320px;
  }

  .number-item {
    min-height: 170px;
  }
}

/* Responsive grid collapse for section overview/hub pages */
@media (max-width: 992px) {
  .top-affil { display: none; }
  .mv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mv-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .holistic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .aside-nav {
    position: static;
    width: 100%;
    margin-bottom: 28px;
  }
}

@media (max-width: 560px) {
  .mv-grid {
    grid-template-columns: 1fr;
  }

  .holistic-grid {
    grid-template-columns: 1fr;
  }

  .mv-card {
    padding: 32px 24px;
  }

  .subnav-link {
    padding: 14px 16px;
    font-size: 13px;
  }
}

/* ===== Life at School rebuild utilities ===== */
.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; margin-bottom: 76px; }
.feat-row:last-child { margin-bottom: 0; }
.feat-row.rev .feat-media { order: 2; }
.feat-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.feat-media img { width: 100%; height: 360px; object-fit: cover; display: block; }
.feat-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 29, 92, 0) 45%, rgba(0, 29, 92, 0.35)); }
.feat-media.intro { margin-top: 8px; }
.feat-media.intro img { height: 420px; }
.feat-eyebrow { display: inline-block; font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 12px; }
.feat-text h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(26px, 2.6vw, 38px); color: var(--navy); margin-bottom: 14px; line-height: 1.15; }
.feat-text p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 18px; }
.link-gold { color: var(--gold); font-weight: 600; letter-spacing: .3px; display: inline-flex; align-items: center; gap: 8px; transition: var(--transition); }
.link-gold:hover { color: var(--navy); gap: 12px; }
.center-more { text-align: center; margin-top: 34px; }
.duo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.media-card { background: var(--white); border: 1px solid var(--border-color); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); }
.media-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.media-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.media-card .mc-body { padding: 24px 26px 26px; }
.media-card h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 25px; color: var(--navy); margin-bottom: 8px; }
.media-card p { color: var(--text-secondary); line-height: 1.75; }
.section-card { border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 34px 30px; background: var(--white); box-shadow: var(--shadow-sm); }
.section-card .icon { width: 54px; height: 54px; border-radius: 12px; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 22px; margin-bottom: 18px; }
.section-card h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 25px; color: var(--navy); margin-bottom: 10px; }
.section-card p { color: var(--text-secondary); line-height: 1.75; }
.section-card .link-gold { margin-top: 10px; word-break: break-word; }
.facility-tile { border: 1px solid var(--border-color); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); transition: var(--transition); }
.facility-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.facility-tile img { width: 100%; height: 170px; object-fit: cover; display: block; }
.facility-tile .ft-label { padding: 18px 20px; font-weight: 600; color: var(--navy); display: flex; align-items: center; gap: 10px; }
.facility-tile.none { display: grid; place-items: center; min-height: 224px; text-align: center; }
.facility-tile.none .ft-label { justify-content: center; font-size: 16px; }
.facility-tile.none .ft-label i { font-size: 26px; color: var(--gold); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-grid img { width: 100%; height: 200px; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow-xs); }
.ach-grid { display: grid; gap: 30px; }
.ach-card { border: 1px solid var(--border-color); border-radius: var(--radius-lg); background: var(--white); padding: 32px 32px 28px; box-shadow: var(--shadow-sm); }
.ach-card h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 26px; color: var(--navy); margin-bottom: 12px; line-height: 1.2; }
.ach-card p { color: var(--text-secondary); line-height: 1.75; margin-bottom: 12px; }
.ach-imgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 8px; }
.ach-imgs img { width: 100%; height: 150px; object-fit: cover; border-radius: 10px; box-shadow: var(--shadow-xs); }
.four-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.four-grid .holistic-card { height: 100%; }
.four-grid .holistic-card .holistic-thumb img { height: 190px; }
.four-grid a.holistic-card { text-decoration: none; }
.dl-card { display: flex; align-items: center; gap: 22px; border: 1px solid var(--border-color); border-radius: var(--radius-lg); background: var(--white); padding: 28px 30px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.dl-card .dl-icon { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 14px; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 22px; }
.dl-card h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 24px; color: var(--navy); margin-bottom: 2px; }
.dl-card p { color: var(--text-muted); }
.dl-card a { margin-left: auto; white-space: nowrap; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); color: #fff; }
@media (max-width: 992px) {
  .feat-row { grid-template-columns: 1fr; gap: 28px; margin-bottom: 56px; }
  .feat-row.rev .feat-media { order: 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .four-grid { grid-template-columns: repeat(2, 1fr); }
  .duo-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .dl-card { flex-wrap: wrap; row-gap: 14px; }
  .dl-card a { margin-left: 0; }
  .feat-media img { height: 260px; }
  .feat-media.intro img { height: 300px; }
  .media-card img { height: 180px; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .four-grid { grid-template-columns: 1fr; }
  .ach-imgs { grid-template-columns: 1fr 1fr; }
  .facility-tile img { height: 150px; }
  .feat-media img { height: 220px; }
  .ach-card { padding: 24px 20px 22px; }
}

/* ===== Admissions rebuild utilities ===== */
.page-hero-admissions {
  background-image: url('../images/banner-6.jpg');
}
.page-hero-transport-ey {
  background-image: url('../images/infra-recep.jpg');
}
.page-hero-transport-py {
  background-image: url('../images/infra-recep.jpg');
}
.page-hero-faq {
  background-image: url('../images/cta-ask.jpg');
}

.updates-bar {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 56px;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--gold);
}
.updates-bar .ub-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--gold);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 20px;
}
.updates-bar h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 23px;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: .5px;
}
.updates-bar p {
  color: rgba(255, 255, 255, .85);
  line-height: 1.7;
  font-size: 14.5px;
}

.contact-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 8px;
}
.contact-card {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-md);
}
.contact-card h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  color: #fff;
  margin-bottom: 22px;
}
.contact-card .cc-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.contact-card .cc-row:last-child {
  border-bottom: none;
}
.contact-card .cc-row > i {
  color: var(--gold);
  font-size: 17px;
  margin-top: 4px;
  width: 20px;
}
.contact-card .cc-row span {
  display: block;
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 3px;
}
.contact-card .cc-row a {
  color: #fff;
  font-weight: 500;
  transition: var(--transition-fast);
}
.contact-card .cc-row a:hover { color: var(--gold); }

.timing-list {
  list-style: none;
  margin: 0 0 8px;
}
.timing-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--border-color);
  color: var(--text-secondary);
  font-size: 14.5px;
}
.timing-list li span {
  font-weight: 600;
  color: var(--navy);
}
.feat-sub {
  font-weight: 700;
  color: var(--navy);
  margin: 18px 0 2px;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.promo-card { display: block; text-decoration: none; }
.promo-card .mc-body h3 { color: var(--navy); }
.promo-card .link-gold { margin-top: 8px; }

.tabs-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 26px 0 0;
  background: var(--off-white);
}
.tab-btn {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 12px 30px;
  border-radius: 40px;
  border: 1px solid var(--border-color);
  background: var(--white);
  color: var(--text-secondary);
  transition: var(--transition);
}
.tab-btn:hover {
  border-color: var(--gold);
  color: var(--navy);
}
.tab-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 44px;
}
.route-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.route-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 32, 96, .15);
}
.route-media {
  position: relative;
  display: block;
  overflow: hidden;
}
.route-media img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.route-card:hover .route-media img { transform: scale(1.06); }
.route-view {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(0, 29, 92, .88);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  padding: 8px 16px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(4px);
}
.route-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.route-body h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 23px;
  color: var(--navy);
  line-height: 1.2;
}
.route-point {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}
.route-point i {
  color: var(--gold);
  margin-top: 3px;
}
.route-time {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px dashed var(--border-color);
}
.route-time i { color: var(--navy); }

.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.doc-group {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.doc-group:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.dg-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.doc-group h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 23px;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.25;
}
.check-list {
  list-style: none;
  margin: 0;
}
.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}
.check-list li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--gold);
  font-size: 14px;
}
.extra-note {
  font-weight: 700;
  color: var(--navy);
  font-size: 13px;
  letter-spacing: .5px;
  margin: 8px 0 10px;
}

.contact-links {
  list-style: none;
  margin: 0 0 18px;
}
.contact-links li {
  margin-bottom: 6px;
}
.contact-links a {
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
}
.contact-links a:hover { color: var(--gold); }

.btn-lg {
  padding: 15px 34px;
  font-size: 15px;
}

@media (max-width: 992px) {
  .route-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-grid { grid-template-columns: 1fr; }
  .contact-duo { grid-template-columns: 1fr; }
  .updates-bar { padding: 24px 26px; }
}
@media (max-width: 768px) {
  .route-media img { height: 190px; }
  .route-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .route-grid { grid-template-columns: 1fr; }
  .timing-list li { flex-direction: column; gap: 2px; }
  .contact-card { padding: 26px 22px; }
  .updates-bar { flex-direction: column; }
  .tabs-row { flex-wrap: wrap; padding-top: 20px; }
  .tab-btn { padding: 11px 22px; }
  .doc-group { padding: 24px 20px; }
}

/* ===== Stories rebuild utilities ===== */
.fg-main {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}
.fg-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.fg-thumbs img {
  width: 100%;
  height: 92px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow-xs);
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.activity-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-decoration: none;
}
.activity-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.activity-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
.activity-card-body {
  padding: 20px 22px 22px;
}
.activity-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 10px;
}
.activity-date {
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: .25px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.activity-date i { color: var(--gold); }

@media (max-width: 992px) {
  .activities-grid { grid-template-columns: repeat(2, 1fr); }
  .fg-thumbs { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .fg-main { height: 280px; }
  .fg-thumbs img { height: 78px; }
}
@media (max-width: 560px) {
  .activities-grid { grid-template-columns: 1fr; }
  .fg-thumbs { grid-template-columns: repeat(2, 1fr); }
  .fg-main { height: 230px; }
  .activity-card img { height: 170px; }
}


/* ===== CAREERS (live mirror) ===== */
.page-hero-careers {
  background-image: url('../images/infra-hall.jpg');
}
.page-hero-careers::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,45,110,0.35) 0%, rgba(8,20,60,0.58) 100%);
}
.page-hero-btn {
  margin-top: 26px;
}

.why-section {
  background: var(--white);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 44px;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  margin: 0;
}
.why-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}
.why-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}
.why-card figcaption {
  padding: 18px 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  text-align: center;
}

.career-form-section {
  background: linear-gradient(180deg, var(--off-white) 0%, #eef2f8 100%);
  padding: 90px 0;
}
.career-form-panel {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--medium-gray);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 48px;
}
.career-form-panel h2 {
  font-size: 32px;
  color: var(--navy);
  text-align: center;
  margin-bottom: 10px;
}
.career-form-panel h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 14px auto 0;
}
.career-form-panel > p {
  text-align: center;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 34px;
  line-height: 1.7;
}
.career-form-panel form {
  max-width: 720px;
  margin: 0 auto;
}
.phone-row {
  display: flex;
  gap: 12px;
}
.phone-row .phone-code {
  width: 110px;
  flex: none;
}
.file-drop {
  display: block;
  border: 1.5px dashed var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  cursor: pointer;
  transition: var(--transition-fast);
  background: var(--off-white);
}
.file-drop:hover {
  border-color: var(--navy);
  background: #f4f6fb;
}
.file-drop input {
  display: none;
}
.file-drop-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--navy);
}
.file-drop-label i {
  color: var(--gold);
}
.file-drop-hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-muted);
}
.terms-row {
  margin: 24px 0 26px;
}
.custom-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.55;
  cursor: pointer;
}
.custom-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--navy);
  flex: none;
  cursor: pointer;
}

@media (max-width: 992px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .why-grid { grid-template-columns: 1fr; }
  .career-form-panel { padding: 34px 22px; }
  .phone-row { flex-direction: column; }
  .phone-row .phone-code { width: 100%; }
  .career-form-section { padding: 64px 0; }
}


/* ===== Global media safety ===== */
img,
video {
  max-width: 100%;
}
iframe {
  max-width: 100%;
  border: 0;
}


/* ===== CONTACT (live mirror) ===== */
.tc-purple {
  background: linear-gradient(135deg, #2a1466 0%, #4a2bb8 58%, #6a45d6 100%);
  border-radius: var(--radius-lg);
  padding: 64px;
  box-shadow: var(--shadow-lg);
}
.tc-purple .two-col-text h2 { color: var(--white); }
.tc-purple .two-col-text .section-subtitle { color: var(--gold); }
.tc-purple .two-col-text > p { color: rgba(255, 255, 255, 0.9); }
.tc-purple .two-col-media { box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28); }

.tc-dark {
  background: linear-gradient(135deg, #001430 0%, #00205c 55%, #08346e 100%);
  border-radius: var(--radius-lg);
  padding: 64px;
  box-shadow: var(--shadow-lg);
}
.tc-dark .two-col-text h2 { color: var(--white); }
.tc-dark .two-col-text .section-subtitle { color: var(--gold); }
.tc-dark .two-col-text > p { color: rgba(255, 255, 255, 0.88); }
.tc-dark .two-col-media { box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35); }

.contact-details {
  list-style: none;
  margin: 28px 0 0;
  display: grid;
  gap: 16px;
  padding: 0;
}
.contact-details li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14.5px;
  line-height: 1.65;
}
.contact-details a {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}
.contact-details a:hover { color: var(--gold); }
.cd-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 15px;
  margin-top: 2px;
}

.contact-faq {
  background: linear-gradient(180deg, var(--off-white) 0%, #ffffff 100%);
}

@media (max-width: 992px) {
  .tc-purple, .tc-dark { padding: 44px; }
}
@media (max-width: 768px) {
  .tc-purple, .tc-dark { padding: 34px 26px; }
}
@media (max-width: 480px) {
  .tc-purple, .tc-dark { padding: 28px 20px; }
  .contact-details li { font-size: 14px; }
}


/* ===== ADMISSIONS POPUP ===== */
.admission-popup-wrap {
  position: fixed;
  inset: 0;
  background: rgba(2, 12, 34, 0.72);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.admission-popup-wrap.show {
  opacity: 1;
  visibility: visible;
}
.admission-popup {
  position: relative;
  max-width: 720px;
  width: 100%;
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transform: scale(0.92) translateY(14px);
  transition: transform .35s ease;
}
.admission-popup-wrap.show .admission-popup {
  transform: scale(1) translateY(0);
}
.popup-link { display: block; }
.popup-link img { width: 100%; height: auto; display: block; }
.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition-fast), background var(--transition-fast);
}
.popup-close:hover {
  transform: rotate(90deg);
  background: #fff;
}
@media (max-width: 560px) {
  .admission-popup-wrap { padding: 12px; }
  .admission-popup { max-width: 94vw; border-radius: 14px; }
  .popup-close { top: 8px; right: 8px; width: 34px; height: 34px; font-size: 20px; }
}


.form-status { margin-top: 12px; font-size: 14px; font-weight: 500; color: #333; min-height: 18px; }
.form-status.form-status-ok { color: #2e7d32; }
