/* Styles pour le carrousel des témoignages */

.testimonials-carousel {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    margin: 30px 0;
}

.testimonials-container {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    flex: 0 0 100%;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0.7;
    transform: scale(0.9);
    transition: all 0.5s ease;
}

.testimonial-card.active {
    opacity: 1;
    transform: scale(1);
}

.testimonial-content {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-bottom: 30px;
}

.testimonial-content::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 30px;
    width: 30px;
    height: 30px;
    background-color: #fff;
    transform: rotate(45deg);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.05);
}

.testimonial-content p {
    font-style: italic;
    margin: 0;
    position: relative;
    z-index: 1;
}

.testimonial-content p::before {
    content: '\201C';
    font-size: 60px;
    color: var(--primary-light);
    position: absolute;
    top: -30px;
    left: -10px;
    z-index: -1;
    opacity: 0.5;
}

.testimonial-author {
    display: flex;
    align-items: center;
    padding-left: 20px;
}

.testimonial-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.testimonial-info {
    margin-left: 15px;
}

.testimonial-info h4 {
    margin: 0 0 5px;
    color: var(--primary);
}

.testimonial-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 15px;
}

.carousel-control {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid var(--primary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-control:hover {
    background-color: var(--primary);
    color: #fff;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

@media (min-width: 768px) {
    .testimonials-container {
        display: flex;
    }
    
    .testimonial-card {
        flex: 0 0 33.333%;
    }
}

@media (max-width: 767px) {
    .testimonial-card {
        flex: 0 0 100%;
    }
}
