
/* =====================================================
   TESTIMONIALS
===================================================== */

:root {
    --trustpilot-green: #00b67a;
}

.testimonials {
    padding: 80px 0;
    background: #f8fafc;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 50px;
}

.testimonials-header h2 {
    margin-bottom: 15px;
}

.testimonials-header p {
    max-width: 700px;
    margin: 0 auto;
    color: #666;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    display: flex;
    flex-direction: column;
    text-align: center;
    min-height: 380px;
}

.testimonial-stars {
    color: var(--trustpilot-green);
    font-size: 22px;
    margin-bottom: 15px;
    text-align: center;
}

.testimonial-review {
    font-size:17px;
    line-height:1.7;
    flex-grow:1;
    max-width:700px;
    margin:0 auto 25px;
    min-height: 120px;
}
.testimonial-source {
    color:#777;
    font-size:13px;
}
.testimonial-author {
    font-weight:700;
    font-size:17px;
    color:#222;
}

.testimonial-location {
    color:#777;
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:.5px;
}

.testimonial-meta {
    border-top: 1px solid #eee;
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.testimonial-badge {
    color: var(--trustpilot-green);
    font-size: 13px;
    font-weight: 600;
}

.testimonial-badge i {
    margin-right: 5px;
}

.testimonial-date {
    color: #888;
    font-size: 13px;
}

.trustpilot-footer {
    max-width: 700px;
    margin: 40px auto 0;
    padding: 20px 30px;
    border-top: 1px solid #eeeeee;
    background: #ffffff;
}

.trustpilot-footer iframe {
    margin: 0 auto;
}

.testimonial-person {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap:12px;
    margin:25px 0;
    text-align: center;
}

.testimonial-avatar {
    width:60px;
    height:60px;
    border-radius:50%;
    background:#00b67a;
    color:#fff;
    font-weight:700;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    flex-shrink:0;
}

.testimonial-person-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonials-slider {
    padding-bottom: 60px;
}

.swiper-button-prev,
.swiper-button-next {
    display: none !important;
}

.swiper-pagination {
    margin-top:20px;
    position: relative !important;
}

.swiper-pagination-bullet-active {
    background: #00b67a;
}

@media (max-width: 991px) {

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 767px) {

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .trustpilot-compact-branding {
        display: none;
    }

    .trustpilot-compact-layout {
        grid-template-columns: 1fr;
    }

    .trustpilot-compact-review-column {
        width: 100%;
    }
}

.partner-testimonial {
    background: #f7f8fa;
    padding: 100px 20px;
    text-align: center;
}

.partner-testimonial blockquote {
    max-width: 900px;
    margin: 0 auto 30px;

    font-size: 34px;
    line-height: 1.5;

    color: #0c2d6b;
    font-weight: 600;
}

.partner-testimonial cite {
    font-size: 18px;
    color: #666;
}

/* =====================================================
   TRUSTPILOT COMPACT
===================================================== */

.tca-testimonials-compact {
    width: 100%;
    background: #fff;
    margin-bottom: 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.trustpilot-compact-layout {
    max-width: 100%;
    display: grid;
    grid-template-columns: 40% 60%;
    align-items: stretch;
}

.trustpilot-compact-branding {
    background: #0e5b3a;
    color: #ffffff;
    padding: 40px;
    min-width: 350px;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.trustpilot-logo {
    width: 400px;
    height: auto;
    margin-bottom: 20px;
}

.trustpilot-stars {
    color: #00b67a;
    font-size: 28px;
    margin-bottom: 15px;
}

.trustpilot-review-count {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 15px;
}

.trustpilot-description {
    text-align: center;
    max-width: 320px;
}

.trustpilot-compact-review-column {
    background: #ffffff;
    padding: 40px 80px;
    min-height: 300px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}
.compact-review-card {
    max-width: 900px;
    margin: 0 auto;
}
.tca-compact-slider {
    width: 100%;
    min-width: 0;
}

.tca-compact-slider .swiper-slide {
    width: 100% !important;
}
.review-stars {
    color: var(--trustpilot-green);
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
}

.review-text {
    font-size: 24px;
    max-width: 700px;
    line-height: 1.6;
    text-align: center;
    margin: 0 auto 30px;
    color: #263238;
}

.review-person {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--trustpilot-green);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-person-details {
    display: flex;
    flex-direction: column;
}

.review-name {
    font-weight: 700;
}

.review-badge {
    color: var(--trustpilot-green);
    font-size: 13px;
}

.review-date {
    color: #777;
    font-size: 13px;
}

.compact-trustpilot-widget {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    text-align: center;
    min-height: 24px;
    transform: scale(.90);
}

@media (max-width: 991px) {

    .trustpilot-compact-layout {
        grid-template-columns: 1fr;
    }

    .trustpilot-compact-branding,
    .trustpilot-compact-review-column {
        min-height: auto;
    }

}

/* Hide Trustpilot compact section on tablets and phones */
@media screen and (max-width: 1024px) {

    .tca-testimonials-compact {
        display: none !important;
    }

}