/*--------------------------------------------------------------
# Testimonials Section - Modern Design
# Section témoignages avec design premium et couleurs tricolores
--------------------------------------------------------------*/

/* Section Container */
.testimonials-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #FF8200, #009B3A, transparent);
}

/* Section Header */
.section-header-testimonials {
    text-align: center;
    margin-bottom: 70px;
}

.section-header-testimonials .section-badge {
    display: inline-block;
    padding: 10px 28px;
    background: linear-gradient(135deg, #FF8200 0%, #009B3A 100%);
    color: #ffffff;
    border-radius: 30px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(255, 130, 0, 0.25);
}

.section-header-testimonials h2 {
    font-size: 48px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-header-testimonials h2 span {
    background: linear-gradient(135deg, #FF8200 0%, #009B3A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.section-header-testimonials p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Testimonials Carousel - Horizontal Scroll */
.testimonials-carousel {
    display: flex;
    gap: 35px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

/* Hide scrollbar */
.testimonials-carousel::-webkit-scrollbar {
    display: none;
}

/* Testimonial Card - Fixed width for scroll */
.testimonial-card {
    min-width: 420px;
    max-width: 420px;
    flex-shrink: 0;
    scroll-snap-align: start;
    background: #ffffff;
    border-radius: 20px;
    padding: 35px;
    border: 2px solid #f5f5f5;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF8200 0%, #ffffff 50%, #009B3A 100%);
    border-radius: 20px 20px 0 0;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 130, 0, 0.3);
}

/* Company Header */
.testimonial-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 10px;
}

.company-info-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.company-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FF8200 0%, #009B3A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 26px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(255, 130, 0, 0.3);
}

.company-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.sector-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 130, 0, 0.1), rgba(0, 155, 58, 0.1));
    color: #FF8200;
    padding: 4px 14px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 130, 0, 0.2);
}

.rating {
    display: flex;
    gap: 3px;
}

.rating i {
    color: #FFB800;
    font-size: 14px;
}

/* Quote Content */
.testimonial-content {
    position: relative;
    margin-bottom: 25px;
}

.quote-icon {
    font-size: 45px;
    color: rgba(255, 130, 0, 0.15);
    line-height: 1;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    font-style: italic;
    position: relative;
}

/* Author Footer */
.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.author-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #FF8200;
}

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

.author-info h5 {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 3px;
}

.author-info span {
    font-size: 13px;
    color: #777;
}

/* Navigation */
.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-top: 50px;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF8200 0%, #009B3A 100%);
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(255, 130, 0, 0.3);
}

.nav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 155, 58, 0.4);
}

.nav-dots {
    display: flex;
    gap: 10px;
}

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

.dot.active {
    background: linear-gradient(135deg, #FF8200 0%, #009B3A 100%);
    width: 32px;
    border-radius: 6px;
}

.dot:hover {
    background: #bbb;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .testimonial-card {
        min-width: 380px;
        max-width: 380px;
        padding: 30px;
    }
}

@media (max-width: 992px) {
    .testimonials-carousel {
        gap: 25px;
    }
    
    .testimonial-card {
        min-width: 350px;
        max-width: 350px;
    }
    
    .section-header-testimonials h2 {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 70px 0;
    }
    
    .testimonials-carousel {
        gap: 20px;
        padding: 0 15px;
    }
    
    .testimonial-card {
        min-width: 320px;
        max-width: 320px;
        padding: 25px;
    }
    
    .section-header-testimonials {
        margin-bottom: 50px;
    }
    
    .section-header-testimonials h2 {
        font-size: 32px;
    }
    
    .testimonial-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .rating {
        margin-top: 5px;
    }
}

@media (max-width: 576px) {
    .testimonials-section {
        padding: 60px 0;
    }
    
    .testimonials-carousel {
        padding: 0 10px;
    }
    
    .testimonial-card {
        min-width: 290px;
        max-width: 290px;
    }
    
    .section-header-testimonials h2 {
        font-size: 28px;
    }
    
    .section-header-testimonials p {
        font-size: 16px;
    }
    
    .company-logo {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    
    .company-info h4 {
        font-size: 16px;
    }
    
    .testimonial-text {
        font-size: 15px;
    }
    
    .nav-btn {
        width: 45px;
        height: 45px;
    }
}
