/* =========================================
   CHILL RIDES - DRIVERS PAGE
========================================= */


/* =========================================
   1. GENERAL PAGE SETTINGS
========================================= */

.drivers-hero,
.drivers-intro,
.driver-services,
.featured-drivers,
.driver-benefits,
.driver-process,
.drivers-cta {
    position: relative;
    overflow: hidden;
}

.drivers-intro,
.driver-services,
.featured-drivers,
.driver-benefits,
.driver-process,
.drivers-cta {
    padding: 85px 0;
}

.drivers-hero .container,
.drivers-intro .container,
.driver-services .container,
.featured-drivers .container,
.driver-benefits .container,
.driver-process .container,
.drivers-cta .container {
    position: relative;
    z-index: 2;
}


/* =========================================
   2. HERO SECTION
========================================= */

.drivers-hero {
    height: 570px;
    display: flex;
    align-items: center;

    background:
        linear-gradient(90deg,
            rgba(40, 49, 29, 0.94) 0%,
            rgba(40, 49, 29, 0.22) 100%),
        url("https://i.insider.com/5c3a267ebde70f4b2e199b8a?width=1600&crop=16:9,smart&format=jpeg");

    background-size: cover;
    background-position: center;
    color: var(--cream);
}

.drivers-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%,
            rgba(155, 166, 133, 0.2),
            transparent 40%);
}

.drivers-hero-content {
    padding-top: 75px;
    padding-bottom: 75px;
}

.drivers-hero-text {
    max-width: 720px;
}

.drivers-hero .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 17px;

    color: var(--cream);
    background: rgba(235, 235, 216, 0.13);
    border: 1px solid rgba(235, 235, 216, 0.28);
    border-radius: 50px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.drivers-hero h1 {
    margin: 24px 0 18px;
    max-width: 680px;

    color: var(--cream);
    font-family: var(--font-heading);
    font-size: clamp(44px, 6vw, 76px);
    line-height: 1.12;
    font-weight: 700;
}

.drivers-hero h1 span {
    color: #C6D0A7;
    display: block;
}

.drivers-hero-text>p {
    max-width: 570px;
    margin-bottom: 30px;

    color: rgba(235, 235, 216, 0.88);
    font-size: 16px;
    line-height: 1.8;
}

.drivers-hero-actions,
.drivers-cta-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.drivers-hero .btn,
.drivers-cta .btn {
    min-height: 49px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 23px;

    border-radius: 7px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.drivers-hero .btn-primary,
.drivers-cta .btn-primary {
    color: var(--forest);
    background: var(--cream);
    border: 1px solid var(--cream);
}

.drivers-hero .btn-primary:hover,
.drivers-cta .btn-primary:hover {
    background: var(--sage);
    border-color: var(--sage);
    transform: translateY(-3px);
}

.drivers-hero .btn-outline,
.drivers-cta .btn-outline {
    color: var(--cream);
    background: transparent;
    border: 1px solid rgba(235, 235, 216, 0.7);
}

.drivers-hero .btn-outline:hover,
.drivers-cta .btn-outline:hover {
    color: var(--forest);
    background: var(--cream);
}

.drivers-hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 38px;
}

.hero-highlight {
    display: flex;
    align-items: center;
    gap: 9px;

    color: var(--cream);
    font-size: 13px;
    font-weight: 600;
}

.hero-highlight i {
    color: #C6D0A7;
    font-size: 16px;
}


/* =========================================
   3. INTRODUCTION SECTION
========================================= */

.drivers-intro {
    background: var(--cream);
}

.drivers-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
}

.drivers-intro-image {
    position: relative;
    min-width: 0;
}

.drivers-intro-image>img {
    display: block;
    width: 100%;
    height: 465px;

    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.intro-experience-card {
    position: absolute;
    right: -20px;
    bottom: 25px;

    display: flex;
    align-items: center;
    gap: 14px;
    padding: 19px 23px;

    background: var(--forest);
    color: var(--cream);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.intro-experience-card>i {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;

    color: var(--forest);
    background: var(--sage);
    border-radius: 50%;
    font-size: 20px;
}

.intro-experience-card div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.intro-experience-card strong {
    font-size: 14px;
}

.intro-experience-card span {
    color: var(--light-sage);
    font-size: 12px;
}

.drivers-intro-content .section-tag,
.section-heading .section-tag,
.driver-benefits-content .section-tag {
    display: inline-block;
    margin-bottom: 15px;

    color: var(--olive);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.drivers-intro-content h2,
.section-heading h2,
.driver-benefits-content h2 {
    margin-bottom: 19px;

    color: var(--forest);
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 47px);
    line-height: 1.2;
}

.drivers-intro-content h2 span,
.section-heading h2 span,
.driver-benefits-content h2 span {
    color: var(--olive);
}

.drivers-intro-content>p,
.driver-benefits-content>p {
    margin-bottom: 15px;

    color: #626B55;
    font-size: 15px;
    line-height: 1.8;
}

.drivers-intro-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 27px 0;
}

.drivers-intro-points div {
    display: flex;
    align-items: flex-start;
    gap: 9px;

    color: var(--forest);
    font-size: 13px;
    font-weight: 600;
}

.drivers-intro-points i {
    color: var(--olive);
    margin-top: 2px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--forest);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.text-link i {
    transition: var(--transition);
}

.text-link:hover {
    color: var(--olive);
}

.text-link:hover i {
    transform: translateX(5px);
}


/* =========================================
   4. SECTION HEADING
========================================= */

.section-heading {
    max-width: 680px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-heading>p {
    max-width: 590px;
    margin: 0 auto;

    color: #626B55;
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================
   5. DRIVER SERVICES
========================================= */

.driver-services {
    background: #DDE1CE;
}

.driver-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.driver-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 28px 23px;

    background: var(--cream);
    border: 1px solid rgba(69, 82, 48, 0.12);
    border-radius: 13px;

    transition: var(--transition);
}

.driver-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.service-icon {
    display: grid;
    place-items: center;
    width: 55px;
    height: 55px;
    margin-bottom: 22px;

    color: var(--cream);
    background: var(--forest);
    border-radius: 12px;
    font-size: 22px;
}

.service-label {
    margin-bottom: 9px;

    color: var(--olive);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.driver-service-card h3 {
    margin-bottom: 12px;

    color: var(--forest);
    font-family: var(--font-heading);
    font-size: 22px;
}

.driver-service-card>p {
    flex-grow: 1;
    margin-bottom: 23px;

    color: #68705C;
    font-size: 13px;
    line-height: 1.7;
}

.service-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 22px;
}

.service-price strong {
    color: var(--forest);
    font-size: 25px;
    font-weight: 800;
}

.service-price span {
    color: #727A66;
    font-size: 11px;
}

.service-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 16px;

    color: var(--forest);
    border-top: 1px solid var(--border-light);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover {
    color: var(--olive);
}

.service-link:hover i {
    transform: translateX(5px);
}

.featured-service {
    background: var(--forest);
    border-color: var(--forest);
}

.featured-service .service-icon {
    color: var(--forest);
    background: var(--sage);
}

.featured-service .service-label,
.featured-service h3,
.featured-service .service-price strong,
.featured-service .service-link {
    color: var(--cream);
}

.featured-service>p,
.featured-service .service-price span {
    color: var(--light-sage);
}

.featured-service .service-link {
    border-color: rgba(235, 235, 216, 0.2);
}

.popular-label {
    position: absolute;
    top: 0;
    right: 0;
    padding: 8px 12px;

    color: var(--forest);
    background: var(--sage);
    border-radius: 0 12px 0 10px;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.pricing-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 25px;

    color: #626B55;
    font-size: 12px;
    line-height: 1.7;
}

.pricing-note i {
    margin-top: 3px;
    color: var(--olive);
}


/* =========================================
   6. FEATURED DRIVERS
========================================= */

.featured-drivers {
    background: var(--cream);
}

.featured-drivers-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.driver-profile-card {
    min-width: 0;
    overflow: hidden;

    background: #E1E4D5;
    border: 1px solid rgba(69, 82, 48, 0.12);
    border-radius: 14px;

    transition: var(--transition);
}

.driver-profile-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.driver-profile-image {
    position: relative;
    height: 275px;
    overflow: hidden;
}

.driver-profile-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.driver-profile-card:hover .driver-profile-image img {
    transform: scale(1.06);
}

.driver-status {
    position: absolute;
    left: 15px;
    bottom: 15px;

    padding: 8px 12px;

    color: var(--cream);
    background: var(--forest);
    border-radius: 50px;

    font-size: 10px;
    font-weight: 700;
}

.driver-status i {
    margin-right: 5px;
    color: #C6D0A7;
}

.driver-profile-content {
    padding: 23px;
}

.driver-speciality {
    color: var(--olive);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.driver-profile-content h3 {
    margin: 10px 0;

    color: var(--forest);
    font-family: var(--font-heading);
    font-size: 21px;
}

.driver-profile-content>p {
    min-height: 65px;
    margin-bottom: 18px;

    color: #626B55;
    font-size: 13px;
    line-height: 1.7;
}

.driver-profile-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.driver-profile-details span {
    display: flex;
    align-items: center;
    gap: 9px;

    color: var(--forest);
    font-size: 12px;
    font-weight: 600;
}

.driver-profile-details i {
    width: 17px;
    color: var(--olive);
}

.driver-profile-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 16px;

    color: var(--forest);
    border-top: 1px solid rgba(69, 82, 48, 0.17);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.driver-profile-link:hover {
    color: var(--olive);
}

.profiles-note {
    margin-top: 25px;
    color: #727A66;
    font-size: 12px;
    text-align: center;
}


/* =========================================
   7. DRIVER BENEFITS
========================================= */

.driver-benefits {
    background: #DDE1CE;
}

.driver-benefits-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 65px;
}

.driver-benefits-content>p {
    margin-bottom: 30px;
}

.driver-benefits-list {
    display: grid;
    gap: 22px;
}

.driver-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.benefit-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 47px;
    height: 47px;

    color: var(--cream);
    background: var(--forest);
    border-radius: 11px;
    font-size: 18px;
}

.driver-benefit-item h3 {
    margin-bottom: 5px;

    color: var(--forest);
    font-size: 15px;
    font-weight: 800;
}

.driver-benefit-item p {
    color: #626B55;
    font-size: 12px;
    line-height: 1.7;
}

.driver-benefits-image {
    position: relative;
    min-width: 0;
}

.driver-benefits-image>img {
    display: block;
    width: 100%;
    height: 510px;

    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.benefits-image-caption {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;

    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px;

    color: var(--cream);
    background: rgba(40, 63, 36, 0.92);
    border-radius: 9px;
}

.benefits-image-caption span {
    color: var(--light-sage);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.benefits-image-caption strong {
    font-family: var(--font-heading);
    font-size: 22px;
}


/* =========================================
   8. HOW IT WORKS
========================================= */

.driver-process {
    background: var(--cream);
}

.driver-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.process-card {
    position: relative;
    min-width: 0;
    padding: 35px 27px;

    background: #E4E6D9;
    border: 1px solid rgba(69, 82, 48, 0.1);
    border-radius: 13px;

    transition: var(--transition);
}

.process-card:hover {
    transform: translateY(-6px);
    background: #DDE1CE;
}

.process-number {
    position: absolute;
    top: 20px;
    right: 23px;

    color: rgba(69, 82, 48, 0.15);
    font-family: var(--font-heading);
    font-size: 45px;
    font-weight: 800;
}

.process-icon {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    margin-bottom: 24px;

    color: var(--cream);
    background: var(--olive);
    border-radius: 13px;
    font-size: 23px;
}

.process-card h3 {
    margin-bottom: 12px;

    color: var(--forest);
    font-family: var(--font-heading);
    font-size: 21px;
}

.process-card p {
    color: #626B55;
    font-size: 13px;
    line-height: 1.8;
}


/* =========================================
   9. FINAL CTA
========================================= */

.drivers-cta {
    padding: 85px 0;

    color: var(--cream);
    background:
        radial-gradient(circle at 10% 10%,
            rgba(155, 166, 133, 0.22),
            transparent 35%),
        linear-gradient(120deg, #283F24, #455230);
}

.drivers-cta-content {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.drivers-cta .section-tag {
    display: inline-block;
    margin-bottom: 17px;

    color: var(--light-sage);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.drivers-cta h2 {
    margin-bottom: 18px;

    color: var(--cream);
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 57px);
    line-height: 1.2;
}

.drivers-cta h2 span {
    color: #C6D0A7;
}

.drivers-cta-content>p {
    max-width: 580px;
    margin: 0 auto 28px;

    color: rgba(235, 235, 216, 0.82);
    font-size: 15px;
    line-height: 1.8;
}

.drivers-cta-actions {
    justify-content: center;
}


/* =========================================
   10. RESPONSIVE DESIGN
========================================= */


/* Tablets and smaller laptops */
@media (max-width: 1050px) {

    .driver-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .drivers-intro-grid,
    .driver-benefits-grid {
        gap: 40px;
    }

    .drivers-intro-image>img {
        height: 420px;
    }

    .driver-benefits-image>img {
        height: 470px;
    }

}


/* Tablets */
@media (max-width: 800px) {

    .drivers-intro,
    .driver-services,
    .featured-drivers,
    .driver-benefits,
    .driver-process,
    .drivers-cta {
        padding: 65px 0;
    }

    .drivers-hero {
        min-height: 590px;
        background-position: 60% center;
    }

    .drivers-intro-grid,
    .driver-benefits-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .drivers-intro-image {
        max-width: 620px;
    }

    .drivers-intro-image>img {
        height: 430px;
    }

    .intro-experience-card {
        right: 15px;
    }

    .driver-benefits-image {
        max-width: 620px;
    }

    .driver-benefits-image>img {
        height: 430px;
    }

    .featured-drivers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .driver-process-grid {
        gap: 15px;
    }

    .process-card {
        padding: 27px 19px;
    }

}


/* Mobile phones */
@media (max-width: 600px) {

    .drivers-intro,
    .driver-services,
    .featured-drivers,
    .driver-benefits,
    .driver-process,
    .drivers-cta {
        padding: 52px 0;
    }

    .drivers-hero {
        min-height: 610px;
        background-position: 65% center;
    }

    .drivers-hero-content {
        padding-top: 65px;
        padding-bottom: 55px;
    }

    .drivers-hero h1 {
        font-size: 43px;
    }

    .drivers-hero-text>p {
        font-size: 14px;
    }

    .drivers-hero-actions {
        align-items: stretch;
        flex-direction: column;
        max-width: 270px;
    }

    .drivers-hero-highlights {
        flex-direction: column;
        gap: 13px;
        margin-top: 28px;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .section-heading h2,
    .drivers-intro-content h2,
    .driver-benefits-content h2 {
        font-size: 34px;
    }

    .drivers-intro-image>img {
        height: 330px;
    }

    .intro-experience-card {
        right: 10px;
        bottom: 12px;
        padding: 13px;
    }

    .intro-experience-card>i {
        width: 37px;
        height: 37px;
        font-size: 16px;
    }

    .intro-experience-card strong {
        font-size: 12px;
    }

    .intro-experience-card span {
        font-size: 10px;
    }

    .drivers-intro-points {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .driver-services-grid,
    .featured-drivers-grid,
    .driver-process-grid {
        grid-template-columns: 1fr;
    }

    .driver-service-card {
        padding: 25px;
    }

    .driver-profile-image {
        height: 300px;
    }

    .driver-profile-content>p {
        min-height: auto;
    }

    .driver-benefits-image>img {
        height: 340px;
    }

    .process-card {
        padding: 28px 24px;
    }

    .drivers-cta h2 {
        font-size: 38px;
    }

    .drivers-cta-actions {
        align-items: stretch;
        flex-direction: column;
        max-width: 270px;
        margin: 0 auto;
    }

}


/* Very small phones */
@media (max-width: 380px) {

    .drivers-hero h1 {
        font-size: 36px;
    }

    .drivers-hero .btn,
    .drivers-cta .btn {
        width: 100%;
        padding: 12px 15px;
        font-size: 12px;
    }

    .driver-service-card {
        padding: 21px 18px;
    }

    .service-price strong {
        font-size: 22px;
    }

    .driver-profile-image {
        height: 250px;
    }

    .drivers-cta h2 {
        font-size: 33px;
    }

}


/* =========================================
   11. REDUCED MOTION ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {

    .driver-service-card,
    .driver-profile-card,
    .process-card,
    .driver-profile-image img,
    .drivers-hero .btn,
    .drivers-cta .btn {
        transition: none;
    }

}