/* ==========================================================================
   Awesome Driving School – V6 Design (Inter + Poppins, Red/Dark)
   Tightened layout, consistent alignment, full mobile support
   ========================================================================== */

:root {
  --red: #E63946;
  --red-dark: #C1121F;
  --red-light: #FFF0F0;
  --dark: #1A1A2E;
  --dark-soft: #2D2D44;
  --text: #374151;
  --text-light: #6B7280;
  --light-bg: #F8F9FA;
  --white: #FFFFFF;
  --border: #E5E7EB;
  --amber: #F59E0B;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Poppins', var(--font);
  --header-height: 72px;
  --max-w: 1100px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --red: #FF6B74;
    --red-dark: #E63946;
    --red-light: #3B1C1F;
    --dark: #F1F5F9;
    --dark-soft: #CBD5E1;
    --text: #E2E8F0;
    --text-light: #94A3B8;
    --light-bg: #1E293B;
    --white: #0F172A;
    --border: #334155;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.35);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.4);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --red: #FF6B74;
  --red-dark: #E63946;
  --red-light: #3B1C1F;
  --dark: #F1F5F9;
  --dark-soft: #CBD5E1;
  --text: #E2E8F0;
  --text-light: #94A3B8;
  --light-bg: #1E293B;
  --white: #0F172A;
  --border: #334155;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.35);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.5);
  color-scheme: dark;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { text-wrap: balance; }

/* --- Wrap (consistent max-width) --- */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo img { height: 52px; width: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-list > li > a:hover { color: var(--red); background: var(--red-light); }
.nav-list > li > a.active { color: var(--red); }
.nav-cta {
  background: var(--red) !important;
  color: #FFF !important;
  font-weight: 600 !important;
  padding: 10px 24px !important;
  border-radius: var(--radius-sm) !important;
}
.nav-cta:hover { background: var(--red-dark) !important; }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  min-width: 260px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  padding: 8px;
  z-index: 100;
}
.nav-list > li:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown li a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-dropdown li a:hover,
.nav-dropdown li a.active { background: var(--red-light); color: var(--red); }
.dropdown-arrow { font-size: 10px; transition: transform var(--transition); }
.nav-list > li:hover .dropdown-arrow { transform: rotate(180deg); }

/* Mobile toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--radius-sm);
}
.mobile-menu-toggle:hover { background: var(--light-bg); }
.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  transition: all var(--transition);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1;
}
.btn-primary { background: var(--red); color: #FFF; }
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(230,57,70,0.35);
}
.btn-outline { background: transparent; color: #FFF; border: 2px solid rgba(255,255,255,0.3); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }
.btn-outline-dark { background: transparent; color: var(--text); border: 2px solid var(--border); }
.btn-outline-dark:hover { border-color: var(--red); color: var(--red); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-arrow::after { content: '\2192'; transition: transform var(--transition); }
.btn-arrow:hover::after { transform: translateX(4px); }

/* --- Hero (Homepage) --- */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1A1A2E;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.88) 0%, rgba(26,26,46,0.6) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-text { color: #FFF; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(230,57,70,0.15);
  border: 1px solid rgba(230,57,70,0.3);
  color: #FF8A8A;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}
.hero-text h1 {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #FFF;
}
.hero-text h1 span { color: var(--red); }
.hero-text > p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero course cards */
.hero-courses { display: flex; flex-direction: column; gap: 16px; }
.hero-course-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 20px;
  color: #FFF;
  transition: all var(--transition);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-course-card:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}
.hero-course-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.hero-course-info { flex: 1; min-width: 0; }
.hero-course-info h3 { font-size: 15px; font-weight: 600; margin-bottom: 2px; color: #FFF; }
.hero-course-info p { font-size: 13px; color: rgba(255,255,255,0.6); margin: 0; }
.hero-course-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #FFF;
  flex-shrink: 0;
}
.hero-course-price small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
}

/* --- Trust Bar --- */
.trust-bar {
  background: var(--light-bg);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
}
.trust-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-sm);
}

/* --- Section Header --- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 12px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
}

/* --- Why Section --- */
.why-section { padding: 80px 24px; background: var(--light-bg); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.why-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.why-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--red-light);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px;
}
.why-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.why-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* --- Courses Section --- */
.courses-section { padding: 80px 24px; background: var(--white); }
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.course-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;
}
.course-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.course-card-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.course-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--red);
  color: #FFF;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.course-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.course-card-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.course-card-body p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}
.course-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.course-price {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
}
.course-price small { font-size: 13px; font-weight: 400; color: var(--text-light); }

/* --- Testimonials --- */
.testimonials-section { padding: 80px 24px; background: var(--white); }
.google-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 10px 20px;
  margin-top: 16px;
}
.google-rating-stars {
  display: flex;
  align-items: center;
  gap: 6px;
}
.google-rating-score {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading);
  font-family: var(--font-display);
}
.google-rating-stars-icons {
  color: var(--amber);
  font-size: 16px;
  letter-spacing: 1px;
}
.google-rating-count {
  font-size: 13px;
  color: var(--text-muted);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.testimonial-card {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
}
.testimonial-stars { color: var(--amber); font-size: 18px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card blockquote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
  font-style: normal;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: 14px; color: var(--dark); }
.testimonial-detail { font-size: 12px; color: var(--text-light); }

/* --- FAQ --- */
.faq-section { padding: 80px 24px; background: var(--light-bg); }
.faq-section.inner-faq { padding: 0; background: transparent; margin-top: 48px; }
.faq-section.inner-faq > h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  margin-bottom: 32px;
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item.active { border-color: var(--red); box-shadow: 0 2px 12px rgba(230,57,70,0.08); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font);
  transition: color var(--transition);
  gap: 16px;
}
.faq-question:hover { color: var(--red); }
.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: all var(--transition);
  color: var(--text-light);
}
.faq-item.active .faq-toggle { background: var(--red); color: #FFF; transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer-inner {
  padding: 0 24px 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-light);
}

/* --- CTA Banner --- */
.cta-banner {
  padding: 80px 24px;
  background: #1A1A2E;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(230,57,70,0.15), transparent 70%);
  pointer-events: none;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 16px;
  position: relative;
}
.cta-banner p {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.cta-banner .btn { position: relative; }

/* --- Footer --- */
.site-footer { background: #111122; color: #FFF; padding: 60px 24px 32px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}
.footer-brand img { height: 48px; }
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.9);
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  padding: 4px 0;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--red); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* --- Page Hero (Inner Pages) --- */
.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1A1A2E;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(26,26,46,0.7) 100%);
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 100px 24px 60px;
  text-align: center;
}
.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(230,57,70,0.15);
  border: 1px solid rgba(230,57,70,0.3);
  color: #FF8A8A;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 12px;
}
.page-hero-inner > p {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 24px;
  line-height: 1.7;
}
.page-hero-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* --- Page Content --- */
.page-content {
  padding: 64px 24px 80px;
  background: var(--white);
}
.page-content-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* Content intro */
.content-intro {
  max-width: 800px;
  margin: 0 auto 48px;
}
.content-intro h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}
.content-intro p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 12px;
}

/* CTA Box */
.cta-box {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  margin: 48px auto;
  max-width: 700px;
}
.cta-box h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}
.cta-box p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.7;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.cta-guarantee {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-light);
}

/* Features Grid (2-col on inner pages) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 48px auto;
  max-width: var(--max-w);
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--red-light);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}
.feature-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* Benefits Grid (inner pages — 3-col) */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px auto;
  max-width: var(--max-w);
}
.benefit-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}
.benefit-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--red-light);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 14px;
}
.benefit-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.benefit-card p { font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* Steps section */
.steps-section {
  margin: 48px auto;
  max-width: var(--max-w);
}
.steps-section > h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  margin-bottom: 12px;
}
.steps-section > p {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 36px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card {
  text-align: center;
  padding: 28px 24px;
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  margin: 0 auto 14px;
}
.step-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}
.step-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* Roadmap (Joshua's Law) */
.roadmap-section {
  margin: 48px auto;
  max-width: var(--max-w);
}
.roadmap-section > h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.roadmap-section > p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 32px;
}
.roadmap-steps { display: flex; flex-direction: column; gap: 16px; }
.roadmap-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  border-left: 4px solid var(--red);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.roadmap-step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}
.roadmap-step-content { flex: 1; min-width: 0; }
.roadmap-step-content h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}
.roadmap-step-content p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 4px;
}

/* Who section */
.who-section {
  margin: 48px auto;
  max-width: var(--max-w);
  padding: 40px;
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.who-section > h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
  text-align: center;
}
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.who-card {
  text-align: center;
  padding: 24px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.who-icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.who-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.who-card p { font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* Image banner divider */
.img-banner {
  position: relative;
  height: 260px;
  background-size: cover;
  background-position: center;
  margin: 48px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.8), rgba(230,57,70,0.4));
}
.img-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #FFF;
  padding: 24px;
}
.img-banner-content h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* --- Contact --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}
.contact-info > p { color: var(--text-light); line-height: 1.7; margin-bottom: 32px; }
.contact-methods { display: flex; flex-direction: column; gap: 20px; }
.contact-method {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--light-bg);
  border-radius: var(--radius-md);
}
.contact-method-icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red-light);
  border-radius: var(--radius-sm);
}
.contact-method h3 { font-size: 15px; font-weight: 600; color: var(--dark); margin-bottom: 4px; }
.contact-method p, .contact-method a { font-size: 14px; color: var(--text-light); }
.contact-method a:hover { color: var(--red); }
.contact-method a[href^="tel"] { font-size: 18px; font-weight: 600; color: var(--red); }

.contact-form-wrapper {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.contact-form-wrapper h2 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--dark);
  margin-bottom: 24px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(230,57,70,0.1);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-status {
  padding: 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  display: none;
}
.form-status.success {
  display: block;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}
.form-status.error {
  display: block;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-courses { max-width: 480px; }
  .courses-grid, .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .who-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; }
  .hero-text h1 { font-size: 32px; }
  .courses-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .why-grid, .benefits-grid { grid-template-columns: 1fr 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .section-header h2 { font-size: 26px; }
  .google-rating-badge { flex-direction: column; gap: 6px; padding: 8px 16px; }
  .trust-bar-inner { gap: 20px; }
  .page-hero h1 { font-size: 32px; }
  .page-hero-inner { padding: 80px 24px 48px; }

  .mobile-menu-toggle { display: flex; }
  .header-nav {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 300px;
    height: calc(100vh - var(--header-height));
    background: var(--white);
    box-shadow: -4px 0 24px rgba(0,0,0,0.1);
    transition: right var(--transition);
    overflow-y: auto;
    padding: 16px;
    z-index: 999;
  }
  .header-nav.open { right: 0; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li > a { padding: 14px 16px; border-radius: var(--radius-sm); }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    min-width: auto;
  }

  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .contact-form-wrapper { padding: 24px; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }

  .roadmap-step { flex-direction: column; gap: 12px; }
  .img-banner { height: 200px; margin: 32px 0; }
}

@media (max-width: 480px) {
  .hero-text h1 { font-size: 26px; }
  .hero-actions { flex-direction: column; }
  .hero-course-card { flex-direction: column; text-align: center; }
  .cta-banner h2 { font-size: 24px; }
  .cta-box { padding: 32px 20px; }
  .who-section { padding: 28px 20px; }
  .why-grid, .benefits-grid { grid-template-columns: 1fr; }
  .trust-bar-inner { flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
