/* Testimonials Styles */

.testimonials {
    padding: 80px 0;
    background-color: #f9f5f8;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background-color: #fff;
    border-radius: 40px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.testimonial-text {
    font-family: var(--font-accent);
    font-style: italic;
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
    color: var(--medium-gray);
    margin-bottom: 20px;
}

.testimonial-author-container {
    display: flex;
    align-items: center;
}

.testimonial-author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.testimonial-author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author-info h4 {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.testimonial-author-info p {
    font-family: var(--font-secondary);
    font-size: var(--font-size-sm);
    color: var(--medium-gray);
    margin: 0;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slider .testimonial-item {
    text-align: center;
    padding: 40px;
}

.testimonial-slider .testimonial-text {
    font-size: var(--font-size-xl);
    margin-bottom: 30px;
}

.testimonial-slider .testimonial-author {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-base);
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-text {
        font-size: var(--font-size-base);
    }
    
    .testimonial-slider .testimonial-text {
        font-size: var(--font-size-lg);
    }
}