/* ============================================
   TESTIMONIAL SECTION
============================================ */
.testimonial-wrapper {
    background: #F9F9F9;
    padding: 80px 0;
    overflow: hidden;
    /* Prevent horizontal scrollbar on body */
}

.testimonial-container {
    max-width: 100%;
    /* Allow full width for marquee */
    margin: 0 auto;
    padding: 0;
    /* Remove padding to let marquee touch edges */
}

.testimonial-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
    /* Keep header contained */
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--charcoal);
}

.rating-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.rating-box .stars {
    color: #F5A623;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.rating-score {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1;
}

.rating-score sup {
    font-size: 1.2rem;
    color: #666;
    font-weight: 500;
}

.rating-label {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rating-source {
    font-size: 0.85rem;
    color: #888;
}

/* Marquee Styles */
.testimonial-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    /* Mask for fade effect on edges */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonial-track {
    display: flex;
    width: max-content;
    gap: 2rem;
    /* Will be animated by GSAP */
}

.review-card {
    width: 400px;
    /* Fixed width for consistent spacing */
    flex-shrink: 0;
    background: white;
    padding: 2.5rem;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 300px;
    /* Fixed height for uniformity */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.review-card .review-stars {
    color: #F5A623;
    font-size: 1rem;
    letter-spacing: 2px;
}

.review-source {
    font-size: 0.8rem;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.review-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    font-style: italic;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.review-author {
    display: flex;
    flex-direction: column;
}

.review-author-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 2px;
}

.review-author strong {
    font-size: 1rem;
    color: var(--charcoal);
}

.cta-section {
    text-align: center;
    margin-top: 60px;
}

.cta-text {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.cta-link {
    color: var(--saffron-orange);
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--saffron-orange);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.cta-link:hover {
    color: #d48806;
    border-color: #d48806;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonial-title {
        font-size: 2.5rem;
    }

    .review-card {
        width: 300px;
        height: auto;
        padding: 2rem;
    }

    .review-text {
        font-size: 1rem;
    }
}