.testimonials-section {
    padding: 120px 0;
    background: white;
    overflow: hidden;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 80px;
}

.testimonials-left {
    flex: 1;
}

.testimonials-right {
    flex: 1;
    height: 500px;
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.testimonials-scroll-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    animation: scrollVertical 40s linear infinite;
}

/* Pause animation on hover */
.testimonials-right:hover .testimonials-scroll-container {
    animation-play-state: paused;
}

@keyframes scrollVertical {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.testimonial-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: scale(1.02);
    border-color: rgba(99, 102, 241, 0.2);
    background: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    font-size: 1.1rem;
    color: #0f172a;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 500;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-info h4 {
    margin: 0;
    color: #0d134b;
    font-size: 1rem;
    font-weight: 700;
}

.author-info p {
    margin: 0;
    color: #64748b;
    font-size: 0.85rem;
}

.stars {
    color: #fbbf24;
    margin-bottom: 12px;
    display: flex;
    gap: 2px;
}

@media (max-width: 968px) {
    .testimonials-container {
        flex-direction: column;
        gap: 60px;
        text-align: center;
    }
    .testimonials-left {
        width: 100%;
    }
    .testimonials-right {
        width: 100%;
        height: 400px;
    }
}
