/* ============================================
   Kevin Fernando Edexcel Academy
   Theme: Navy Blue · White · Gold
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ---- CSS Variables ---- */
:root {
  --navy:         #0d1b3e;
  --navy-deep:    #091530;
  --navy-mid:     #132347;
  --navy-light:   #1a2f5e;
  --gold:         #c8973a;
  --gold-light:   #e6b85c;
  --gold-pale:    #f5e6c8;
  --gold-dark:    #a0752a;
  --white:        #ffffff;
  --off-white:    #f8f6f0;
  --text-dark:    #0d1b3e;
  --text-muted:   #5a6a8a;
  --border:       #d4c4a0;
  --border-light: #e8e2d4;

  --ff-display: 'Cinzel', 'Playfair Display', Georgia, serif;
  --ff-heading: 'Playfair Display', Georgia, serif;
  --ff-body:    'DM Sans', 'Segoe UI', system-ui, sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;

  --shadow-gold: 0 4px 24px rgba(200, 151, 58, 0.28);
  --shadow-navy: 0 8px 32px rgba(13, 27, 62, 0.35);
  --shadow-md:   0 4px 20px rgba(0,0,0,.12);
  --shadow-lg:   0 12px 48px rgba(0,0,0,.18);

  --nav-h: 76px;
  --transition: 0.28s ease;
}

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

/* ---- Utility ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.section    { padding: 96px 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--ff-body);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  color: var(--navy-deep);
  border-color: var(--gold);
}
.btn-gold:hover { box-shadow: 0 8px 28px rgba(200,151,58,0.45); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-light); box-shadow: var(--shadow-navy); }

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline-gold:hover { background: var(--gold); color: var(--navy-deep); box-shadow: var(--shadow-gold); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.btn-full { width: 100%; justify-content: center; }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  height: var(--nav-h);
  background: rgba(9, 21, 48, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200,151,58,0.2);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.45);
  border-bottom-color: rgba(200,151,58,0.4);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-logo-img {
  height: 48px;
  width: auto;
  max-width: 48px;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-emblem {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--navy-deep);
  border: 2px solid var(--gold);
  box-shadow: 0 0 14px rgba(200,151,58,0.3);
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name {
  font-family: var(--ff-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.logo-sub {
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-link {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  position: relative;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 2px;
}
.nav-link:hover { color: var(--white); }
.nav-link.active { color: var(--gold-light); }
.nav-link.active::after,
.nav-link:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================
   HOME PAGE
   ============================================ */

/* ---- HERO BANNER IMAGE (full width) ---- */
.hero-banner-wrap {
  padding-top: var(--nav-h);
  background: var(--navy-deep);
  position: relative;
}
.hero-banner-wrap img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-banner-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 30%;
  background: linear-gradient(to bottom, transparent, var(--navy-deep));
  pointer-events: none;
}

/* ---- HERO MAIN SPLIT ---- */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  background: var(--navy-deep);
}

.hero-left {
  padding: 64px 60px 64px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
/* Diagonal divider */
.hero-left::after {
  content: '';
  position: absolute;
  right: -40px; top: 0; bottom: 0;
  width: 80px;
  background: var(--navy-deep);
  clip-path: polygon(0 0, 0 100%, 100% 100%);
  z-index: 2;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: '';
  width: 32px; height: 2px;
  background: var(--gold);
}
.hero-eyebrow span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.04em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-family: var(--ff-display);
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.hero-subjects-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 0;
  margin-bottom: 36px;
}
.hero-subjects-row span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}
.hero-subjects-row .sep { color: var(--gold); margin: 0 8px; }

.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* Right image panel */
.hero-right {
  position: relative;
  overflow: hidden;
}
.hero-right img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(9,21,48,0.55) 0%, transparent 55%);
  z-index: 1;
}

/* ---- FEATURES BAR ---- */
.features-bar {
  background: var(--navy-mid);
  border-top: 1px solid rgba(200,151,58,0.2);
  border-bottom: 1px solid rgba(200,151,58,0.2);
  padding: 30px 0;
}
.features-bar-inner {
  display: flex;
  justify-content: center;
  align-items: stretch;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 28px;
}
.feat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
  padding: 0 20px;
  border-right: 1px solid rgba(200,151,58,0.18);
}
.feat-item:last-child { border-right: none; }
.feat-icon {
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold);
  background: rgba(200,151,58,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feat-item label {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-align: center;
  line-height: 1.4;
  cursor: default;
}

/* ---- STATS ---- */
.stats-section {
  background: var(--off-white);
  padding: 56px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 32px 28px;
  border-right: 1px solid var(--border-light);
}
.stat-item:last-child { border-right: none; }
.stat-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stat-val {
  font-family: var(--ff-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  letter-spacing: 0.02em;
}
.stat-lbl {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---- SUBJECTS (with real images) ---- */
.subjects-section {
  background: var(--navy-deep);
  padding: 96px 0;
}

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

.section-eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.15;
}
.section-title.light { color: var(--white); }
.section-title.dark  { color: var(--navy); }
.section-title .gold { color: var(--gold); }

.gold-bar {
  display: block;
  width: 72px; height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  margin: 16px auto 0;
  border-radius: 2px;
}
.section-desc {
  font-size: 0.97rem;
  max-width: 540px;
  margin: 18px auto 0;
  line-height: 1.8;
}
.section-desc.light { color: rgba(255,255,255,0.55); }
.section-desc.dark  { color: var(--text-muted); }

.subject-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.subject-img-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(200,151,58,0.18);
  cursor: pointer;
  aspect-ratio: 16/10;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.subject-img-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(200,151,58,0.2);
  border-color: var(--gold);
}
.subject-img-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.subject-img-card:hover img { transform: scale(1.06); }

.subject-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9,21,48,0.94) 0%, rgba(9,21,48,0.3) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 16px;
}
.subject-name {
  font-family: var(--ff-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4px;
}
.subject-levels {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.subject-arrow {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(200,151,58,0.15);
  border: 1px solid rgba(200,151,58,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.8rem;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity var(--transition), transform var(--transition);
}
.subject-img-card:hover .subject-arrow { opacity: 1; transform: scale(1); }

/* ---- APPROACH 4-COL GRID ---- */
.approach-section {
  background: var(--off-white);
  padding: 96px 0;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.approach-col {
  padding: 36px 28px;
  border-right: 1px solid var(--border-light);
}
.approach-col:last-child { border-right: none; }

.approach-col-label {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid linear-gradient(90deg, var(--gold), transparent);
  border-bottom: 2px solid var(--gold);
}

/* Subjects list */
.subj-list { display: flex; flex-direction: column; gap: 12px; }
.subj-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.subj-chk {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.7rem;
}

/* Approach flow */
.approach-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.ap-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.ap-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ap-step span {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}
.ap-arrow { color: var(--gold); font-size: 1.2rem; margin: 2px 0; }
.ap-motto {
  font-family: var(--ff-heading);
  font-size: 0.82rem;
  font-style: italic;
  font-weight: 600;
  color: var(--gold-dark);
  text-align: center;
  margin-top: 14px;
  letter-spacing: 0.06em;
}

/* Quote col */
.quote-col {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 36px 28px;
  border-right: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.quote-mark { font-size: 3.5rem; line-height: 1; color: var(--gold); margin-bottom: 10px; font-family: Georgia, serif; }
.quote-text {
  font-family: var(--ff-heading);
  font-size: 0.92rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.75;
  margin-bottom: 14px;
}
.quote-attr { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; color: var(--gold); text-transform: uppercase; }

/* Why choose us */
.why-list { display: flex; flex-direction: column; gap: 11px; }
.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.why-list li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }

/* ---- CTA SECTION ---- */
.cta-section {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-light) 100%);
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -40%; left: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,151,58,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -40%; right: -10%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,151,58,0.05) 0%, transparent 65%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-section h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-section h2 span { color: var(--gold); }
.cta-section p {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }


/* ============================================
   INNER PAGES
   ============================================ */

.page-hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-light) 100%);
  padding-top: calc(var(--nav-h) + 72px);
  padding-bottom: 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 25% 50%, rgba(200,151,58,0.07) 0%, transparent 60%);
}
.page-hero-content { position: relative; z-index: 1; }

.page-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.page-eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--gold); }
.page-eyebrow span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.page-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 18px;
}
.page-title span { color: var(--gold); }
.page-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  line-height: 1.8;
}

/* ---- ABOUT ---- */
.about-section { background: var(--white); padding: 96px 0; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 72px;
  align-items: start;
}

.about-lead {
  border-left: 4px solid var(--gold);
  padding-left: 24px;
  margin-bottom: 40px;
}
.about-lead p {
  font-size: 1.15rem;
  color: var(--text-dark);
  line-height: 1.82;
}

.about-body p {
  color: var(--text-muted);
  line-height: 1.82;
  margin-bottom: 32px;
  font-size: 0.97rem;
}

.about-h2 {
  font-family: var(--ff-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold-pale);
}

.expect-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.expect-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.chk-circle {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 1px;
}

.about-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: calc(var(--nav-h) + 28px);
}

.sidebar-card {
  background: var(--navy-deep);
  border: 1px solid rgba(200,151,58,0.18);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: border-color var(--transition);
}
.sidebar-card:hover { border-color: rgba(200,151,58,0.5); }
.sc-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(200,151,58,0.1);
  border: 2px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.sidebar-card h4 {
  font-family: var(--ff-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.sidebar-card p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}
.sidebar-card a { color: var(--gold); }
.sidebar-card a:hover { text-decoration: underline; }

/* ---- COURSES ---- */
.courses-section { background: var(--off-white); padding: 96px 0; }

/* Subject banner showcase */
.subject-banners-showcase {
  margin-bottom: 88px;
}
.showcase-title {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 32px;
  text-align: center;
}
.showcase-title span { color: var(--gold); }

.subject-banners {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.subject-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1/1.1;
  border: 2px solid rgba(200,151,58,0.2);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.subject-banner:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(200,151,58,0.25);
  border-color: var(--gold);
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,151,58,0.1), rgba(200,151,58,0.02));
  opacity: 0;
  transition: opacity 0.35s ease;
}
.subject-banner:hover .banner-overlay { opacity: 1; }

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
}
.banner-icon {
  font-size: 2.4rem;
  line-height: 1;
}
.banner-content h3 {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.banner-content p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
}

/* Subject banner colors */
.subject-banner-business {
  background: linear-gradient(135deg, #1a2f5e 0%, #0d1b3e 100%);
  border-color: rgba(75, 150, 200, 0.3);
}
.subject-banner-business:hover {
  background: linear-gradient(135deg, #2a3f6e 0%, #1a2f5e 100%);
  box-shadow: 0 20px 60px rgba(75, 150, 200, 0.2);
}

.subject-banner-economics {
  background: linear-gradient(135deg, #1a2f5e 0%, #0d1b3e 100%);
  border-color: rgba(76, 175, 80, 0.3);
}
.subject-banner-economics:hover {
  background: linear-gradient(135deg, #2a3f6e 0%, #1a2f5e 100%);
  box-shadow: 0 20px 60px rgba(76, 175, 80, 0.2);
}

.subject-banner-commerce {
  background: linear-gradient(135deg, #1a2f5e 0%, #0d1b3e 100%);
  border-color: rgba(255, 152, 0, 0.3);
}
.subject-banner-commerce:hover {
  background: linear-gradient(135deg, #2a3f6e 0%, #1a2f5e 100%);
  box-shadow: 0 20px 60px rgba(255, 152, 0, 0.2);
}

.subject-banner-accounting {
  background: linear-gradient(135deg, #1a2f5e 0%, #0d1b3e 100%);
  border-color: rgba(233, 30, 99, 0.3);
}
.subject-banner-accounting:hover {
  background: linear-gradient(135deg, #2a3f6e 0%, #1a2f5e 100%);
  box-shadow: 0 20px 60px rgba(233, 30, 99, 0.2);
}

/* Course Tiers */
.course-tier {
  margin-bottom: 80px;
  scroll-margin-top: 120px;
}
.course-tier:last-child { margin-bottom: 0; }

.tier-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--border-light);
}
.tier-header-left {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex: 1;
}

.tier-icon {
  font-size: 2.8rem;
  opacity: 0.15;
  flex-shrink: 0;
}

.tier-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.tier-pill-igcse {
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  color: var(--gold-light);
  border: 1.5px solid rgba(230, 184, 92, 0.4);
}
.tier-pill-ias {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  color: var(--navy-deep);
  border: 1.5px solid rgba(200,151,58,0.5);
}
.tier-pill-ial {
  background: linear-gradient(135deg, var(--gold-light), rgba(230,184,92,0.8));
  color: var(--navy);
  border: 1.5px solid rgba(200,151,58,0.5);
  font-weight: 900;
}

.tier-info h2 {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 6px;
}
.tier-info p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 480px;
}

/* Course Cards */
.course-cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}
.course-card {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.card-color-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.card-commerce .card-color-accent { background: linear-gradient(90deg, #ff9800, #ffc107); }
.card-business .card-color-accent { background: linear-gradient(90deg, #4b96c8, #2196f3); }
.card-economics .card-color-accent { background: linear-gradient(90deg, #4caf50, #66bb6a); }
.card-accounting .card-color-accent { background: linear-gradient(90deg, #e91e63, #f06292); }

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(200,151,58,0.15);
  border-color: rgba(200,151,58,0.4);
}
.course-card:hover .card-color-accent { transform: scaleX(1); }

.cc-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
  flex-shrink: 0;
  transition: all 0.35s ease;
}
.card-commerce .cc-icon { background: linear-gradient(135deg, #ff9800, #ffa726); }
.card-business .cc-icon { background: linear-gradient(135deg, #1976d2, #2196f3); }
.card-economics .cc-icon { background: linear-gradient(135deg, #388e3c, #4caf50); }
.card-accounting .cc-icon { background: linear-gradient(135deg, #c2185b, #e91e63); }

.course-card:hover .cc-icon {
  transform: scale(1.1) rotate(5deg);
}

.card-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  width: fit-content;
  background: rgba(255,255,255,0.8);
  border: 1.5px solid var(--border-light);
  color: var(--navy);
}
.card-commerce .card-badge { 
  background: rgba(255, 152, 0, 0.12);
  border-color: rgba(255, 152, 0, 0.25);
  color: #e65100;
}
.card-business .card-badge {
  background: rgba(25, 118, 210, 0.12);
  border-color: rgba(25, 118, 210, 0.25);
  color: #0d47a1;
}
.card-economics .card-badge {
  background: rgba(56, 142, 60, 0.12);
  border-color: rgba(56, 142, 60, 0.25);
  color: #1b5e20;
}
.card-accounting .card-badge {
  background: rgba(194, 24, 91, 0.12);
  border-color: rgba(194, 24, 91, 0.25);
  color: #880e4f;
}

.course-card h3 {
  font-family: var(--ff-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy);
  margin-top: 4px;
}

.cc-level {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: inline-block;
}

.cc-cta {
  margin-top: auto;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.course-card:hover .cc-cta {
  opacity: 1;
  transform: translateX(0);
  color: var(--gold-light);
}

/* ---- RESPONSIVE: COURSE CARDS ---- */
@media (max-width: 1024px) {
  .course-cards-row {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .courses-section { padding: 72px 0; }
  
  .showcase-title {
    font-size: clamp(1.5rem, 2vw, 1.8rem);
    margin-bottom: 24px;
  }
  
  .subject-banners {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .subject-banner { aspect-ratio: 1/1; }
  
  .banner-icon { font-size: 2rem; }
  .banner-content {
    gap: 8px;
    padding: 16px 12px;
  }
  .banner-content h3 { font-size: 0.95rem; }
  .banner-content p { font-size: 0.75rem; }
  
  .tier-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
  }
  .tier-header-left { gap: 16px; }
  .tier-icon { font-size: 2.2rem; }
  
  .tier-info h2 { font-size: 1.4rem; }
  .tier-info p { font-size: 0.88rem; max-width: 100%; }
  
  .course-cards-row {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
  }
  .course-card { padding: 24px 18px; }
  
  .cc-icon { width: 48px; height: 48px; }
  .course-card h3 { font-size: 1.05rem; }
}

@media (max-width: 640px) {
  .courses-section { padding: 56px 0; }
  .container { padding: 0 16px; }
  
  .subject-banners-showcase { margin-bottom: 64px; }
  .showcase-title { font-size: 1.4rem; margin-bottom: 20px; }
  
  .subject-banners {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .subject-banner { aspect-ratio: 16/10; }
  
  .banner-icon { font-size: 1.8rem; }
  .banner-content {
    gap: 6px;
    padding: 14px 10px;
  }
  .banner-content h3 { font-size: 0.9rem; }
  .banner-content p { font-size: 0.7rem; }
  
  .course-tier { margin-bottom: 60px; }
  .tier-header { margin-bottom: 24px; padding-bottom: 18px; }
  
  .tier-pill { padding: 8px 16px; font-size: 0.62rem; }
  .tier-icon { font-size: 1.8rem; }
  .tier-info h2 { font-size: 1.25rem; margin-bottom: 4px; }
  .tier-info p { font-size: 0.82rem; }
  
  .course-cards-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .course-card {
    padding: 20px 16px;
    gap: 12px;
  }
  
  .cc-icon { width: 44px; height: 44px; font-size: 1.2rem; }
  .course-card h3 { font-size: 1rem; }
  .cc-level { font-size: 0.62rem; }
  
  .card-badge { padding: 5px 12px; font-size: 0.6rem; }
  .cc-cta { font-size: 0.7rem; }
}

/* ---- CONTACT ---- */
.contact-section { background: var(--white); padding: 96px 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 56px;
  align-items: start;
}

.contact-methods { display: flex; flex-direction: column; gap: 14px; }

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: var(--navy-deep);
  border: 1px solid rgba(200,151,58,0.18);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), transform var(--transition);
}
.contact-card:not(.static):hover { border-color: var(--gold); transform: translateX(4px); }
.contact-card.static { cursor: default; }
.cc-icon-wrap {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(200,151,58,0.1);
  border: 2px solid var(--gold);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cc-info { flex: 1; }
.cc-lbl { display: block; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.cc-val { font-size: 0.88rem; font-weight: 500; color: var(--white); word-break: break-all; }

.contact-form-box {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
}
.contact-form-box h2 {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 6px;
}
.contact-form-box h2 span { color: var(--gold-dark); }
.contact-form-box > p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-group label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); }
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--ff-body);
  font-size: 0.93rem;
  color: var(--text-dark);
  background: var(--off-white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  outline: none;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #b5b0a8; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,151,58,0.12);
  background: var(--white);
}
.form-group textarea { resize: vertical; }

.form-success {
  margin-top: 16px;
  padding: 16px 20px;
  background: rgba(200,151,58,0.08);
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--navy-deep);
  border-top: 2px solid rgba(200,151,58,0.25);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand { }
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.86rem; color: rgba(255,255,255,0.42); line-height: 1.75; max-width: 270px; }
.footer-col h5 {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(200,151,58,0.2);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li,
.footer-col a { font-size: 0.85rem; color: rgba(255,255,255,0.42); transition: color var(--transition); }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  padding: 20px 28px;
  text-align: center;
  font-size: 0.77rem;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.06em;
}

/* ---- SCROLL REVEAL ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.hero-left > * { animation: fadeUp 0.7s ease both; }
.hero-eyebrow  { animation-delay: 0.05s; }
.hero-title    { animation-delay: 0.15s; }
.hero-subtitle { animation-delay: 0.22s; }
.hero-subjects-row { animation-delay: 0.29s; }
.hero-cta-row  { animation-delay: 0.36s; }
.hero-right    { animation: fadeIn 1.1s ease 0.2s both; }
.hero-banner-wrap { animation: fadeIn 0.9s ease both; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }


/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-left { padding: 56px 40px; }
  .hero-left::after { display: none; }
  .hero-right { height: 380px; }
  .subject-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-col:nth-child(2) { border-right: none; }
  .approach-col:nth-child(3) { border-right: 1px solid var(--border-light); border-top: 1px solid var(--border-light); }
  .approach-col:nth-child(4) { border-top: 1px solid var(--border-light); }
  .about-grid { grid-template-columns: 1fr; }
  .about-sidebar { position: static; display: grid; grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(200,151,58,0.2);
    border-bottom: 2px solid rgba(200,151,58,0.2);
  }
  .nav-links.open { display: flex; }
  .nav-link { display: block; padding: 16px 28px; font-size: 0.85rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav-link::after { display: none; }

  .hero-left { padding: 48px 24px; }
  .features-bar-inner { flex-wrap: wrap; justify-content: center; gap: 16px 0; padding: 0 16px; }
  .feat-item { flex: 0 0 33.33%; border-right: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid var(--border-light); }

  .subject-cards-grid { grid-template-columns: 1fr 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .approach-col { border-right: none; border-bottom: 1px solid var(--border-light); }

  .subject-banners { grid-template-columns: 1fr; }
  .about-sidebar { grid-template-columns: 1fr; }
  .course-cards-row { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-box { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .subject-cards-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; }
  .hero-cta-row { flex-direction: column; }
  .course-cards-row { grid-template-columns: 1fr; }
  .feat-item { flex: 0 0 50%; }
  .cta-btns { flex-direction: column; align-items: center; }
}
