.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(30, 115, 190, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.testimonials::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 115, 190, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonials .section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1E73BE;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    background: rgba(30, 115, 190, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.testimonials .section-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    color: #111827;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

.testimonials .section-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.testimonials-slider {
    position: relative;
    margin-bottom: 4rem;
}

.slider-container {
    overflow: hidden;
    border-radius: 16px;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
}

.testimonial-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    flex: 0 0 350px;
    min-height: 200px;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.slider-btn {
    width: 48px;
    height: 48px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6b7280;
}

.slider-btn:hover {
    border-color: #1E73BE;
    color: #1E73BE;
    transform: scale(1.05);
}

.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e5e7eb;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #1E73BE;
    transform: scale(1.2);
}

.testimonial-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    background: #1E73BE;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.125rem;
}

.reviewer-details h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.review-date {
    font-size: 0.875rem;
    color: #6b7280;
}

.rating {
    display: flex;
    gap: 2px;
}

.rating i {
    color: #fbbf24;
    font-size: 1rem;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #374151;
    margin: 0;
}

.google-rating-summary {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 600px;
    margin: 0 auto;
}

.google-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.google-logo i {
    font-size: 1.5rem;
    color: #4285f4;
}

.overall-rating {
    text-align: center;
}

.rating-score {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.25rem;
}

.overall-rating .rating-stars {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-bottom: 0.25rem;
}

.overall-rating .rating-stars i {
    color: #fbbf24;
    font-size: 1.125rem;
}

.rating-count {
    font-size: 0.875rem;
    color: #6b7280;
}

@media screen and (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .testimonials .section-title {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    .testimonials {
        padding: 80px 0;
    }
    
    .testimonials-container {
        padding: 0 1rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonials .section-title {
        font-size: 2rem;
    }
    
    .google-rating-summary {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .testimonial-card {
        padding: 1.25rem;
    }
    
    .testimonials .section-title {
        font-size: 1.75rem;
    }
}
