/* ═══════════════════════════════════════════════════════════
   HOME EDUCATORS TUTORING — Shared Stylesheet
   Brand: Navy #1B3A6B · Gold #C9A84C · Off-White #FAFAF8
   Fonts: Georgia (headings) · Arial (body)
═══════════════════════════════════════════════════════════ */

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── VARIABLES ───────────────────────────────────────────── */
:root {
  --navy:         #1B3A6B;
  --navy-dark:    #122850;
  --navy-light:   #2E5FA3;
  --gold:         #C9A84C;
  --gold-light:   #E8C96B;
  --gold-pale:    #FBF5E6;
  --white:        #FFFFFF;
  --off-white:    #FAFAF8;
  --grey-light:   #F0EFED;
  --grey-mid:     #6B6B6B;
  --grey-dark:    #2D2D2D;
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.07);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.13);
  --radius:       8px;
  --max-w:        1100px;
  --transition:   0.25s ease;
}

/* ── BASE ────────────────────────────────────────────────── */
body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--grey-dark);
  background: var(--off-white);
  line-height: 1.65;
}

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--navy);
  line-height: 1.25;
}
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── LAYOUT HELPERS ──────────────────────────────────────── */
.container  { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 100px 0; }
.text-center { text-align: center; }

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; }
.section-lead  { color: var(--grey-mid); font-size: 1.05rem; max-width: 640px; margin-bottom: 48px; }
.text-center .section-lead { margin-left: auto; margin-right: auto; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 4px;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: bold;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
}
.btn-gold-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-gold-outline:hover {
  background: var(--gold);
  color: var(--white);
}

/* ── NAVIGATION ──────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 68px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo svg { height: 42px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 4px;
  transition: all var(--transition);
  font-weight: 500;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.nav-links a.active {
  color: var(--gold);
}
.nav-cta {
  margin-left: 12px;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── PAGE HERO (inner pages) ─────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 60px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 50px solid rgba(201,168,76,0.1);
  pointer-events: none;
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p  { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { text-decoration: underline; }

/* ── HOME HERO ───────────────────────────────────────────── */
.hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 96px 24px 80px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  border: 80px solid rgba(201,168,76,0.08);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 50px solid rgba(255,255,255,0.04);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content {}
.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: bold;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3rem);
}
.hero-content p {
  color: rgba(255,255,255,0.78);
  font-size: 1.08rem;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(4px);
}
.hero-card-title {
  font-family: Georgia, serif;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
}
.hero-stat:last-child { border-bottom: none; }
.hero-stat-icon {
  width: 36px; height: 36px;
  background: rgba(201,168,76,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ── TRUST BAR ───────────────────────────────────────────── */
.trust-bar {
  background: var(--white);
  border-bottom: 3px solid var(--gold);
  padding: 0;
}
.trust-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 28px;
  font-size: 0.88rem;
  font-weight: bold;
  color: var(--navy);
  border-right: 1px solid var(--grey-light);
}
.trust-item:last-child { border-right: none; }
.trust-item svg { color: var(--gold); flex-shrink: 0; }

/* ── CARDS ───────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.card-icon {
  width: 52px; height: 52px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; }
.card p   { color: var(--grey-mid); font-size: 0.92rem; }

/* ── FEATURE GRID ────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.feature-icon {
  width: 44px; height: 44px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.feature-text h4 { color: var(--navy); margin-bottom: 6px; }
.feature-text p  { color: var(--grey-mid); font-size: 0.88rem; margin: 0; }

/* ── STEPS ───────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step-number {
  font-family: Georgia, serif;
  font-size: 3rem;
  font-weight: bold;
  color: var(--grey-light);
  line-height: 1;
  margin-bottom: 12px;
}
.step h3 { margin-bottom: 10px; }
.step p  { color: var(--grey-mid); font-size: 0.9rem; }

/* ── CTA BANNER ──────────────────────────────────────────── */
.cta-banner {
  background: var(--navy);
  padding: 72px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(201,168,76,0.06);
  pointer-events: none;
}
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p  { color: rgba(255,255,255,0.7); margin-bottom: 32px; font-size: 1.05rem; }
.cta-banner .btn-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── SUBJECTS TABLE ──────────────────────────────────────── */
.subjects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.subject-chip {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  border-top: 3px solid transparent;
  transition: border-color var(--transition), transform var(--transition);
}
.subject-chip:hover { border-top-color: var(--gold); transform: translateY(-2px); }
.subject-chip .emoji { font-size: 1.8rem; margin-bottom: 8px; }
.subject-chip h4 { font-size: 0.9rem; color: var(--navy); }

/* ── AGE GROUPS ──────────────────────────────────────────── */
.age-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.age-group {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.age-group-header { background: var(--navy); padding: 24px; }
.age-group-header h3 { color: var(--white); margin-bottom: 4px; }
.age-group-header .age-range { color: var(--gold); font-size: 0.85rem; font-weight: bold; letter-spacing: 1px; }
.age-group-body { background: var(--white); padding: 24px; }
.age-group-body ul { color: var(--grey-mid); font-size: 0.9rem; }
.age-group-body li { padding: 6px 0; border-bottom: 1px solid var(--grey-light); display: flex; gap: 8px; align-items: flex-start; }
.age-group-body li:last-child { border-bottom: none; }
.age-group-body li::before { content: '✓'; color: var(--gold); font-weight: bold; flex-shrink: 0; }

/* ── ABOUT PROFILE ───────────────────────────────────────── */
.profile-block {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}
.profile-avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  box-shadow: var(--shadow-md);
}
.profile-name { font-size: 1.5rem; margin-bottom: 4px; }
.profile-role {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.profile-bio { color: var(--grey-mid); font-size: 0.95rem; margin-bottom: 24px; }
.quals-list {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.qual-badge {
  background: var(--gold-pale);
  color: var(--navy);
  border: 1px solid var(--gold-light);
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: bold;
}

/* ── VALUES ──────────────────────────────────────────────── */
.values-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  border-bottom: 3px solid var(--gold);
}
.value-card .value-icon { font-size: 2rem; margin-bottom: 12px; }
.value-card h4 { color: var(--navy); font-size: 1rem; margin-bottom: 8px; }
.value-card p  { color: var(--grey-mid); font-size: 0.85rem; margin: 0; }

/* ── CONTACT ─────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info h3 { margin-bottom: 20px; }
.contact-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}
.contact-channel:hover { transform: translateX(4px); }
.contact-channel-icon {
  width: 44px; height: 44px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-channel-label { font-size: 0.78rem; color: var(--grey-mid); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.contact-channel-value { font-size: 0.92rem; font-weight: bold; color: var(--navy); }
.contact-channel-value a { color: var(--navy); }
.contact-channel-value a:hover { color: var(--gold); }

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.contact-form-wrap h3 { margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: bold;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #DDD;
  border-radius: 4px;
  font-family: Arial, sans-serif;
  font-size: 0.92rem;
  color: var(--grey-dark);
  background: var(--off-white);
  transition: border-color var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: bold;
  color: var(--navy);
  text-align: left;
  gap: 16px;
}
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--grey-mid);
  font-size: 0.92rem;
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ── SECTION VARIANTS ────────────────────────────────────── */
.bg-white     { background: var(--white); }
.bg-off-white { background: var(--off-white); }
.bg-light     { background: var(--grey-light); }
.bg-navy      { background: var(--navy); }
.bg-navy h2, .bg-navy h3, .bg-navy p { color: var(--white); }
.bg-navy .section-tag { color: var(--gold-light); }

/* ── DIVIDER ─────────────────────────────────────────────── */
.gold-rule { width: 48px; height: 3px; background: var(--gold); border-radius: 2px; margin: 16px 0; }
.text-center .gold-rule { margin: 16px auto; }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 56px 24px 32px;
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}
.footer-brand p {
  font-size: 0.88rem;
  margin-top: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
}
.footer-col h4 {
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 0.9rem;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.footer-links a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  padding: 4px 0;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-email a {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  transition: color var(--transition);
}
.footer-email a:hover { color: var(--gold); }
.footer-email p { font-size: 0.78rem; color: rgba(255,255,255,0.4); margin-bottom: 4px; margin-top: 12px; text-transform: uppercase; letter-spacing: 1px; }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--gold); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner   { grid-template-columns: 1fr; }
  .hero-card    { display: none; }
  .profile-block { grid-template-columns: 1fr; }
  .profile-avatar { max-width: 200px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-links    { display: none; }
  .nav-toggle   { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--navy-dark);
    padding: 16px;
    gap: 4px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  }
  .nav-links.open a { padding: 12px 16px; border-radius: 4px; }
  .nav-cta { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; }
  .section, .section-lg { padding: 52px 0; }
  .trust-item { padding: 14px 16px; font-size: 0.82rem; }
}
