/* ============================================================
   Standard Hill School – Shared Stylesheet (Merged v2)
   ============================================================ */

:root {
  --navy:       #0a1a3a;
  --navy-light: #1a2f5a;
  --royal:      #1a3f8f;
  --blue:       #2563eb;
  --sky:        #e8f0fe;
  --gold:       #c8920a;
  --gold-light: #f0b429;
  --gold-pale:  #fdf3d7;
  --silver:     #f4f6f9;
  --white:      #ffffff;
  --text:       #1a2840;
  --muted:      #5a6a82;
  --radius:     16px;
  --shadow:     0 8px 40px rgba(10,26,58,0.10);
  --shadow-lg:  0 20px 60px rgba(10,26,58,0.18);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== UGANDA FLAG BANNER ===== */
.ug-banner { display: flex; height: 6px; width: 100%; }
.ug-banner span { flex: 1; }
.b1 { background: #000; }
.b2 { background: #FCDC04; }
.b3 { background: #D90000; }
.b4 { background: #000; }
.b5 { background: #FCDC04; }
.b6 { background: #D90000; }

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.82);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  padding: 8px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.top-bar-right { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.top-bar a {
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.7rem;
  padding: 4px 14px;
  border-radius: 20px;
  transition: background var(--transition), transform var(--transition);
}
.top-bar a:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ===== HEADER / NAV ===== */
header {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(10,26,58,0.08);
  box-shadow: 0 2px 20px rgba(10,26,58,0.06);
  animation: slideDown 0.5s ease both;
}
@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo-area { display: flex; align-items: center; gap: 14px; }
.logo {
  width: 56px; height: 56px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--gold);
  transition: transform var(--transition);
}
.logo:hover { transform: rotate(5deg) scale(1.05); }
.logo-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.12rem; font-weight: 700;
  color: var(--navy); line-height: 1.2;
}
.logo-text p {
  font-size: 0.68rem; color: var(--gold);
  font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* DESKTOP NAV */
nav { display: flex; align-items: center; gap: 4px; }
nav a {
  font-size: 0.82rem; font-weight: 500;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
  position: relative;
}
nav a::after {
  content: '';
  position: absolute; bottom: 4px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transition: width var(--transition);
}
nav a:hover { color: var(--navy); background: var(--silver); }
nav a:hover::after, nav a.active::after { width: 60%; }
nav a.active { color: var(--navy); font-weight: 600; }
.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition) !important;
}
.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 16px rgba(200,146,10,0.35) !important;
}
.nav-cta::after { display: none !important; }

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background var(--transition);
}
.hamburger:hover { background: var(--silver); }
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE NAV DRAWER */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,26,58,0.96);
  backdrop-filter: blur(16px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.mobile-nav.open { display: flex; opacity: 1; transform: scale(1); }
.mobile-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 1.5rem;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  padding: 14px 40px;
  border-radius: 12px;
  transition: color var(--transition), background var(--transition);
  width: 280px; text-align: center;
}
.mobile-nav a:hover { color: var(--gold-light); background: rgba(255,255,255,0.06); }
.mobile-nav .close-btn {
  position: absolute; top: 20px; right: 20px;
  font-size: 1.8rem; color: rgba(255,255,255,0.6);
  cursor: pointer;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav .close-btn:hover { background: rgba(255,255,255,0.1); color: var(--white); }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Legacy fade-up support */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s, transform 0.6s; }
.fade-up.visible { opacity: 1; transform: none; }

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  background: var(--gold); color: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(200,146,10,0.45);
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  z-index: 500;
}
.scroll-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.scroll-top:hover { background: var(--gold-light); transform: translateY(-3px); }

/* ===== SECTION BASE ===== */
section { width: 100%; }
.sec-inner { max-width: 1200px; margin: 0 auto; padding: 80px 24px; }
.sec-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.sec-label::before {
  content: ''; display: block;
  width: 28px; height: 2px;
  background: var(--gold); border-radius: 1px;
}
.sec-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700; color: var(--navy);
  line-height: 1.25; margin-bottom: 48px; max-width: 600px;
}
.sec-lead {
  font-size: 1rem; color: var(--muted);
  line-height: 1.75; max-width: 640px; margin-bottom: 48px;
}
.divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  border-radius: 2px; margin-bottom: 20px;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0f2451 60%, #1a3070 100%);
  position: relative; overflow: hidden;
  min-height: 88vh;
  display: flex; align-items: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(200,146,10,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}
/* Floating particles */
.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.particle {
  position: absolute; border-radius: 50%;
  background: rgba(200,146,10,0.15);
  animation: float linear infinite;
}
.particle:nth-child(1) { width:8px;  height:8px;  left:10%; animation-duration:18s; animation-delay:0s; }
.particle:nth-child(2) { width:5px;  height:5px;  left:25%; animation-duration:22s; animation-delay:-4s; }
.particle:nth-child(3) { width:12px; height:12px; left:40%; animation-duration:16s; animation-delay:-8s;  background:rgba(255,255,255,0.08); }
.particle:nth-child(4) { width:6px;  height:6px;  left:60%; animation-duration:20s; animation-delay:-2s; }
.particle:nth-child(5) { width:9px;  height:9px;  left:75%; animation-duration:24s; animation-delay:-6s; }
.particle:nth-child(6) { width:4px;  height:4px;  left:88%; animation-duration:15s; animation-delay:-10s; background:rgba(255,255,255,0.12); }
@keyframes float {
  from { transform: translateY(110vh) rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  to   { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}
.hero-grid {
  max-width: 1200px; margin: 0 auto;
  padding: 80px 24px 60px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  position: relative; z-index: 1; width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,146,10,0.18);
  border: 1px solid rgba(200,146,10,0.35);
  color: var(--gold-light);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em;
  padding: 7px 16px; border-radius: 20px; margin-bottom: 24px;
  animation: fadeInUp 0.7s ease 0.2s both;
}
.hero h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem,5vw,3.4rem);
  font-weight: 900; color: var(--white);
  line-height: 1.18; margin-bottom: 20px;
  animation: fadeInUp 0.7s ease 0.35s both;
}
.hero h2 em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  font-size: 1rem; color: rgba(255,255,255,0.72);
  line-height: 1.75; max-width: 480px; margin-bottom: 36px;
  animation: fadeInUp 0.7s ease 0.5s both;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeInUp 0.7s ease 0.65s both; }
.btn-primary {
  background: var(--gold); color: var(--navy);
  font-weight: 700; font-size: 0.9rem;
  padding: 14px 28px; border-radius: 10px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(200,146,10,0.45); }
.btn-outline {
  background: transparent; color: rgba(255,255,255,0.88);
  font-weight: 600; font-size: 0.9rem;
  padding: 14px 28px; border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,0.3);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); background: rgba(200,146,10,0.08); transform: translateY(-3px); }
.hero-visual { display: flex; flex-direction: column; gap: 16px; animation: fadeInRight 0.8s ease 0.4s both; }
.hero-img-wrap { position: relative; border-radius: 20px; overflow: hidden; }
.hero-img-wrap img { width:100%; height:320px; object-fit:cover; display:block; transition: transform 0.6s ease; }
.hero-img-wrap:hover img { transform: scale(1.04); }
.hero-img-wrap::after {
  content:''; position:absolute; inset:0;
  border-radius:20px;
  border:2px solid rgba(200,146,10,0.35);
  pointer-events:none;
}
.hero-img-overlay {
  position:absolute; bottom:0; left:0; right:0; padding:20px;
  background: linear-gradient(transparent, rgba(10,26,58,0.75));
  color: rgba(255,255,255,0.9); font-size:0.8rem; font-weight:500;
}
.hero-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px; padding: 18px 12px; text-align: center;
  backdrop-filter: blur(8px);
  transition: background var(--transition), transform var(--transition);
}
.stat-card:hover { background: rgba(200,146,10,0.15); transform: translateY(-4px); }
.stat-card .num {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem; font-weight: 900;
  color: var(--gold-light); line-height: 1;
}
.stat-card .lbl {
  font-size: 0.72rem; font-weight: 500;
  color: rgba(255,255,255,0.6); margin-top: 6px;
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* ===== MISSION / VISION / VALUES ===== */
.mvv-section { background: var(--white); }
.mvv-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.mvv-card {
  border-radius: var(--radius); padding: 36px 28px;
  position: relative; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.mvv-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.mvv-card.vision  { background: linear-gradient(135deg, #0a1a3a, #1a3070); color: white; }
.mvv-card.mission { background: linear-gradient(135deg, #8a620a, #c8920a); color: white; }
.mvv-card.values  { background: var(--silver); color: var(--navy); }
.mvv-card::before {
  content:''; position:absolute; top:-40px; right:-40px;
  width:120px; height:120px; border-radius:50%;
  background: rgba(255,255,255,0.06);
}
.mvv-icon { font-size: 2.2rem; margin-bottom: 18px; }
.mvv-card h3 { font-family:'Playfair Display',serif; font-size:1.25rem; font-weight:700; margin-bottom:12px; }
.mvv-card p { font-size: 0.88rem; line-height: 1.75; opacity: 0.88; }

/* ===== WHY CHOOSE US ===== */
.why-section { background: var(--silver); }
.features-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px; text-align: center;
  position: relative; overflow: hidden;
  border-top: 4px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.feature-card:nth-child(1) { border-top-color: var(--navy); }
.feature-card:nth-child(2) { border-top-color: #3b82f6; }
.feature-card:nth-child(3) { border-top-color: var(--gold); }
.feature-card:nth-child(4) { border-top-color: #10b981; }
.feature-icon { font-size:2.2rem; margin-bottom:16px; display:block; transition: transform var(--transition); }
.feature-card:hover .feature-icon { transform: scale(1.2) rotate(-5deg); }
.feature-card h4 { font-family:'Playfair Display',serif; color:var(--navy); font-size:1rem; margin-bottom:10px; font-weight:700; }
.feature-card p { font-size:0.82rem; color:var(--muted); line-height:1.7; }

/* ===== COUNTER SECTION ===== */
.counter-section {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3070 100%);
  position: relative; overflow: hidden;
}
.counter-section::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(200,146,10,0.1), transparent);
}
.counter-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; position:relative; z-index:1; }
.counter-item { text-align:center; }
.counter-number {
  font-family:'Playfair Display',serif;
  font-size:clamp(2.5rem,5vw,3.5rem);
  font-weight:900; color:var(--gold-light);
  line-height:1; display:block;
}
.counter-label {
  color:rgba(255,255,255,0.7); font-size:0.82rem;
  font-weight:500; margin-top:8px;
  text-transform:uppercase; letter-spacing:0.08em;
}

/* ===== CTA STRIP ===== */
.cta-section { background: linear-gradient(135deg, var(--gold) 0%, #e5a50c 100%); padding:0; }
.cta-inner {
  max-width:1200px; margin:0 auto; padding:60px 24px;
  display:flex; align-items:center; justify-content:space-between;
  gap:32px; flex-wrap:wrap;
}
.cta-inner h2 { font-family:'Playfair Display',serif; font-size:clamp(1.5rem,3vw,2rem); font-weight:900; color:var(--navy); }
.cta-inner p { color:rgba(10,26,58,0.7); font-size:0.9rem; margin-top:6px; }
.btn-cta {
  background:var(--navy); color:var(--white);
  font-weight:700; font-size:0.95rem;
  padding:16px 36px; border-radius:12px;
  white-space:nowrap;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  display:inline-block;
}
.btn-cta:hover { background:#fff; color:var(--navy); transform:translateY(-3px); box-shadow:0 8px 28px rgba(10,26,58,0.2); }

/* ===== ABOUT ===== */
.about-section { background: var(--silver); }
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.about-img-wrap { position:relative; }
.about-img-ph { width:100%; border-radius:16px; border:none; padding:0; overflow:hidden; }
.about-img-ph img { width:100%; height:420px; object-fit:cover; border-radius:16px; display:block; }
.about-badge {
  position:absolute; bottom:-20px; right:-20px;
  background:var(--navy); color:var(--white);
  border-radius:14px; padding:18px 22px;
  font-family:'Playfair Display',serif;
  text-align:center; border:3px solid var(--gold);
}
.about-badge .big { font-size:2rem; font-weight:700; color:var(--gold); }
.about-badge .sm  { font-size:0.75rem; color:rgba(255,255,255,0.7); }

/* ===== ACADEMICS ===== */
.academics-section { background: var(--white); }
.streams-grid { display:grid; grid-template-columns:1fr 1fr; gap:30px; margin-bottom:48px; }
.stream-card {
  border-radius:16px; overflow:hidden;
  border:1px solid #e2e8f0;
  transition: box-shadow var(--transition), transform var(--transition);
}
.stream-card:hover { box-shadow:var(--shadow-lg); transform:translateY(-4px); }
.stream-header { padding:28px; color:var(--white); }
.stream-header.arts     { background:linear-gradient(135deg,#1e3a8a,#3b82f6); }
.stream-header.sciences { background:linear-gradient(135deg,#0f766e,#06b6d4); }
.stream-header h3 { font-family:'Playfair Display',serif; font-size:1.4rem; font-weight:700; margin-bottom:6px; }
.stream-header p { font-size:0.85rem; opacity:0.85; }
.stream-body { padding:24px 28px; }
.subject-list { list-style:none; display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.subject-list li {
  font-size:0.85rem; padding:8px 12px;
  background:var(--sky); border-radius:6px;
  color:var(--navy); font-weight:500;
  display:flex; align-items:center; gap:6px;
}
.subject-list li::before { content:'✦'; color:var(--blue); font-size:0.6rem; }
.levels-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.level-card {
  background:var(--sky); border-radius:12px; padding:24px;
  border-left:5px solid var(--navy);
  display:flex; align-items:center; gap:16px;
}
.level-icon { font-size:2rem; }
.level-card h4 { font-weight:700; color:var(--navy); font-size:1rem; }
.level-card p { font-size:0.82rem; color:var(--muted); margin-top:4px; }

/* ===== STAFF ===== */
.staff-section { background: var(--silver); }
.staff-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.staff-card {
  background:var(--white); border-radius:16px;
  overflow:hidden; text-align:center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.staff-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.staff-photo-ph {
  width:100%; height:200px; overflow:hidden;
  background:var(--sky);
}
.staff-photo-ph img { width:100%; height:200px; object-fit:cover; display:block; }
.staff-info { padding:18px; }
.staff-info h4 { font-family:'Playfair Display',serif; font-size:1rem; font-weight:700; color:var(--navy); }
.staff-info .role { font-size:0.78rem; color:var(--blue); font-weight:600; margin-top:4px; }
.staff-info .dept { font-size:0.75rem; color:var(--muted); margin-top:2px; }

/* ===== STUDENT LIFE ===== */
.life-section { background: var(--navy); color: var(--white); }
.life-section .sec-title { color: var(--white); }
.life-section .sec-lead  { color: rgba(255,255,255,0.7); }
.life-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.life-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius:14px; overflow:hidden;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.life-card:hover { background:rgba(255,255,255,0.12); transform:translateY(-6px); box-shadow:0 12px 40px rgba(0,0,0,0.3); }
.life-img-ph { height:160px; overflow:hidden; background:rgba(37,99,235,0.2); }
.life-img-ph img { width:100%; height:160px; object-fit:cover; display:block; transition: transform 0.5s ease; }
.life-card:hover .life-img-ph img { transform: scale(1.06); }
.life-body { padding:18px; }
.life-body h4 { font-family:'Playfair Display',serif; font-size:1rem; margin-bottom:8px; color:var(--gold-light); }
.life-body p { font-size:0.83rem; color:rgba(255,255,255,0.7); line-height:1.6; }

/* ===== NEWS ===== */
.news-section { background: var(--white); }
.news-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.news-card {
  background:var(--white); border-radius:var(--radius);
  overflow:hidden;
  border:1px solid rgba(10,26,58,0.08);
  box-shadow:0 2px 16px rgba(10,26,58,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}
.news-card:hover { transform:translateY(-8px); box-shadow:var(--shadow-lg); }
.news-img-ph, .news-img {
  height:180px; overflow:hidden;
  background:linear-gradient(135deg, var(--navy), var(--navy-light));
  position:relative;
}
.news-img-ph img, .news-img img {
  width:100%; height:180px; object-fit:cover; display:block;
  transition: transform 0.5s ease;
}
.news-card:hover .news-img-ph img,
.news-card:hover .news-img img { transform: scale(1.07); }
.news-img-placeholder {
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
  font-size:2.5rem; color:rgba(255,255,255,0.3);
}
.news-body { padding:20px; }
.news-date { font-size:0.72rem; color:var(--gold); font-weight:600; text-transform:uppercase; letter-spacing:0.08em; margin-bottom:10px; }
.news-body h4 { font-family:'Playfair Display',serif; font-size:1.05rem; color:var(--navy); margin-bottom:10px; line-height:1.35; }
.news-body p { font-size:0.83rem; color:var(--muted); line-height:1.7; margin-bottom:16px; }
.read-more {
  font-size:0.8rem; font-weight:600; color:var(--gold);
  display:inline-flex; align-items:center; gap:6px;
  transition: gap var(--transition), color var(--transition);
}
.read-more:hover { color:var(--navy); gap:10px; }

/* ===== TESTIMONIALS ===== */
.testimonials-section, .testi-section { background: var(--silver); }
.testimonials-grid, .testi-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.testi-card {
  background:var(--white); border-radius:var(--radius);
  padding:32px 28px; box-shadow:var(--shadow); position:relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.testi-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.testi-card::before {
  content:'"'; font-family:'Playfair Display',serif;
  font-size:5rem; color:var(--gold-pale);
  position:absolute; top:-10px; left:20px; line-height:1;
}
.testi-text { font-size:0.9rem; color:var(--muted); line-height:1.8; margin-bottom:24px; position:relative; z-index:1; }
.testi-author { display:flex; align-items:center; gap:14px; }
.testi-avatar {
  width:46px; height:46px; border-radius:50%;
  background:linear-gradient(135deg,var(--navy),var(--navy-light));
  color:var(--gold-light);
  display:flex; align-items:center; justify-content:center;
  font-family:'Playfair Display',serif; font-size:1.1rem; font-weight:700; flex-shrink:0;
}
.testi-author h5 { font-weight:600; font-size:0.88rem; color:var(--navy); }
.testi-author p { font-size:0.75rem; color:var(--muted); margin-top:2px; }

/* ===== ADMISSIONS / CONTACT ===== */
.admissions-section { background: var(--white); }
.contact-section { background: var(--silver); }
.admission-grid, .contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:start; }
.steps { display:flex; flex-direction:column; gap:20px; }
.step { display:flex; gap:18px; align-items:flex-start; }
.step-num {
  width:42px; height:42px;
  background:var(--navy); color:var(--gold);
  font-family:'Playfair Display',serif;
  font-weight:700; font-size:1.1rem; border-radius:50%;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.step h4 { font-weight:700; color:var(--navy); margin-bottom:4px; }
.step p { font-size:0.85rem; color:var(--muted); line-height:1.6; }
.req-box { background:var(--sky); border-radius:16px; padding:32px; border:1px solid rgba(37,99,235,0.15); }
.req-box h3 { font-family:'Playfair Display',serif; font-size:1.3rem; color:var(--navy); margin-bottom:20px; }
.req-list { list-style:none; }
.req-list li {
  padding:10px 0; border-bottom:1px solid rgba(37,99,235,0.1);
  font-size:0.88rem; color:var(--text);
  display:flex; gap:10px; align-items:flex-start;
}
.req-list li:last-child { border:none; }
.req-list li span { color:var(--blue); font-weight:600; }
.contact-info { display:flex; flex-direction:column; gap:22px; }
.ci-item { display:flex; gap:16px; align-items:flex-start; }
.ci-icon {
  width:44px; height:44px;
  background:var(--sky); border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  font-size:1.2rem; flex-shrink:0;
}
.ci-item h4 { font-weight:700; color:var(--navy); font-size:0.9rem; }
.ci-item p { font-size:0.85rem; color:var(--muted); line-height:1.6; margin-top:2px; }
.contact-form { display:flex; flex-direction:column; gap:16px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.form-group { display:flex; flex-direction:column; gap:6px; }
.form-group label { font-size:0.8rem; font-weight:600; color:var(--navy); }
.form-group input,.form-group select,.form-group textarea {
  padding:11px 14px; border:1.5px solid #d1dded;
  border-radius:8px; font-family:inherit;
  font-size:0.88rem; color:var(--text);
  transition:border-color 0.2s; outline:none; background:var(--white);
}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus {
  border-color:var(--blue); box-shadow:0 0 0 3px rgba(37,99,235,0.1);
}
.form-group textarea { resize:vertical; min-height:110px; }
.btn-submit {
  background:var(--navy); color:var(--white);
  border:none; padding:14px 32px; border-radius:8px;
  font-size:0.9rem; font-weight:700; cursor:pointer;
  transition:all 0.2s; font-family:inherit;
}
.btn-submit:hover { background:var(--blue); transform:translateY(-2px); }
.map-ph {
  margin-top:60px; height:300px;
  background:var(--sky); border-radius:16px;
  display:flex; align-items:center; justify-content:center;
  border:2px dashed rgba(37,99,235,0.2);
  font-size:0.9rem; color:var(--muted);
  gap:10px; flex-direction:column;
}

/* ===== GALLERY ===== */
.gallery-section { background: var(--white); }
.gallery-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.gallery-item {
  border-radius:10px; overflow:hidden;
  background:var(--sky);
  transition: transform var(--transition), box-shadow var(--transition);
}
.gallery-item:hover { transform:scale(1.02); box-shadow:var(--shadow); }
.gallery-item img { width:100%; height:100%; object-fit:cover; display:block; }
.gallery-item.tall { grid-row:span 2; }
.gallery-item.wide { grid-column:span 2; }
.gallery-ph {
  width:100%; height:180px;
  display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  gap:6px; font-size:0.8rem; color:var(--muted); text-align:center; padding:10px;
}

/* ===== FOOTER ===== */
footer { background: var(--navy); color: rgba(255,255,255,0.75); }
.footer-grid {
  max-width:1200px; margin:0 auto;
  padding:60px 24px 0;
  display:grid; grid-template-columns:2fr 1fr 1fr 1fr;
  gap:40px; margin-bottom:0;
}
.footer-brand h3 { font-family:'Playfair Display',serif; font-size:1.3rem; font-weight:700; color:var(--white); margin-bottom:8px; }
.footer-brand .motto, .footer-motto { font-style:italic; color:var(--gold-light); font-size:0.85rem; margin-bottom:14px; }
.footer-brand p { font-size:0.82rem; line-height:1.75; }
.footer-col h4 { font-weight:700; font-size:0.8rem; text-transform:uppercase; letter-spacing:0.1em; color:var(--white); margin-bottom:16px; }
.footer-col ul { display:flex; flex-direction:column; gap:10px; }
.footer-col li a { font-size:0.82rem; color:rgba(255,255,255,0.6); transition:color var(--transition); }
.footer-col li a:hover { color:var(--gold-light); }
.footer-bottom {
  max-width:1200px; margin:0 auto;
  border-top:1px solid rgba(255,255,255,0.1);
  padding:24px;
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:16px;
  font-size:0.78rem; color:rgba(255,255,255,0.4);
}
.socials { display:flex; gap:10px; }
.social-btn {
  width:38px; height:38px; border-radius:50%;
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.12);
  display:flex; align-items:center; justify-content:center;
  font-size:0.82rem; font-weight:700;
  color:rgba(255,255,255,0.7);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.social-btn:hover { background:var(--gold); color:var(--navy); border-color:var(--gold); transform:translateY(-3px); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity:0; transform:translateY(30px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes fadeInRight {
  from { opacity:0; transform:translateX(40px); }
  to   { opacity:1; transform:translateX(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid  { grid-template-columns:repeat(2,1fr); }
  .counter-grid   { grid-template-columns:repeat(2,1fr); gap:32px; }
  .footer-grid    { grid-template-columns:1fr 1fr; gap:32px; }
  .staff-grid     { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 768px) {
  nav { display:none; }
  .hamburger { display:flex; }
  .top-bar { font-size:0.66rem; padding:7px 16px; }
  .top-bar-right { gap:10px; }
  .top-bar > div:first-child { display:none; }
  .header-inner { padding:12px 16px; }
  .logo { width:44px; height:44px; }
  .logo-text h1 { font-size:0.95rem; }
  .sec-inner { padding:60px 20px; }
  .sec-title { margin-bottom:32px; }
  .hero-grid { grid-template-columns:1fr; padding:60px 20px 50px; gap:36px; }
  .hero { min-height:auto; }
  .hero h2 { font-size:clamp(1.8rem,7vw,2.5rem); }
  .hero-sub { font-size:0.92rem; }
  .hero-img-wrap img { height:240px; }
  .about-grid, .admission-grid, .contact-grid { grid-template-columns:1fr; }
  .mvv-grid { grid-template-columns:1fr; }
  .features-grid { grid-template-columns:1fr 1fr; }
  .counter-grid   { grid-template-columns:repeat(2,1fr); }
  .streams-grid, .staff-grid, .life-grid, .news-grid,
  .testimonials-grid, .testi-grid, .levels-grid { grid-template-columns:1fr; }
  .gallery-grid { grid-template-columns:1fr 1fr; }
  .footer-grid { grid-template-columns:1fr; gap:28px; padding-bottom:40px; }
  .footer-bottom { flex-direction:column; text-align:center; }
  .cta-inner { flex-direction:column; text-align:center; }
  .form-row { grid-template-columns:1fr; }
}
@media (max-width: 480px) {
  .hero-btns { flex-direction:column; }
  .btn-primary, .btn-outline { text-align:center; }
  .features-grid { grid-template-columns:1fr; }
  .hero-stats { grid-template-columns:repeat(3,1fr); }
  .stat-card .num { font-size:1.3rem; }
  .gallery-grid { grid-template-columns:1fr; }
}
