.testimonials4-container {
    padding: 125px 0 125px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 650px;
}

.testimonials4-header-text {
    font-size: 3rem;
    color: var(--dark-color);
    text-align: center;
    max-height: 40px;
}

.testimonials4-container .testimonial-text {
    text-align: center;
    color: var(--dark-color);
    font-weight: 500;
    font-size: 1.3rem;
    overflow-y: auto;
}

.testimonials4-container .testimonial-author {
    text-align: center;
    color: var(--dark-color);
    font-weight: 300;
}

.testimonials4-container .testimonial-wrapper {
    display: flex;
    flex-direction: column-reverse;
    overflow: hidden;
    justify-content: center;
    gap: 10px;
}

.testimonials4-container .testimonial-block {
    max-width: 60% !important;
    min-width: 30% !important;
    height: 300px;
    background-color: white;
    padding: 50px 30px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.testimonials4-container [data-indicator] {
    height: 5px;
    width: 5px;
    margin: 5px;
    background-color: #6e6f74;
    border-radius: 50%;
    display: inline-block;
    transition: all .3s;
    cursor: pointer;
}

.testimonials4-container [data-indicator].active {
    height: 10px;
    width: 10px;
    background-color: var(--dark-color);
}

.testimonials4-container .next-testimonial-button, .testimonials4-container .prev-testimonial-button {
    padding: 10px;
    cursor: pointer;
    color: var(--dark-color);
}

.testimonials4-container .indicator-wrapper {
    max-height: 30px;
    margin-top: auto !important;
}

@media (max-width: 768px) {
    .testimonials4-header-text, .testimonials4-container .testimonial-text, .testimonials4-container .testimonial-author {
        text-align: left;
    }

    .testimonials4-container .testimonial-text {
        padding-left: 0;
        padding-right: 0;
    }

    .testimonials4-container {
        padding: 30px 0 30px !important;
        height: 460px;
    }

    .testimonials4-container .testimonial-wrapper {
        flex-direction: column;
    }

    .testimonials4-container .testimonial-block {
        max-width: none !important;
        width: 75% !important;
        margin-left: 10px;
        margin-right: 10px;
    }
}

@media (max-width: 576px) {
    .testimonials4-container .testimonial-block {
        width: 100% !important;
    }
}