.testimonial {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a237e, #0d47a1);
    position: relative;
    overflow: hidden;
}

/* Effet de particules en arrière-plan */
.testimonial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
}

.testimonial-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonial-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    animation: fadeInUp 0.6s ease backwards;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 120px;
    color: rgba(255, 255, 255, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-text {
    color: #fff;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    position: relative;
}

.testimonial-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.testimonial-card:hover .profile-image {
    transform: scale(1.1);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    flex: 1;
}

.client-name {
    color: #fff;
    font-size: 1.2em;
    font-weight: 600;
    margin: 0;
}

.client-title {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
    margin-top: 5px;
}

.stars {
    display: flex;
    gap: 5px;
    margin-top: 10px;
}

.stars ion-icon {
    color: #ffd700;
    font-size: 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-card:nth-child(1) { animation-delay: 0.2s; }
.testimonial-card:nth-child(2) { animation-delay: 0.4s; }
.testimonial-card:nth-child(3) { animation-delay: 0.6s; }

/* Responsive Design */
@media (max-width: 992px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonial {
        padding: 60px 0;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-card {
        padding: 30px;
    }
} 