/* ═══════════════════════════════════════════════
   TAPROOT PU COLLEGE – STYLESHEET v2
   Brand: Deep Navy + Gold/Amber
   Fonts: Sora (headings) + DM Sans (body)
═══════════════════════════════════════════════ */

:root {
  --navy:       #1a2744;
  --navy-dark:  #0f1a30;
  --navy-mid:   #243052;
  --gold:       #c8893a;
  --gold-dark:  #a86e28;
  --gold-light: #f0c070;
  --white:      #ffffff;
  --off-white:  #f8f9fc;
  --gray-100:   #f1f3f8;
  --gray-200:   #e2e6f0;
  --gray-400:   #9099b2;
  --gray-600:   #5a6280;
  --text:       #1a2744;
  --text-light: #5a6280;
  --green:      #22c55e;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow-sm:  0 2px 12px rgba(26,39,68,.08);
  --shadow-md:  0 8px 32px rgba(26,39,68,.14);
  --shadow-lg:  0 20px 60px rgba(26,39,68,.2);
  --transition: 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
  --header-h:   72px;
}

*, *::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);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
input, select, textarea { font-family: 'DM Sans', sans-serif; font-size: 0.95rem; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
h1, h2, h3, h4, h5 { font-family: 'Sora', sans-serif; line-height: 1.2; }
.hidden { display: none !important; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 8px;
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; border: 2px solid transparent; transition: var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--navy-dark); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,166,35,.35); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: var(--white); transform: translateY(-2px); }
.btn-lg { padding: 15px 36px; font-size: 1rem; border-radius: 10px; }
.btn-full { width: 100%; justify-content: center; font-size: 1.05rem; padding: 16px; }

/* ── Section helpers ── */
.section-tag {
  display: inline-block;
  background: rgba(245,166,35,0.12); color: var(--gold-dark);
  border: 1px solid rgba(245,166,35,0.3);
  padding: 5px 16px; border-radius: 50px;
  font-size: 0.8rem; font-weight: 600; font-family: 'Sora', sans-serif;
  letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 14px;
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-title { font-size: clamp(1.8rem,4vw,2.6rem); font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.section-title .highlight { color: var(--gold-dark); }
.section-title.left { text-align: left; }
.section-desc { font-size: 1.05rem; color: var(--text-light); max-width: 560px; margin: 0 auto; }

/* ── Reveal animations ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.animate-in { animation: fadeUp 0.7s ease forwards; opacity: 0; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.30s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.60s; }
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:none; } }

/* ══════════════════════════════
   TOP BAR
══════════════════════════════ */
.topbar { background: var(--navy-dark); color: rgba(255,255,255,0.75); font-size: 0.82rem; padding: 7px 0; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.topbar-inner a { color: rgba(255,255,255,0.9); }
.topbar-inner a:hover { color: var(--gold); }
.topbar-social { display: flex; gap: 14px; align-items: center; }
.topbar-social a { opacity: 0.7; transition: opacity 0.2s; }
.topbar-social a:hover { opacity: 1; }
.topbar-social svg { width: 16px; height: 16px; display: block; }

/* ══════════════════════════════
   HEADER
══════════════════════════════ */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--navy); height: var(--header-h);
  box-shadow: 0 2px 20px rgba(26,39,68,.1);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: 0 4px 30px rgba(26,39,68,.18); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-img-wrap { display: flex; align-items: center; }
.logo-img-wrap img { height: 48px; width: auto; object-fit: contain; display: block; }
.logo-fallback {
  width: 52px; height: 52px; background: var(--navy);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
}
.logo-fallback-icon { font-family: 'Sora', sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--gold); }
.logo-text { display: flex; flex-direction: column; }
.logo-title { font-family: 'Sora', sans-serif; font-size: 1rem; font-weight: 700; color: var(--navy); line-height: 1.2; }
.logo-sub { font-size: 0.72rem; color: var(--text-light); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-link { font-family: 'Sora', sans-serif; font-size: 0.88rem; font-weight: 500; color: rgba(255,255,255,0.75); padding: 8px 14px; border-radius: 6px; transition: var(--transition); }
.nav-link:hover, .nav-link.active { color: #c8893a; background: rgba(255,255,255,0.12); }
.nav-cta { margin-left: 8px; padding: 9px 20px; font-size: 0.88rem; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; z-index: 1100; position: relative; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: 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); }

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h) - 36px);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,18,36,0.75) 0%, rgba(10,18,36,0.65) 50%, rgba(10,18,36,0.80) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 80px 24px; max-width: 860px; margin: 0 auto; text-align: center; }
.hero-badge {
  display: inline-block;
  background: rgba(245,166,35,0.15); border: 1px solid rgba(245,166,35,0.4);
  color: var(--gold-light); padding: 7px 18px; border-radius: 50px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.03em; margin-bottom: 24px;
}
.hero-title { font-size: clamp(2rem,5.5vw,3.6rem); font-weight: 800; color: var(--white); line-height: 1.15; margin-bottom: 20px; }
.hero-title .highlight { color: var(--gold); display: block; }
.hero-desc { font-size: 1.1rem; color: rgba(255,255,255,0.82); margin-bottom: 36px; max-width: 560px; line-height: 1.7; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; justify-content: center; }

.hero-stats {
  display: flex; flex-wrap: wrap;
  background: rgba(255,255,255,0.08); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-lg);
  padding: 20px 30px; width: fit-content; margin: 0 auto;
}
.stat { display: flex; flex-direction: column; align-items: center; padding: 4px 28px; }
.stat:first-child { padding-left: 0; }
.stat:last-child  { padding-right: 0; }
.stat-num { font-family: 'Sora', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--gold); line-height: 1; }
.stat-label { font-size: 0.72rem; color: rgba(255,255,255,0.65); margin-top: 4px; white-space: nowrap; }
.stat-divider { width: 1px; background: rgba(255,255,255,0.15); align-self: stretch; }

/* scroll hint — arrow only */
.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  text-align: center; color: rgba(255,255,255,0.5); z-index: 2;
}
.scroll-arrow { animation: bounce 1.8s infinite; font-size: 1.4rem; }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(6px)} }

/* ══════════════════════════════
   MARQUEE
══════════════════════════════ */
.marquee-bar { background: var(--navy); overflow: hidden; padding: 12px 0; border-top: 3px solid var(--gold); }
.marquee-track { display: flex; gap: 60px; animation: marquee 30s linear infinite; white-space: nowrap; }
.marquee-track span { color: rgba(255,255,255,0.85); font-size: 0.85rem; font-family: 'Sora', sans-serif; font-weight: 500; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ══════════════════════════════
   WHY TAPROOT — icon left, text right
══════════════════════════════ */
.why-section { background: var(--off-white); }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.why-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 28px 24px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); transition: var(--transition);
  display: flex; flex-direction: column;
}
.why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: rgba(245,166,35,.3); }
.why-icon { font-size: 2rem; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.why-card-header-row { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.why-card-body h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0; }
.why-card-desc  { font-size: 0.88rem; color: var(--text-light); line-height: 1.65; }

/* ══════════════════════════════
   ABOUT
══════════════════════════════ */
.about-section { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-images { position: relative; height: 520px; }
.about-img-main { position: absolute; top: 0; left: 0; width: 70%; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img-main img { width: 100%; height: 300px; object-fit: cover; }
.about-img-secondary { position: absolute; bottom: 0; right: 0; width: 58%; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.about-img-secondary img { width: 100%; height: 220px; object-fit: cover; }
.about-img-accent { position: absolute; top: 200px; left: 50%; transform: translateX(-50%); width: 46%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 4px solid var(--white); }
.about-img-accent img { width: 100%; height: 150px; object-fit: cover; }
.about-badge-float { position: absolute; top: 16px; right: 0; background: var(--gold); color: var(--navy-dark); border-radius: var(--radius); padding: 14px 18px; text-align: center; box-shadow: var(--shadow-sm); z-index: 2; }
.about-badge-float .big-num { display: block; font-family: 'Sora',sans-serif; font-size: 1.4rem; font-weight: 800; line-height: 1; }
.about-badge-float span:last-child { font-size: 0.75rem; font-weight: 600; }

.about-content p { color: var(--text-light); margin-bottom: 16px; font-size: 0.98rem; }
.about-quote { background: var(--gray-100); border-left: 4px solid var(--gold); padding: 16px 20px; margin: 24px 0; border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; color: var(--navy); font-size: 0.92rem; }
.about-stats-row { display: flex; gap: 32px; margin-top: 28px; }
.mini-stat { display: flex; flex-direction: column; }
.mini-stat strong { font-family: 'Sora',sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--navy); }
.mini-stat span { font-size: 0.78rem; color: var(--text-light); }

/* ══════════════════════════════
   ACHIEVEMENT BANNER
══════════════════════════════ */
.achievement-banner { background: var(--navy); padding: 60px 0; }
.ach-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.ach-item { border-radius: var(--radius-lg); overflow: hidden; position: relative; height: 240px; }
.ach-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.ach-item:hover img { transform: scale(1.05); }
.ach-text { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top,rgba(10,18,36,.92),transparent); padding: 20px 20px 18px; color: var(--white); }
.ach-text h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.ach-text p { font-size: 0.8rem; color: rgba(255,255,255,0.72); }

/* ══════════════════════════════
   COURSES
══════════════════════════════ */
.courses-section { background: var(--off-white); }
.stream-tabs { display: flex; gap: 12px; justify-content: center; margin-bottom: 40px; }
.stream-tab { padding: 12px 36px; border-radius: 50px; border: 2px solid var(--gray-200); background: var(--white); font-family: 'Sora',sans-serif; font-weight: 600; font-size: 0.95rem; cursor: pointer; color: var(--gray-600); transition: var(--transition); }
.stream-tab.active, .stream-tab:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.stream-panel { }
.stream-hero { border-radius: var(--radius-lg); overflow: hidden; position: relative; height: 240px; margin-bottom: 32px; }
.stream-hero img { width: 100%; height: 100%; object-fit: cover; }
.stream-hero-text { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 40px; background: linear-gradient(to right,rgba(10,18,36,.85) 50%,transparent); color: var(--white); }
.stream-hero-text h3 { font-size: 1.8rem; font-weight: 800; margin-bottom: 8px; }
.stream-hero-text p  { font-size: 0.95rem; color: rgba(255,255,255,0.8); max-width: 400px; }
.science-hero  .stream-hero-text { background: linear-gradient(to right,rgba(15,50,80,.88) 50%,transparent); }
.commerce-hero .stream-hero-text { background: linear-gradient(to right,rgba(30,20,10,.88) 50%,transparent); }
.combo-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 40px; }
.combo-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow-sm); border: 2px solid var(--gray-200); transition: var(--transition); }
.combo-card:hover { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.combo-icon { font-size: 2.2rem; margin-right: 10px; display: inline-block; vertical-align: middle; }
.combo-card h4  { font-size: 1.5rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; display: inline-block; vertical-align: middle; }
.combo-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.combo-card > p { color: var(--text-light); font-size: 0.85rem; margin-bottom: 16px; }
.combo-target span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-light); font-weight: 600; margin-bottom: 8px; display: block; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.tag { background: rgba(245,166,35,.12); color: var(--gold-dark); border: 1px solid rgba(245,166,35,.3); padding: 3px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 600; }
.combo-highlights { padding-left: 0; }
.combo-highlights li { position: relative; padding-left: 20px; font-size: 0.88rem; color: var(--text-light); margin-bottom: 6px; }
.combo-highlights li::before { content:'✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

.coaching-row { background: var(--navy); border-radius: var(--radius-lg); padding: 36px 40px; text-align: center; color: var(--white); }
.coaching-row h3 { font-size: 1.3rem; margin-bottom: 24px; opacity: 0.95; }
.coaching-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.coaching-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 20px 12px; transition: var(--transition); }
.coaching-card:hover { background: rgba(245,166,35,.15); border-color: rgba(245,166,35,.4); transform: translateY(-3px); }
.coaching-icon { font-size: 1.8rem; display: block; margin-bottom: 8px; }
.coaching-card strong { display: block; font-family: 'Sora',sans-serif; font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.coaching-card span   { font-size: 0.75rem; color: rgba(255,255,255,0.6); }

/* ══════════════════════════════
   CAMPUS
══════════════════════════════ */
.campus-section { background: var(--white); }
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  grid-auto-rows: 200px;
  gap: 14px;
  margin-bottom: 56px;
}
.gallery-item { border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(10,18,36,.85), transparent);
  color: var(--white); font-size: 0.8rem; font-weight: 600;
  padding: 20px 14px 12px; opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover .gallery-label { opacity: 1; }
.gallery-zoom {
  position: absolute; top: 10px; right: 10px;
  background: rgba(255,255,255,0.85); color: var(--navy);
  width: 28px; height: 28px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover .gallery-zoom { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.92);
  z-index: 9999; display: none; align-items: center; justify-content: center;
  flex-direction: column; padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox p { color: rgba(255,255,255,0.7); margin-top: 14px; font-size: 0.9rem; }
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  background: rgba(255,255,255,0.1); border: none; color: var(--white);
  font-size: 1.3rem; width: 40px; height: 40px; border-radius: 50%;
  cursor: pointer; transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.1); border: none; color: var(--white);
  font-size: 2.5rem; width: 52px; height: 52px; border-radius: 50%;
  cursor: pointer; line-height: 1; transition: background 0.2s; display: flex; align-items: center; justify-content: center;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.25); }

.facilities-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 14px; margin-bottom: 40px; }
.facility-item { background: var(--off-white); border-radius: var(--radius); padding: 20px 10px; text-align: center; border: 1px solid var(--gray-200); transition: var(--transition); }
.facility-item:hover { background: var(--navy); border-color: var(--navy); }
.facility-item:hover p { color: var(--white); }
.facility-item span { font-size: 1.6rem; display: block; margin-bottom: 8px; }
.facility-item p { font-size: 0.78rem; font-weight: 600; color: var(--text-light); }
.sports-row { background: var(--off-white); border-radius: var(--radius-lg); padding: 32px 36px; border: 1px solid var(--gray-200); }
.sports-row h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.sports-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.sports-tags span { background: var(--white); border: 1px solid var(--gray-200); padding: 6px 16px; border-radius: 50px; font-size: 0.85rem; color: var(--text-light); font-weight: 500; }

/* ══════════════════════════════
   TESTIMONIALS — 1 card per view
   with prev/next arrows
══════════════════════════════ */
.testimonials-section { background: var(--navy); }
.testimonials-section .section-tag { background: rgba(245,166,35,.15); color: var(--gold-light); border-color: rgba(245,166,35,.25); }
.testimonials-section .section-title { color: var(--white); }

.testimonials-outer {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px; position: relative;
}
.testi-arrow {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: var(--white); font-size: 2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s; line-height: 1;
}
.testi-arrow:hover { background: var(--gold); color: var(--navy-dark); border-color: var(--gold); }

.testimonials-viewport { overflow: hidden; flex: 1; }
.testimonials-track {
  display: flex; gap: 0;
  transition: transform 0.45s cubic-bezier(0.25,0.46,0.45,0.94);
}
.testimonial-card {
  min-width: 100%; width: 100%;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); padding: 36px 40px;
  flex-shrink: 0;
}
.testi-stars { color: var(--gold); font-size: 1rem; letter-spacing: 3px; margin-bottom: 16px; }
.testimonial-card p { color: rgba(255,255,255,0.85); font-size: 1rem; line-height: 1.8; margin-bottom: 24px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar { width: 48px; height: 48px; background: var(--gold); color: var(--navy-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-family: 'Sora',sans-serif; font-size: 0.9rem; flex-shrink: 0; }
.testi-author strong { display: block; font-size: 0.95rem; color: var(--white); }
.testi-author span   { display: block; font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-top: 2px; }

.slider-dots { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.25); cursor: pointer; border: none; transition: var(--transition); }
.slider-dot.active { background: var(--gold); width: 24px; border-radius: 4px; }

.google-rating { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 16px 24px; width: fit-content; margin: 0 auto; }
.google-icon { width: 32px; height: 32px; }
.google-rating strong { display: block; font-family: 'Sora',sans-serif; font-size: 1.2rem; font-weight: 800; color: var(--white); }
.google-rating span   { font-size: 0.8rem; color: rgba(255,255,255,0.55); }

/* ══════════════════════════════
   VIDEO — YouTube thumbnail
══════════════════════════════ */
.video-section { background: var(--off-white); }
.video-wrapper {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 16/9;
  max-width: 900px; margin: 0 auto; position: relative; background: #000;
}
.yt-thumb-wrap {
  position: relative; width: 100%; height: 100%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.yt-thumb-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yt-play-btn {
  position: relative; z-index: 2;
  width: 80px; height: 56px; transition: transform 0.2s;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.5));
}
.yt-thumb-wrap:hover .yt-play-btn { transform: scale(1.12); }
.yt-label {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,0.65); color: var(--white); font-size: 0.85rem; font-weight: 600;
  padding: 6px 18px; border-radius: 50px; white-space: nowrap; z-index: 2;
}
#ytIframe { width: 100%; height: 100%; display: none; }

/* ══════════════════════════════
   ADMISSIONS
══════════════════════════════ */
.admissions-section { background: var(--white); }
.admissions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.enquire-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.admissions-info h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 14px; margin-top: 28px; }
.admissions-info h3:first-child { margin-top: 0; }
.admissions-info p  { font-size: 0.9rem; color: var(--text-light); margin-bottom: 8px; }
.checklist li { position: relative; padding-left: 22px; font-size: 0.88rem; color: var(--text-light); margin-bottom: 6px; }
.checklist li::before { content:'✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.steps { display: flex; flex-direction: column; gap: 12px; }
.step { display: flex; align-items: flex-start; gap: 14px; }
.step-num { width: 30px; height: 30px; min-width: 30px; background: var(--navy); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Sora',sans-serif; font-weight: 700; font-size: 0.85rem; }
.step p { font-size: 0.88rem; color: var(--text-light); padding-top: 6px; }

.enquiry-form { background: var(--off-white); border-radius: var(--radius-lg); padding: 36px; border: 1px solid var(--gray-200); }
.enquiry-form h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.form-sub { font-size: 0.85rem; color: var(--text-light); margin-bottom: 24px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-light); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.04em; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 11px 14px; border: 1.5px solid var(--gray-200); border-radius: 8px; background: var(--white); color: var(--text); transition: border-color var(--transition); outline: none; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26,39,68,.08); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 0.75rem; color: var(--text-light); text-align: center; margin-top: 10px; }
.form-success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; padding: 12px 16px; border-radius: 8px; font-size: 0.88rem; font-weight: 500; margin-top: 12px; text-align: center; }
.form-error   { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; padding: 12px 16px; border-radius: 8px; font-size: 0.88rem; font-weight: 500; margin-top: 12px; text-align: center; }

/* ══════════════════════════════
   CONTACT — map fills box
══════════════════════════════ */
.contact-section { background: var(--off-white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border-radius: var(--radius); padding: 18px 20px; border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm); }
.contact-icon { font-size: 1.3rem; flex-shrink: 0; }
.contact-card strong { display: block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--navy); margin-bottom: 4px; }
.contact-card p  { font-size: 0.88rem; color: var(--text-light); line-height: 1.5; }
.contact-card a  { color: var(--navy); font-weight: 500; }
.contact-card a:hover { color: var(--gold-dark); }
.social-links-contact { display: flex; flex-wrap: wrap; gap: 10px; }
.social-btn { padding: 8px 16px; border-radius: 6px; font-size: 0.8rem; font-weight: 600; font-family: 'Sora',sans-serif; transition: var(--transition); }
.social-btn.fb { background: #1877f2; color: white; }
.social-btn.ig { background: #e4405f; color: white; }
.social-btn.tw { background: #000;    color: white; }
.social-btn.yt { background: #ff0000; color: white; }
.social-btn:hover { opacity: 0.85; transform: translateY(-2px); }

/* Map fills the box completely */
.map-wrapper {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); display: flex; flex-direction: column;
  /* no fixed height — height from contact-grid */
}
.map-wrapper iframe {
  display: block; width: 100%; flex: 1;
  min-height: 360px; border: none;
}
.get-directions { display: flex; justify-content: center; align-items: center; padding: 13px; background: var(--navy); color: var(--white); font-size: 0.88rem; font-weight: 600; transition: background var(--transition); flex-shrink: 0; }
.get-directions:hover { background: var(--gold-dark); color: var(--navy-dark); }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.footer { background: var(--navy-dark); color: rgba(255,255,255,0.75); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo { height: 52px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; color: rgba(255,255,255,0.6); margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,0.07); border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.footer-social a:hover { background: var(--gold); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 { font-family: 'Sora',sans-serif; font-size: 0.85rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 18px; }
.footer-col ul  { display: flex; flex-direction: column; gap: 8px; }
.footer-col li, .footer-col p { font-size: 0.83rem; color: rgba(255,255,255,0.58); line-height: 1.6; }
.footer-col a { color: rgba(255,255,255,0.58); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { padding: 20px 0; text-align: center; }
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.35); margin-bottom: 4px; }

/* ══════════════════════════════
   FLOATING CTA
══════════════════════════════ */
.float-cta {
  position: fixed; bottom: 28px; right: 24px;
  background: var(--gold); color: var(--navy-dark);
  border-radius: 50px; padding: 12px 22px;
  display: flex; align-items: center; gap: 8px;
  font-family: 'Sora',sans-serif; font-weight: 700; font-size: 0.88rem;
  box-shadow: 0 8px 30px rgba(245,166,35,.4); z-index: 999; transition: var(--transition);
}
.float-cta svg  { width: 18px; height: 18px; }
.float-cta:hover { background: var(--gold-dark); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(245,166,35,.5); }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */

/* ─ Tablet 1024px ─ */
@media (max-width: 1024px) {
  .why-grid    { grid-template-columns: repeat(2,1fr); }
  .about-grid  { grid-template-columns: 1fr; gap: 48px; }
  .about-images { height: 380px; }
  .ach-grid    { grid-template-columns: 1fr 1fr; }
  .ach-item:last-child { grid-column: span 2; }
  .coaching-cards { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ─ Mobile 768px ─ */
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .section { padding: 60px 0; }

  /* hide logo text on mobile */
  .hide-mobile { display: none; }

  /* Mobile nav — drops BELOW header, no overlap */
  .nav {
    display: none;
    position: fixed;
    top: calc(var(--header-h) + 30px);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: var(--shadow-md);
    z-index: 998;
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--gray-200);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav-link { padding: 10px 14px; width: 100%; border-radius: 8px; color: var(--navy);}
  .nav-cta   { margin: 8px 0 0; width: 100%; text-align: center; justify-content: center; }
  .hamburger { display: flex; }

  /* Hero */
  .hero-content { padding: 56px 16px; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-stats {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px;
    background: rgba(255,255,255,0.08);
  }
  .stat { padding: 8px; border-radius: 8px; background: rgba(255,255,255,0.06); }
  .stat:first-child { padding-left: 8px; }
  .stat:last-child  { padding-right: 8px; }
  .stat-num   { font-size: 1.3rem; }
  .stat-label { font-size: 0.68rem; }
  .stat-divider { display: none; }
  .hero-btns { flex-direction: column; }
  .btn-lg    { text-align: center; justify-content: center; }

  /* Justify all body paragraphs on mobile */
  p { text-align: justify; }
  .hero-desc, .section-desc, .about-content p,
  .admissions-info p, .contact-card p,
  .footer-brand p { text-align: justify; }

  /* About stats — center on mobile */
  .about-stats-row { justify-content: center; gap: 24px; }
  .mini-stat { align-items: center; text-align: center; }

  /* Why cards — icon+heading on one row, paragraph spans full width below */
  .why-grid { grid-template-columns: 1fr; }
  .why-card { padding: 20px 18px; }
  .why-card-header-row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
  .why-icon { font-size: 1.8rem; }
  .why-card-body h3 { margin-bottom: 0; }
  .why-card-desc { width: 100%; margin-top: 0; }

  /* About images */
  .about-images { height: 280px; }
  .about-img-accent { display: none; }

  /* Achievement banner */
  .ach-grid { grid-template-columns: 1fr; }
  .ach-item:last-child { grid-column: span 1; }

  /* Courses */
  .stream-tabs { flex-direction: column; align-items: center; }
  .stream-tab  { width: 100%; max-width: 300px; text-align: center; }
  .combo-cards { grid-template-columns: 1fr; }
  /* Coaching cards — centered, 2-column grid */
  .coaching-row  { padding: 28px 20px; }
  .coaching-cards {
    grid-template-columns: repeat(2,1fr);
    justify-items: center;
  }
  .coaching-card { width: 100%; text-align: center; }

  /* Gallery */
  .gallery-masonry {
    grid-template-columns: repeat(2,1fr);
    grid-auto-rows: 150px;
  }
  .gallery-item.tall { grid-row: span 1; }

  /* Facility icons — centered */
  .facilities-grid {
    grid-template-columns: repeat(3,1fr);
    justify-items: center;
  }
  .facility-item { width: 100%; text-align: center; }

  /* Testimonials — 1 per screen, arrows visible */
  .testimonial-card { padding: 28px 24px; }
  .testimonial-card p { font-size: 0.92rem; }
  .testi-arrow { width: 40px; height: 40px; font-size: 1.8rem; }
  /* Move arrows below the testimonial card on mobile */
  .testimonials-outer { flex-direction: column; gap: 0; }
  .testimonials-viewport { width: 100%; order: 1; }
  .testi-prev { order: 2; }
  .testi-next { order: 3; }
  .testimonials-outer { flex-wrap: wrap; justify-content: center; }
  .testi-prev, .testi-next { margin-top: 12px; }

  /* Video */
  .video-wrapper { max-width: 100%; }

  /* Admissions / Enquire form */
  .admissions-grid,
  .enquire-grid { grid-template-columns: 1fr; }
  .form-row  { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
  .map-wrapper iframe { min-height: 300px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }

  /* Topbar */
  .topbar-inner { justify-content: center; }
  .topbar-inner span:not(.topbar-social) { display: none; }
}

/* ─ Small mobile 480px ─ */
@media (max-width: 480px) {
  .why-grid      { grid-template-columns: 1fr; }
  .coaching-cards { grid-template-columns: 1fr 1fr; }
  .facilities-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid   { grid-template-columns: 1fr; }
  .footer-brand  { grid-column: span 1; }
  .about-stats-row { flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 16px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .testimonial-card { padding: 24px 16px; }
  .testi-arrow { width: 34px; height: 34px; font-size: 1.5rem; }
}
