/* TESTIMONIALS SECTION */
.testimonials-section {
    padding: 100px 0;
    background: #fff5f5;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .testimonials-section {
    background: #0a0a0a;
}

.testimonials-header {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 50px;
}

.testimonials-header h2 {
    font-size: 48px;
    font-weight: 700;
    color: #000;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

[data-theme="dark"] .testimonials-header h2 {
    color: #fff;
}

.testimonials-header p {
    font-size: 18px;
    color: #888;
}

.testimonials-track-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    overflow: hidden;
}

.testimonials-viewport {
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
    width: max-content;
}

.testimonial-card {
    flex: 0 0 280px;
    background: #fff;
    border-radius: 18px;
    padding: 28px;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 6px 25px rgba(0,0,0,0.05);
    border: 1px solid transparent;
}

[data-theme="dark"] .testimonial-card {
    background: #1a1a1a;
    border-color: #2a2a2a;
}

.testimonial-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-color: rgba(0,0,0,0.05);
}

[data-theme="dark"] .testimonial-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.testimonial-quote {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 22px;
    color: #f0e0e0;
}

[data-theme="dark"] .testimonial-quote {
    color: #333;
}

.testimonial-text {
    font-size: 13px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 16px;
    font-style: italic;
}

[data-theme="dark"] .testimonial-text {
    color: #b0b0b0;
}

.testimonial-rating {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.testimonial-rating i {
    font-size: 12px;
    color: #f5c518;
}

[data-theme="dark"] .testimonial-rating i {
    color: #ffd700;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

[data-theme="dark"] .testimonial-author {
    border-top-color: #2a2a2a;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff5f5;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
    flex-shrink: 0;
}

[data-theme="dark"] .testimonial-avatar {
    border-color: #2a2a2a;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin-bottom: 2px;
}

[data-theme="dark"] .testimonial-info h4 {
    color: #fff;
}

.testimonial-info p {
    font-size: 11px;
    color: #888;
}

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

.testimonials-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    background: #fff;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="dark"] .testimonials-nav-btn {
    border-color: #333;
    background: #1a1a1a;
    color: #fff;
}

.testimonials-nav-btn:hover {
    border-color: #000;
    color: #000;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

[data-theme="dark"] .testimonials-nav-btn:hover {
    border-color: #fff;
}

.testimonials-dots {
    display: flex;
    gap: 8px;
}

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

[data-theme="dark"] .testimonials-dot {
    background: #333;
}

.testimonials-dot.active {
    background: #000;
    transform: scale(1.3);
}

[data-theme="dark"] .testimonials-dot.active {
    background: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
    .testimonial-card {
        flex: 0 0 260px;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 80px 0;
    }

    .testimonials-header h2 {
        font-size: 32px;
    }

    .testimonials-track-wrapper {
        padding: 0 30px;
    }

    .testimonial-card {
        flex: 0 0 240px;
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .testimonials-header {
        padding: 0 20px;
    }

    .testimonials-track-wrapper {
        padding: 0 20px;
    }

    .testimonial-card {
        flex: 0 0 220px;
    }

    .testimonials-nav {
        margin-top: 30px;
        gap: 12px;
    }

    .testimonials-nav-btn {
        width: 40px;
        height: 40px;
    }
}