/* ============================================================
   Driving Lesson Packages – Full-Width Production Stylesheet
   styles.css
   ============================================================ */

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

/* ── CSS Custom Properties ───────────────────────────────── */
:root {
  /* Colors */
  --c-navy: #1a2d4e;
  --c-navy-dark: #111e35;
  --c-red: #e63946;
  --c-red-hover: #c9313e;
  --c-badge-blue: #1d3557;
  --c-body-bg: #f0f2f6;
  --c-surface: #ffffff;
  --c-border: #dde1e9;
  --c-text: #1a1a2e;
  --c-muted: #6b7585;
  --c-icon: #1d3557;

  /* Spacing */
  --section-gap: 2.5rem;
  --card-pad: 2rem 1.75rem 1.5rem;
  --section-pad-y: 3rem;

  /* Shape */
  --r-card: 16px;
  --r-btn: 8px;
  --r-badge: 100px;

  /* Shadow */
  --s-card: 0 4px 24px rgba(0, 0, 0, 0.09);
  --s-card-hover: 0 10px 40px rgba(0, 0, 0, 0.15);
  --s-btn: 0 4px 14px rgba(230, 57, 70, 0.4);
  --s-btn-hover: 0 6px 20px rgba(230, 57, 70, 0.5);
}

/* ── Reset / Base ────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, Arial, sans-serif;
  background-color: var(--c-body-bg);
  color: var(--c-text);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Custom Container ────────────────────────────────────── */
.site-container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  /*padding-inline: clamp(1rem, 4vw, 3rem);*/
}

/* ── Page Shell ──────────────────────────────────────────── */
.page-shell {
  background: var(--c-surface);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* ============================================================
   SECTION 1 · Page Header
   ============================================================ */
.pg-header {
  background: var(--c-surface);
  padding: 4rem clamp(1rem, 4vw, 3rem) 0.5rem;
  text-align: center;
  border-bottom: none;
}

.pg-header__title {
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  font-weight: 800;
  /* Outfit/Inter thick bold */
  color: #3730a3;
  /* dark indigo/navy */
  line-height: 1.25;
  margin-bottom: 0.75rem;
  letter-spacing: -1px;
}

.pg-header__subtitle {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: #4b5563;
  /* grey */
  margin: 0;
  font-weight: 450;
  line-height: 1.5;
}

/* ============================================================
   SECTION 2 · Feature Strip
   ============================================================ */
.feature-strip {
  background: var(--c-surface);
  padding: 1.5rem clamp(1rem, 4vw, 3rem) 3rem;
  border-bottom: 1px solid #e2e8f0;
}

.feature-strip__col {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .feature-strip__col {
    border-right: 1px solid #cbd5e1;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .feature-strip__col:last-child {
    border-right: none;
  }
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  text-align: left;
}

.feature-item__icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(55, 48, 163, 0.08);
  /* light blue/lavender background */
  color: #3730a3;
  /* dark indigo/purple */
  flex-shrink: 0;
}

.feature-item__icon {
  font-size: 2.45rem;
  line-height: 1;
}

.feature-item__label {
  font-size: 1.07rem;
  font-weight: 700;
  color: #1e1b4b;
  /* dark navy */
  line-height: 1.45;
}

/* ============================================================
   SECTION 3 · Pricing Section
   ============================================================ */
.pricing-section {
  background: #e8ecf3;
  padding: clamp(1.5rem, 4vw, 3.5rem) clamp(1rem, 4vw, 3rem);
}

/* ── Pricing Card ── */
.pricing-card {
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: 12px;
  /* sharper corners matching image */
  padding: 2.25rem 2rem 2rem;
  /* adjusted padding */
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), 0 1px 10px rgba(0, 0, 0, 0.02);
  /* soft premium shadow */
  transition: all 0.2s ease;
}

.pricing-card:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06), 0 2px 15px rgba(0, 0, 0, 0.03);
  transform: translateY(-2px);
}

.pricing-card--popular {
  border: 2px solid var(--c-red);
  /* bolder red border */
}

.pricing-card--value {
  border: 1.5px solid var(--c-border);
}

/* ── Floating Badge ── */
.pricing-card__badge {
  position: absolute;
  top: -16px;
  /* sits perfectly on the top border */
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 1.07rem;
  /* smaller, more clean */
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 6px;
  /* rounded rectangle badge */
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.pricing-card__badge--popular {
  background: var(--c-red);
  color: #fff;
}

.pricing-card__badge--value {
  background: #3730a3;
  /* Royal indigo color matching reference */
  color: #fff;
}

/* ── Card Header ── */
.pricing-card__title {
  font-size: 1.95rem;
  /* more elegant header size */
  font-weight: 800;
  color: #3730a3;
  /* Royal Indigo color */
  text-align: center;
  margin-top: 0.75rem;
  margin-bottom: 0.35rem;
  letter-spacing: -0.5px;
}

.pricing-card__subtitle {
  font-size: 0.95rem;
  /* clean text size */
  color: #6b7280;
  /* slate grey */
  text-align: center;
  line-height: 1.5;
  margin-bottom: 1.75rem;
}

/* ── Feature List ── */
.card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
  flex-grow: 1;
  border-top: 1px solid #e2e8f0;
  /* top separator line */
}

.card-features__item {
  display: flex;
  align-items: center;
  /* centered vertically */
  gap: 1.25rem;
  /* larger gap */
  padding: 1.25rem 0.5rem;
  /* spacious horizontal and vertical layout */
  border-bottom: 1px solid #e2e8f0;
  /* separator lines between items */
  margin-bottom: 0;
}

.card-features__icon {
 color: #3730a3;
    font-size: 3.5rem;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 5%;
}

.card-features__icon-coin-wrapper {
  display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #3730a3;
    color: #fff;
    font-size: 2.15rem;
    flex-shrink: 0;
    margin-left: 2%;
}

/* Steering wheel image – sized to match font icons */
.card-features__icon-img {
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  width: 100px;
  height:100px;
  margin-left: -8px;
  margin-right: -8px;
}

.card-features__text {
  text-align: left;
}

.card-features__text strong {
  font-size: 1.07rem;
  /* aligned size */
  font-weight: 800;
  color: #1e1b4b;
  /* deep dark navy */
  display: block;
  margin-bottom: 0.1rem;
}

.card-features__text small {
  font-size: 1.1rem;
  color: #4b5563;
  /* grey */
  line-height: 1.4;
  display: block;
}

/* ── Price Display ── */
.price-display {
  font-size: 3rem;
  /* slightly more compact dollar sign */
  font-weight: 800;
  color: var(--c-red);
  text-align: center;
  margin: 1.5rem 0 1.25rem;
  line-height: 1;
}

/* ============================================================
   SECTION 4 · Other Options
   ============================================================ */
/* ============================================================
   SECTION 4 · Other Options
   ============================================================ */
.other-options {
  background-color: var(--c-body-bg);
  /* #f0f2f6 */
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--c-border);
}

.other-options__card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02), 0 1px 8px rgba(0, 0, 0, 0.01);
  padding: 2rem 2.5rem;
}

.other-options__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #3730a3;
  /* Royal indigo color */
  cursor: pointer;
}

.other-options__toggle:hover {
  text-decoration: none;
  color: #272183;
}

.other-options__chevron {
  color: #3730a3;
  font-size: 1.1rem;
  transition: transform 0.25s ease;
}

.other-options__toggle[aria-expanded="false"] .other-options__chevron {
  transform: rotate(-90deg);
}

.other-options__heading {
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 800;
  margin: 0;
  color: #3730a3;
  /* Royal indigo color */
  letter-spacing: -0.2px;
}

.other-options__caption {
  font-size: clamp(0.78rem, 1.1vw, 0.9rem);
  color: #6b7585;
  margin: 0.4rem 0 2rem 1.95rem;
  /* indented to align with text */
  font-weight: 400;
}

/* ── Option Card (inside column) ── */
.option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  padding: 0.5rem 1rem;
}

.option-card__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  max-width: 290px;
  margin-bottom: 0.5rem;
}

.option-card__icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: #edf2fe;
  /* Light blue/lavender background */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.option-card__icon {
  color: #3730a3;
  /* Royal indigo */
  font-size: 3.39rem;
}

.option-card__title-group {
  text-align: left;
}

.option-card__title {
  font-size: clamp(1rem, 1.9vw, 1.15rem);
  font-weight: 800;
  color: #3730a3;
  margin: 0 0 2px 0;
}

.option-card__details {
  display: flex;
  flex-direction: column;
}

.option-card__detail-line {
  /*font-size: clamp(0.78rem, 1vw, 0.85rem);*/
  color: #6b7585;
  line-height: 1.4;
}

.option-card__price {
  font-size: clamp(1.5rem, 2vw, 1.8rem);
  font-weight: 900;
  color: var(--c-red);
  /* e63946 */
  margin: 0.6rem 0 0.8rem;
  letter-spacing: -0.5px;
  line-height: 1;
}

.btn-cta-outline-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  color: var(--c-red);
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(0.75rem, 0.9vw, 0.85rem);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1.5px solid var(--c-red);
  border-radius: 8px;
  padding: 10px 28px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-cta-outline-red:hover {
  background-color: var(--c-red);
  color: #ffffff;
  text-decoration: none;
}

/* ── Column Dividers & Responsive Spacing ── */
.option-column {
  padding: 0 1.5rem;
}

@media (min-width: 576px) {
  .option-column:not(:last-child) {
    border-right: 1.5px solid #dde1e9;
    /* Vertical divider matching reference */
  }
}

@media (max-width: 575px) {
  .option-column:not(:last-child) {
    border-bottom: 1.5px solid #dde1e9;
    /* Horizontal divider for stacked mobile layout */
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

/* ============================================================
   SECTION 5 · Info Banner
   ============================================================ */
.info-banner {
  background: #ffffff;
  padding: 2.5rem 0;
  /* Add vertical spacing around the floating card */
}

.info-banner__inner {
  background: #edf2fe;
  /* Light blue/lavender card background */
  border: 1.5px solid #d3e0fa;
  /* Subtle light blue border */
  border-radius: 18px;
  /* High quality rounded corners */
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.05), 0 1px 8px rgba(0, 0, 0, 0.02);
  /* Smooth soft drop shadow */
  padding: clamp(1.5rem, 3.5vw, 2.5rem) clamp(2rem, 5vw, 3.5rem);
  display: flex;
  align-items: center;
  gap: 2.2rem;
  width: 100%;
  position: relative;
  overflow: hidden;
  /* Hide any image/gradient overflow on rounded corners */
  flex-wrap: nowrap;
}

.info-banner__bubble {
  width: clamp(52px, 6vw, 75px);
  height: clamp(52px, 6vw, 75px);
  min-width: clamp(52px, 6vw, 68px);
  background: linear-gradient(135deg, #3b82f6 0%, #4f46e5 50%, #7c3aed 100%);
  /* Blue-to-purple-to-purple 3D gradient */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 800;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.3);
  /* Subtle bubble glow shadow */
}

.info-banner__body {
  flex: 1;
  position: relative;
  z-index: 2;
  /* Ensure text sits above the background image */
  max-width: 58%;
  /* Prevent text overlaying on the driver illustration */
}

.info-banner__title {
  color: #3730a3;
  /* Royal indigo color matching reference */
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.2px;
}

.info-banner__text {
  font-size:18px;
  color: #4b5563;
  /* Readable dark slate/gray text */
  line-height: 1.6;
  margin: 0;
  font-weight: 500;
}

.info-banner__img-wrapper {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 38%;
  /* Allocate right section for image */
  overflow: hidden;
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 1;
}

.info-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

/* Linear gradient overlay to seamlessly fade image into card background */
.info-banner__img-wrapper::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #edf2fe 0%, rgba(237, 242, 254, 0.85) 15%, rgba(237, 242, 254, 0) 100%);
  z-index: 2;
  pointer-events: none;
}

/* ============================================================
   FOOTER CTA
   ============================================================ */
.footer-cta {
  background: #ffffff;
  /* padding: 2.5rem 0; */
  /* Vertical space to balance with page content */
}

.footer-cta__inner {
  background: #edf2fe;
  /* Light blue/lavender card background matching reference */
  border: 1.5px solid #d3e0fa;
  /* Subtle light blue border */
  border-radius: 18px;
  /* High quality rounded corners */
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.05), 0 1px 8px rgba(0, 0, 0, 0.02);
  /* Smooth soft drop shadow */
  padding: clamp(1.5rem, 3.5vw, 2.5rem) clamp(2rem, 5vw, 3.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3.5rem;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.footer-cta__illustration {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-cta__car {
  /*width: clamp(180px, 20vw, 240px);*/
  height: auto;
  object-fit: contain;
}

.footer-cta__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-cta__heading {
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  font-weight: 800;
  color: #3730a3;
  /* Royal indigo color matching reference */
  margin-bottom: 1.1rem;
  text-align: center;
}

.footer-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  width: 100%;
}

/* ============================================================
   BUTTON SYSTEM
   ============================================================ */

/* Primary – full width (inside card) */
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--c-red);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  /* smaller, fits on one line */
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  border-radius: 6px;
  /* sharper corners */
  padding: 14px 20px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  box-shadow: none;
}

.btn-cta-primary:hover,
.btn-cta-primary:focus-visible {
  background: var(--c-red-hover);
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.25);
  color: #fff;
  text-decoration: none;
}

.btn-cta-primary:active {
  transform: none;
  box-shadow: none;
}

/* Outline red */
.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--c-red);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(0.72rem, 0.9vw, 0.82rem);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 2px solid var(--c-red);
  border-radius: 6px;
  padding: 8px 18px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.btn-cta-outline:hover,
.btn-cta-outline:focus-visible {
  background: var(--c-red);
  color: #fff;
  transform: translateY(-1px);
  text-decoration: none;
}

/* Footer – primary CTA */
.btn-footer-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-red);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  /* Extra bold */
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  /* Large, clear text */
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  /* Rounded corners */
  padding: 14px 28px;
  cursor: pointer;
  text-decoration: none;
  white-space: normal;
  word-break: break-word;
  text-align: center;
  line-height: 1.35;
  transition: background 0.2s, transform 0.15s;
  box-shadow: none;
  /* No shadow to match flat style */
}

.btn-footer-red:hover,
.btn-footer-red:focus-visible {
  background: var(--c-red-hover);
  color: #fff;
  text-decoration: none;
}

/* Footer – secondary outline */
.btn-footer-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  /* White background */
  color: #4f46e5;
  /* Royal indigo text color matching reference */
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  /* Extra bold */
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  /* Large, clear text */
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1.5px solid #4f46e5;
  /* Royal indigo border */
  border-radius: 8px;
  /* Rounded corners */
  padding: 14px 28px;
  cursor: pointer;
  text-decoration: none;
  white-space: normal;
  word-break: break-word;
  text-align: center;
  line-height: 1.35;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-footer-secondary:hover,
.btn-footer-secondary:focus-visible {
  background: #edf2fe;
  /* Soft hover effect */
  border-color: #3730a3;
  color: #3730a3;
  text-decoration: none;
}

/* ============================================================
   RESPONSIVE OVERRIDES  (mobile-first)
   ============================================================ */

/* ── All mobile: up to 639px ── */
@media (max-width: 639px) {

  /* Feature strip */
  .feature-strip {
    padding: 0.85rem 1rem;
  }

  .feature-item {
    align-items: flex-start;
  }

  /* Header */
  .pg-header {
    padding: 1.5rem 1rem 1rem;
  }

  /* Pricing cards */
  .pricing-section {
    padding: 1.1rem 0.75rem 1.25rem;
  }

  .pricing-card {
    padding: 1.1rem 1rem 1rem;
  }

  /* Other options */
  .other-options {
    padding: 1.5rem 0;
  }

  .other-options__card {
    padding: 1.5rem 1rem;
  }

  .other-options__caption {
    margin-left: 1.85rem;
  }

  /* Info banner */
  .info-banner {
    padding: 1.5rem 0;
  }

  .info-banner__inner {
    padding: 1.25rem 1rem;
    gap: 1.2rem;
  }

  .info-banner__body {
    max-width: 100%;
  }

  .info-banner__title {
    font-size: clamp(1.15rem, 4vw, 1.25rem);
  }

  .info-banner__text {
    font-size: 0.88rem;
  }

  /* Footer CTA */
  .footer-cta {
    padding: 1.5rem 0;
  }

  .footer-cta__inner {
    padding: 1.5rem 1.25rem;
    gap: 1.2rem;
    flex-direction: column;
  }

  .footer-cta__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
  }

  .btn-footer-red,
  .btn-footer-secondary {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    text-align: center;
    padding: 13px 20px;
    font-size: 0.95rem;
  }
}

/* ── xs only: up to 399px — extra tight ── */
@media (max-width: 399px) {
  .pg-header__title {
    font-size: 1.3rem;
  }

  .pg-header {
    padding: 1.25rem 0.85rem 0.85rem;
  }

  .pricing-section {
    padding: 1rem 0.6rem 1.1rem;
  }

  .pricing-card {
    padding: 1rem 0.9rem 0.85rem;
  }

  .info-banner {
    padding: 0.9rem 0;
  }

  .footer-cta {
    padding: 1rem 0;
  }
}



/* ── md: 768px and up ── */
@media (min-width: 768px) {
  .info-banner__img-wrapper {
    display: block !important;
  }
}

/* ── xl+: 1400px and up ── */
@media (min-width: 1400px) {
  .site-container {
    padding-inline: 4rem;
  }

  :root {
    --card-pad: 2.5rem 2.25rem 2rem;
  }
}