/* Styles spécifiques pour la section témoignages */

/* Style pour le titre et l'introduction de la section */
#temoignages h2 {
    color: var(--text-light);
    text-shadow: 0 0 10px rgba(110, 159, 255, 0.3);
}

#temoignages .lead.text-muted {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 300;
    letter-spacing: 0.01em;
    text-shadow: 0 0 3px rgba(110, 159, 255, 0.2);
}

/* Structure des cartes de témoignages */
#temoignages .card {
    display: flex;
    flex-direction: column;
    background-color: rgba(30, 40, 70, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(110, 159, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(110, 159, 255, 0.1);
    transition: all 0.3s ease;
}

#temoignages .card:hover {
    background-color: rgba(40, 50, 80, 0.7);
    border-color: rgba(110, 159, 255, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 20px rgba(110, 159, 255, 0.2);
    transform: translateY(-5px);
    animation: subtle-glow 3s ease-in-out infinite alternate;
}

#temoignages .card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

/* Style pour la citation */
#temoignages .fa-quote-left {
    color: var(--primary-color);
    opacity: 0.8;
    filter: drop-shadow(0 0 5px rgba(110, 159, 255, 0.5));
}

/* Style pour le texte du témoignage */
#temoignages .card-text {
    flex-grow: 1;
    color: var(--text-light);
    text-shadow: 0 0 2px rgba(110, 159, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px; /* Hauteur minimale pour uniformiser les cartes */
    color: rgba(255, 255, 255, 0.9); /* Texte plus clair pour une meilleure lisibilité */
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

/* Style pour la section auteur */
.testimonial-author {
    margin-top: auto;
    border-top: 1px solid rgba(110, 159, 255, 0.2);
    padding-top: 15px;
}

.testimonial-info .small.text-muted {
    color: rgba(255, 255, 255, 0.75) !important;
    text-shadow: 0 0 2px rgba(110, 159, 255, 0.2);
}

/* Style pour l'avatar */
.testimonial-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.testimonial-avatar .fa-user-circle {
    filter: drop-shadow(0 0 3px rgba(110, 159, 255, 0.5));
    transition: all 0.3s ease;
}

#temoignages .card:hover .testimonial-avatar .fa-user-circle {
    filter: drop-shadow(0 0 5px rgba(110, 159, 255, 0.8));
    transform: scale(1.05);
}

/* Style pour les informations de l'auteur */
.testimonial-info {
    flex: 1;
}

/* Style pour le nom de l'auteur */
.testimonial-info h4 {
    color: var(--text-light);
    font-weight: 600;
    transition: color 0.3s ease;
}

/* Style pour le poste/entreprise de l'auteur */
.testimonial-info .small.text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
    transition: color 0.3s ease;
}

/* Effet au survol de la carte */
#temoignages .card:hover .testimonial-info h4 {
    color: var(--primary-color);
}

#temoignages .card:hover .testimonial-info .small.text-muted {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Responsive */
@media (max-width: 768px) {
    #temoignages .card-text {
        min-height: auto;
    }
}