/* ================================================
   TOPGRADETUTOR — MAIN STYLESHEET
   Colours: Navy #1B2D52 | Orange #F5A623 | Cream #FAF5ED
   ================================================ */

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

/* ── RESET & ROOT ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #1B2D52;
  --navy-light:  #243a6b;
  --orange:      #F5A623;
  --orange-dk:   #d98e10;
  --cream:       #FAF5ED;
  --cream-dk:    #F0E8D8;
  --white:       #ffffff;
  --text:        #1B2D52;
  --text-body:   #3d4a5c;
  --text-muted:  #7a8799;
  --border:      #e4ddd0;
  --shadow-sm:   0 2px 12px rgba(27,45,82,.08);
  --shadow-md:   0 6px 28px rgba(27,45,82,.13);
  --shadow-lg:   0 12px 48px rgba(27,45,82,.18);
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  .28s ease;
  --max-w:       1180px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5 {
  font-family: 'Poppins', sans-serif;
  color: var(--navy);
  line-height: 1.25;
}

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── UTILITIES ──────────────────────────────────── */
.text-center { text-align: center; }
.bg-cream     { background: var(--cream); }
.bg-navy      { background: var(--navy); }
.bg-white     { background: var(--white); }

.section {
  padding: 90px 0;
}
.section-sm { padding: 60px 0; }

.section-label {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(245,166,35,.12);
  border: 1px solid rgba(245,166,35,.3);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-heading {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--navy);
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 52px;
}

.divider {
  width: 52px;
  height: 4px;
  background: var(--orange);
  border-radius: 2px;
  margin: 20px 0 28px;
}

/* ── BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .92rem;
  padding: 13px 28px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--navy);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dk);
  border-color: var(--orange-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,166,35,.35);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
}
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 9px 20px; font-size: .83rem; }

/* ── HEADER / NAV ───────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(27,45,82,.08);
  transition: box-shadow var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.site-logo img {
  height: 110px;
  width: auto;
  max-width: 550px;
  object-fit: contain;
}
/* Text fallback if logo image missing */
.logo-fallback {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.logo-fallback span { color: var(--orange); }

/* Main nav links */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.main-nav > li {
  position: relative;
}

.main-nav > li > a {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: .9rem;
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background var(--transition), color var(--transition);
}
.main-nav > li > a:hover,
.main-nav > li > a.active {
  background: var(--cream);
  color: var(--orange);
}
.main-nav .chevron {
  font-size: .65rem;
  transition: transform var(--transition);
}
.main-nav > li:hover .chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 230px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 999;
}
.main-nav > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-body);
  transition: background var(--transition), color var(--transition);
}
.dropdown li a:hover { background: var(--cream); color: var(--orange); }
.dropdown li:first-child a { border-radius: var(--radius) var(--radius) 0 0; }
.dropdown li:last-child a  { border-radius: 0 0 var(--radius) var(--radius); }
.dropdown li + li { border-top: 1px solid var(--border); }

/* Nested dropdown */
.has-sub { position: relative; }
.sub-dropdown {
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: all var(--transition);
  z-index: 1000;
}
.has-sub:hover .sub-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.nav-cta { flex-shrink: 0; }

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

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px 24px 24px;
  gap: 2px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.mobile-nav.open {
  display: flex;
  max-height: 700px;
}
.mobile-nav a {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: .9rem;
  color: var(--navy);
  padding: 10px 12px;
  border-radius: 7px;
  transition: background var(--transition);
}
.mobile-nav a:hover { background: var(--cream); color: var(--orange); }
.mobile-nav .mobile-sub { padding-left: 16px; border-left: 3px solid var(--orange); margin: 4px 0; }
.mobile-nav .mobile-sub-label {
  font-family: 'Poppins', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 12px 4px;
}
.mobile-nav .nav-btn { margin-top: 12px; }

/* ── HERO ───────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,166,35,.15);
  border: 1px solid rgba(245,166,35,.4);
  color: var(--orange);
  font-family: 'Poppins', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--orange); }
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  max-width: 520px;
  margin-bottom: 38px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.7);
  font-size: .88rem;
}
.hero-trust-item .tick {
  width: 20px; height: 20px;
  background: rgba(245,166,35,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  font-size: .75rem;
  flex-shrink: 0;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  backdrop-filter: blur(8px);
}
.hero-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.hero-card-icon {
  width: 52px; height: 52px;
  background: rgba(245,166,35,.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}
.hero-card h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 2px;
}
.hero-card p { color: rgba(255,255,255,.65); font-size: .85rem; }
.hero-card-stat {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
.hero-card-label { color: rgba(255,255,255,.6); font-size: .82rem; margin-top: 4px; }

.hero-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hero-mini-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.hero-mini-card .num {
  font-family: 'Poppins', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--orange);
}
.hero-mini-card .lbl { color: rgba(255,255,255,.6); font-size: .78rem; margin-top: 4px; }

/* ── STATS BAR ──────────────────────────────────── */
.stats-bar {
  background: var(--navy);
  padding: 36px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item {}
.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
.stat-label {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: 6px;
}
.stats-divider {
  width: 1px;
  background: rgba(255,255,255,.1);
  display: none;
}

/* ── SERVICE CARDS ──────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 64px; height: 64px;
  background: rgba(245,166,35,.12);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 22px;
}
.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.service-card p { font-size: .93rem; color: var(--text-muted); margin-bottom: 20px; }
.learn-more {
  font-family: 'Poppins', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.learn-more:hover { gap: 10px; }

/* ── SUBJECTS GRID ──────────────────────────────── */
.subjects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.subject-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: all var(--transition);
  cursor: pointer;
}
.subject-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.subject-card:hover .subject-icon-wrap { background: var(--orange); }
.subject-icon-wrap {
  width: 50px; height: 50px;
  background: rgba(245,166,35,.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: background var(--transition);
}
.subject-card-text h4 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 3px;
}
.subject-card-text p { font-size: .8rem; color: var(--text-muted); }

/* ── WHY US ─────────────────────────────────────── */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature-list { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.feature-item { display: flex; gap: 18px; align-items: flex-start; }
.feature-icon-wrap {
  width: 48px; height: 48px;
  background: rgba(245,166,35,.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.feature-item h4 { font-size: .95rem; font-weight: 700; margin-bottom: 5px; }
.feature-item p { font-size: .88rem; color: var(--text-muted); }
.why-us-visual {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.why-us-visual::before {
  content: '"';
  position: absolute;
  top: -20px; left: 20px;
  font-size: 12rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  color: rgba(245,166,35,.15);
  line-height: 1;
}
.why-us-quote {
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(255,255,255,.9);
  line-height: 1.7;
  margin-bottom: 32px;
  position: relative;
}
.tutor-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.tutor-badge-icon {
  width: 52px; height: 52px;
  background: rgba(245,166,35,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.tutor-badge strong { display: block; color: var(--white); font-family: 'Poppins', sans-serif; font-size: .95rem; }
.tutor-badge span { color: rgba(255,255,255,.6); font-size: .82rem; }

/* ── STEPS ──────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px; left: 12%; right: 12%;
  height: 2px;
  background: linear-gradient(to right, var(--orange) 0%, var(--border) 100%);
  z-index: 0;
}
.step-card {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px 16px;
}
.step-number {
  width: 64px; height: 64px;
  background: var(--navy);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
}
.step-card:nth-child(1) .step-number { background: var(--orange); color: var(--navy); }
.step-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.step-card p  { font-size: .87rem; color: var(--text-muted); }

/* ── TESTIMONIALS ───────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.stars { color: var(--orange); font-size: 1rem; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial-card p {
  font-size: .92rem;
  color: var(--text-body);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.author-avatar {
  width: 40px; height: 40px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: .9rem; color: var(--navy); }
.testimonial-author span  { font-size: .78rem; color: var(--text-muted); }

/* ── RESOURCES TEASER ───────────────────────────── */
.resources-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}
.resource-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.resource-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}
.resource-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.resource-card .coming-soon {
  position: absolute;
  top: 10px; right: 10px;
  background: var(--orange);
  color: var(--navy);
  font-family: 'Poppins', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.resource-card .rc-icon { font-size: 2rem; margin-bottom: 10px; }
.resource-card h4 { font-size: .9rem; font-weight: 700; margin-bottom: 6px; }
.resource-card p  { font-size: .78rem; color: var(--text-muted); }

/* ── CTA BAND ───────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dk) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231B2D52' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-band h2 {
  color: var(--navy);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
  position: relative;
}
.cta-band p {
  color: rgba(27,45,82,.75);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 36px;
  position: relative;
}
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── FOOTER ─────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  padding: 70px 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,.1);
}
.footer-brand p {
  font-size: .9rem;
  line-height: 1.8;
  margin-top: 18px;
  max-width: 280px;
}
.footer-tagline {
  font-family: 'Poppins', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  color: var(--orange);
  margin-top: 14px;
}
.footer-col h4 {
  color: var(--white);
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 18px;
  font-family: 'Poppins', sans-serif;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: .87rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--orange); }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .87rem;
  margin-bottom: 10px;
}
.footer-contact-item a { color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--orange); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: .83rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--orange); }
.footer-logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
}
.footer-logo-text span { color: var(--orange); }
.footer-logo img { height: 100px; width: auto; max-width: 500px; object-fit: contain; }

/* ── PAGE HERO (inner pages) ────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 70px 0 60px;
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 14px; }
.page-hero p  { color: rgba(255,255,255,.75); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: .83rem;
  color: rgba(255,255,255,.5);
}
.breadcrumb a { color: rgba(255,255,255,.6); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { opacity: .4; }

/* ── SUBJECT PAGE ───────────────────────────────── */
.subject-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.subject-intro-grid .lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.topic-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}
.topic-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--cream);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: .9rem;
}
.topic-item .tick { color: var(--orange); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.info-box {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: var(--white);
}
.info-box h3 { color: var(--white); margin-bottom: 20px; font-size: 1.15rem; }
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: .9rem;
}
.info-row:last-child { border-bottom: none; }
.info-row .label { color: rgba(255,255,255,.6); }
.info-row .value { color: var(--orange); font-weight: 600; font-family: 'Poppins', sans-serif; }
.info-box .btn { width: 100%; justify-content: center; margin-top: 24px; }

.sub-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.sub-nav-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: all var(--transition);
}
.sub-nav-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.sub-nav-card .icon { font-size: 2rem; margin-bottom: 12px; }
.sub-nav-card h4 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.sub-nav-card p  { font-size: .8rem; color: var(--text-muted); }

/* ── CONTACT PAGE ───────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.contact-icon {
  width: 48px; height: 48px;
  background: rgba(245,166,35,.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info-item h4 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a {
  font-size: .9rem;
  color: var(--text-muted);
}
.contact-info-item a:hover { color: var(--orange); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: .83rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(245,166,35,.15);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-submit { width: 100%; justify-content: center; }

/* ── ABOUT PAGE ─────────────────────────────────── */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-visual-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  color: var(--white);
}
.about-visual-card .big { font-family: 'Poppins', sans-serif; font-size: 2rem; font-weight: 800; color: var(--orange); }
.about-visual-card p { font-size: .82rem; color: rgba(255,255,255,.65); margin-top: 6px; }
.about-visual-card.light {
  background: var(--cream);
  color: var(--navy);
}
.about-visual-card.light .big { color: var(--navy); }
.about-visual-card.light p   { color: var(--text-muted); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  transition: all var(--transition);
}
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.value-card .vi { font-size: 2.2rem; margin-bottom: 14px; }
.value-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.value-card p  { font-size: .88rem; color: var(--text-muted); }

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .hero { text-align: center; }
  .hero p { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .why-us-grid  { grid-template-columns: 1fr; gap: 40px; }
  .steps-grid   { grid-template-columns: 1fr 1fr; }
  .steps-grid::before { display: none; }
  .sub-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .about-intro-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .main-nav { display: none; }
  .nav-cta.desktop { display: none; }
  .menu-toggle { display: flex; }
  .services-grid    { grid-template-columns: 1fr; }
  .subjects-grid    { grid-template-columns: 1fr 1fr; }
  .stats-grid       { grid-template-columns: 1fr 1fr; gap: 20px; }
  .testimonials-grid{ grid-template-columns: 1fr; }
  .resources-teaser { grid-template-columns: 1fr; }
  .subject-intro-grid { grid-template-columns: 1fr; }
  .values-grid      { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr; }
  .footer-bottom    { flex-direction: column; text-align: center; }
  .form-row         { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero { padding: 70px 0 60px; }
  .subjects-grid { grid-template-columns: 1fr; }
  .stats-grid    { grid-template-columns: 1fr 1fr; }
  .about-visual  { grid-template-columns: 1fr; }
}

/* ── BLOG ───────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.blog-card-thumb {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 32px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.blog-card-thumb .thumb-icon { font-size: 2.4rem; }
.blog-card-thumb .thumb-tag {
  font-family: 'Poppins', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(245,166,35,.15);
  border: 1px solid rgba(245,166,35,.3);
  padding: 4px 12px;
  border-radius: 100px;
}
.blog-card-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.blog-card-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.blog-card-body p  { font-size: .88rem; color: var(--text-muted); flex: 1; margin-bottom: 18px; }
.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: .78rem;
  color: var(--text-muted);
}
.blog-card-footer .read-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .82rem;
  color: var(--orange);
  transition: gap var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.blog-card-footer .read-link:hover { gap: 9px; }

/* Blog post page */
.blog-post-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); padding: 70px 0 60px; }
.blog-post-hero .post-tag {
  font-family: 'Poppins', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(245,166,35,.15);
  border: 1px solid rgba(245,166,35,.3);
  padding: 5px 14px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 18px;
}
.blog-post-hero h1 { color: var(--white); font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 16px; }
.blog-post-hero .post-meta { color: rgba(255,255,255,.55); font-size: .85rem; display: flex; gap: 20px; flex-wrap: wrap; }

.blog-post-body { max-width: 760px; margin: 0 auto; padding: 60px 24px 80px; }
.blog-post-body h2 { font-size: 1.4rem; font-weight: 700; margin: 40px 0 14px; color: var(--navy); }
.blog-post-body h3 { font-size: 1.1rem; font-weight: 700; margin: 28px 0 10px; color: var(--navy); }
.blog-post-body p  { font-size: 1rem; line-height: 1.85; color: var(--text-body); margin-bottom: 18px; }
.blog-post-body ul, .blog-post-body ol { padding-left: 24px; margin-bottom: 18px; }
.blog-post-body li { font-size: 1rem; line-height: 1.8; color: var(--text-body); margin-bottom: 6px; }
.blog-post-body strong { color: var(--navy); }
.blog-highlight {
  background: rgba(245,166,35,.1);
  border-left: 4px solid var(--orange);
  border-radius: 0 8px 8px 0;
  padding: 18px 22px;
  margin: 28px 0;
  font-size: .95rem;
  color: var(--navy);
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}

/* ── BOOTCAMP CARD ──────────────────────────────── */
.bootcamp-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
}
.bootcamp-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.bootcamp-card-header {
  background: var(--orange);
  padding: 32px 36px;
}
.bootcamp-brand {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: rgba(255,255,255,.8);
  display: block;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.bootcamp-card-header h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.15;
}
.bootcamp-card-header > p {
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  margin-bottom: 24px;
}
.bootcamp-price {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.bootcamp-price-old {
  font-size: 1.4rem;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  text-decoration: line-through;
}
.bootcamp-price-save {
  font-size: .75rem;
  font-weight: 700;
  background: var(--orange);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.bootcamp-card-body {
  background: #252f3f;
  padding: 28px 36px 32px;
}
.bootcamp-section-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 14px;
}
.bootcamp-card-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bootcamp-card-body ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .92rem;
  color: rgba(255,255,255,.82);
  line-height: 1.5;
}
.bootcamp-card-body ul li::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}
.bootcamp-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.1);
  margin: 22px 0;
}
.bootcamp-addon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: .9rem;
  color: rgba(255,255,255,.75);
}
.bootcamp-addon:last-child { border-bottom: none; padding-bottom: 0; }
.bootcamp-addon strong {
  color: var(--white);
  font-size: .93rem;
  display: block;
  margin-bottom: 3px;
}
.bootcamp-addon p { color: rgba(255,255,255,.5); font-size: .82rem; margin: 0; }
.addon-price { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.addon-price .new { color: var(--orange); font-weight: 700; font-size: 1rem; }
.addon-price .old { color: rgba(255,255,255,.3); text-decoration: line-through; font-size: .85rem; }

/* Booking form panel */
.bootcamp-booking {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.bootcamp-booking h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
}
.bootcamp-booking > p {
  font-size: .88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.65;
}
.bootcamp-spots {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(245,166,35,.12);
  border: 1px solid rgba(245,166,35,.3);
  border-radius: 30px;
  padding: 5px 14px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 22px;
}
@media (max-width: 900px) {
  .bootcamp-wrap { grid-template-columns: 1fr; }
}

/* ── PRICING ────────────────────────────────────── */
.pricing-intro {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.pricing-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.pricing-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.pricing-panel-header {
  background: var(--navy);
  color: var(--white);
  padding: 28px 32px 24px;
}
.pricing-panel-header .panel-icon { font-size: 2rem; margin-bottom: 10px; display: block; }
.pricing-panel-header h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.pricing-panel-header p  { font-size: .85rem; color: rgba(255,255,255,.65); margin: 0; }
.pricing-panel-body { padding: 28px 32px 32px; }
.pricing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}
.pricing-row:last-child { border-bottom: none; padding-bottom: 0; }
.pricing-row-label { font-size: .93rem; color: var(--text-body); }
.pricing-row-price {
  font-family: 'Poppins', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--orange);
  white-space: nowrap;
}
.pricing-note {
  margin-top: 22px;
  background: rgba(245,166,35,.08);
  border: 1px solid rgba(245,166,35,.25);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: .85rem;
  color: var(--navy);
  line-height: 1.6;
}
.pricing-note strong { font-weight: 700; }
.pricing-cta {
  margin-top: 22px;
  display: block;
  width: 100%;
  text-align: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .pricing-wrapper { grid-template-columns: 1fr; }
}

/* ── ANIMATIONS ─────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #25D366;
  color: white;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  z-index: 999;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.5);
}
