/* ============================================
   DriverPass About Page — tight, aligned, on-brand
   Mirrors homepage hp-* design language. Loaded
   conditionally via header.php when PageName == "About Us".
   ============================================ */

main {
    overflow-x: hidden;
}

:root {
    /* Match homepage brand tokens — single source of truth */
    --dp-orange: #f7941d;
    --dp-orange-dark: #ff6b00;
    --dp-dark: #0a1628;
    --dp-dark-blue: #0f2137;
    --dp-text: #333333;
    --dp-text-light: #4b5563;
    --dp-text-muted: #9ca3af;
    --dp-bg-light: #f8f9fc;
    --dp-bg-white: #ffffff;
    --dp-border: #e5e7eb;
    --dp-shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --dp-shadow-lg: 0 20px 40px -12px rgba(0,0,0,0.12);
    --dp-radius: 12px;
    --dp-radius-lg: 16px;
}

/* ---- Shared section title ---- */
.ab-section { padding: 20px 0; }       /* tightened to match homepage rhythm */
.ab-section-sm { padding: 16px 0; }
.ab-section-title { margin-bottom: 20px; }
.ab-section-title .ab-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--dp-orange);
    margin-bottom: 12px;
    position: relative;
    padding-left: 40px;
}
.ab-section-title .ab-label::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 28px; height: 3px;
    background: var(--dp-orange);
    border-radius: 2px;
}
.ab-section-title h2 {
    font-size: 38px;
    font-weight: 700;
    color: var(--dp-dark);
    line-height: 1.25;
    margin-bottom: 14px;
    font-family: "Teko", sans-serif;
    text-transform: capitalize;
}
.ab-section-title p {
    font-size: 17px;
    color: var(--dp-text-light);
    line-height: 1.7;
    max-width: 640px;
}
.ab-section-title.text-center p { margin-left: auto; margin-right: auto; }

/* ============================================
   1. PAGE HEADER
   ============================================ */
.ab-header {
    background: linear-gradient(135deg, var(--dp-dark) 0%, var(--dp-dark-blue) 100%);
    padding: 40px 0 32px;   /* hero-ish — keeps a bit more air than content sections */
    position: relative;
    overflow: hidden;
}
.ab-header::before {
    content: '';
    position: absolute;
    top: -40%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(247,148,29,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.ab-header .ab-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--dp-orange);
    margin-bottom: 14px;
}
.ab-header h1 {
    font-size: 52px;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
    font-family: "Teko", sans-serif;
}
.ab-header h1 span { color: var(--dp-orange); }
.ab-header p {
    font-size: 18px;
    color: rgba(255,255,255,0.78);
    max-width: 720px;
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   2. STORY
   ============================================ */
.ab-story { background: var(--dp-bg-white); }
.ab-story p {
    font-size: 16px;
    color: var(--dp-text-light);
    line-height: 1.75;
    margin-bottom: 18px;
}
.ab-story .ab-tagline {
    font-size: 18px;
    font-weight: 600;
    color: var(--dp-dark);
    margin-bottom: 22px;
    line-height: 1.5;
}
.ab-story-img {
    position: relative;
    border-radius: var(--dp-radius-lg);
    overflow: hidden;
    box-shadow: var(--dp-shadow-lg);
}
.ab-story-img img {
    width: 100%;
    height: auto;
    display: block;
}
.ab-story-img::after {
    content: '';
    position: absolute;
    bottom: -20px; right: -20px;
    width: 120px; height: 120px;
    background: var(--dp-orange);
    border-radius: 50%;
    opacity: 0.12;
    z-index: -1;
}
.ab-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--dp-orange) 0%, var(--dp-orange-dark) 100%);
    color: #fff !important;
    padding: 13px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    border: none;
    transition: transform .2s ease, box-shadow .2s ease;
    margin-top: 8px;
}
.ab-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(247,148,29,0.35);
    color: #fff !important;
}

/* ============================================
   3. OUR PROMISE — 3 cards
   ============================================ */
.ab-promise { background: var(--dp-bg-white); }
.ab-promise-card {
    background: #fff;
    border-radius: var(--dp-radius);
    padding: 36px 28px;
    height: 100%;
    border: 1px solid var(--dp-border);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    position: relative;
}
.ab-promise-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--dp-shadow-lg);
    border-color: rgba(247,148,29,0.25);
}
.ab-promise-icon {
    width: 56px; height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--dp-orange) 0%, var(--dp-orange-dark) 100%);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 22px;
    margin-bottom: 20px;
}
.ab-promise-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dp-dark);
    margin-bottom: 12px;
    font-family: "Teko", sans-serif;
    text-transform: capitalize;
}
.ab-promise-card p {
    font-size: 15px;
    color: var(--dp-text-light);
    line-height: 1.7;
    margin: 0;
}

.ab-pullquote {
    text-align: center;
    margin-top: 24px;   /* was 56px — tighter rhythm */
    padding: 0 20px;
}
.ab-pullquote p {
    font-size: 22px;
    color: var(--dp-dark);
    font-style: italic;
    line-height: 1.5;
    max-width: 780px;
    margin: 0 auto;
    font-weight: 500;
}
.ab-pullquote p::before,
.ab-pullquote p::after {
    content: '"';
    color: var(--dp-orange);
    font-size: 32px;
    font-weight: 700;
    line-height: 0;
    vertical-align: middle;
    margin: 0 6px;
}

/* ============================================
   4. VISION & MISSION
   ============================================ */
.ab-vm { background: var(--dp-bg-white); }
.ab-vm-card {
    padding: 28px 0;
}
.ab-vm-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--dp-orange);
    margin-bottom: 10px;
}
.ab-vm-card h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--dp-dark);
    margin-bottom: 14px;
    font-family: "Teko", sans-serif;
    text-transform: capitalize;
}
.ab-vm-card p {
    font-size: 16px;
    color: var(--dp-text-light);
    line-height: 1.75;
    margin: 0;
}
.ab-values {
    list-style: none;
    padding: 0;
    margin: 36px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 36px;
    justify-content: center;
}
.ab-values li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--dp-dark);
}
.ab-values li i {
    color: var(--dp-orange);
    font-size: 14px;
}

/* ============================================
   5. TESTIMONIALS — match homepage card style
   ============================================ */
.ab-testimonials { background: var(--dp-bg-white); }
.ab-testimonial-card {
    background: #fff;
    border-radius: var(--dp-radius);
    padding: 24px 32px;
    height: 100%;
    box-shadow: var(--dp-shadow);
    position: relative;
    border: 1px solid var(--dp-border);
}
.ab-testimonial-quote {
    position: absolute;
    top: 18px; right: 28px;
    font-size: 60px;
    color: rgba(247,148,29,0.12);
    font-family: serif;
    font-weight: 700;
    line-height: 1;
}
.ab-stars {
    color: var(--dp-orange);
    font-size: 14px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}
.ab-quote-text {
    font-size: 15.5px;
    color: var(--dp-text);
    line-height: 1.75;
    margin-bottom: 24px;
}
.ab-testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid var(--dp-border);
}
.ab-testimonial-author img {
    width: 52px; height: 52px;
    border-radius: 50%;
    object-fit: cover;
}
.ab-author-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--dp-dark);
    line-height: 1.2;
}
.ab-author-role {
    font-size: 13px;
    color: var(--dp-text-muted);
    margin-top: 2px;
}

/* ============================================
   6. CTA BAND
   ============================================ */
.ab-cta-band {
    background: linear-gradient(135deg, var(--dp-orange) 0%, var(--dp-orange-dark) 100%);
    padding: 36px 0;    /* slightly more than .ab-section since it's a colored CTA hero */
    text-align: center;
    color: #fff;
}
.ab-cta-band h2 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    font-family: "Teko", sans-serif;
    text-transform: capitalize;
}
.ab-cta-band p {
    font-size: 17px;
    color: rgba(255,255,255,0.92);
    max-width: 600px;
    margin: 0 auto 26px;
    line-height: 1.6;
}
.ab-cta-band .ab-btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--dp-orange-dark) !important;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    border: none;
    transition: transform .2s ease, box-shadow .2s ease;
}
.ab-cta-band .ab-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
    color: var(--dp-orange-dark) !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .ab-section { padding: 16px 0; }
    .ab-header { padding: 32px 0 24px; }
    .ab-header h1 { font-size: 40px; }
    .ab-section-title h2 { font-size: 32px; }
    .ab-story-img { margin-top: 20px; }
}
@media (max-width: 575px) {
    .ab-section { padding: 14px 0; }
    .ab-header h1 { font-size: 32px; }
    .ab-section-title h2 { font-size: 28px; }
    .ab-promise-card { padding: 28px 22px; }
    .ab-cta-band h2 { font-size: 28px; }
    .ab-pullquote p { font-size: 18px; }
}
