/* Testimonials Animation Styles */

.testimonials-animate-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto;
}

.testimonials-animate-track {
    display: flex;
    width: max-content;
    animation-duration: 40s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.testimonial-animate {
    min-width: 280px;
    max-width: 300px;
    margin: 0 1rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    font-size: 1.1rem;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: space-between;
}

/* Left to right */
.testimonials-animate-track.left {
    animation-name: testimonials-slide-left;
    animation-delay: 0s;
}

@keyframes testimonials-slide-left {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Right to left */
.testimonials-animate-track.right {
    animation-name: testimonials-slide-right;
    animation-delay: -20s;
}

@keyframes testimonials-slide-right {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}