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

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

:root {
  --primary: #0d2257;
  --primary-fg: #fff;
  --secondary: #c9a227;
  --secondary-fg: #0d2257;
  --bg: #f0f4fa;
  --fg: #0e1e3d;
  --fg-muted: rgba(14,30,61,0.65);
  --border: #d1daea;
  --white: #ffffff;
  --muted-bg: #e8edf5;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --radius: 12px;
  --container: 1200px;
  --shadow: 0 4px 24px rgba(13,34,87,0.10);
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s, background .3s;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(13,34,87,0.10);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.nav-logo img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(13,34,87,0.15);
}
.nav-logo span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
}
.nav-logo span em { color: var(--secondary); font-style: normal; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--fg);
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--secondary); }
.btn-admission {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
  padding: .6rem 1.4rem;
  border-radius: 6px;
  transition: opacity .2s, transform .2s;
  font-size: .9rem;
}
.btn-admission:hover { opacity: .88; transform: translateY(-1px); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all .3s;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 1rem 1.25rem;
  gap: .5rem;
  box-shadow: 0 8px 24px rgba(13,34,87,0.10);
}
.mobile-menu a {
  padding: .7rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 1rem;
  color: var(--fg);
  transition: background .2s;
}
.mobile-menu a:hover, .mobile-menu a.active { background: rgba(13,34,87,0.06); color: var(--secondary); }
.mobile-menu .btn-admission { text-align: center; margin-top: .5rem; color: var(--primary); }
.mobile-menu.open { display: flex; }

/* ── PAGE OFFSET ── */
.page-body { padding-top: 72px; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--primary) 0%, rgba(13,34,87,.55) 45%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1.25rem;
  max-width: 860px;
  margin: 0 auto;
  animation: fadeUp .8s ease both;
}
.hero-badge {
  display: inline-block;
  padding: .4rem 1.2rem;
  border: 1px solid rgba(201,162,39,.5);
  border-radius: 999px;
  background: rgba(201,162,39,.12);
  color: var(--secondary);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .1em;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(6px);
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.1;
}
.hero h1 em { color: var(--secondary); font-style: normal; }
.hero-quote {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: var(--secondary);
  font-style: italic;
  margin-bottom: 1rem;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.88);
  max-width: 540px;
  margin: 0 auto 2.5rem;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.btn-primary {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
  padding: 1rem 2.2rem;
  border-radius: 6px;
  font-size: 1.05rem;
  transition: background .2s, transform .2s;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--white); transform: translateY(-2px); }
.btn-outline-white {
  border: 2px solid var(--white);
  color: var(--white);
  font-weight: 700;
  padding: 1rem 2.2rem;
  border-radius: 6px;
  font-size: 1.05rem;
  background: transparent;
  transition: background .2s, color .2s, transform .2s;
  cursor: pointer;
}
.btn-outline-white:hover { background: var(--white); color: var(--primary); transform: translateY(-2px); }
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  animation: bounce 2s infinite;
  z-index: 1;
}
.scroll-indicator svg { width: 32px; height: 32px; }

/* ── STATS ── */
.stats {
  background: var(--primary);
  color: var(--white);
  padding: 4rem 0;
  border-top: 4px solid var(--secondary);
  border-bottom: 4px solid var(--secondary);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-icon { color: var(--secondary); margin-bottom: 1rem; }
.stat-icon svg { width: 40px; height: 40px; }
.stat-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: .25rem;
}
.stat-label { color: rgba(255,255,255,.8); font-weight: 500; }

/* ── SECTIONS ── */
.section { padding: 5rem 0; }
.section-bg-primary { background: var(--primary); color: var(--white); }
.section-bg-muted { background: var(--muted-bg); }
.section-label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: .4rem;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}
.section-title.light { color: var(--white); }
.section-divider {
  width: 5rem; height: 4px;
  background: var(--secondary);
  border-radius: 2px;
  margin: 1.5rem auto 0;
}
.section-center { text-align: center; }
.section-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 580px;
  margin: .75rem auto 0;
}

/* ── ABOUT SECTION ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-wrap::before {
  content: '';
  position: absolute;
  inset: -16px;
  border: 2px solid var(--secondary);
  border-radius: var(--radius);
  transform: translate(16px, 16px);
  z-index: 0;
}
.about-img-wrap img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top;
}
.about-img-caption {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem; right: 1.5rem;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  padding: 1rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(201,162,39,.2);
  z-index: 2;
}
.about-img-caption h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 700;
}
.about-img-caption p { color: var(--secondary); font-weight: 600; font-size: .9rem; }
.about-text p { color: var(--fg-muted); font-size: 1.05rem; line-height: 1.8; margin-bottom: 2rem; }
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-weight: 500;
}
.feature-item svg { color: var(--secondary); flex-shrink: 0; margin-top: 2px; }
.link-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--primary);
  font-weight: 700;
  margin-top: 2rem;
  transition: color .2s, gap .2s;
}
.link-more:hover { color: var(--secondary); gap: .7rem; }

/* ── COURSES SECTION ── */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
.course-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  padding: 2rem;
  border-radius: var(--radius);
  transition: background .2s;
}
.course-card:hover { background: rgba(255,255,255,.12); }
.course-card svg { color: var(--secondary); margin-bottom: 1rem; width: 40px; height: 40px; }
.course-card h4 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .4rem;
}
.course-card p { color: var(--secondary); font-weight: 500; }
.boards-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-bottom: 3rem;
}
.board-badge {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
  padding: .5rem 1.5rem;
  border-radius: 999px;
  font-size: 1rem;
}
.competitive-box {
  background: var(--white);
  color: var(--primary);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.competitive-box h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.competitive-inner {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  display: inline-block;
}
.competitive-inner p {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: .04em;
  line-height: 1.7;
}

/* ── RESULTS ── */
.results-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}
.result-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3/4;
}
.result-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .5s;
}
.result-card:hover img { transform: scale(1.08); }
.result-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,34,87,.9) 0%, rgba(13,34,87,.3) 45%, transparent 100%);
}
.result-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: .75rem;
  text-align: center;
}
.score-badge {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
  font-size: 1.05rem;
  padding: .15rem .7rem;
  border-radius: 999px;
  border: 2px solid var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
  margin-bottom: .2rem;
}
.result-card-info p { color: var(--white); font-size: .72rem; font-weight: 600; }
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.achievement-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: var(--white);
  box-shadow: 0 2px 8px rgba(13,34,87,.06);
}
.achievement-card.highlight { background: rgba(201,162,39,.10); border-color: var(--secondary); }
.achievement-score {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .95rem;
  flex-shrink: 0;
  background: var(--primary);
  color: var(--secondary);
}
.achievement-card.highlight .achievement-score { background: var(--secondary); color: var(--primary); }
.achievement-name { font-weight: 700; color: var(--primary); font-size: .9rem; line-height: 1.3; }
.achievement-school { color: var(--fg-muted); font-size: .78rem; margin-top: .15rem; line-height: 1.4; }
.board-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.board-result-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.board-result-header {
  background: var(--primary);
  padding: .85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.board-result-header svg { color: var(--secondary); width: 22px; height: 22px; flex-shrink: 0; }
.board-result-header span { color: var(--white); font-weight: 700; font-size: .95rem; }
.board-result-header em { margin-left: auto; color: var(--secondary); font-style: normal; font-weight: 600; font-size: .85rem; }
.board-result-card img { width: 100%; object-fit: contain; }
.max-score-banner {
  background: var(--primary);
  color: var(--white);
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--secondary);
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  max-width: 640px;
  margin: 0 auto;
}
.max-score-banner em { color: var(--secondary); font-style: normal; font-size: 1.6rem; }

/* ── GALLERY ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-grid img {
  width: 100%; height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ── CTA ── */
.cta-section {
  background: var(--secondary);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.25rem;
}
.cta-section p {
  font-size: 1.1rem;
  color: rgba(13,34,87,.8);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  font-weight: 500;
}
.cta-btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.btn-dark {
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  padding: 1rem 2.2rem;
  border-radius: 6px;
  font-size: 1.05rem;
  transition: opacity .2s, transform .2s;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.btn-dark:hover { opacity: .9; transform: translateY(-2px); }
.btn-white {
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
  padding: 1rem 2.2rem;
  border-radius: 6px;
  font-size: 1.05rem;
  transition: background .2s, transform .2s;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.btn-white:hover { background: #f0f0f0; transform: translateY(-2px); }

/* ── PAGE HEADER ── */
.page-header {
  background: var(--primary);
  padding: 7rem 0 4rem;
  text-align: center;
  border-bottom: 4px solid var(--secondary);
}
.page-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: .75rem;
}
.page-header p { font-size: 1.15rem; color: var(--secondary); font-weight: 500; max-width: 560px; margin: 0 auto; }

/* ── ABOUT PAGE ── */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-story-grid img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(13,34,87,.18);
  border: 4px solid var(--white);
}
.about-story-name { text-align: center; margin-top: 1.5rem; }
.about-story-name h2 { font-family: var(--font-heading); font-size: 1.5rem; color: var(--primary); font-weight: 700; }
.about-story-name p { color: var(--secondary); font-weight: 700; font-size: 1.05rem; }
.prose p { color: var(--fg-muted); font-size: 1.05rem; line-height: 1.85; margin-bottom: 1rem; }
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.mission-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--secondary);
}
.mission-card svg { color: var(--secondary); width: 48px; height: 48px; margin-bottom: 1.5rem; }
.mission-card h3 { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700; color: var(--primary); margin-bottom: 1rem; }
.mission-card p { color: var(--fg-muted); font-size: 1.05rem; line-height: 1.8; }
.features-why {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.why-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: left;
}
.why-card svg { color: var(--secondary); width: 32px; height: 32px; margin-bottom: 1rem; }
.why-card h4 { font-size: 1.05rem; font-weight: 700; color: var(--white); }
.gallery-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.gallery-2col img { width: 100%; height: 320px; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); }
.gallery-2col img.full { grid-column: 1/-1; }

/* ── COURSES PAGE ── */
.course-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}
.course-page-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.course-page-card.featured { transform: translateY(-1.5rem); }
.course-card-head {
  background: var(--primary);
  padding: 2rem;
  text-align: center;
}
.course-card-head.gold { background: var(--secondary); }
.course-card-head svg { width: 48px; height: 48px; margin: 0 auto 1rem; color: var(--secondary); }
.course-card-head.gold svg { color: var(--primary); }
.course-card-head h3 { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--white); }
.course-card-head.gold h3 { color: var(--primary); }
.course-card-head p { color: rgba(255,255,255,.8); margin-top: .3rem; }
.course-card-head.gold p { color: rgba(13,34,87,.75); font-weight: 500; }
.course-card-body { padding: 2rem; flex: 1; display: flex; flex-direction: column; }
.course-card-body.dark { background: var(--primary); }
.course-card-body h4 { font-weight: 700; font-size: 1rem; margin-bottom: 1rem; color: var(--primary); }
.course-card-body.dark h4 { color: var(--secondary); }
.course-card-body ul { flex: 1; display: flex; flex-direction: column; gap: .75rem; margin-bottom: 2rem; }
.course-card-body ul li {
  display: flex; align-items: center; gap: .75rem;
  color: var(--fg);
}
.course-card-body.dark ul li { color: rgba(255,255,255,.9); }
.course-card-body ul li svg { color: var(--secondary); width: 20px; height: 20px; flex-shrink: 0; }
.btn-inquire {
  display: block;
  width: 100%;
  padding: .85rem;
  text-align: center;
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
  border-radius: 8px;
  transition: opacity .2s;
}
.btn-inquire:hover { opacity: .88; }
.btn-inquire.white { background: var(--white); }
.boards-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}
.board-item {
  background: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(13,34,87,.08);
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: .75rem;
}
.board-dot { width: 12px; height: 12px; background: var(--secondary); border-radius: 50%; }
.exam-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto;
}
.exam-chip {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.2);
  padding: 1.5rem .75rem;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  transition: background .2s, color .2s;
  cursor: default;
}
.exam-chip:hover { background: var(--secondary); color: var(--primary); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(13,34,87,.08);
  border: 1px solid var(--border);
  text-align: center;
}
.service-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(201,162,39,.15);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h4 { font-weight: 700; font-size: 1.05rem; margin-bottom: .5rem; color: var(--primary); }
.service-card p { font-size: .88rem; color: var(--fg-muted); }

/* ── REVIEWS PAGE ── */
.rating-banner {
  max-width: 800px;
  margin: 0 auto 4rem;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 2.5rem;
  text-align: center;
}
.rating-banner h2 { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--primary); margin-bottom: 1rem; }
.stars { display: flex; justify-content: center; gap: .35rem; margin-bottom: .5rem; }
.stars svg { width: 32px; height: 32px; color: var(--secondary); fill: var(--secondary); }
.rating-banner p { color: var(--fg-muted); }
.reviews-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 1100px; margin: 0 auto; }
.review-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(13,34,87,.08);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.review-quote-icon {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  color: rgba(13,34,87,.08);
}
.review-quote-icon svg { width: 64px; height: 64px; }
.review-stars { display: flex; gap: .2rem; margin-bottom: 1rem; }
.review-stars svg { width: 20px; height: 20px; }
.review-stars .filled { color: var(--secondary); fill: var(--secondary); }
.review-stars .empty { color: #d1d5db; fill: #d1d5db; }
.review-text { font-size: 1.05rem; color: var(--fg-muted); font-style: italic; margin-bottom: 1.5rem; position: relative; z-index: 1; }
.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.review-name { font-weight: 700; color: var(--primary); font-size: 1.05rem; }
.review-time { font-size: .85rem; color: var(--fg-muted); }
.reviews-cta { text-align: center; margin-top: 4rem; }
.reviews-cta p { color: var(--fg-muted); margin-bottom: 1.5rem; }
.btn-gold {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
  padding: .85rem 2rem;
  border-radius: 6px;
  transition: opacity .2s;
}
.btn-gold:hover { opacity: .88; }

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 3rem;
}
.contact-info-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.contact-info-card h3 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--primary); margin-bottom: 1.5rem; }
.contact-person {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.contact-person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.contact-person h4 { font-weight: 700; color: var(--primary); font-size: 1rem; }
.contact-person p { color: var(--fg-muted); font-size: .85rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-detail { display: flex; gap: 1rem; align-items: flex-start; }
.contact-detail svg { color: var(--secondary); flex-shrink: 0; margin-top: 2px; width: 22px; height: 22px; }
.contact-detail h4 { font-weight: 700; color: var(--primary); margin-bottom: .25rem; }
.contact-detail p, .contact-detail a { color: var(--fg-muted); font-size: .95rem; line-height: 1.6; }
.contact-detail a:hover { color: var(--secondary); }
.branch-num {
  width: 22px; height: 22px; flex-shrink: 0;
  display: flex; align-items: flex-start; justify-content: center;
  color: var(--secondary); font-weight: 700; font-size: .9rem;
  margin-top: 2px;
}
.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: 100%;
  background: #25D366;
  color: var(--white);
  font-weight: 700;
  padding: .9rem;
  border-radius: 8px;
  margin-top: 2rem;
  transition: background .2s;
}
.btn-whatsapp:hover { background: #1DA851; }
.btn-whatsapp svg { width: 20px; height: 20px; }
.contact-form-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}
.contact-form-card h3 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--primary); margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .88rem; font-weight: 500; color: var(--fg); margin-bottom: .35rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: .65rem 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: .97rem;
  color: var(--fg);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  background: var(--white);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(201,162,39,.15);
}
.form-group textarea { resize: vertical; }
.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: 100%;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  padding: .9rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: opacity .2s;
}
.btn-submit:hover { opacity: .88; }
.map-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  height: 400px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ── FOOTER ── */
footer {
  background: var(--primary);
  color: rgba(255,255,255,.85);
  padding: 4rem 0 0;
  border-top: 4px solid var(--secondary);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-logo { display: flex; align-items: center; gap: .75rem; }
.footer-logo img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--secondary); }
.footer-logo span { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--white); }
.footer-brand p { font-size: .95rem; color: rgba(255,255,255,.75); line-height: 1.7; }
.footer-socials { display: flex; gap: .75rem; }
.social-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: background .2s, color .2s;
}
.social-btn:hover { background: var(--secondary); color: var(--primary); }
.social-btn svg { width: 20px; height: 20px; }
.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}
.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 0;
  width: 48px; height: 3px;
  background: var(--secondary);
  border-radius: 2px;
}
.footer-col ul { display: flex; flex-direction: column; gap: .75rem; }
.footer-col ul li a { color: rgba(255,255,255,.8); transition: color .2s; font-size: .95rem; }
.footer-col ul li a:hover { color: var(--secondary); }
.footer-contact-item { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.footer-contact-item svg { color: var(--secondary); flex-shrink: 0; width: 20px; height: 20px; }
.footer-contact-item a, .footer-contact-item p { color: rgba(255,255,255,.8); font-size: .95rem; transition: color .2s; }
.footer-contact-item a:hover { color: var(--secondary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}

/* ── FLOATING BUTTONS ── */
.floating-btns {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.float-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  transition: transform .2s;
}
.float-btn:hover { transform: scale(1.1); }
.float-btn.phone { background: #2563eb; }
.float-btn.wa { background: #25D366; }
.float-btn svg { width: 26px; height: 26px; }
.scroll-top-btn {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 99;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  cursor: pointer;
  border: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s, transform .3s;
}
.scroll-top-btn.visible { opacity: 1; transform: translateY(0); }
.scroll-top-btn svg { width: 24px; height: 24px; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: 1fr 1fr; }
  .results-grid { grid-template-columns: repeat(3, 1fr); }
  .achievements-grid { grid-template-columns: 1fr 1fr; }
  .features-why { grid-template-columns: repeat(2, 1fr); }
  .course-cards-grid { grid-template-columns: 1fr; }
  .course-page-card.featured { transform: none; }
  .exam-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .about-story-grid { grid-template-columns: 1fr; gap: 2rem; }
  .mission-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .board-results-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-2col { grid-template-columns: 1fr; }
  .gallery-2col img.full { grid-column: 1; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 520px) {
  .results-grid { grid-template-columns: 1fr 1fr; }
  .achievements-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .features-why { grid-template-columns: 1fr; }
  .hero-btns, .cta-btns { flex-direction: column; align-items: center; }
  .hero-btns a, .cta-btns a { width: 100%; text-align: center; }
}
