﻿/* =============================================================
   Clean Crew Jamaica
   Testimonials Page

   Testimonials-page-specific styles only.
   Shared site styles belong in ccj-core.css.
   Header styles belong in ccj-header.css.
   Footer styles belong in ccj-footer.css.
   ============================================================= */


/* =============================================================
   Testimonials Page Wrapper
   ============================================================= */

.ccj-testimonials-page {
    background: #ffffff;
}


/* =============================================================
   Testimonials Hero
   ============================================================= */

.ccj-testimonials-page-hero {
    position: relative;
    overflow: hidden;
    padding: 190px 60px 115px;
    color: #ffffff;
    background: linear-gradient(90deg, rgba(6, 26, 64, 0.94) 0%, rgba(6, 26, 64, 0.82) 42%, rgba(6, 26, 64, 0.48) 72%, rgba(6, 26, 64, 0.32) 100%), url("../images/ccj-truck-road.jpeg") center center / cover no-repeat;
}

    /*
 * Decorative overlays are intentionally subtle so the truck image
 * remains the visual focus of the hero.
 */
    .ccj-testimonials-page-hero::before {
        content: "";
        position: absolute;
        top: -180px;
        right: -120px;
        width: 520px;
        height: 520px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.05);
    }

    .ccj-testimonials-page-hero::after {
        content: "";
        position: absolute;
        right: 18%;
        bottom: -220px;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        border: 80px solid rgba(255, 255, 255, 0.035);
    }

.ccj-testimonials-page-hero-content {
    position: relative;
    z-index: 2;
    width: min(1250px, 100%);
    margin: 0 auto;
}

    .ccj-testimonials-page-hero-content > span {
        display: inline-block;
        margin-bottom: 18px;
        color: #ffffff;
        font-size: 14px;
        font-weight: 800;
        letter-spacing: 0.16em;
        text-transform: uppercase;
    }

    .ccj-testimonials-page-hero-content h1 {
        max-width: 760px;
        margin: 0;
        color: #ffffff;
        font-size: clamp(48px, 5vw, 78px);
        font-weight: 900;
        line-height: 1.02;
        letter-spacing: -0.05em;
    }

        .ccj-testimonials-page-hero-content h1 strong {
            color: #ffffff;
            font-weight: 900;
        }

    .ccj-testimonials-page-hero-content p {
        max-width: 760px;
        margin: 28px 0 0;
        color: rgba(255, 255, 255, 0.82);
        font-size: 20px;
        line-height: 1.75;
    }


/* =============================================================
   Featured Reviews
   ============================================================= */

.ccj-featured-reviews-section {
    padding: 105px 0;
    background: var(--ccj-soft);
}

.ccj-featured-reviews-grid {
    width: min(1250px, calc(100% - 120px));
    margin: 55px auto 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.ccj-featured-review-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 360px;
    padding: 40px;
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(10, 31, 68, 0.08);
    box-shadow: 0 18px 50px rgba(10, 31, 68, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .ccj-featured-review-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 26px 65px rgba(10, 31, 68, 0.12);
    }

.ccj-review-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.ccj-review-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    color: #ffffff;
    font-size: 22px;
    border-radius: 16px;
    background: var(--ccj-blue);
}

.ccj-review-stars {
    display: flex;
    gap: 4px;
    color: #f3b61f;
    font-size: 15px;
}

.ccj-review-quote-icon {
    position: absolute;
    top: 85px;
    right: 32px;
    color: rgba(0, 87, 231, 0.07);
    font-size: 100px;
    line-height: 1;
}

.ccj-featured-review-card > p {
    position: relative;
    z-index: 2;
    margin: 0 0 35px;
    color: #394861;
    font-size: 18px;
    line-height: 1.8;
}

.ccj-review-author {
    position: relative;
    z-index: 2;
    margin-top: auto;
}

    .ccj-review-author strong {
        display: block;
        margin-bottom: 5px;
        color: #071a3d;
        font-size: 17px;
        font-weight: 800;
    }

    .ccj-review-author span {
        color: #70809b;
        font-size: 14px;
        font-weight: 600;
    }


/* =============================================================
   Additional Reviews
   ============================================================= */

.ccj-all-reviews-section {
    padding: 110px 0;
    background: #ffffff;
}

.ccj-all-reviews-grid {
    width: min(1250px, calc(100% - 120px));
    margin: 55px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: stretch;
}

.ccj-review-card {
    display: flex;
    flex-direction: column;
    min-height: 285px;
    padding: 30px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(10, 31, 68, 0.09);
    box-shadow: 0 12px 35px rgba(10, 31, 68, 0.055);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

    .ccj-review-card:hover {
        transform: translateY(-4px);
        border-color: rgba(0, 87, 231, 0.2);
        box-shadow: 0 20px 48px rgba(10, 31, 68, 0.1);
    }

.ccj-review-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

    .ccj-review-card-header > i {
        color: rgba(0, 87, 231, 0.14);
        font-size: 34px;
    }

.ccj-review-card > p {
    margin: 0 0 28px;
    color: #44536b;
    font-size: 16px;
    line-height: 1.75;
}

.ccj-review-card .ccj-review-author {
    margin-top: auto;
}


/* =============================================================
   Testimonials Call to Action
   ============================================================= */

.ccj-testimonials-cta {
    padding: 35px 60px 110px;
    background: #ffffff;
}

.ccj-testimonials-cta-card {
    width: min(1200px, calc(100% - 120px));
    margin: 0 auto;
    padding: 70px;
    text-align: center;
    border-radius: 34px;
    background: linear-gradient(90deg, rgba(6, 26, 64, 0.96), rgba(0, 87, 231, 0.86)), url("../images/ccos-zippy-truck.png") center / cover no-repeat;
    box-shadow: 0 30px 90px rgba(6, 26, 64, 0.24);
}

    .ccj-testimonials-cta-card span {
        display: block;
        margin-bottom: 14px;
        color: #ffffff;
        font-size: 13px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .ccj-testimonials-cta-card h2 {
        margin: 0;
        color: #ffffff;
        font-size: clamp(34px, 3.5vw, 56px);
        line-height: 1.08;
        letter-spacing: -0.05em;
        font-weight: 900;
    }

    .ccj-testimonials-cta-card p {
        max-width: 720px;
        margin: 24px auto 0;
        color: rgba(255, 255, 255, 0.84);
        font-size: 18px;
        line-height: 1.65;
        font-weight: 500;
    }

.ccj-testimonials-cta-actions {
    margin-top: 36px;
    display: flex;
    justify-content: center;
    gap: 18px;
}


/* =============================================================
   Testimonials Responsive Layout
   ============================================================= */

@media (max-width: 1024px) {
    .ccj-testimonials-page-hero {
        padding: 165px 40px 95px;
    }

    .ccj-featured-reviews-grid {
        width: min(100% - 80px, 1250px);
    }

    .ccj-all-reviews-grid {
        width: min(100% - 80px, 1250px);
        grid-template-columns: repeat(2, 1fr);
    }

    .ccj-testimonials-cta {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 720px) {
    .ccj-testimonials-page-hero {
        padding: 135px 24px 75px;
        background-position: 58% center;
    }

    .ccj-testimonials-page-hero-content h1 {
        font-size: clamp(42px, 12vw, 58px);
    }

    .ccj-testimonials-page-hero-content p {
        font-size: 17px;
        line-height: 1.65;
    }

    .ccj-featured-reviews-section,
    .ccj-all-reviews-section {
        padding: 75px 0;
    }

    .ccj-featured-reviews-grid,
    .ccj-all-reviews-grid {
        width: calc(100% - 40px);
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ccj-featured-review-card {
        min-height: auto;
        padding: 30px 25px;
    }

        .ccj-featured-review-card > p {
            font-size: 17px;
        }

    .ccj-review-card {
        min-height: auto;
        padding: 28px 24px;
    }

    .ccj-testimonials-cta {
        padding: 20px 20px 80px;
    }

    .ccj-testimonials-cta-card {
        width: calc(100% - 32px);
        padding: 38px 26px;
        border-radius: 26px;
    }

    .ccj-testimonials-cta-actions {
        flex-direction: column;
    }

        .ccj-testimonials-cta-actions .ccj-primary-btn,
        .ccj-testimonials-cta-actions .ccj-secondary-btn {
            width: 100%;
        }
}
