/* Testimonials Grid Styles */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-item {
    height: 100%;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.testimonial-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.clinic-icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.clinic-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
}

.testimonial-content {
    flex: 1;
    position: relative;
    margin-bottom: 1.5rem;
}

.quote-icon {
    position: absolute;
    top: -10px;
    left: -10px;
    color: var(--color-accent);
    opacity: 0.3;
}

.testimonial-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    font-style: italic;
}

.testimonial-footer {
    border-top: 1px solid #eee;
    padding-top: 1rem;
    margin-top: auto;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.author-position {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.testimonial-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* Responsive */
@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Hide the third testimonial on tablets */
    .testimonial-item:nth-child(3) {
        display: none;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Show only first testimonial on mobile */
    .testimonial-item:nth-child(2),
    .testimonial-item:nth-child(3) {
        display: none;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
}