/* ============================================================================
   DriverEdToGo — Consolidated Stylesheet
   ----------------------------------------------------------------------------
   Single shared stylesheet for ALL 2026-design pages.
   ============================================================================ */


/* ============================================================================
   1. SHARED  (all pages)
   ============================================================================ */

/* ---- Design tokens / brand variables ---- */
:root {
  --brand-orange: #FF703E;
  --brand-orange-dark: #f25a22;
  --brand-blue: #00B7FF;
  --brand-blue-dark: #0098d6;
  --light-blue-bg: #E6F7FF;
  --light-blue-badge: #C8EEFD;
  --light-orange-badge: #FFE3D5;
  --light-gray-bg: #F4F8FD;
  --text-dark: #0F1E3D;
  --text-muted: #7B7B7B;
  --border-light: #D6D6D6;
}

/* ---- Base document ---- */
* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: #ffffff;
}

/* ---- Text / colour utility helpers ---- */
.serif-italic { font-family: 'GT Sectra', 'Fraunces', Georgia, serif; font-style: italic; font-weight: 500; }
.text-orange { color: var(--brand-orange) !important; }
.text-blue { color: var(--brand-blue) !important; }
.bg-blue { background-color: var(--brand-blue) !important; }
.bg-orange { background-color: var(--brand-orange) !important; }
.bg-lightblue { background-color: var(--light-blue-bg) !important; }

/* ---- Top notification bar ---- */
.top-bar {
  background: #00B7FF;
  color: #fff;
  font-size: 14px;
  padding: 8px 0;
}
.top-bar .stars { color: #FF703E; letter-spacing: 1px; }
.top-bar-phone { color: #fff; text-decoration: none; font-weight: 600; white-space: nowrap; }
.top-bar-phone:hover { color: #fff; text-decoration: underline; }

/* ---- Navbar / header ---- */
.site-header { background: #fff; padding: 14px 0; border-bottom: 1px solid #f1f1f1; }
.site-header .logo img { height: 46px; }
.nav-link-custom {
  color: #0F1E3D;
  font-weight: 500;
  margin: 0 18px;
  font-size: 15px;
  text-decoration: none;
  transition: color .15s;
}
.nav-link-custom:hover, .nav-link-custom.active { color: var(--brand-orange); }
.lang-select { font-size: 14px; color: #555; }
.lang-select select {
  border: 1px solid #e2e2e2; border-radius: 4px;
  padding: 2px 2px 2px 6px; font-size: 12px; background: #fff;
}
/* Mobile hamburger menu links */
.mobile-nav-link { padding: 13px 4px; color: #0F1E3D; text-decoration: none; font-weight: 500; font-size: 16px; border-bottom: 1px solid #f4f4f4; }
.mobile-nav-link:last-child { border-bottom: none; }
.mobile-nav-link.active, .mobile-nav-link:hover { color: var(--brand-orange); }

/* ---- Buttons ---- */
.btn-orange {
  background: var(--brand-orange); color: #fff; border-radius: 999px;
  padding: 12px 28px; font-weight: 600; border: none;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-orange:hover { background: var(--brand-orange-dark); color: #fff; }
.btn-blue {
  background: var(--brand-blue); color: #fff; border-radius: 999px;
  padding: 12px 28px; font-weight: 600; border: none;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-blue:hover { background: var(--brand-blue-dark); color: #fff; }
.btn-outline-dark-pill {
  border: 1.5px solid #0F1E3D; color: #0F1E3D; background: transparent;
  border-radius: 999px; padding: 12px 28px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-outline-dark-pill:hover { background: #0F1E3D; color: #fff; }
/* .no-hover keeps the button's resting state on mouse-over (no hover effect) */
.btn-orange.no-hover:hover { background: var(--brand-orange); color: #fff; }
.btn-outline-dark-pill.no-hover:hover { background: transparent; color: #0F1E3D; }
.btn-white-pill {
  background: #fff; color: #0F1E3D; border-radius: 999px;
  padding: 12px 28px; font-weight: 600; border: none;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-outline-white-pill {
  background: transparent; color: #fff; border: 1.5px solid #fff;
  border-radius: 999px; padding: 12px 28px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-arrow { width: 22px; height: 22px; display: inline-block; }
/* Pill buttons never underline (Bootstrap underlines <a> by default) */
.btn-orange, .btn-blue, .btn-outline-dark-pill, .btn-white-pill, .btn-outline-white-pill,
.btn-orange:hover, .btn-blue:hover, .btn-outline-dark-pill:hover, .btn-white-pill:hover, .btn-outline-white-pill:hover { text-decoration: none; }

/* ---- Section spacing & typography primitives ---- */
section { padding: 70px 0; }
.section-tight { padding: 40px 0; }
.eyebrow {
  display: inline-block; background: var(--light-blue-badge);
  color: var(--brand-blue); font-size: 12px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow-orange {
  background: var(--light-orange-badge); color: var(--brand-orange);
}
.hero-heading {
  font-family: 'GT Sectra', 'Fraunces', Georgia, serif;
  font-weight: 700; font-size: 56px; line-height: 1.1; letter-spacing: -1px;
}
.section-heading { font-family: 'GT Sectra', 'Fraunces', Georgia, serif; font-weight: 700; font-size: 44px; line-height: 1.15; letter-spacing: -.5px; }
h1:has(.serif-italic), h2:has(.serif-italic), h3:has(.serif-italic),
h4:has(.serif-italic), h5:has(.serif-italic) { font-family: 'GT Sectra', 'Fraunces', Georgia, serif; }
.lead-muted { color: var(--text-muted); font-size: 16px; line-height: 1.6; }

/* ---- Hero gradient ---- */
.hero-gradient {
  background: linear-gradient(180deg, #F4FAFE 0%, #E6F4FD 100%);
  position: relative; overflow: hidden;
}

/* ---- Feature cards ---- */
.feature-card {
  background: #fff; border: 1px solid #D6D6D6; border-radius: 16px;
  padding: 28px; height: 100%;
}
.feature-card .icon-bubble {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--light-blue-bg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-card .icon-bubble.orange { background: var(--light-orange-badge); }
.feature-card h5 { font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 14px; margin: 0; }

/* ---- CTA strip & "Start your journey" banner ---- */
.cta-blue-strip {
  background: var(--brand-blue); color: #fff;
  border-radius: 16px; padding: 36px 40px; margin: 30px 0;
}
.cta-blue-banner { background: var(--brand-blue); color: #fff; padding: 50px 0; }
.cta-blue-banner .circle-icon {
  width: 130px; height: 130px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-blue); flex-direction: column;
}
.cta-blue-banner .circle-icon i { font-size: 36px; }
.cta-blue-banner .circle-icon small { font-size: 11px; margin-top: 4px; }
/* Keep the journey circle perfectly round at every width */
.cta-blue-banner .circle-icon, .cta-blue-banner [style*="border-radius:50%"] { flex-shrink: 0; }

/* ---- Footer ---- */
.site-footer { background: #fff; padding: 60px 0 0; }
.site-footer h6 { font-weight: 700; font-size: 16px; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 12px; }
.site-footer ul li a { color: #0F1E3D; text-decoration: none; font-size: 15px; }
.site-footer ul li a:hover { color: var(--brand-orange); }
.site-footer .brand-blurb { color: #0F1E3D; font-size: 15px; line-height: 1.55; margin: 16px 0 24px; max-width: 360px; }
.site-footer .contact-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 15px; }
.site-footer .social-row { display: flex; flex-direction: column; gap: 14px; }
.site-footer .social-row a { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #0F1E3D; text-decoration: none; }
.site-footer .social-row img { width: 22px; height: 22px; flex-shrink: 0; object-fit: contain; }
.copyright-bar { background: #000; color: #fff; text-align: center; padding: 16px; font-size: 14px; margin-top: 50px; }
.copyright-bar a { color: #fff; text-decoration: underline; }

/* ---- Check-mark bullet lists ---- */
.check-list { list-style: none; padding-left: 0; margin: 0; }
.check-list li { display: flex; align-items: flex-start; gap: 8px; }
.check-list li > .text-blue,
.check-list li > .text-orange,
.check-list li > img,
.check-list li > svg,
.check-list li > span:first-child { flex-shrink: 0; margin-right: 0; line-height: 1.5; }

/* ---- Roboto — header account text, contact information, footer information ---- */
.account-text { font-family: 'Roboto', sans-serif; }
.contact-info, .contact-info * { font-family: 'Roboto', sans-serif; }
.site-footer .brand-blurb,
.site-footer .contact-row,
.copyright-bar { font-family: 'Roboto', sans-serif; }


/* ============================================================================
   2. PAGE-SPECIFIC
   ============================================================================ */

/* ---- HOME — hero stats row ---- */
.stat-card {
  display: flex; align-items: center; gap: 16px;
  background: transparent; padding: 0;
  border: none; border-radius: 0;
}
.stat-card .icon-circle {
  width: 56px; height: 56px; border-radius: 14px;
  background: #fff; border: 1px solid #D6D6D6;
  box-shadow: 0 4px 14px rgba(0,0,0,.04);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.stat-card .num { font-weight: 700; font-size: 23px; line-height: 1.2; white-space: nowrap; }
.stat-card .lbl { color: var(--text-muted); font-size: 14px; white-space: nowrap; }
.stats-grid .num, .stats-grid .lbl { white-space: normal; }

/* ---- HOME — decorative hero cluster ---- */
.dotted-bg-right {
  position: absolute; right: -150px; top: 40px; width: 500px; height: 500px;
  background-image: radial-gradient(rgba(0,184,255,.18) 1.5px, transparent 1.5px);
  background-size: 20px 20px; opacity: .6; pointer-events: none;
}
.image-cluster img {
  border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 6px 22px rgba(0,0,0,.08);
}

/* ---- HOME — testimonials ---- */
.testimonial-card {
  background: #fff; border: 1px solid #D6D6D6; border-radius: 16px;
  padding: 22px; height: 100%;
}
.testimonial-card .stars { color: #F4A83E; margin-bottom: 12px; }
.testimonial-card .author { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.testimonial-card .author img { width: 32px; height: 32px; border-radius: 50%; }

/* ---- HOME + HOW IT WORKS — 3-step blocks ---- */
.step-number {
  font-family: 'Playfair Display', 'GT Sectra', 'Fraunces', Georgia, serif; font-style: italic;
  font-size: 96px; font-weight: 600; color: var(--brand-orange);
  line-height: 1;
}

/* ---- HOW IT WORKS — feature column divider (desktop only) ---- */
@media (min-width: 768px) { .hiw-feature-divider { border-left: 1px solid #b9d9ef; } }

/* ---- HOME / comparison — pricing cards ---- */
.pricing-card {
  background: #fff; border: 1px solid #D6D6D6; border-radius: 14px;
  padding: 26px; height: 100%;
}
.pricing-card.highlight { background: var(--brand-blue); color: #fff; border-color: transparent; }
.pricing-card .brand-label {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--text-muted); margin-bottom: 8px;
}
.pricing-card.highlight .brand-label { color: rgba(255,255,255,.85); }
.pricing-card .price { font-weight: 700; font-size: 38px; }
.pricing-card .sub { font-size: 13px; opacity: .9; margin-bottom: 14px; }
.pricing-card ul { list-style: none; padding: 0; margin: 0; }
.pricing-card li { padding: 8px 0; font-size: 14px; border-bottom: 1px solid rgba(0,0,0,.06); display: flex; gap: 8px; }
.pricing-card.highlight li { border-color: rgba(255,255,255,.18); }
.tick-green { color: #14EC00; font-weight: 700; }
.tick-red   { color: #D30303; font-weight: 700; }
.pricing-card.highlight .tick-green { color: #fff; }

/* ---- FAQ + STATE FAQ — category pills ---- */
.faq-pill-row {
  display: flex; flex-wrap: nowrap; gap: 12px; margin: 30px 0 40px;
  overflow-x: auto; padding-bottom: 6px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.faq-pill-row::-webkit-scrollbar { display: none; }
/* Auto-margin spacers center the pills when they fit, and collapse so the row
   scrolls from the left when they don't (keeps a single line at every width). */
.faq-pill-row::before, .faq-pill-row::after { content: ''; margin: auto; }
.faq-pill {
  background: #fff; border: 1px solid #D6D6D6; border-radius: 999px;
  padding: 10px 22px; font-size: 14px; font-weight: 500; color: #0F1E3D;
  display: inline-flex; gap: 12px; align-items: center; cursor: pointer;
  transition: all .15s; white-space: nowrap; flex-shrink: 0;
}
.faq-pill .count {
  background: #f1f5f9; color: #7B7B7B; border-radius: 999px;
  padding: 2px 10px; font-size: 12px;
}
.faq-pill.active { background: #0F1E3D; color: #fff; border-color: #0F1E3D; }
.faq-pill.active .count { background: rgba(255,255,255,.2); color: #fff; }

/* ---- FAQ + STATE FAQ — category titles ---- */
.faq-category-title {
  font-family: 'GT Sectra', 'Fraunces', Georgia, serif;
  font-size: 32px; font-weight: 700; margin: 40px 0 20px; color: #0F1E3D;
}
.faq-category-title .num { color: var(--brand-orange); font-style: italic; font-weight: 700; margin-right: 8px; }
.faq-category-title .accent { color: var(--brand-blue); font-style: italic; font-weight: 700; }

/* ---- FAQ + STATE FAQ — question items ---- */
.faq-item {
  background: #fff; border: 1px solid #D6D6D6; border-radius: 12px;
  padding: 20px 26px; margin-bottom: 12px;
}
.faq-item .num {
  color: var(--brand-orange); font-family: 'Playfair Display', Georgia, serif;
  font-style: italic; font-weight: 500; font-size: 18px; margin-right: 18px;
}
.faq-item .q { font-weight: 700; font-size: 18px; display: inline; }
.faq-item .a { color: #374151; font-size: 15px; line-height: 1.6; margin-top: 8px; padding-left: 44px; }

/* ---- FAQ + STATE FAQ — search box & highlight ---- */
.faq-search-wrap {
  background: #fff; border: 1px solid #D6D6D6; border-radius: 999px;
  padding: 6px 6px 6px 22px; display: flex; align-items: center; max-width: 640px; margin: 0;
}
.faq-search-wrap input { border: 0; flex: 1; outline: none; padding: 12px; font-size: 15px; background: transparent; }
.faq-hl { background: #FFE3A8; color: #0F1E3D; border-radius: 3px; padding: 0 2px; }

/* ---- Reviews carousel (home + state landing) ---- */
.rev-carousel { position: relative; }
.rev-viewport { overflow: hidden; }
.rev-track { display: flex; transition: transform .45s ease; will-change: transform; }
.rev-slide { flex: 0 0 33.3333%; max-width: 33.3333%; padding: 0 8px; box-sizing: border-box; }
.rev-slide > * { height: 100%; }
@media (max-width: 992px) { .rev-slide { flex-basis: 50%; max-width: 50%; } }
@media (max-width: 576px) { .rev-slide { flex-basis: 100%; max-width: 100%; } }
.rev-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid #D6D6D6; color: #0F1E3D;
  box-shadow: 0 6px 18px rgba(0,0,0,.12); cursor: pointer; z-index: 4;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.rev-nav:hover { background: var(--brand-orange); color: #fff; border-color: var(--brand-orange); }
.rev-prev { left: -14px; }
.rev-next { right: -14px; }
.rev-dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.rev-dot { width: 9px; height: 9px; padding: 0; border: none; border-radius: 999px; background: #d7dbe0; cursor: pointer; transition: width .2s, background .2s; }
.rev-dot.active { width: 24px; background: var(--brand-orange); }
@media (max-width: 1200px) { .rev-prev { left: 2px; } .rev-next { right: 2px; } }

/* ---- HOME — PrepWizard interactive quiz ---- */
.pw-quiz {
  background: #fff;
  border: 1px solid #D6D6D6;
  border-radius: 22px;
  padding: 26px 24px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .10);
}
.pw-quiz-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.pw-quiz-badge {
  font-size: 10px; font-weight: 700; letter-spacing: 1.2px;
  color: var(--brand-orange); background: var(--light-orange-badge, #FFE9DF);
  padding: 5px 10px; border-radius: 999px;
}
.pw-quiz-count { font-size: 12px; color: #94a3b8; font-weight: 600; }
.pw-quiz-q { font-size: 18px; font-weight: 700; color: #0F1E3D; line-height: 1.35; margin: 0 0 18px; }
.pw-quiz-options { display: flex; flex-direction: column; gap: 10px; }
.pw-option {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  background: #fff; border: 1.5px solid #e5e9ef; border-radius: 12px;
  padding: 13px 14px; font-size: 14px; color: #1f2937; cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.pw-option:hover:not(.disabled) { border-color: var(--brand-blue); box-shadow: 0 2px 10px rgba(0, 184, 255, .12); }
.pw-option.disabled { cursor: default; }
.pw-option-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #cbd5e1; flex-shrink: 0; position: relative; transition: border-color .15s; }
.pw-option-text { flex: 1; }
.pw-option-mark { width: 20px; height: 20px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.pw-option.is-correct { border-color: #22c55e; background: #ecfdf3; color: #15803d; font-weight: 600; }
.pw-option.is-correct .pw-option-radio { border-color: #22c55e; background: #22c55e; }
.pw-option.is-correct .pw-option-radio::after { content: ""; position: absolute; inset: 0; margin: auto; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.pw-option.is-correct .pw-option-mark::after { content: "\2714"; color: #22c55e; font-weight: 800; font-size: 15px; }
.pw-option.is-wrong { border-color: #ef4444; background: #fef2f2; color: #b91c1c; font-weight: 600; }
.pw-option.is-wrong .pw-option-radio { border-color: #ef4444; }
.pw-option.is-wrong .pw-option-mark::after { content: "\2716"; color: #ef4444; font-weight: 800; font-size: 14px; }
.pw-quiz-feedback { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .25s ease, opacity .25s ease, margin .25s ease; border-top: 1px solid #f1f5f9; margin-top: 0; }
.pw-quiz-feedback.show { max-height: 300px; opacity: 1; margin-top: 16px; padding-top: 14px; }
.pw-feedback-title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.pw-quiz-feedback.is-correct .pw-feedback-title { color: #16a34a; }
.pw-quiz-feedback.is-wrong .pw-feedback-title { color: #dc2626; }
.pw-feedback-text { font-size: 13px; color: #64748b; line-height: 1.55; margin: 0; }
.pw-quiz-foot { display: flex; justify-content: flex-end; margin-top: 18px; }
.pw-quiz-next {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-blue); color: #fff; border: none; border-radius: 999px;
  padding: 11px 22px; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background .15s, opacity .15s;
}
.pw-quiz-next:hover:not(:disabled) { background: var(--brand-blue-dark); }
.pw-quiz-next:disabled { opacity: .45; cursor: not-allowed; }


/* ============================================================================
   3. RESPONSIVE  (kept LAST so they override base rules)
   ============================================================================ */
html, body { overflow-x: hidden; max-width: 100%; }
img { max-width: 100%; }

@media (max-width: 992px) {
  .hero-heading { font-size: 40px; }
  .section-heading { font-size: 32px; }
  .step-number { font-size: 72px; }
}
@media (max-width: 768px) {
  .hero-heading { font-size: 34px; }
  .section-heading { font-size: 26px; }
  section { padding: 50px 0; }
}
@media (max-width: 575.98px) {
  .hero-heading { font-size: 28px; }
  .section-heading { font-size: 24px; }
  .step-number { font-size: 60px; }
  .form-control, .form-select { min-height: 46px; font-size: 16px; }
  .top-bar { font-size: 12px; }
  .top-bar .container { flex-wrap: wrap; justify-content: center; gap: 2px 16px; text-align: center; }
  /* Compact FAQ pills so more fit before the row needs to scroll */
  .faq-pill-row { gap: 8px; }
  .faq-pill { padding: 8px 14px; font-size: 13px; gap: 8px; }
  .faq-pill .count { padding: 2px 8px; }
}
