/*
Theme Name: ScanDriver
Theme URI: https://scandriver.in
Author: ScanDriver Private Limited
Author URI: https://scandriver.in
Description: Official WordPress theme for ScanDriver – Verified On-Demand Drivers in Delhi NCR
Version: 1.0.0
License: Private
Text Domain: scandriver
Tags: business, service, on-demand, driver
*/

/* ── CSS VARIABLES ── */
:root {
  --brand:       #1A2E4A;
  --brand-mid:   #1E4080;
  --accent:      #F4A100;
  --accent-light:#FFF4D6;
  --white:       #FFFFFF;
  --off-white:   #F8F7F4;
  --text:        #1A1A1A;
  --text-muted:  #6B6B6B;
  --border:      #E2E0DC;
  --success:     #1D7A4A;
  --success-bg:  #E6F5ED;
  --nav-h:       72px;
  --font-display:'Syne', sans-serif;
  --font-body:   'DM Sans', sans-serif;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 4px 24px rgba(26,46,74,0.10);
  --shadow-card: 0 2px 12px rgba(26,46,74,0.08);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }

/* ── NAV ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--brand);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.site-logo {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 800;
  color: var(--white); letter-spacing: -0.02em;
}
.site-logo span { color: var(--accent); }
.main-nav ul { display: flex; gap: 2rem; list-style: none; }
.main-nav a {
  font-size: 0.875rem; font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s; letter-spacing: 0.02em;
}
.main-nav a:hover { color: var(--accent); }
.nav-cta-btn {
  background: var(--accent) !important;
  color: var(--brand) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 600 !important;
}
.hamburger {
  display: none; flex-direction: column;
  gap: 5px; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: white; border-radius: 2px; transition: 0.3s;
}

/* ── PAGE OFFSET (for fixed nav) ── */
.page-content { padding-top: var(--nav-h); }

/* ── HERO ── */
.hero {
  background: var(--brand);
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 100px 5vw 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(30,64,128,0.6) 0%, transparent 70%);
  pointer-events: none;
}
.hero-pattern {
  position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  width: 600px; height: 600px; opacity: 0.06;
  background: repeating-conic-gradient(var(--accent) 0deg 10deg, transparent 10deg 20deg);
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; max-width: 640px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(244,161,0,0.15);
  border: 1px solid rgba(244,161,0,0.3);
  color: var(--accent);
  font-size: 0.8rem; font-weight: 600;
  padding: 6px 14px; border-radius: 100px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800;
  color: var(--white); line-height: 1.1;
  letter-spacing: -0.03em; margin-bottom: 1.25rem;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p {
  font-size: 1.125rem; color: rgba(255,255,255,0.75);
  max-width: 520px; margin-bottom: 2.5rem;
  font-weight: 300; line-height: 1.7;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat h3 {
  font-family: var(--font-display);
  font-size: 1.75rem; font-weight: 800; color: var(--accent);
}
.hero-stat p { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-top: 2px; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--accent); color: var(--brand);
  font-size: 1rem; font-weight: 600;
  padding: 0.875rem 2rem; border-radius: var(--radius);
  border: none; transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(244,161,0,0.4); color: var(--brand); }
.btn-outline {
  background: transparent; color: var(--white);
  font-size: 1rem; font-weight: 500;
  padding: 0.875rem 2rem; border-radius: var(--radius);
  border: 1.5px solid rgba(255,255,255,0.35);
  transition: border-color 0.2s, background 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.07); color: var(--white); }
.btn-dark {
  background: var(--brand); color: white;
  font-size: 1rem; font-weight: 600;
  padding: 0.875rem 2rem; border-radius: var(--radius);
  border: none; transition: transform 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-dark:hover { transform: translateY(-2px); color: white; }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--off-white);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 18px 5vw;
  display: flex; align-items: center; gap: 2rem;
  flex-wrap: wrap; justify-content: center;
}
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--text-muted); font-weight: 500; }
.trust-icon {
  width: 22px; height: 22px; background: var(--success-bg); color: var(--success);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}

/* ── SECTION UTILITIES ── */
.section-pad { padding: 80px 0; }
.bg-off { background: var(--off-white); }
.text-center { text-align: center; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 5vw; }
.section-label {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-light);
  padding: 5px 14px; border-radius: 100px; margin-bottom: 1rem;
}
h2.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700;
  color: var(--brand); letter-spacing: -0.025em; line-height: 1.2;
  margin-bottom: 1rem;
}
.section-desc {
  font-size: 1.05rem; color: var(--text-muted);
  max-width: 560px; line-height: 1.7; margin-bottom: 2.5rem;
}
.mb-2 { margin-bottom: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ── STEP / SERVICE CARDS ── */
.steps-grid, .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.step-card, .service-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem 1.5rem;
  box-shadow: var(--shadow-card); transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.step-card:hover, .service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--accent); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.step-num {
  font-family: var(--font-display); font-size: 3.5rem; font-weight: 800;
  -webkit-text-stroke: 2px var(--accent); color: transparent;
  line-height: 1; margin-bottom: 1rem;
}
.service-icon {
  width: 52px; height: 52px; background: var(--accent-light);
  border-radius: var(--radius); display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem; margin-bottom: 1.25rem;
}
.step-card h3, .service-card h3 {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  color: var(--brand); margin-bottom: 0.5rem;
}
.step-card p, .service-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.service-price {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
  color: var(--brand-mid); margin-top: 1rem;
}
.service-price span { font-size: 0.8rem; font-weight: 400; color: var(--text-muted); font-family: var(--font-body); }

/* ── CTA BANNER ── */
.cta-banner { background: var(--brand); padding: 4rem 5vw; text-align: center; }
.cta-banner h2 {
  font-family: var(--font-display); font-size: 2rem;
  color: white; font-weight: 800; margin-bottom: 1rem;
}
.cta-banner p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; font-size: 1rem; }

/* ── FORMS ── */
.form-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow);
}
.form-card h3 {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
  color: var(--brand); margin-bottom: 1.75rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--brand); margin-bottom: 0.4rem; letter-spacing: 0.01em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; border: 1.5px solid var(--border); border-radius: 10px;
  padding: 0.75rem 1rem; font-family: var(--font-body); font-size: 0.95rem;
  color: var(--text); background: var(--white); transition: border-color 0.2s; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--brand-mid); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit {
  width: 100%; background: var(--accent); color: var(--brand);
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  padding: 1rem; border-radius: var(--radius); border: none;
  transition: transform 0.2s, box-shadow 0.2s; margin-top: 0.5rem;
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(244,161,0,0.4); }
.whatsapp-btn {
  width: 100%; background: #25D366; color: white;
  font-size: 0.95rem; font-weight: 600; padding: 0.9rem;
  border-radius: var(--radius); border: none; margin-top: 0.75rem;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform 0.2s;
}
.whatsapp-btn:hover { transform: translateY(-2px); }

/* ── BOOK PAGE ── */
.book-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.book-features { list-style: none; margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.book-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; color: var(--text-muted); }
.book-features li::before {
  content: '✓'; background: var(--success-bg); color: var(--success);
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; flex-shrink: 0; margin-top: 2px;
}
.booking-note {
  margin-top: 2rem; padding: 1.5rem; background: var(--accent-light);
  border-radius: var(--radius); border-left: 4px solid var(--accent);
}
.booking-note p { font-size: 0.9rem; color: var(--text-muted); }
.booking-note strong { color: var(--brand); }

/* ── DRIVER PAGE ── */
.driver-hero {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-mid) 100%);
  border-radius: var(--radius-lg); padding: 3.5rem; color: white;
  margin-bottom: 3rem; position: relative; overflow: hidden;
}
.driver-hero::after {
  content: '🚗'; position: absolute; right: 3rem; top: 50%;
  transform: translateY(-50%); font-size: 8rem; opacity: 0.15;
}
.driver-hero h2 {
  font-family: var(--font-display); font-size: 2rem; font-weight: 800;
  margin-bottom: 0.75rem; letter-spacing: -0.025em;
}
.driver-hero p { opacity: 0.8; font-size: 1rem; max-width: 500px; }
.driver-benefits-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem; margin-bottom: 3rem;
}
.benefit-card {
  background: var(--off-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem 1.5rem; text-align: center;
}
.benefit-card .b-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.benefit-card h4 {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  color: var(--brand); margin-bottom: 0.4rem;
}
.benefit-card p { font-size: 0.85rem; color: var(--text-muted); }
.driver-form-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.doc-checklist { background: var(--off-white); border-radius: var(--radius-lg); padding: 2rem; }
.doc-checklist h3 {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  color: var(--brand); margin-bottom: 1rem;
}
.doc-item {
  display: flex; align-items: center; gap: 10px;
  padding: 0.7rem 0; border-bottom: 1px solid var(--border);
  font-size: 0.9rem; color: var(--text-muted);
}
.doc-item:last-of-type { border-bottom: none; }
.doc-item .badge {
  font-size: 0.7rem; font-weight: 600; padding: 2px 8px;
  border-radius: 100px; margin-left: auto;
}
.badge-req { background: #FEE2E2; color: #991B1B; }
.badge-opt { background: var(--off-white); color: var(--text-muted); border: 1px solid var(--border); }
.doc-note {
  margin-top: 1.25rem; padding: 1rem; background: var(--success-bg);
  border-radius: var(--radius); border-left: 3px solid var(--success);
}
.doc-note p { font-size: 0.85rem; color: var(--success); font-weight: 600; }

/* ── ABOUT PAGE ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-visual {
  background: var(--brand); border-radius: var(--radius-lg); padding: 3rem;
  color: white; text-align: center; position: relative; overflow: hidden;
}
.about-visual::before {
  content: ''; position: absolute; inset: -20px;
  background: repeating-conic-gradient(rgba(244,161,0,0.08) 0deg 30deg, transparent 30deg 60deg);
}
.about-big-num {
  font-family: var(--font-display); font-size: 5rem; font-weight: 800;
  color: var(--accent); line-height: 1; position: relative;
}
.about-big-label { font-size: 0.9rem; opacity: 0.7; position: relative; }
.about-nums-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; position: relative; }
.about-num-item { text-align: center; }
.about-num-item strong { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--accent); display: block; }
.about-num-item span { font-size: 0.8rem; opacity: 0.65; }
.about-text p { color: var(--text-muted); line-height: 1.8; margin-bottom: 1.25rem; font-size: 0.975rem; }
.values-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.value-item { display: flex; align-items: flex-start; gap: 12px; }
.value-icon {
  width: 40px; height: 40px; flex-shrink: 0; background: var(--accent-light);
  border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.value-item h4 { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--brand); }
.value-item p { font-size: 0.85rem; color: var(--text-muted); }

/* ── FAQ ── */
.faq-wrap { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.25rem 0; }
.faq-q { display: flex; align-items: center; justify-content: space-between; cursor: pointer; gap: 1rem; }
.faq-q h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--brand); }
.faq-toggle {
  width: 28px; height: 28px; flex-shrink: 0; background: var(--off-white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--brand-mid); font-size: 1rem; font-weight: 700;
  transition: background 0.2s, transform 0.3s; border: 1px solid var(--border);
}
.faq-item.open .faq-toggle { background: var(--brand); color: white; transform: rotate(45deg); }
.faq-a {
  font-size: 0.925rem; color: var(--text-muted); line-height: 1.7;
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.2s;
}
.faq-item.open .faq-a { max-height: 300px; padding-top: 0.75rem; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: start; }
.contact-info-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
  background: var(--off-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem 1.5rem;
  display: flex; align-items: flex-start; gap: 1rem;
}
.contact-card-icon {
  width: 44px; height: 44px; flex-shrink: 0; background: var(--brand);
  border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.contact-card h4 { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: var(--brand); margin-bottom: 2px; }
.contact-card p { font-size: 0.875rem; color: var(--text-muted); }
.contact-card a { color: var(--brand-mid); font-weight: 500; }
.contact-dark {
  padding: 1.5rem; background: var(--brand);
  border-radius: var(--radius-lg); margin-top: 0.5rem;
}
.contact-dark p { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin-bottom: 1rem; }
.contact-dark a { color: var(--accent); font-weight: 600; font-size: 0.9rem; }

/* ── POLICY PAGES ── */
.policy-wrap { max-width: 820px; }
.policy-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 2.5rem; }
.policy-section { margin-bottom: 2rem; }
.policy-section h3 {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  color: var(--brand); margin-bottom: 0.75rem;
  padding-bottom: 0.5rem; border-bottom: 2px solid var(--accent-light);
}
.policy-section p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 0.75rem; }
.policy-section ul { list-style: disc; padding-left: 1.5rem; font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; }

/* ── PRICING NOTE BOX ── */
.pricing-note {
  background: var(--off-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem; margin-top: 2.5rem;
}
.pricing-note h3 { font-family: var(--font-display); color: var(--brand); margin-bottom: 1rem; }
.pricing-note ul { list-style: disc; padding-left: 1.5rem; font-size: 0.9rem; color: var(--text-muted); line-height: 1.9; }

/* ── FOOTER ── */
.site-footer { background: var(--brand); color: rgba(255,255,255,0.75); padding: 4rem 5vw 2rem; margin-top: 5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand .logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: white; margin-bottom: 1rem; display: block; }
.footer-brand .logo span { color: var(--accent); }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; max-width: 280px; }
.footer-col h5 {
  font-family: var(--font-display); font-size: 0.875rem; font-weight: 700;
  color: white; margin-bottom: 1rem; letter-spacing: 0.04em; text-transform: uppercase;
}
.footer-col a { display: block; font-size: 0.875rem; color: rgba(255,255,255,0.65); margin-bottom: 0.5rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--accent); }

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px;
  background: #25D366; color: white;
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
  box-shadow: 0 6px 20px rgba(37,211,102,0.45);
  cursor: pointer; z-index: 999; transition: transform 0.2s; text-decoration: none;
}
.wa-float:hover { transform: scale(1.1); }

/* ── TOAST ── */
.sd-toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: white; padding: 0.9rem 2rem;
  border-radius: var(--radius); font-size: 0.95rem; font-weight: 500;
  z-index: 9999; display: none; box-shadow: var(--shadow);
}
.sd-toast.show { display: block; animation: slideUp 0.3s ease; }
@keyframes slideUp {
  from { transform: translate(-50%, 20px); opacity: 0; }
  to   { transform: translate(-50%, 0);    opacity: 1; }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .main-nav ul { display: none; }
  .hamburger { display: flex; }
  .main-nav.mobile-open ul {
    display: flex; flex-direction: column;
    position: fixed; inset: var(--nav-h) 0 0;
    background: var(--brand); padding: 2rem;
    gap: 1.5rem; z-index: 999;
  }
  .main-nav.mobile-open a { font-size: 1.25rem; }
  .book-wrap, .driver-form-wrap, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { text-align: center; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-pattern { display: none; }
  .driver-hero::after { display: none; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
}
