/* ============================ */
/* ===== REVIEWS SECTION ====== */
/* ============================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');


.reviews-section {
    width: 100%;
    padding: 40px 0;
    font-family: 'Inter', sans-serif !important;
}

.reviews-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.section-title {
    font-family: 'inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
    display: inline-block;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 25%;
    width: 100px;
    height: 15px;
    background-color: #FFD700;
    z-index: -1;
    border-radius: 5px;
}

.reviews-wrapper {
    overflow: hidden;
    position: relative;
}

.reviews-container {
    display: flex;
    gap: 30px;
    /* Space between cards */
    transition: transform 0.5s ease-in-out;
}

.review-card {
    /* --- KEY CHANGE FOR RESPONSIVENESS --- */
    /* On desktop, show 3 cards. The calculation accounts for the gap. */
    flex: 0 0 calc((100% / 3) - (30px * 2 / 3));

    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.review-card.blue {
    background-color: #3B8AC9;
    color: #FFFFFF;
}

.testimonial {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 2px solid #EAEAEA;
}

.review-card.blue .testimonial {
    border-bottom: 2px solid #5A9FD8;
}

.quote-icon {
    font-size: 6rem;
    font-weight: 900;
    color: #FFD700;
    line-height: 1;
    position: absolute;
    top: -20px;
    left: 0;
}

.review-card.blue .quote-icon {
    color: #FFFFFF;
    opacity: 0.8;
}

.review-text {
    font-family: 'inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 50px;
}

.reviewer-info {
    display: flex;
    align-items: center;
}

.review-card:hover {
    cursor: grab;
}

.reviewer-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.reviewer-details {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-family: 'inter', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

.review-card.blue .reviewer-name {
    color: #FFD700;
}

.reviewer-title {
    font-family: 'inter', sans-serif;
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.review-card.blue .reviewer-title {
    color: #EAEAEA;
}

.slider-dots {
    margin-top: 40px;
    display: none;
    /* Hide dots for now, as they don't map well to a 1-by-1 slide */
}

/* --- RESPONSIVE STYLES --- */

/* For Tablets: Show 2 cards */
@media (max-width: 1024px) {
    .review-card {
        flex: 0 0 calc((100% / 2) - (30px / 2));
    }
}

/* For Mobile: Show 1 card */
@media (max-width: 767px) {
    .reviews-container {
        gap: 20px;
    }

    .review-card {
        flex: 0 0 100%;
    }
}