/* Reviews Section Styles */

.reviews-section {
    background: #ffffff;
    padding: 5rem 0;
    overflow: hidden;
    position: relative;
}

.reviews-section .section-header {
    text-align: center;
}

.reviews-section .section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #02823A;
    margin-bottom: 1rem;
}

.reviews-section .section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Slider Container */
.reviews-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
}

.reviews-track {
    display: flex;
    gap: 2rem;
    animation: scroll-left 40s linear infinite;
    width: fit-content;
}

.reviews-track:hover {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .reviews-track {
        animation: none;
        overflow-x: auto;
    }
}

/* Review Card */
.review-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    min-width: 400px;
    max-width: 400px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(16, 24, 20, 0.09);
}

/* Stars */
.review-stars {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.review-stars i {
    color: #ffc107;
    font-size: 1.2rem;
}

/* Review Text */
.review-text {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    min-height: 100px;
}

/* Review Author */
.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #02823A;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.review-author-info {
    flex: 1;
}

.review-author-name {
    font-weight: 700;
    color: #333;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.review-verified {
    font-size: 0.85rem;
    color: #02823A;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.review-verified i {
    font-size: 0.9rem;
}

/* Scroll Animation */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .reviews-section {
        padding: 3rem 0;
    }

    .review-card {
        min-width: 320px;
        max-width: 320px;
        padding: 1.5rem;
    }

    .review-text {
        font-size: 0.9rem;
        min-height: 80px;
    }

    .reviews-track {
        gap: 1.5rem;
        animation: scroll-left 30s linear infinite;
    }
}

@media (max-width: 480px) {
    .review-card {
        min-width: 280px;
        max-width: 280px;
        padding: 1.25rem;
    }

    .review-avatar {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}
