/* Testimonials Section Styles */

.testimonials-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    width: 100%;
    max-width: 350px;
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 5rem;
    font-family: var(--font-serif);
    color: var(--turquoise);
    opacity: 0.2;
    line-height: 1;
}

.stars {
    display: flex;
    margin-bottom: 1rem;
    color: #FFD700; /* Gold color for stars */
}

.quote {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    color: var(--gray-dark);
    line-height: 1.6;
}

.customer {
    font-weight: 600;
    color: var(--gray-dark);
    text-align: right;
}

/* Fade-in animations for testimonials */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.testimonial-card:nth-child(1) {
    animation: fadeIn 0.5s ease forwards;
}

.testimonial-card:nth-child(2) {
    animation: fadeIn 0.5s 0.3s ease forwards;
    animation-fill-mode: both;
}

.testimonial-card:nth-child(3) {
    animation: fadeIn 0.5s 0.6s ease forwards;
    animation-fill-mode: both;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonials-slider {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonial-card {
        margin-bottom: 1.5rem;
    }
    
    .testimonial-card:last-child {
        margin-bottom: 0;
    }
}