/* =========================================================
   OFFBIT HOLIDAYS - TESTIMONIALS
========================================================= */

.testimonials-hero {
    position: relative;
    min-height: 560px;

    display: flex;
    align-items: center;

    background:
        url('/images/hero.jpg')
        center center / cover no-repeat;

    color: #fff;
}

.testimonials-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 45, 91, .92) 0%,
            rgba(0, 45, 91, .72) 48%,
            rgba(0, 45, 91, .28) 100%
        );
}

.testimonials-hero .container {
    position: relative;
    z-index: 2;
}

.testimonials-hero-content {
    max-width: 720px;
    padding: 90px 0;
}

.testimonials-kicker {
    display: inline-block;

    color: var(--primary);

    font-size: .78rem;
    font-weight: 700;

    letter-spacing: 2.5px;

    margin-bottom: 18px;
}

.testimonials-hero h1 {
    font-size: 3.8rem;
    line-height: 1.08;

    font-weight: 700;

    margin-bottom: 24px;
}

.testimonials-hero h1 span {
    color: var(--primary);
}

.testimonials-hero p {
    max-width: 620px;

    font-size: 1.08rem;
    line-height: 1.8;

    color: rgba(255,255,255,.88);

    margin-bottom: 30px;
}

.hero-rating {
    display: inline-flex;
    align-items: center;

    gap: 15px;

    padding: 13px 18px;

    background: rgba(255,255,255,.12);

    border: 1px solid rgba(255,255,255,.18);

    border-radius: 10px;

    backdrop-filter: blur(8px);
}

.hero-rating-stars {
    color: var(--primary);

    font-size: 18px;
    letter-spacing: 2px;
}

.hero-rating strong,
.hero-rating small {
    display: block;
}

.hero-rating strong {
    font-size: .9rem;
}

.hero-rating small {
    color: rgba(255,255,255,.7);

    font-size: .72rem;
}


/* =========================================================
   TRUST
========================================================= */

.testimonial-trust {
    position: relative;

    margin-top: -45px;

    z-index: 5;
}

.trust-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    background: #fff;

    border-radius: var(--radius);

    box-shadow: 0 8px 30px rgba(0,0,0,.10);

    overflow: hidden;
}

.trust-item {
    display: flex;
    align-items: center;

    gap: 14px;

    padding: 25px;

    border-right: 1px solid var(--border);
}

.trust-item:last-child {
    border-right: 0;
}

.trust-icon {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 10px;

    background: #fff3ed;

    color: var(--primary);

    font-size: 18px;
}

.trust-item strong,
.trust-item span {
    display: block;
}

.trust-item strong {
    color: var(--navy);

    font-size: 1.2rem;
}

.trust-item span {
    color: var(--text-muted);

    font-size: .78rem;
}


/* =========================================================
   INTRO
========================================================= */

.testimonial-intro {
    padding: 105px 0 65px;

    background: #fff;
}

.testimonial-intro-inner {
    max-width: 750px;
}

.testimonial-intro-inner > span {
    color: var(--primary);

    font-size: .78rem;
    font-weight: 700;

    letter-spacing: 2px;
}

.testimonial-intro h2 {
    color: var(--navy);

    font-size: 2.7rem;

    line-height: 1.2;

    font-weight: 700;

    margin: 13px 0 18px;
}

.testimonial-intro p {
    max-width: 650px;

    color: var(--text-muted);

    line-height: 1.8;

    margin: 0;
}


/* =========================================================
   FEATURED TESTIMONIAL
========================================================= */

.featured-testimonial {
    padding: 20px 0 85px;

    background: #fff;
}

.featured-card {
    display: grid;

    grid-template-columns: 45% 55%;

    min-height: 510px;

    overflow: hidden;

    background: #f8f9fa;

    border-radius: 16px;

    box-shadow: var(--shadow);
}

.featured-image {
    position: relative;

    min-height: 450px;
}

.featured-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.featured-location {
    position: absolute;

    left: 24px;
    bottom: 24px;

    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding: 9px 14px;

    background: #fff;

    border-radius: 8px;

    color: var(--navy);

    font-size: .8rem;
    font-weight: 600;

    box-shadow: var(--shadow-sm);
}

.featured-location i {
    color: var(--primary);
}

.featured-content {
    position: relative;

    padding: 65px 65px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-stars {
    color: var(--primary);

    letter-spacing: 2px;

    font-size: 17px;

    margin-bottom: 8px;
}

.featured-quote {
    position: absolute;

    top: 35px;
    right: 55px;

    color: #e8edf2;

    font-size: 100px;

    line-height: 1;

    font-family: Georgia, serif;
}

.featured-content blockquote {
    position: relative;
    z-index: 2;

    color: var(--navy);

    font-size: 1.55rem;

    line-height: 1.55;

    font-weight: 600;

    margin: 5px 0 18px;
}

.featured-description {
    color: var(--text-muted);

    font-size: .92rem;

    line-height: 1.8;

    max-width: 570px;
}

.featured-author {
    display: flex;
    align-items: center;

    gap: 13px;

    margin-top: 28px;
}

.author-avatar,
.review-avatar {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--navy);

    color: #fff;

    font-weight: 700;
}

.author-avatar {
    width: 48px;
    height: 48px;
}

.featured-author strong,
.featured-author span {
    display: block;
}

.featured-author strong {
    color: var(--navy);

    font-size: .9rem;
}

.featured-author span {
    color: var(--text-muted);

    font-size: .75rem;

    margin-top: 2px;
}


/* =========================================================
   REVIEWS
========================================================= */

.reviews-section {
    padding: 85px 0;

    background: var(--bg-light);
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: end;

    gap: 40px;

    margin-bottom: 38px;
}

.section-title > div span {
    color: var(--primary);

    font-size: .78rem;
    font-weight: 700;

    letter-spacing: 2px;
}

.section-title h2 {
    color: var(--navy);

    font-size: 2.2rem;

    margin: 8px 0 0;

    font-weight: 700;
}

.section-title > p {
    max-width: 390px;

    color: var(--text-muted);

    font-size: .9rem;

    margin: 0;

    line-height: 1.7;
}

.reviews-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.review-card {
    min-height: 285px;

    display: flex;
    flex-direction: column;

    padding: 28px;

    background: #fff;

    border: 1px solid var(--border);

    border-radius: 12px;

    box-shadow: var(--shadow-sm);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.review-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow);
}

.review-card-dark {
    background: var(--navy);

    border-color: var(--navy);

    color: #fff;
}

.review-top {
    display: flex;

    align-items: center;

    justify-content: space-between;
}

.review-stars {
    color: var(--primary);

    font-size: 15px;

    letter-spacing: 1px;
}

.review-destination {
    padding: 5px 10px;

    border-radius: 20px;

    background: #f3f5f7;

    color: var(--navy);

    font-size: .7rem;
    font-weight: 600;
}

.review-card-dark .review-destination {
    background: rgba(255,255,255,.1);

    color: #fff;
}

.review-text {
    flex: 1;

    color: var(--text-muted);

    font-size: .9rem;

    line-height: 1.8;

    margin: 25px 0;
}

.review-card-dark .review-text {
    color: rgba(255,255,255,.75);
}

.review-author {
    display: flex;
    align-items: center;

    gap: 12px;

    padding-top: 18px;

    border-top: 1px solid var(--border);
}

.review-card-dark .review-author {
    border-top-color: rgba(255,255,255,.12);
}

.review-avatar {
    width: 42px;
    height: 42px;

    font-size: .85rem;
}

.review-author strong,
.review-author span {
    display: block;
}

.review-author strong {
    color: var(--navy);

    font-size: .82rem;
}

.review-card-dark .review-author strong {
    color: #fff;
}

.review-author span {
    color: var(--text-muted);

    font-size: .7rem;

    margin-top: 2px;
}

.review-card-dark .review-author span {
    color: rgba(255,255,255,.55);
}


/* =========================================================
   IMAGE REVIEW
========================================================= */

.review-card-image {
    position: relative;

    padding: 0;

    min-height: 285px;

    overflow: hidden;

    border: 0;
}

.review-card-image > img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .4s ease;
}

.review-card-image:hover > img {
    transform: scale(1.05);
}

.review-image-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,45,91,.94),
            rgba(0,45,91,.08)
        );
}

.review-image-content {
    position: relative;
    z-index: 2;

    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: end;

    padding: 28px;

    color: #fff;
}

.review-image-content .review-destination {
    align-self: flex-start;

    margin-top: 9px;
}

.review-image-content p {
    font-size: .95rem;

    line-height: 1.65;

    margin: 14px 0 20px;
}

.review-image-content .review-author {
    padding-top: 15px;

    border-top-color: rgba(255,255,255,.2);
}


/* =========================================================
   WHY OFFBIT
========================================================= */

.testimonial-why {
    padding: 95px 0;

    background: #fff;
}

.why-label {
    color: var(--primary);

    font-size: .78rem;
    font-weight: 700;

    letter-spacing: 2px;
}

.testimonial-why h2 {
    color: var(--navy);

    font-size: 2.5rem;

    line-height: 1.2;

    margin: 12px 0 18px;
}

.testimonial-why > .container > .row > .col-lg-5 p {
    color: var(--text-muted);

    line-height: 1.8;

    max-width: 460px;
}

.why-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 16px;
}

.why-box {
    padding: 25px;

    border: 1px solid var(--border);

    border-radius: 12px;

    transition: all .25s ease;
}

.why-box:hover {
    border-color: rgba(255,90,0,.35);

    box-shadow: var(--shadow-sm);

    transform: translateY(-3px);
}

.why-box i {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 15px;

    border-radius: 9px;

    background: #fff3ed;

    color: var(--primary);
}

.why-box h4 {
    color: var(--navy);

    font-size: .95rem;

    margin-bottom: 7px;
}

.why-box p {
    color: var(--text-muted);

    font-size: .78rem;

    line-height: 1.65;

    margin: 0;
}


/* =========================================================
   FINAL CTA
========================================================= */

.testimonial-final-cta {
    padding: 90px 0;
    background: linear-gradient(
        135deg,
        #f1f7fc 0%,
        #e6f1fa 100%
    );
    color: #002d5b;
    text-align: center;
}

.final-cta-inner {
    max-width: 700px;

    margin: 0 auto;
}

.final-cta-inner > span {
    color: var(--primary);

    font-size: .78rem;
    font-weight: 700;

    letter-spacing: 2px;
}

.final-cta-inner h2 {
     color: #002d5b;
    font-size: 2.8rem;

    line-height: 1.2;

    font-weight: 700;

    margin: 12px 0 15px;
}

.final-cta-inner p {
     color: #64748b;

    max-width: 520px;

    margin: 0 auto 28px;

    line-height: 1.7;
}

.final-cta-inner .btn {
    padding: 13px 24px;
     background: #ff5a00;
    color: #fff !important;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .testimonials-hero {
        min-height: 500px;
    }

    .testimonials-hero h1 {
        font-size: 3rem;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-item:nth-child(2) {
        border-right: 0;
    }

    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-image {
        min-height: 350px;
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        display: block;
    }

    .section-title > p {
        margin-top: 12px;
    }

}


@media (max-width: 767px) {

    .testimonials-hero {
        min-height: 470px;
    }

    .testimonials-hero-content {
        padding: 70px 0;
    }

    .testimonials-hero h1 {
        font-size: 2.45rem;
    }

    .testimonials-hero p {
        font-size: .95rem;
    }

    .testimonial-trust {
        margin-top: -30px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-item {
        border-right: 0;

        border-bottom: 1px solid var(--border);
    }

    .trust-item:last-child {
        border-bottom: 0;
    }

    .testimonial-intro {
        padding: 75px 0 45px;
    }

    .testimonial-intro h2 {
        font-size: 2rem;
    }

    .featured-content {
        padding: 40px 28px;
    }

    .featured-content blockquote {
        font-size: 1.2rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-why {
        padding: 75px 0;
    }

    .testimonial-why h2 {
        font-size: 2rem;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .final-cta-inner h2 {
        font-size: 2.2rem;
    }

}


@media (max-width: 480px) {

    .testimonials-hero h1 {
        font-size: 2.15rem;
    }

    .hero-rating {
        width: 100%;
    }

    .featured-image {
        min-height: 280px;
    }

}