/* Google Reviews Slider Section */
.reviews-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.reviews-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.reviews-header {
    text-align: center;
    margin-bottom: 24px;
}

.reviews-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.google-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.google-logo {
    height: 40px;
    width: auto;
}

.reviews-verified-text {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Reviews Slider Container */
.reviews-slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.reviews-slider {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

/* Individual Review Card */
.review-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: calc(33.333% - 20px);
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: auto;
}

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

/* Reviewer Info */
.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.reviewer-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #2db4e1;
}

.reviewer-details {
    flex: 1;
}

.reviewer-name {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px 0;
    font-family: 'Montserrat', sans-serif;
}

.reviewer-rating {
    display: flex;
    gap: 3px;
}

.star {
    color: #fbbc04;
    font-size: 26px;
}

/* Review Content */
.review-content {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    font-family: 'Raleway', sans-serif;
    flex-grow: 1;
}

.review-content p {
    margin: 0;
    font-size: 13px;
}

/* Slider Navigation (Optional - for manual control) */
.slider-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    padding: 0;
}

.slider-dot.active {
    background-color: #2db4e1;
    transform: scale(1.3);
}

.slider-dot:hover {
    background-color: #2db4e1;
}

/* Responsive Design */
@media (max-width: 992px) {
    .review-card {
        flex: 0 0 calc(50% - 15px);
        min-width: calc(50% - 15px);
    }

    .reviews-header h2 {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .reviews-section {
        padding: 60px 0;
    }

    .review-card {
        flex: 0 0 calc(100% - 20px);
        min-width: calc(100% - 20px);
    }

    .reviews-header h2 {
        font-size: 26px;
    }

    .reviews-slider {
        gap: 20px;
    }

    .review-card {
        padding: 25px;
    }

    .google-logo {
        height: 30px;
    }
}

@media (max-width: 480px) {
    .reviews-section {
        padding: 40px 0;
    }

    .reviews-header h2 {
        font-size: 22px;
    }

    .review-card {
        padding: 20px;
    }

    .reviewer-photo {
        width: 50px;
        height: 50px;
    }

    .reviewer-name {
        font-size: 14px;
    }

    .review-content {
        font-size: 14px;
    }
}

/* Animation */
@keyframes slideReviews {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% - 30px));
    }
}

/* Auto-scroll animation will be controlled by JavaScript */
.reviews-slider.auto-scroll {
    animation: slideReviews 20s linear infinite;
}

.reviews-slider.auto-scroll:hover {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .review-card {
        flex: 0 0 calc(100% - 20px);
        min-width: calc(100% - 20px);
        flex: 0 0 calc(100% - -10px);
        min-width: calc(100% - 10px);
    }
}