/* ==========================================================
   Haseeb Driving School
   ========================================================== */

:root {
  --red: #a3161b;
  --red-dark: #7d1014;
  --red-soft: #fbeaea;
  --black: #141414;
  --ink: #2a2a2a;
  --muted: #666;
  --line: #e7e3e3;
  --bg: #ffffff;
  --bg-alt: #f7f5f5;
  --white: #ffffff;

  --font-head: "Libre Baskerville", Georgia, serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 10px;
  --shadow: 0 10px 30px rgba(20, 20, 20, .08);
  --shadow-lg: 0 20px 50px rgba(20, 20, 20, .15);
  --header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red-dark); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.25; color: var(--black); }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.section { padding: 96px 0; }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 700;
}
.section-title--light { color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: #ff8a8e; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: 2px solid transparent;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-dark); color: var(--white); }
.btn--outline-light { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn--outline-light:hover { background: var(--white); color: var(--black); }
.btn--light { background: var(--white); color: var(--red); }
.btn--light:hover { background: var(--black); color: var(--white); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: wait; transform: none; }

/* Road stripe (echoes the logo) */
.road {
  height: 14px;
  background:
    repeating-linear-gradient(90deg, var(--white) 0 26px, transparent 26px 52px) center / 100% 4px no-repeat,
    var(--black);
}
.road--thin { height: 8px; background-size: 100% 2px, auto; }

/* ---------- Top bar ---------- */
.topbar { background: var(--black); color: #cfcfcf; font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; }
.topbar__info { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.topbar__info i { color: #ff6b70; margin-right: 6px; }
.topbar a { color: #cfcfcf; }
.topbar a:hover { color: var(--white); }
.topbar__social { display: flex; gap: 14px; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.header.is-scrolled { box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.logo img { width: 150px; height: auto; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 30px; }
.nav__link {
  position: relative;
  padding: 6px 0;
  font-weight: 600;
  font-size: .95rem;
  color: var(--black);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width .25s;
}
.nav__link:hover, .nav__link.is-active { color: var(--red); }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }

.header__call { display: flex; align-items: center; gap: 12px; color: var(--black); line-height: 1.3; }
.header__call:hover { color: var(--red); }
.header__call small { display: block; font-size: .75rem; color: var(--muted); }
.header__call strong { font-size: 1rem; }
.header__call-icon {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 1.1rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  margin-left: auto;
  border: 0;
  border-radius: 8px;
  background: var(--red);
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #e8e8e8;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(163,22,27,.55), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(163,22,27,.25), transparent 50%),
    linear-gradient(135deg, #0e0e0e 0%, #1d1d1d 100%);
  overflow: hidden;
}
.hero::before {
  /* swoosh like the car outline in the logo */
  content: "";
  position: absolute;
  right: -10%; top: 8%;
  width: 70%; height: 60%;
  border-top: 3px solid rgba(255,255,255,.12);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 110px;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  color: var(--white);
  margin-bottom: 20px;
}
.hero h1 span { color: #ff5a60; }
.hero__content p { font-size: 1.1rem; max-width: 560px; color: #c9c9c9; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__card {
  background: var(--white);
  color: var(--ink);
  border-radius: 16px;
  padding: 34px;
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--red);
}
.hero__card h2 { font-family: var(--font-head); font-size: 1.45rem; }
.hero__card-list { margin: 18px 0 24px; display: grid; gap: 10px; }
.hero__card-list i { color: var(--red); margin-right: 10px; }
.hero__price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: var(--red-soft);
}
.hero__price span { font-weight: 600; font-size: .9rem; }
.hero__price strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--red); white-space: nowrap; }
.hero__price small { display: block; font-family: var(--font-body); font-size: .75rem; font-weight: 500; color: var(--muted); }
.hero__price strong small { display: inline; margin-right: 4px; }

/* ---------- About ---------- */
.about__inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; align-items: center; }
.about__visual {
  position: relative;
  min-height: 460px;
  border-radius: 20px;
  background:
    linear-gradient(160deg, rgba(20,20,20,.0) 40%, rgba(20,20,20,.55)),
    repeating-linear-gradient(0deg, transparent 0 44px, rgba(255,255,255,.9) 44px 76px) 50% 0 / 8px 100% no-repeat,
    linear-gradient(180deg, #3a3a3a, #1b1b1b);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.about__badge {
  position: absolute;
  top: 30px; left: 30px;
  display: grid;
  justify-items: start;
  padding: 24px 28px;
  border-radius: 14px;
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.about__badge i { font-size: 1.8rem; margin-bottom: 8px; }
.about__badge strong { font-family: var(--font-head); font-size: 1.6rem; line-height: 1.1; }
.about__badge span { font-size: .85rem; opacity: .9; }
.about__hours {
  position: absolute;
  right: 30px; bottom: 30px;
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  line-height: 1.35;
}
.about__hours i { font-size: 1.6rem; color: var(--red); }
.about__hours strong { display: block; color: var(--black); }
.about__hours span { font-size: .9rem; color: var(--muted); }

.about__content p { color: var(--muted); }
.areas { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.areas li {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 500;
  background: var(--bg-alt);
}
.about__cta-text { font-weight: 600; color: var(--black) !important; }

/* ---------- Services ---------- */
.services { background: var(--bg-alt); }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.service-card {
  position: relative;
  padding: 36px 28px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
  border-bottom: 4px solid transparent;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--red); box-shadow: var(--shadow-lg); }
.service-card__icon {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 1.6rem;
  transition: background .25s, color .25s;
}
.service-card:hover .service-card__icon { background: var(--red); color: var(--white); }
.service-card h3 { font-size: 1.15rem; }
.service-card p { font-size: .93rem; color: var(--muted); margin: 0; }

/* ---------- Why ---------- */
.why { background: var(--black); color: #c9c9c9; }
.why__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.why__sub { color: var(--white); font-size: 1.15rem; font-weight: 600; }
.why__features { display: grid; gap: 24px; }
.feature {
  display: flex; gap: 22px;
  padding: 30px;
  border-radius: 14px;
  background: #1f1f1f;
  border-left: 4px solid var(--red);
}
.feature h4 { color: var(--white); font-size: 1.15rem; }
.feature p { margin: 0; font-size: .95rem; }
.feature__icon {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 1.4rem;
}

/* ---------- Course ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 960px;
  margin: 0 auto;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 40px 36px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--black);
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan--featured { border-top-color: var(--red); }
.plan__tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 5px 14px;
  border-radius: 50px;
  background: var(--red-soft);
  color: var(--red);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.plan h3 { font-family: var(--font-head); font-size: 1.45rem; }
.plan__price {
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px dashed var(--line);
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--red);
}
.plan__price small { font-family: var(--font-body); font-size: .9rem; font-weight: 500; color: var(--muted); }
.plan__list { display: grid; gap: 10px; margin-bottom: 22px; }
.plan__list i { width: 18px; color: var(--red); margin-right: 10px; text-align: center; }
.plan__note {
  margin-top: auto;
  margin-bottom: 20px;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  font-size: .88rem;
  font-weight: 500;
  color: var(--muted);
}
.plan__note i { color: var(--red); margin-right: 8px; }
.plans__call { margin: 34px 0 0; text-align: center; color: var(--muted); }
.plans__call a { font-weight: 600; margin-left: 6px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--red-dark), var(--red)); padding: 60px 0; }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band .eyebrow--light { color: rgba(255,255,255,.85); }
.cta-band h2 { font-family: var(--font-head); color: var(--white); font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0; }

/* ---------- Steps ---------- */
.steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: none; }
.step {
  position: relative;
  padding: 44px 32px 36px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  transition: box-shadow .25s, transform .25s;
}
.step:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.step__num {
  position: absolute;
  top: 22px; right: 26px;
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--red-soft);
}
.step__icon {
  display: grid; place-items: center;
  width: 62px; height: 62px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: 1.4rem;
}
.step h3 { font-size: 1.2rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Contact ---------- */
.contact { background: var(--bg-alt); }
.contact__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact__info > p { color: var(--muted); }
.contact__list { display: grid; gap: 22px; margin-top: 30px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; line-height: 1.5; }
.contact__list strong { display: block; color: var(--black); margin-bottom: 2px; }
.contact__icon {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--red);
  color: var(--white);
}

.contact__form {
  padding: 40px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-size: .88rem; font-weight: 600; color: var(--black); }
.form-group label span { color: var(--red); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #dcd7d7;
  border-radius: var(--radius);
  background: #fcfbfb;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(163,22,27,.15);
}
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea { border-color: #d93025; }
.field-error { display: block; margin-top: 5px; font-size: .8rem; color: #d93025; }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin-top: 16px; font-size: .92rem; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-success,
.form-status.is-error { padding: 12px 16px; border-radius: var(--radius); }
.form-status.is-success { background: #e8f5ec; color: #1d6b38; border: 1px solid #b9e0c6; }
.form-status.is-error { background: #fdecea; color: #a1231a; border: 1px solid #f5c2bd; }

.recaptcha-note { margin: 16px 0 0; font-size: .75rem; color: var(--muted); text-align: center; }
.recaptcha-note a { text-decoration: underline; }
/* Badge hidden: the required reCAPTCHA notice is shown under the form instead */
.grecaptcha-badge { visibility: hidden; }

.map { margin-top: 60px; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); line-height: 0; }
.map iframe { width: 100%; height: 380px; border: 0; }

/* ---------- Footer ---------- */
.footer { background: #0f0f0f; color: #a9a9a9; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 70px; padding-bottom: 50px; }
.footer h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 20px; }
.footer a { color: #a9a9a9; }
.footer a:hover { color: var(--white); }
.footer__logo { display: inline-block; padding: 10px 14px; margin-bottom: 18px; border-radius: 10px; background: var(--white); }
.footer__logo img { width: 150px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #222;
  color: var(--white);
  transition: background .2s;
}
.footer__social a:hover { background: var(--red); }
.footer__links { display: grid; gap: 10px; }
.footer__contact { display: grid; gap: 14px; }
.footer__contact li { display: flex; gap: 12px; line-height: 1.5; }
.footer__contact i { color: #ff6b70; margin-top: 4px; }
.footer__bottom { border-top: 1px solid #222; padding: 20px 0; text-align: center; font-size: .85rem; }
.footer__bottom p { margin: 0; }
.footer__bottom .footer__credit { margin-top: 4px; font-size: .8rem; color: #8a8a8a; }
.footer__credit a { color: #c9c9c9; font-weight: 600; }
.footer__credit a:hover { color: var(--white); }

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  display: grid; place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  font-size: 1.9rem;
  box-shadow: 0 8px 24px rgba(37,211,102,.4);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .header__call { display: none; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .section { padding: 72px 0; }
  .logo img { width: 120px; }

  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    margin: 0;
    background: var(--white);
    border-bottom: 3px solid var(--red);
    box-shadow: 0 12px 24px rgba(0,0,0,.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav.is-open { max-height: 420px; }
  .nav__list { flex-direction: column; gap: 0; padding: 10px 20px 20px; }
  .nav__link { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }

  .hero__inner,
  .about__inner,
  .why__inner,
  .contact__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__inner { padding-top: 70px; padding-bottom: 70px; }
  .about__visual { min-height: 320px; }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .steps__grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .topbar__info li:nth-child(2),
  .topbar__info li:nth-child(3) { display: none; }
  .services__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact__form { padding: 26px 20px; }
  .plan { padding: 32px 24px; }
  .hero__card { padding: 26px; }
  .feature { flex-direction: column; padding: 24px; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .map iframe { height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
