/* Testimonials Section - Carousel Design */
.testimonials-section {
    padding: 60px 5% 80px;
    position: relative;
    z-index: 2;
    overflow: hidden;
    background: transparent;
}

/* Section Header */
.testimonials-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-section .section-subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-text);
    margin-bottom: 0.5rem;
}

.testimonials-section .section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--dark-text);
}

body.dark-theme .testimonials-section .section-title {
    color: var(--light-text);
}

/* Carousel Container */
.testimonials-carousel {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
}

/* Carousel Track */
.testimonials-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Testimonial Cards */
.testimonial-card {
    background: #ffffff;
    border: 1px solid rgba(28, 55, 101, 0.1);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    flex: 0 0 calc(33.333% - 1.5rem);
    min-width: 320px;
}

body.dark-theme .testimonial-card {
    background: var(--dark-card);
    border-color: rgba(72, 145, 86, 0.2);
}

/* Hover effects removed for cleaner experience */

/* Stars */
.testimonial-stars {
    color: #fbbf24;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    display: flex;
    gap: 0.2rem;
    position: relative;
    z-index: 1;
}

/* Testimonial Text */
.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    font-style: italic;
}

body.dark-theme .testimonial-text {
    color: var(--dark-text-light);
}

/* Quote icon */
.testimonial-text::before {
    content: '"';
    position: absolute;
    top: -15px;
    left: -10px;
    font-size: 4rem;
    color: rgba(91, 141, 238, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
    z-index: -1;
}

body.dark-theme .testimonial-text::before {
    color: rgba(72, 145, 86, 0.15);
}

/* Author Section */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.author-info h4 {
    font-weight: 600;
    color: var(--dark-text);
    font-size: 0.95rem;
    margin: 0 0 0.2rem 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-theme .author-info h4 {
    color: var(--light-text);
}

/* Gradient author name hover effects removed */

.author-info p {
    font-size: 0.8rem;
    color: var(--gray-text);
    margin: 0;
}

/* Carousel Navigation Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(91, 141, 238, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot:hover {
    background: rgba(91, 141, 238, 0.4);
}

.carousel-dot.active {
    width: 30px;
    border-radius: 5px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
}

body.dark-theme .carousel-dot {
    background: rgba(72, 145, 86, 0.3);
}

body.dark-theme .carousel-dot:hover {
    background: rgba(72, 145, 86, 0.5);
}

/* Responsive */
@media (max-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 1rem);
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 50px 5% 60px;
    }

    .testimonials-section .section-header {
        margin-bottom: 2rem;
    }

    .testimonial-card {
        flex: 0 0 calc(100% - 2rem);
        min-width: 260px;
        padding: 1.5rem;
    }

    .testimonials-carousel::after {
        width: 80px;
    }

    .testimonials-track {
        gap: 1.5rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    .carousel-dots {
        margin-top: 2rem;
    }
}