/* ===== Driver page redesign (matches Figma "Driver Portal" frame) ===== */

.drv-hero {
    background: #F8F9FA;
    padding: 73px 65px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.drv-hero-inner {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.drv-hero h1 {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -0.96px;
    line-height: 1.2;
    color: #031F41;
    max-width: 1300px;
    margin-bottom: 31px;
}

.drv-hero p {
    color: #44474E;
    font-size: 18px;
    line-height: 28px;
    max-width: 512px;
    margin-bottom: 47px;
}

.drv-hero-buttons {
    display: flex;
    gap: 10px;
}

.drv-btn-primary,
.drv-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
}

.drv-btn-primary {
    background: #9B3BAD;
    color: #FFFFFF;
    border: 1px solid #9B3BAD;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.drv-btn-outline {
    background: #FFFFFF;
    color: #031F41;
    border: 1px solid #8D939E;
}

/* ---- Why Drive (Bento) ---- */
.drv-why-section {
    padding: 57px 0;
    background: #FFFFFF;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.drv-why-inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 64px;
    box-sizing: border-box;
}

.drv-why-section .section-title {
    text-align: left;
    margin: 0 0 16px;
}

.drv-why-row {
    display: flex;
    gap: 24px;
    margin-bottom: 49px;
}

.drv-why-row:last-child {
    margin-bottom: 0;
}

.drv-benefit-card {
    border-radius: 24px;
    padding: 40px;
}

.drv-benefit-1 {
    flex: 1.7;
    background: #EFF4FF;
}

.drv-benefit-2 {
    flex: 1;
    background: #131B2E;
    color: #FFFFFF;
}

.drv-benefit-3 {
    flex: 0.8;
    background: #FFFFFF;
    border: 1px solid rgba(198, 198, 205, 0.4);
}

.drv-benefit-4 {
    flex: 1;
    background: #F4E0BF;
}

.drv-benefit-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    margin-bottom: 20px;
}

.drv-benefit-icon img {
    width: 20px;
    height: 20px;
}

.drv-benefit-1 .drv-benefit-icon {
    background: rgba(75, 65, 225, 0.1);
    color: #4B41E1;
}

.drv-benefit-2 .drv-benefit-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

.drv-benefit-3 .drv-benefit-icon {
    width: 48px;
    height: 48px;
    background: #645EFB;
    color: #FFFFFF;
}

.drv-benefit-4 .drv-benefit-icon {
    width: 64px;
    height: 64px;
    background: transparent;
    border-radius: 0;
    color: #0B1C30;
}

.drv-benefit-4 .drv-benefit-icon img {
    width: 40px;
    height: 40px;
}

.drv-benefit-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.drv-benefit-card p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    color: #45464D;
}

.drv-benefit-2 p {
    color: rgba(211, 228, 254, 0.8);
}

/* ---- Testimonials ---- */
.drv-testimonials-section {
    background: #EFF4FF;
    padding: 42px 0;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.drv-testimonials-section .section-heading {
    margin-bottom: 64px;
}

.drv-testimonials-grid {
    display: flex;
    gap: 48px;
    justify-content: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.drv-testimonial {
    flex: 1;
    text-align: center;
}

.drv-testimonial-avatar {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    border: 2px solid rgba(75, 65, 225, 0.2);
    padding: 2px;
    margin: 0 auto 24px;
    overflow: hidden;
}

.drv-testimonial-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.drv-testimonial-quote {
    font-style: italic;
    color: #45464D;
    font-size: 16px;
    line-height: 1.625;
    margin: 0 0 16px;
}

.drv-testimonial-name {
    font-weight: 600;
    color: #0B1C30;
    font-size: 18px;
}

.drv-testimonial-role {
    color: #4B41E1;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 4px;
}

/* ---- How To Join ---- */
.drv-join-section {
    background: #F8F9FF;
    padding: 55px 40px;
    text-align: center;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.drv-calc-section {
    background: #FFFFFF;
    padding: 71px 64px;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

/* ---- Download the App ---- */
.drv-app-download-section {
    background: #FFFFFF;
    padding: 80px 32px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.drv-app-download-inner {
    max-width: 672px;
    margin: 0 auto;
    text-align: center;
}

.drv-app-download-inner .section-title {
    margin-bottom: 16px;
}

.drv-app-download-inner p {
    color: #45464D;
    font-size: 18px;
    line-height: 28px;
    margin: 0;
}

.drv-app-download-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 32px;
}

.drv-store-badge {
    display: inline-flex;
}

.drv-store-badge img {
    height: 48px;
    width: auto;
    display: block;
}

.drv-join-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    max-width: 1280px;
    margin: 40px auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.drv-join-icon {
    width: 48px;
    height: 48px;
    background: #F8F9FA;
    border: 1px solid rgba(196, 198, 207, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #2B6485;
    font-size: 18px;
}

.drv-join-icon img {
    width: 17px;
    height: 15px;
}

.drv-join-steps h3 {
    font-size: 16px;
    font-weight: 600;
    color: #191C1D;
    margin-bottom: 6px;
}

.drv-join-steps p {
    color: #44474E;
    font-size: 14px;
    line-height: 1.625;
    margin-bottom: 10px;
}

.drv-join-time {
    color: rgba(3, 31, 65, 0.5);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ---- Earnings calculator ---- */
.drv-calc-card {
    background: linear-gradient(135deg, #EFF4FF, #DBF2FF);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 48px;
    max-width: 1280px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    box-shadow: 0px 25px 50px -12px rgba(0, 0, 0, 0.25);
    text-align: left;
}

.drv-calc-card h2 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.32px;
    line-height: 40px;
    color: #031F41;
    margin-bottom: 12px;
}

.drv-calc-card > p {
    color: #45464D;
    margin-bottom: 24px;
}

.drv-calc-slider-row {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: #0B1C30;
    margin-bottom: 8px;
}

.drv-calc-slider {
    width: 100%;
    accent-color: #031F41;
    margin-bottom: 32px;
}

#drv_calc_hours_label {
    color: #C3C0FF;
    font-weight: 400;
}

.drv-calc-result {
    border-top: 1px solid rgba(3, 31, 65, 0.1);
    padding-top: 33px;
}

.drv-calc-result-label {
    color: #45464D;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.drv-calc-result-value {
    font-size: 48px;
    font-weight: 800;
    color: #0B1C30;
    margin-bottom: 16px;
}

.drv-calc-disclaimer {
    color: #8D939E;
    font-size: 12px;
    font-style: italic;
}

/* ---- Eligibility & vehicles ---- */
.drv-eligibility-section {
    background: #F8F9FF;
    padding: 52px 64px;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.drv-eligibility-grid {
    display: flex;
    gap: 64px;
    max-width: 1280px;
    margin: 0 auto;
    box-sizing: border-box;
}

.drv-eligibility-col {
    flex: 1;
}

.drv-eligibility-col .section-heading {
    text-align: left;
    margin-left: 0;
}


.drv-eligibility-list {
    list-style: none;
    padding: 0;
    margin: 32px 0 0;
}

.drv-eligibility-list li {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.drv-eligibility-list li:last-child {
    margin-bottom: 0;
}

.drv-eligibility-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #EFF4FF;
    color: #2B6485;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drv-eligibility-list h4 {
    font-size: 18px;
    font-weight: 400;
    color: #0B1C30;
    margin-bottom: 4px;
}

.drv-eligibility-list p {
    color: #45464D;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.drv-vehicle-cards {
    margin-top: 32px;
}

.drv-vehicle-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #FFFFFF;
    border: 1px solid rgba(198, 198, 205, 0.3);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 16px;
}

.drv-vehicle-card h4 {
    font-size: 18px;
    font-weight: 400;
    color: #0B1C30;
    margin-bottom: 4px;
}

.drv-vehicle-card p {
    color: #45464D;
    font-size: 14px;
    margin: 0;
}

.drv-vehicle-card i {
    color: #2B6485;
    font-size: 21px;
    flex-shrink: 0;
}

.drv-insurance-note {
    display: flex;
    gap: 12px;
    background: linear-gradient(135deg, #EFF4FF, #DBF2FF);
    border: 1px solid rgba(75, 65, 225, 0.2);
    border-radius: 16px;
    padding: 25px;
    margin-top: 16px;
}

.drv-insurance-note i {
    color: #2B6485;
    font-size: 16px;
    margin-top: 2px;
}

.drv-insurance-note p {
    color: #45464D;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* ---- FAQ ---- */
.drv-faq-wrapper {
    background: #F8F9FA;
}

.drv-faq-section {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 80px 192px;
    box-sizing: border-box;
}

.drv-faq-section .section-heading {
    margin-bottom: 64px;
}

/* ---- Final CTA ---- */
.drv-final-cta-section {
    padding: 80px 0;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.drv-final-cta {
    background: #DBF2FF;
    border-radius: 40px;
    padding: 55px 10px;
    text-align: center;
    max-width: 1280px;
    width: calc(100% - 48px);
    box-sizing: border-box;
    margin: 0 auto;
}

.drv-final-cta p {
    color: #44474E;
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 24px;
}

.drv-final-cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
}

@media (max-width: 991px) {
    .drv-hero {
        padding: 40px 24px;
    }

    .drv-hero h1 {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .drv-hero p {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 24px;
    }

    .drv-why-inner {
        padding: 0 24px;
    }

    .drv-why-row {
        flex-direction: column;
    }

    .drv-benefit-card {
        padding: 24px;
    }

    .drv-benefit-header {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 8px;
    }

    .drv-benefit-icon,
    .drv-benefit-2 .drv-benefit-icon,
    .drv-benefit-3 .drv-benefit-icon,
    .drv-benefit-4 .drv-benefit-icon {
        width: 40px;
        height: 40px;
        margin: 0;
        flex-shrink: 0;
        font-size: 15px;
    }

    .drv-benefit-icon img,
    .drv-benefit-4 .drv-benefit-icon img {
        width: 18px;
        height: 18px;
    }

    .drv-benefit-card h3 {
        font-size: 20px;
        margin-bottom: 0;
    }

    .drv-calc-section {
        padding: 40px 24px;
    }

    .drv-app-download-section {
        padding: 40px 24px;
    }

    .drv-app-download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .drv-calc-card {
        padding: 24px;
    }

    .drv-calc-card h2 {
        font-size: 24px;
        line-height: 32px;
    }

    .drv-calc-result-value {
        font-size: 32px;
    }

    .drv-eligibility-section {
        padding: 40px 24px;
    }

    .drv-eligibility-col .section-heading {
        margin-left: 0;
    }

    .drv-join-section {
        padding: 40px 24px;
    }

    .drv-join-steps {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .drv-join-step {
        display: flex;
        align-items: flex-start;
        gap: 16px;
        text-align: left;
    }

    .drv-join-icon {
        width: 36px;
        height: 36px;
        margin: 0;
        flex-shrink: 0;
        font-size: 14px;
    }

    .drv-join-icon img {
        width: 13px;
        height: 12px;
    }

    .drv-join-step-body {
        flex: 1;
    }

    .drv-faq-section {
        padding: 80px 24px;
    }

    .drv-testimonials-section .section-heading {
        margin-bottom: 32px;
    }

    .drv-testimonials-grid,
    .drv-eligibility-grid {
        flex-direction: column;
    }
}
