.testimonials {
    display: flex;
    justify-content: center;
    padding: 80px 0;
}

.testimonials .container {
    flex-direction: column;
    gap: 24px;
    @media screen and (min-width: 1440px) {
        width: 1016px;
    }
}

.testimonials .container .testimonials-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: none;
    gap: 26px;
}

.testimonials .container .testimonials-right {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    gap: 24px;
}

.testimonial {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border-radius: 16px;
    background-color: #FAFAFA;
}

.testimonial img {
    border-radius: 50%;
    background-color: #EBEBEB;
}

.testimonial .testimonial-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.testimonial .testimonial-wrapper .name-description {
    display: flex;
    flex-direction: column;
}

.testimonial .testimonial-wrapper .name-description p {
    color: #190A51;
}

.testimonial .testimonial-wrapper .name-description span {
    font-size: 12px;
    color: #5A5A5A;
}

.testimonial .testimonial-wrapper p {
    font-style: italic;
    color: #5A5A5A;
}

.testimonial-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.testimonial-carousel .testimonial {
    display: none;
    transition: opacity 0.5s ease;
}

.testimonial-carousel .testimonial.active {
    display: flex;
}

.testimonial-carousel .testimonial {
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

@media screen and (min-width: 763px) {
    .testimonials .container {
        flex-direction: row;
    }

    .testimonials .container .testimonials-left {
        max-width: 332px;
        align-items: flex-start;
        justify-content: flex-start;
        text-align: start;
    }
}

@media screen and (min-width: 450px) {
    .testimonial {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        gap: 24px;
        padding: 32px;
        border-radius: 16px;
        background-color: #FAFAFA;
    }

    .testimonial .testimonial-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 16px;
    }
}