/* ============================================
   DriverPass Homepage - Modern Trust-Focused Design
   ============================================ */

/* Prevent horizontal overflow from any homepage section */
main {
    overflow-x: hidden;
}

:root {
    /* Brand orange — gradient #f7941d → #ff6b00 (see BRAND_COLOR_SNAPSHOT_2026-05-14.md to revert) */
    --dp-orange: #f7941d;
    --dp-orange-dark: #ff6b00;
    --dp-orange-light: #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-shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.18);
    --dp-radius: 12px;
    --dp-radius-lg: 16px;
}

/* ---- Section Utility ---- */
.hp-section {
    padding: 20px 0;   /* very tight — relying on section-title eyebrows + headings as the visual breaks */
}
.hp-section-sm {
    padding: 70px 0;
}
.hp-section-title {
    margin-bottom: 20px;   /* very tight — eyebrow + heading sit right above content */
}
.hp-section-title .hp-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--dp-orange);
    margin-bottom: 14px;
    position: relative;
    padding-left: 40px;
}
.hp-section-title .hp-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 3px;
    background: var(--dp-orange);
    border-radius: 2px;
}
.hp-section-title h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--dp-dark);
    line-height: 1.25;
    margin-bottom: 16px;
    font-family: "Teko", sans-serif;
    text-transform: capitalize;
}
.hp-section-title p {
    font-size: 17px;
    color: var(--dp-text-light);
    max-width: 600px;
    line-height: 1.7;
}
.hp-section-title.text-center p {
    margin-left: auto;
    margin-right: auto;
}

/* ================================================
   1. HERO SECTION
   ================================================ */
.hp-hero {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    background: url('../img/hero/h2_hero.jpg') center center / cover no-repeat;
    overflow: hidden;
}
.hp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,22,40,0.92) 0%, rgba(15,33,55,0.85) 50%, rgba(10,22,40,0.75) 100%);
    z-index: 1;
}
.hp-hero .container {
    position: relative;
    z-index: 2;
}
.hp-hero-content {
    padding: 40px 0;
}
.hp-hero-content h1 {
    font-size: 54px;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
    font-family: "Teko", sans-serif;
}
.hp-hero-content h1 span {
    color: var(--dp-orange);
}
.hp-hero-content .hp-hero-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 500px;
}
.hp-hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.hp-hero-btns .hp-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--dp-orange);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--dp-orange);
}
.hp-hero-btns .hp-btn-primary:hover {
    background: var(--dp-orange-dark);
    border-color: var(--dp-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(247,148,29,0.35);
    color: #fff;
    text-decoration: none;
}
.hp-hero-btns .hp-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.3);
}
.hp-hero-btns .hp-btn-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.08);
    color: #fff;
    text-decoration: none;
}

/* -- Hero Search Card -- */
.hp-search-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--dp-radius-lg);
    padding: 36px 32px;
    max-width: 420px;
    margin-left: auto;
}
.hp-search-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    font-family: "Teko", sans-serif;
}
.hp-search-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
}
.hp-search-card .hp-search-input {
    width: 100%;
    padding: 14px 18px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-size: 16px;
    margin-bottom: 14px;
    transition: border-color 0.3s;
}
.hp-search-card .hp-search-input::placeholder {
    color: rgba(255,255,255,0.4);
}
.hp-search-card .hp-search-input:focus {
    outline: none;
    border-color: var(--dp-orange);
    background: rgba(255,255,255,0.1);
}
.hp-search-card .hp-search-btn {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    background: var(--dp-orange);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.hp-search-card .hp-search-btn:hover {
    background: var(--dp-orange-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(247,148,29,0.4);
}
.hp-search-card .hp-search-error {
    color: var(--dp-orange);
    font-size: 14px;
    margin-top: 10px;
    min-height: 20px;
}

/* ================================================
   2. TRUST STATS BAR
   ================================================ */
.hp-stats-bar {
    background: linear-gradient(135deg, var(--dp-orange) 0%, var(--dp-orange-light) 100%);
    padding: 40px 0;
    position: relative;
    z-index: 3;
}
.hp-stat-item {
    text-align: center;
    padding: 10px 20px;
}
.hp-stat-icon {
    font-size: 24px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 8px;
}
.hp-stat-number {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 6px;
    font-family: "Teko", sans-serif;
}
.hp-stat-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ================================================
   3. SERVICES SECTION
   ================================================ */
.hp-services {
    background: var(--dp-bg-white);
    padding-top: 36px;  /* small extra padding for the orange→white transition; everything else inherits global */
}
.hp-service-card {
    background: var(--dp-bg-white);
    border: 1px solid var(--dp-border);
    border-radius: var(--dp-radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
}
.hp-service-card:hover {
    border-color: transparent;
    box-shadow: var(--dp-shadow-xl);
    transform: translateY(-8px);
}
.hp-service-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(247,148,29,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: all 0.4s ease;
}
.hp-service-icon i {
    font-size: 28px;
    color: var(--dp-orange);
    transition: all 0.4s ease;
}
.hp-service-card:hover .hp-service-icon {
    background: var(--dp-orange);
}
.hp-service-card:hover .hp-service-icon i {
    color: #fff;
}
.hp-service-card h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dp-dark);
    margin-bottom: 14px;
    font-family: "Teko", sans-serif;
}
.hp-service-card p {
    font-size: 15px;
    color: var(--dp-text-light);
    line-height: 1.65;
    margin-bottom: 20px;
}
.hp-service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--dp-orange);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s;
}
.hp-service-link:hover {
    gap: 10px;
    color: var(--dp-orange-dark);
    text-decoration: none;
}

/* ================================================
   4. HOW IT WORKS
   ================================================ */
.hp-how-it-works {
    background: var(--dp-bg-white);
}
.hp-step {
    text-align: center;
    position: relative;
    padding: 0 20px;
}
.hp-step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--dp-orange);
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    font-family: "Teko", sans-serif;
}
.hp-step-icon {
    font-size: 36px;
    color: var(--dp-orange);
    margin-bottom: 16px;
}
.hp-step h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dp-dark);
    margin-bottom: 12px;
    font-family: "Teko", sans-serif;
}
.hp-step p {
    font-size: 15px;
    color: var(--dp-text-light);
    line-height: 1.65;
}
/* Connector line between steps */
.hp-step-connector {
    display: none;
}
@media (min-width: 768px) {
    .hp-step-connector {
        display: block;
        position: absolute;
        top: 30px;
        right: -50%;
        width: 100%;
        height: 2px;
        background: repeating-linear-gradient(
            90deg,
            var(--dp-orange) 0,
            var(--dp-orange) 8px,
            transparent 8px,
            transparent 16px
        );
        z-index: 1;
    }
}

/* ================================================
   5. ABOUT / VALUE PROPOSITION
   ================================================ */
.hp-about {
    background: var(--dp-bg-white);
    /* removed `padding: 80px 0` — inherits 40px from .hp-section instead */
}
.hp-about-img {
    border-radius: var(--dp-radius-lg);
    overflow: hidden;
    box-shadow: var(--dp-shadow-lg);
}
.hp-about-img img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 480px;
    object-fit: cover;
}
.hp-about-content {
    padding-left: 40px;
}
.hp-about-content .hp-section-title {
    margin-bottom: 20px;
}
.hp-check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}
.hp-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 16px;
    color: var(--dp-text);
    line-height: 1.6;
}
.hp-check-list li i {
    color: var(--dp-orange);
    font-size: 18px;
    margin-top: 4px;
    flex-shrink: 0;
}
.hp-btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--dp-orange);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}
.hp-btn-cta:hover {
    background: var(--dp-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(247,148,29,0.3);
    color: #fff;
    text-decoration: none;
}

/* ================================================
   6. WHY CHOOSE US
   ================================================ */
.hp-why-choose {
    background: var(--dp-bg-white);
}
.hp-why-choose .row {
    row-gap: 0;
}
.hp-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--dp-bg-white);
    border-radius: var(--dp-radius);
    padding: 28px 24px;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid transparent;
}
.hp-feature-card:hover {
    box-shadow: var(--dp-shadow-lg);
    transform: translateY(-4px);
    border-color: rgba(247,148,29,0.15);
}
.hp-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(247,148,29,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hp-feature-icon i {
    font-size: 24px;
    color: var(--dp-orange);
}
.hp-feature-text h5 {
    font-size: 19px;
    font-weight: 700;
    color: var(--dp-dark);
    margin-bottom: 8px;
    font-family: "Teko", sans-serif;
}
.hp-feature-text p {
    font-size: 14px;
    color: var(--dp-text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ================================================
   7. TABBED INFO SECTION
   ================================================ */
.hp-tabs-section {
    position: relative;
    background: url('../img/gallery/section_bg02.jpg') center center / cover no-repeat;
    color: #fff;
}
.hp-tabs-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,22,40,0.93) 0%, rgba(15,33,55,0.88) 100%);
}
.hp-tabs-section .container {
    position: relative;
    z-index: 2;
}
.hp-tabs-section .hp-section-title .hp-label {
    color: var(--dp-orange);
}
.hp-tabs-section .hp-section-title .hp-label::before {
    background: var(--dp-orange);
}
.hp-tabs-section .hp-section-title h2 {
    color: #fff;
}
.hp-tabs-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hp-tab-btn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 16px 20px;
    background: rgba(255,255,255,0.05);
    border: none;
    border-left: 3px solid transparent;
    border-radius: 0 8px 8px 0;
    color: rgba(255,255,255,0.6);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}
.hp-tab-btn:hover {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
}
.hp-tab-btn.active {
    background: rgba(247,148,29,0.12);
    border-left-color: var(--dp-orange);
    color: #fff;
}
.hp-tab-panel {
    display: none;
    padding: 20px 30px;
    background: rgba(255,255,255,0.04);
    border-radius: var(--dp-radius);
    border: 1px solid rgba(255,255,255,0.06);
    min-height: 260px;
}
.hp-tab-panel.active {
    display: block;
}
.hp-tab-panel h3 {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    font-family: "Teko", sans-serif;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(247,148,29,0.3);
}
.hp-tab-panel p {
    font-size: 16px;
    color: rgba(255,255,255,0.92);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ================================================
   8. TESTIMONIALS
   ================================================ */
.hp-testimonials {
    background: var(--dp-dark);
    position: relative;
    overflow: hidden;
}
.hp-testimonials::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(247,148,29,0.06);
}
.hp-testimonials .hp-section-title h2 {
    color: #fff;
}
.hp-testimonials .hp-section-title p {
    color: rgba(255,255,255,0.6);
}
.hp-testimonial-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--dp-radius-lg);
    padding: 24px 30px;
    height: 100%;
    transition: all 0.3s ease;
}
.hp-testimonial-card:hover {
    border-color: rgba(247,148,29,0.25);
    background: rgba(255,255,255,0.07);
}
.hp-testimonial-quote {
    font-size: 36px;
    color: var(--dp-orange);
    line-height: 1;
    margin-bottom: 16px;
    font-family: Georgia, serif;
}
.hp-testimonial-card .hp-stars {
    color: var(--dp-orange);
    font-size: 14px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}
.hp-testimonial-card .hp-quote-text {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}
.hp-testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.hp-testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--dp-orange);
}
.hp-testimonial-author .hp-author-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}
.hp-testimonial-author .hp-author-role {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* ================================================
   9. CTA BAND
   ================================================ */
.hp-cta-band {
    background: linear-gradient(135deg, var(--dp-orange) 0%, var(--dp-orange-light) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hp-cta-band::before {
    content: '';
    position: absolute;
    top: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}
.hp-cta-band::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -40px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}
.hp-cta-band h2 {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    font-family: "Teko", sans-serif;
    position: relative;
    z-index: 2;
}
.hp-cta-band p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}
.hp-cta-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}
.hp-cta-btns .hp-btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #fff;
    color: var(--dp-orange);
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #fff;
}
.hp-cta-btns .hp-btn-white:hover {
    background: transparent;
    color: #fff;
    text-decoration: none;
}
.hp-cta-btns .hp-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.5);
    cursor: pointer;
}
.hp-cta-btns .hp-btn-ghost:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
    color: #fff;
    text-decoration: none;
}

/* ================================================
   SECURE TRIP SPOTLIGHT
   ================================================ */
.hp-securetrip {
    background: var(--dp-bg-white);
    overflow: hidden;
    padding: 50px 0 80px;
}
.hp-st-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--dp-orange) 0%, var(--dp-orange-light) 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 18px;
}
.hp-st-content h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--dp-dark);
    margin-bottom: 12px;
    font-family: "Teko", sans-serif;
}
.hp-st-content .hp-st-tagline {
    font-size: 20px;
    font-weight: 600;
    color: var(--dp-orange);
    margin-bottom: 16px;
}
.hp-st-content > p {
    font-size: 16px;
    color: var(--dp-text-light);
    line-height: 1.7;
    margin-bottom: 24px;
}
.hp-st-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    columns: 2;
    column-gap: 20px;
}
.hp-st-features li {
    padding: 6px 0;
    font-size: 15px;
    color: var(--dp-text);
    break-inside: avoid;
}
.hp-st-features li i {
    color: var(--dp-orange);
    margin-right: 8px;
    font-size: 14px;
}
.hp-st-btns {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.hp-st-learn-more {
    color: var(--dp-orange);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}
.hp-st-learn-more:hover {
    gap: 10px;
    color: var(--dp-orange-dark);
    text-decoration: none;
}

/* -- SecureTrip Visual Cards -- */
.hp-st-visual {
    position: relative;
    padding: 30px 20px 20px;
}
.hp-st-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--dp-bg-white);
    border: 1px solid var(--dp-border);
    border-radius: var(--dp-radius);
    padding: 18px 22px;
    margin-bottom: 14px;
    box-shadow: var(--dp-shadow);
    transition: all 0.3s ease;
}
.hp-st-card:hover {
    border-color: var(--dp-orange);
    box-shadow: var(--dp-shadow-lg);
    transform: translateX(6px);
}
.hp-st-card i {
    font-size: 24px;
    color: var(--dp-orange);
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(247,148,29,0.1);
    border-radius: 10px;
}
.hp-st-card strong {
    display: block;
    font-size: 15px;
    color: var(--dp-dark);
    margin-bottom: 2px;
}
.hp-st-card span {
    font-size: 13px;
    color: var(--dp-text-muted);
}

/* -- SecureTrip Flow Diagram -- */
.hp-st-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    padding: 20px;
    background: var(--dp-dark);
    border-radius: var(--dp-radius);
}
.hp-st-flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.hp-st-flow-step i {
    font-size: 20px;
    color: var(--dp-orange);
}
.hp-st-flow-step span {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hp-st-flow-arrow {
    color: rgba(255,255,255,0.25);
    font-size: 14px;
}

@media (max-width: 991px) {
    .hp-st-content {
        margin-top: 40px;
    }
    .hp-st-features {
        columns: 1;
    }
}
@media (max-width: 575px) {
    .hp-st-content h2 {
        font-size: 36px;
    }
    .hp-st-flow {
        flex-wrap: wrap;
        gap: 12px;
    }
    .hp-st-flow-arrow {
        display: none;
    }
    .hp-st-flow-step {
        flex: 0 0 40%;
    }
}

/* ================================================
   DRIVER INFO DISPLAY (keep existing)
   ================================================ */
.hp-driverinfo {
    font-family: 'Poppins', sans-serif;
    background-color: #fbfbfb;
    padding: 1rem;
}
/* Collapse to zero height when no search has been performed —
   prevents a 32px padded white block stacking on top of section gaps */
.hp-driverinfo:empty {
    padding: 0;
    background: transparent;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 991px) {
    .hp-hero {
        min-height: 560px;
    }
    .hp-hero-content h1 {
        font-size: 42px;
    }
    .hp-search-card {
        margin: 40px auto 0;
        max-width: 100%;
    }
    .hp-about-content {
        padding-left: 0;
        margin-top: 40px;
    }
    .hp-tab-panel {
        padding-left: 0;
        margin-top: 30px;
    }
    /* Match the tight desktop rhythm (base is 20px) — was 70px, which inverted
       the spacing so phones/tablets had bigger gaps than desktop. */
    .hp-section {
        padding: 24px 0;
    }
    .hp-section-title h2 {
        font-size: 34px;
    }
    .hp-cta-band h2 {
        font-size: 34px;
    }
}

@media (max-width: 767px) {
    /* Reduced top padding (was 100px) so the hero search card — the page's
       primary action — sits much closer to the fold on phones. */
    .hp-hero {
        min-height: auto;
        padding: 40px 0 32px;
    }
    .hp-hero-content h1 {
        font-size: 34px;
    }
    .hp-hero-content .hp-hero-sub {
        font-size: 16px;
    }
    .hp-stat-item {
        padding: 10px;
    }
    .hp-stat-number {
        font-size: 32px;
    }
    .hp-stat-label {
        font-size: 12px;
    }
    .hp-section {
        padding: 24px 0;
    }
    .hp-section-title {
        margin-bottom: 20px;
    }
    .hp-section-title h2 {
        font-size: 28px;
    }
    .hp-step {
        margin-bottom: 40px;
    }
    .hp-tabs-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .hp-tab-btn {
        border-left: none;
        border-bottom: 3px solid transparent;
        border-radius: 8px 8px 0 0;
        flex: 1;
        text-align: center;
        padding: 12px 10px;
        font-size: 14px;
        min-width: 0;
    }
    .hp-tab-btn.active {
        border-bottom-color: var(--dp-orange);
        border-left-color: transparent;
    }
    .hp-tab-panel {
        padding: 20px 0 0;
    }
    .hp-cta-band {
        padding: 32px 0;
    }
    .hp-cta-band h2 {
        font-size: 28px;
    }
}

@media (max-width: 575px) {
    .hp-hero-btns {
        flex-direction: column;
    }
    .hp-hero-btns a {
        text-align: center;
    }
    .hp-cta-btns {
        flex-direction: column;
        align-items: center;
    }
    .hp-tabs-nav {
        flex-direction: column;
    }
    .hp-tab-btn {
        border-left: 3px solid transparent;
        border-bottom: none;
        border-radius: 0 8px 8px 0;
        text-align: left;
    }
    .hp-tab-btn.active {
        border-left-color: var(--dp-orange);
        border-bottom-color: transparent;
    }
}

/* ================================================
   AOS Overrides for smooth feel
   ================================================ */
[data-aos] {
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* Counter animation helper */
.hp-counter {
    display: inline-block;
}

/* ================================================
   HEADER LOGO SPACING FIX
   ================================================ */
.header-sticky .logo img {
    margin-top: -40px;
    margin-bottom: -40px;
}

/* ================================================
   CTA BAND BUTTON CONTRAST FIX
   ================================================ */
.hp-cta-btns .hp-btn-white {
    background: #fff !important;
    color: var(--dp-dark) !important;
    font-weight: 700;
    border: 2px solid #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.hp-cta-btns .hp-btn-white:hover {
    background: var(--dp-dark) !important;
    color: #fff !important;
    border-color: var(--dp-dark);
}
.hp-cta-btns .hp-btn-ghost {
    border: 2px solid #fff !important;
    color: #fff !important;
    background: rgba(255,255,255,0.15) !important;
    font-weight: 700;
}
.hp-cta-btns .hp-btn-ghost:hover {
    background: #fff !important;
    color: var(--dp-orange) !important;
}

/* ================================================
   ASK MILES WIDGET - PREVENT OVERLAP
   ================================================ */
.hp-cta-band {
    padding-bottom: 100px;
}

/* ================================================
   FOOTER TAGLINE FIX
   ================================================ */
.footer-pera p.info1 {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.65);
}

/* ================================================
   FAVICON FIX (header.php handles this)
   ================================================ */
