/* =========================================
   CHILL RIDES - HOME PAGE STYLES
========================================= */



/* =========================================
   1. HOME HERO - VIDEO BACKGROUND
========================================= */

.home-hero {
    position: relative;
    min-height: 540px;

    display: flex;
    align-items: center;

    color: var(--cream);
    background-color: var(--forest);

    overflow: hidden;
    isolation: isolate;
}


/* BACKGROUND VIDEO */

.hero-background-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 55%;

    z-index: -2;
}


/* VIDEO OVERLAY */

.home-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(90deg,
            rgba(28, 38, 20, 0.88) 0%,
            rgba(35, 46, 25, 0.62) 48%,
            rgba(35, 46, 25, 0.22) 100%),
        linear-gradient(0deg,
            rgba(35, 46, 25, 0.4),
            transparent 50%);

    z-index: -1;
    pointer-events: none;
}


/* HERO CONTAINER */

.home-hero-container {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 540px;

    padding-top: 65px;
    padding-bottom: 65px;
}


/* HERO CONTENT */

.hero-content {
    max-width: 650px;
    margin-left: 45px;

    animation: heroReveal 1s ease both;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 8px 15px;
    margin-bottom: 20px;

    background: rgba(155, 166, 133, 0.2);
    border: 1px solid rgba(235, 235, 216, 0.3);
    border-radius: 50px;

    color: var(--cream);

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.6px;
}

.hero-tag i {
    font-size: 0.9rem;
}

.hero-content h1 {
    max-width: 650px;

    color: var(--cream);
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    line-height: 1.08;
    letter-spacing: -2px;
}

.hero-content h1 span {
    display: block;
    color: var(--sage);
}

.hero-content>p {
    max-width: 450px;
    margin-top: 16px;

    color: rgba(235, 235, 216, 0.9);
    font-size: 0.98rem;
    line-height: 1.7;
}


/* HERO BUTTONS */

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;

    margin-top: 25px;
}

.hero-primary-btn {
    background-color: var(--sage);
    color: var(--forest);
}

.hero-primary-btn:hover {
    background-color: var(--cream);
    transform: translateY(-3px);
}

.hero-secondary-btn {
    border-color: rgba(235, 235, 216, 0.7);
    color: var(--cream);
    background-color: transparent;
}

.hero-secondary-btn:hover {
    background-color: var(--cream);
    color: var(--forest);
    transform: translateY(-3px);
}


/* HERO TRUST POINTS */

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;

    margin-top: 32px;
    padding-top: 18px;

    border-top: 1px solid rgba(235, 235, 216, 0.3);
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;

    color: var(--cream);
    font-size: 0.76rem;
    font-weight: 600;
}

.hero-trust-item i {
    color: var(--sage);
    font-size: 0.95rem;
}


/* FLOATING HERO CARD */

.hero-floating-card {
    position: absolute;
    right: 15px;
    bottom: 75px;

    display: flex;
    align-items: center;
    gap: 13px;

    padding: 15px 20px;

    background: rgba(235, 235, 216, 0.95);
    border-radius: var(--radius-md);

    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);

    animation: floatCard 4s ease-in-out infinite;
}

.hero-card-icon {
    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: var(--sage);
    border-radius: 50%;

    color: var(--forest);
    font-size: 1.1rem;
}

.hero-floating-card span {
    color: var(--olive);
    font-size: 0.72rem;
}

.hero-floating-card h3 {
    color: var(--forest);
    font-size: 1.08rem;
}


/* HERO BOTTOM LABEL */

.hero-bottom-label {
    position: absolute;
    bottom: 17px;
    left: 50%;

    display: flex;
    align-items: center;
    gap: 13px;

    width: min(var(--container-width), calc(100% - 48px));

    color: rgba(235, 235, 216, 0.75);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1.8px;

    transform: translateX(-50%);
}

.hero-line {
    width: 38px;
    height: 1px;
    background-color: var(--sage);
}


/* =========================================
   HERO RESPONSIVE DESIGN
========================================= */

@media (max-width: 900px) {

    .home-hero,
    .home-hero-container {
        min-height: 510px;
    }

    .hero-floating-card {
        right: 5px;
        bottom: 65px;
    }

    .hero-content {
        max-width: 570px;
    }

}


@media (max-width: 650px) {

    .home-hero,
    .home-hero-container {
        min-height: 490px;
    }

    .home-hero-container {
        padding-top: 55px;
        padding-bottom: 75px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: clamp(2.5rem, 9vw, 3.6rem);
        letter-spacing: -1.5px;
    }

    .hero-content>p {
        font-size: 0.9rem;
    }

    .hero-trust {
        gap: 12px 18px;
        margin-top: 25px;
    }

    .hero-trust-item {
        font-size: 0.7rem;
    }

    .hero-floating-card {
        display: none;
    }

    .hero-bottom-label {
        bottom: 15px;
        font-size: 0.55rem;
        gap: 9px;
    }

}


@media (max-width: 400px) {

    .home-hero,
    .home-hero-container {
        min-height: 470px;
    }

    .hero-tag {
        font-size: 0.62rem;
        letter-spacing: 1px;
    }

    .hero-content h1 {
        font-size: 2.35rem;
    }

    .hero-actions {
        gap: 10px;
    }

    .hero-trust {
        gap: 10px;
    }

}


/* =========================================
   2. QUICK BOOKING SECTION
========================================= */

.quick-booking-section {
    position: relative;
    z-index: 5;

    margin-top: -1px;
    padding: 65px 0 60px;

    background-color: var(--olive);
    color: var(--cream);
}

.booking-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;

    margin-bottom: 30px;
}

.booking-heading .section-tag {
    color: var(--light-sage);
}

.booking-heading h2 {
    color: var(--cream);
    font-size: clamp(2rem, 3.5vw, 3rem);
}

.booking-heading>p {
    max-width: 330px;
    color: var(--light-sage);
    font-size: 0.9rem;
}


.quick-booking-form {
    display: grid;

    grid-template-columns:
        1.1fr 1.3fr 1fr 1fr auto;

    align-items: end;
    gap: 12px;

    padding: 22px;

    background-color: var(--cream);
    border-radius: var(--radius-lg);

    box-shadow: 0 15px 35px rgba(34, 45, 22, 0.16);
}

.booking-field {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.booking-field label {
    display: flex;
    align-items: center;
    gap: 8px;

    color: var(--forest);
    font-size: 0.78rem;
    font-weight: 700;
}

.booking-field label i {
    color: var(--olive);
}

.booking-field input,
.booking-field select {
    width: 100%;
    min-width: 0;

    padding: 13px 10px;

    background-color: var(--soft-cream);
    color: var(--forest);

    border: 1px solid var(--border-light);
    border-radius: 9px;

    font-size: 0.78rem;
    outline: none;

    transition: var(--transition);
}

.booking-field input:focus,
.booking-field select:focus {
    border-color: var(--olive);
    box-shadow: 0 0 0 3px rgba(99, 117, 69, 0.12);
}

.booking-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 46px;
    padding: 12px 19px;

    background-color: var(--forest);
    color: var(--cream);

    border: none;
    border-radius: 9px;

    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;

    transition: var(--transition);
}

.booking-search-btn:hover {
    background-color: var(--olive);
    transform: translateY(-3px);
}

.booking-note {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-top: 17px;

    color: var(--light-sage);
    font-size: 0.78rem;
}


/* =========================================
   3. VEHICLE CATEGORY SECTION
========================================= */

.category-section {
    overflow: hidden;
}

.category-section .section-heading h2 span {
    display: inline-block;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}


/* CATEGORY CARD */

.category-card {
    display: block;
    overflow: hidden;

    background-color: var(--soft-cream);
    border-radius: var(--radius-lg);

    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-9px);
    box-shadow: var(--shadow);
}

.category-image {
    position: relative;
    height: 245px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.7s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.08);
}

.category-number {
    position: absolute;
    top: 16px;
    left: 16px;

    padding: 7px 12px;

    background-color: rgba(69, 82, 48, 0.88);
    color: var(--cream);

    border-radius: 30px;

    font-size: 0.7rem;
    font-weight: 700;
}

.category-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    padding: 21px 18px;
}

.category-info h3 {
    color: var(--forest);
    font-size: 1.25rem;
}

.category-info p {
    margin-top: 6px;

    color: #727B60;
    font-size: 0.78rem;
}

.category-arrow {
    flex-shrink: 0;

    width: 39px;
    height: 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: var(--sage);
    color: var(--forest);

    border-radius: 50%;

    transition: var(--transition);
}

.category-card:hover .category-arrow {
    background-color: var(--forest);
    color: var(--cream);
    transform: rotate(45deg);
}


/* CATEGORY BOTTOM */

.category-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-top: 35px;
    padding: 22px 25px;

    background-color: var(--light-sage);
    border-radius: var(--radius-md);
}

.category-bottom p {
    color: var(--forest);
    font-size: 0.9rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--forest);
    font-size: 0.85rem;
    font-weight: 700;

    transition: var(--transition);
}

.text-link:hover {
    gap: 16px;
    color: var(--olive);
}

/* =========================================
   4. MOVING VEHICLE STRIP
========================================= */

.vehicle-motion-strip {
    position: relative;
    width: 100%;
    height: 155px;

    margin-top: 35px;
    overflow: hidden;

    display: flex;
    align-items: center;

    background-color: var(--cream);
}

/* ANIMATION TRACK */

.vehicle-motion-track {
    position: absolute;
    left: 0;

    display: flex;
    align-items: center;
    width: max-content;

    animation: vehicleMoveRight 3s linear infinite;
}

.vehicle-motion-group {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-shrink: 0;

    width: 100vw;
    gap: 65px;
    padding: 0 45px;
}

/* VEHICLE IMAGES */

.vehicle-motion-group img {
    width: 180px;
    height: 100px;

    object-fit: contain;
    flex-shrink: 0;
}

.vehicle-motion-road {
    position: absolute;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 125px;

    background-image: url("../assets/images/vehicles/road2.jfif");

    background-repeat: repeat-x;
    background-position: center;
    background-size: auto 65px;

    z-index: 1;
}

.vehicle-motion-track {
    z-index: 2;
}

/* LEFT TO RIGHT ANIMATION */

@keyframes vehicleMoveRight {

    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }

}

/* PAUSE ON HOVER */

.vehicle-motion-strip:hover .vehicle-motion-track {
    animation-play-state: paused;
}

/* RESPONSIVE */

@media (max-width: 768px) {

    .vehicle-motion-strip {
        height: 125px;
    }

    .vehicle-motion-group {
        gap: 35px;
        padding: 0 25px;
    }

    .vehicle-motion-group img {
        width: 135px;
        height: 80px;
    }

}

@media (max-width: 480px) {

    .vehicle-motion-strip {
        height: 110px;
        margin-top: 25px;
    }

    .vehicle-motion-group {
        gap: 25px;
        padding: 0 15px;
    }

    .vehicle-motion-group img {
        width: 110px;
        height: 65px;
    }

}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

    .vehicle-motion-track {
        animation: none;
        transform: none;
    }

}

/* =========================================
   4. FEATURED VEHICLES SECTION
========================================= */

.featured-section {
    overflow: hidden;
}

.featured-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;

    margin-bottom: 15px;
}

.featured-heading .section-heading {
    margin-bottom: 25px;
}

.featured-heading .section-description {
    color: var(--light-sage);
}

.featured-view-btn {
    flex-shrink: 0;
    margin-bottom: 28px;

    background-color: var(--sage);
    color: var(--forest);
}

.featured-view-btn:hover {
    background-color: var(--cream);
    transform: translateY(-3px);
}


.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}


/* VEHICLE CARD */

.vehicle-card {
    overflow: hidden;

    background-color: var(--cream);
    border-radius: var(--radius-lg);

    transition: var(--transition);
}

.vehicle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.vehicle-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.vehicle-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.07);
}

.vehicle-tag {
    position: absolute;
    top: 16px;
    left: 16px;

    padding: 7px 12px;

    background-color: var(--sage);
    color: var(--forest);

    border-radius: 30px;

    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.7px;
}

.vehicle-favourite {
    position: absolute;
    top: 13px;
    right: 14px;

    width: 38px;
    height: 38px;

    background-color: var(--cream);
    color: var(--forest);

    border: none;
    border-radius: 50%;

    font-size: 1rem;

    transition: var(--transition);
}

.vehicle-favourite:hover {
    background-color: var(--olive);
    color: var(--cream);
}

.vehicle-favourite.selected {
    background-color: var(--olive);
    color: var(--cream);
}


.vehicle-details {
    padding: 23px 21px;
}

.vehicle-category {
    color: var(--olive);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.vehicle-details>h3 {
    margin-top: 7px;

    color: var(--forest);
    font-size: 1.45rem;
}


.vehicle-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;

    padding: 20px 0;
    margin-top: 15px;

    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.vehicle-specs span {
    display: flex;
    align-items: center;
    gap: 6px;

    color: #68734F;
    font-size: 0.72rem;
}

.vehicle-specs i {
    color: var(--olive);
}


.vehicle-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    margin-top: 20px;
}

.vehicle-price span {
    color: #778067;
    font-size: 0.7rem;
}

.vehicle-price h3 {
    margin-top: 5px;

    color: var(--forest);
    font-family: var(--font-body);
    font-size: 1.45rem;
    font-weight: 800;
}

.vehicle-price h3 small {
    font-size: 0.72rem;
    font-weight: 500;
}


.vehicle-book-btn {
    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: var(--forest);
    color: var(--cream);

    border-radius: 50%;

    transition: var(--transition);
}

.vehicle-book-btn:hover {
    background-color: var(--olive);
    transform: rotate(-35deg);
}

.price-disclaimer {
    margin-top: 22px;

    color: var(--light-sage);
    font-size: 0.75rem;
}



/* =========================================
   5. DRIVER RENTAL SECTION
========================================= */

.driver-section {
    overflow: hidden;
}

.driver-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 75px;
}


/* DRIVER VIDEO */

.driver-image-wrapper {
    position: relative;
    min-height: 530px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.driver-background-video {
    display: block;

    width: 100%;
    height: 530px;

    object-fit: cover;
    object-position: center;

    border-radius: var(--radius-xl);
}

/* VIDEO CAPTION */

.driver-image-caption {
    position: absolute;
    right: 20px;
    bottom: 25px;
    z-index: 2;

    display: flex;
    align-items: center;
    gap: 15px;

    padding: 20px 25px;

    background-color: var(--forest);
    color: var(--cream);

    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.driver-image-caption>i {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: var(--sage);
    color: var(--forest);

    border-radius: 50%;
    font-size: 1.1rem;
}

.driver-image-caption strong {
    display: block;
    font-size: 0.9rem;
}

.driver-image-caption span {
    display: block;
    margin-top: 4px;

    color: var(--light-sage);
    font-size: 0.72rem;
}


/* DRIVER CONTENT */

.driver-content h2 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.driver-content h2 span {
    display: block;
}

.driver-content>p {
    margin-top: 20px;
    color: #586445;
}


/* DRIVER BENEFITS */

.driver-benefits {
    display: flex;
    flex-direction: column;
    gap: 22px;

    margin-top: 30px;
}

.driver-benefit {
    display: flex;
    align-items: flex-start;
    gap: 17px;
}

.driver-benefit>i {
    flex-shrink: 0;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: var(--cream);
    color: var(--olive);

    border-radius: 12px;
    font-size: 1.1rem;
}

.driver-benefit h3 {
    color: var(--forest);
    font-family: var(--font-body);
    font-size: 1rem;
}

.driver-benefit p {
    margin-top: 5px;
    color: #68734F;
    font-size: 0.82rem;
}


/* DRIVER PRICING */

.driver-pricing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    margin: 30px 0;
    padding: 20px;

    background-color: rgba(235, 235, 216, 0.75);
    border-radius: var(--radius-md);
}

.driver-pricing span {
    color: #68734F;
    font-size: 0.75rem;
}

.driver-pricing h3 {
    margin-top: 5px;

    color: var(--forest);
    font-family: var(--font-body);
    font-size: 1.8rem;
    font-weight: 800;
}

.driver-pricing h3 small {
    font-size: 0.8rem;
    font-weight: 500;
}

.driver-pricing .price-note {
    padding: 7px 11px;

    background-color: var(--light-sage);
    color: var(--forest);

    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 700;
}


/* RESPONSIVE DRIVER VIDEO */

@media (max-width: 992px) {

    .driver-container {
        gap: 40px;
    }

    .driver-image-wrapper,
    .driver-background-video {
        min-height: 480px;
        height: 480px;
    }

}

@media (max-width: 768px) {

    .driver-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .driver-image-wrapper,
    .driver-background-video {
        min-height: 420px;
        height: 420px;
    }

    .driver-image-caption {
        right: 15px;
        bottom: 15px;
    }

}

@media (max-width: 480px) {

    .driver-image-wrapper,
    .driver-background-video {
        min-height: 350px;
        height: 350px;
    }

    .driver-image-caption {
        padding: 13px 16px;
        gap: 10px;
    }

    .driver-image-caption>i {
        width: 38px;
        height: 38px;
    }

}



/* =========================================
   6. HOW IT WORKS SECTION
========================================= */

.how-section {
    overflow: hidden;
}

.how-section .section-heading {
    max-width: 750px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.step-card {
    position: relative;

    padding: 42px 30px;

    background-color: rgba(235, 235, 216, 0.12);
    border: 1px solid rgba(235, 235, 216, 0.22);
    border-radius: var(--radius-lg);

    text-align: center;

    transition: var(--transition);
}

.step-card:hover {
    background-color: rgba(235, 235, 216, 0.2);
    transform: translateY(-8px);
}

.step-number {
    position: absolute;
    top: 20px;
    right: 23px;

    color: rgba(235, 235, 216, 0.35);
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
}

.step-icon {
    width: 76px;
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 25px;

    background-color: var(--sage);
    color: var(--forest);

    border-radius: 22px;
    font-size: 1.7rem;

    transition: var(--transition);
}

.step-card:hover .step-icon {
    transform: rotate(-8deg) scale(1.08);
}

.step-card h3 {
    color: var(--cream);
    font-size: 1.4rem;
}

.step-card p {
    max-width: 290px;
    margin: 14px auto 0;

    color: var(--light-sage);
    font-size: 0.87rem;
}


/* =========================================
   7. WHY CHILL RIDES SECTION
========================================= */

.why-section {
    overflow: hidden;
}

.why-container {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 65px;
}

.why-content h2 {
    font-size: clamp(2.2rem, 4vw, 3.3rem);
}

.why-content h2 span {
    display: block;
}


.why-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 20px;

    margin-top: 35px;
}

.why-feature {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.why-icon {
    flex-shrink: 0;

    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: var(--light-sage);
    color: var(--forest);

    border-radius: 12px;
}

.why-feature h3 {
    color: var(--forest);
    font-family: var(--font-body);
    font-size: 0.93rem;
}

.why-feature p {
    margin-top: 6px;
    color: #68734F;
    font-size: 0.78rem;
    line-height: 1.6;
}


/* WHY IMAGE */

.why-image-wrapper {
    position: relative;
    min-height: 490px;
}

.why-image-wrapper>img {
    width: 100%;
    height: 490px;

    object-fit: cover;

    border-radius: var(--radius-xl);
}

.why-image-card {
    position: absolute;
    left: -30px;
    bottom: 30px;

    max-width: 230px;
    padding: 25px;

    background-color: var(--olive);
    color: var(--cream);

    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.why-image-card>i {
    color: var(--light-sage);
    font-size: 1.6rem;
}

.why-image-card h3 {
    margin-top: 15px;
    color: var(--cream);
    font-size: 1.5rem;
}

.why-image-card p {
    margin-top: 7px;
    color: var(--light-sage);
    font-size: 0.8rem;
}


/* =========================================
   8. TESTIMONIAL SECTION
========================================= */

.testimonial-section {
    overflow: hidden;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.testimonial-card {
    padding: 32px 27px;

    background-color: var(--cream);
    border-radius: var(--radius-lg);

    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.testimonial-highlight {
    background-color: var(--forest);
    color: var(--cream);
}

.testimonial-stars {
    display: flex;
    gap: 5px;

    color: var(--olive);
    font-size: 0.9rem;
}

.testimonial-highlight .testimonial-stars {
    color: var(--sage);
}

.testimonial-card>p {
    min-height: 125px;
    margin-top: 23px;

    color: #68734F;
    font-size: 0.9rem;
    line-height: 1.8;
}

.testimonial-highlight>p {
    color: var(--light-sage);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 13px;

    padding-top: 20px;
    margin-top: 20px;

    border-top: 1px solid var(--border-light);
}

.testimonial-highlight .testimonial-author {
    border-color: var(--border-dark);
}

.testimonial-avatar {
    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: var(--light-sage);
    color: var(--forest);

    border-radius: 50%;
}

.testimonial-highlight .testimonial-avatar {
    background-color: var(--sage);
}

.testimonial-author h3 {
    color: var(--forest);
    font-family: var(--font-body);
    font-size: 0.85rem;
}

.testimonial-highlight .testimonial-author h3 {
    color: var(--cream);
}

.testimonial-author span {
    display: block;
    margin-top: 4px;

    color: #778067;
    font-size: 0.7rem;
}

.testimonial-highlight .testimonial-author span {
    color: var(--light-sage);
}

.testimonial-disclaimer {
    margin-top: 20px;
    color: #586445;
    font-size: 0.75rem;
    text-align: center;
}


/* =========================================
   9. FINAL CALL TO ACTION
========================================= */

.home-cta {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(90deg,
            rgba(35, 46, 25, 0.95),
            /* rgba(35, 46, 25, 0.65), */
            rgba(35, 46, 25, 0.3)),
        url("../assets/images/home/cta-road.jfif");

    background-size: cover;
    background-position: center;

    color: var(--cream);
    overflow: hidden;
}

.home-cta-overlay {
    position: absolute;
    inset: 0;

    /* background: linear-gradient(0deg,
            rgba(35, 46, 25, 0.3),
            transparent); */
}

.home-cta-container {
    position: relative;
    z-index: 2;

    text-align: center;
}

.home-cta h2 {
    max-width: 800px;
    margin: 15px auto;

    color: var(--cream);
    font-size: clamp(2.8rem, 6vw, 4.8rem);
}

.home-cta h2 span {
    color: var(--sage);
}

.home-cta-container>p {
    max-width: 580px;
    margin: 18px auto 30px;

    color: var(--light-sage);
    font-size: 0.95rem;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.cta-primary-btn {
    background-color: var(--sage);
    color: var(--forest);
}

.cta-primary-btn:hover {
    background-color: var(--cream);
    transform: translateY(-4px);
}

.cta-secondary-btn {
    background-color: transparent;
    border-color: var(--cream);
    color: var(--cream);
}

.cta-secondary-btn:hover {
    background-color: var(--cream);
    color: var(--forest);
}


/* =========================================
   10. ANIMATIONS
========================================= */

@keyframes heroReveal {

    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

}


/* =========================================
   11. RESPONSIVE DESIGN
========================================= */

@media (max-width: 1100px) {

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-booking-form {
        grid-template-columns: repeat(2, 1fr);
    }

    .booking-search-btn {
        grid-column: 1 / -1;
    }

    .driver-container {
        gap: 45px;
    }

    .why-container {
        gap: 40px;
    }

    .vehicle-specs {
        gap: 10px;
    }

}


@media (max-width: 768px) {

    /* HERO */

    .home-hero,
    .home-hero-container {
        min-height: 650px;
    }

    .home-hero {
        background-position: 62% center;
    }

    .home-hero-container {
        padding-top: 70px;
        padding-bottom: 95px;
    }

    .hero-content {
        max-width: 570px;
    }

    .hero-content h1 {
        font-size: clamp(3rem, 9vw, 4.4rem);
    }

    .hero-content>p {
        font-size: 0.93rem;
    }

    .hero-floating-card {
        display: none;
    }

    .hero-trust {
        gap: 15px;
        margin-top: 35px;
    }

    .hero-trust-item {
        font-size: 0.72rem;
    }


    /* BOOKING */

    .booking-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .quick-booking-form {
        grid-template-columns: 1fr 1fr;
    }

    .booking-search-btn {
        grid-column: 1 / -1;
    }


    /* CATEGORIES */

    .category-image {
        height: 220px;
    }

    .category-bottom {
        flex-direction: column;
        align-items: flex-start;
    }


    /* FEATURED */

    .featured-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .featured-view-btn {
        margin-bottom: 20px;
    }

    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vehicle-card:last-child {
        grid-column: 1 / -1;
    }

    .vehicle-card:last-child .vehicle-image {
        height: 280px;
    }


    /* DRIVER */

    .driver-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .driver-image-wrapper {
        min-height: 420px;
    }

    .driver-image-wrapper>img {
        height: 420px;
    }

    .driver-image-caption {
        right: 15px;
        bottom: 20px;
    }


    /* STEPS */

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .step-card {
        padding: 35px 25px;
    }


    /* WHY */

    .why-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .why-image-wrapper {
        min-height: 400px;
    }

    .why-image-wrapper>img {
        height: 400px;
    }

    .why-image-card {
        left: 15px;
    }


    /* TESTIMONIALS */

    .testimonial-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonial-card:last-child {
        grid-column: 1 / -1;
    }

    .testimonial-card>p {
        min-height: auto;
    }


    /* CTA */

    .home-cta {
        min-height: 420px;
    }

}


@media (max-width: 520px) {

    /* HERO */

    .home-hero,
    .home-hero-container {
        min-height: 610px;
    }

    .home-hero {
        background-position: 65% center;
    }

    .hero-content h1 {
        font-size: 2.8rem;
        letter-spacing: -1px;
    }

    .hero-content>p {
        font-size: 0.87rem;
    }

    .hero-tag {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }

    .hero-actions {
        gap: 10px;
    }

    .hero-actions .btn {
        padding: 12px 17px;
        font-size: 0.76rem;
    }

    .hero-trust {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .hero-bottom-label {
        font-size: 0.55rem;
        gap: 9px;
    }


    /* BOOKING */

    .quick-booking-section {
        padding: 45px 0;
    }

    .quick-booking-form {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .booking-search-btn {
        grid-column: auto;
    }

    .booking-note {
        align-items: flex-start;
        font-size: 0.7rem;
    }


    /* CATEGORIES */

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-image {
        height: 240px;
    }


    /* FEATURED */

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .vehicle-card:last-child {
        grid-column: auto;
    }

    .vehicle-card:last-child .vehicle-image {
        height: 240px;
    }

    .vehicle-image {
        height: 230px;
    }


    /* DRIVER */

    .driver-image-wrapper,
    .driver-image-wrapper>img {
        min-height: 340px;
        height: 340px;
    }

    .driver-image-caption {
        right: 10px;
        bottom: 12px;
        padding: 14px;
    }

    .driver-image-caption strong {
        font-size: 0.8rem;
    }

    .driver-image-caption span {
        font-size: 0.65rem;
    }

    .driver-pricing h3 {
        font-size: 1.5rem;
    }


    /* WHY */

    .why-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .why-image-wrapper,
    .why-image-wrapper>img {
        min-height: 340px;
        height: 340px;
    }


    /* TESTIMONIALS */

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card:last-child {
        grid-column: auto;
    }


    /* CTA */

    .home-cta {
        min-height: 440px;
    }

    .home-cta h2 {
        font-size: 2.8rem;
    }

}


@media (prefers-reduced-motion: reduce) {

    .home-hero *,
    .home-cta *,
    .category-card,
    .vehicle-card,
    .step-card,
    .testimonial-card {
        animation: none !important;
        transition: none !important;
    }

}