

.testimonials-container {
    max-width: 1200px;
    width: 100%;
    animation: testimonialFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes testimonialFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
.testimonials-header {
    text-align: center;
    margin-bottom: 80px;
    animation: slideInDown 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonials-header h2 {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.testimonials-header p {
    font-family: var(--font-body);
    font-size: 18px;
    color: rgba(118, 227, 220, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* Carousel Wrapper */
.testimonials-carousel-wrapper {
    perspective: 1200px;
    margin-bottom: 60px;
    overflow: hidden;
}

.testimonials-carousel {
    display: flex;
    gap: 24px;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

/* Testimonial Cards */
.testimonial-card {
    flex: 0 0 calc(50% - 12px);
    animation: cardFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

.testimonial-card:nth-child(1) { animation-delay: 0s; }
.testimonial-card:nth-child(2) { animation-delay: 0.1s; }
.testimonial-card:nth-child(3) { animation-delay: 0.2s; }
.testimonial-card:nth-child(4) { animation-delay: 0.3s; }
.testimonial-card:nth-child(5) { animation-delay: 0.4s; }

@keyframes cardFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px) rotateX(10deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

.testimonial-content {
    background: linear-gradient(135deg, rgba(13, 30, 30, 0.95) 0%, rgba(13, 30, 30, 0.8) 100%);
    border: 1px solid rgba(118, 227, 220, 0.3);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: 
        0 0 40px rgba(118, 227, 220, 0.15),
        0 20px 60px rgba(118, 227, 220, 0.1),
        inset 0 1px 2px rgba(118, 227, 220, 0.2);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    transform-style: preserve-3d;
}

.testimonial-content:hover {
    border-color: rgba(118, 227, 220, 0.5);
    box-shadow: 
        0 0 60px rgba(118, 227, 220, 0.25),
        0 30px 80px rgba(118, 227, 220, 0.15),
        inset 0 1px 2px rgba(118, 227, 220, 0.3);
    transform: translateY(-6px) rotateX(2deg);
}

/* Quote Icon */
.quote-icon {
    width: 48px;
    height: 48px;
    color: rgba(118, 227, 220, 0.6);
    transition: all 0.3s ease;
}

.testimonial-content:hover .quote-icon {
    color: rgba(118, 227, 220, 0.9);
    transform: scale(1.2) rotate(5deg);
}

.quote-icon svg {
    width: 100%;
    height: 100%;
}

/* Testimonial Quote */
.testimonial-quote {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin: 0;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.testimonial-content:hover .testimonial-quote {
    color: var(--color-white);
}

/* Author Section */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid rgba(118, 227, 220, 0.2);
    transition: border-color 0.3s ease;
}

.testimonial-content:hover .testimonial-author {
    border-top-color: rgba(118, 227, 220, 0.4);
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(118, 227, 220, 0.4);
    transition: all 0.3s ease;
}

.testimonial-content:hover .author-avatar {
    border-color: rgba(118, 227, 220, 0.7);
    box-shadow: 0 0 20px rgba(118, 227, 220, 0.3);
    transform: scale(1.08);
}

.author-info h4 {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-white);
    margin: 0;
    letter-spacing: -0.01em;
}

.author-info p {
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(118, 227, 220, 0.7);
    margin: 4px 0 0 0;
    transition: color 0.3s ease;
}

.testimonial-content:hover .author-info p {
    color: rgba(118, 227, 220, 0.9);
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(118, 227, 220, 0.15) 0%, rgba(118, 227, 220, 0.08) 100%);
    border: 1px solid rgba(118, 227, 220, 0.3);
    color: rgba(118, 227, 220, 0.8);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
}

.carousel-btn:hover {
    background: linear-gradient(135deg, rgba(118, 227, 220, 0.4) 0%, rgba(116, 200, 252, 0.3) 100%);
    border-color: var(--color-green);
    color: var(--color-white);
    box-shadow: 0 0 30px rgba(118, 227, 220, 0.6);
    transform: scale(1.12);
}

.carousel-btn:active {
    transform: scale(1.08);
}

/* Indicators */
.carousel-indicators {
    display: flex;
    gap: 12px;
}
.testimonials-section {
    padding: 50px 24px;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(118, 227, 220, 0.2);
    border: 1px solid rgba(118, 227, 220, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.indicator:hover {
    background: rgba(118, 227, 220, 0.4);
    border-color: rgba(118, 227, 220, 0.5);
    transform: scale(1.15);
}

.indicator.active {
    background: linear-gradient(135deg, #76e3dc 0%, #74c8fc 100%);
    border-color: rgba(118, 227, 220, 0.8);
    box-shadow: 0 0 12px rgba(118, 227, 220, 0.5);
    transform: scale(1.25);
}

/* Responsive */
@media (max-width: 1024px) {
    .testimonials-section {
        padding: 80px 24px;
    }

    .testimonial-card {
        flex: 0 0 calc(100% - 0px);
    }

    .carousel-controls {
        gap: 20px;
    }
}

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

    .testimonials-header {
        margin-bottom: 50px;
    }

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

    .testimonials-header p {
        font-size: 16px;
    }

    .testimonial-content {
        padding: 24px;
    }

    .carousel-controls {
        flex-wrap: wrap;
        gap: 16px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .testimonials-carousel,
    .testimonial-card,
    .testimonial-content,
    .carousel-btn,
    .indicator {
        transition: none ;
        animation: none ;
    }
}
