.testimonials__text {
    position: absolute;
    bottom: 240px;
    left: 0;
    width: 100%;
    padding: 50px 70px;
    background: #7C7E8A;
    box-sizing: border-box;
    pointer-events: none;
    opacity: 0;
    transition: ease 0.3s opacity;
    z-index: 2;
    text-align:justify;
}
.testimonials__text:before,
.testimonials__text:after {
    content: '“';
    display: block;
    position: absolute;
    color: #F7A600;
    font-weight: 900;
    font-size: 130px;
    line-height: 20px;
    font-family: "Heebo", sans-serif;
    flex-basis: 80px;
}
.testimonials__text:after {
    top: 80px;
    right: 10px;
    transform: rotateZ(180deg) scale(-1);
}
.testimonials__text:before {
    bottom: 0;
    left: 10px;
}
.testimonials__text *:last-child {
    margin: 0;
}
.testimonials__wrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 105px;
}
.testimonials__item:before {
    content: "";
    display: block;
    width: 22px;
    height: 22px;
    background: #F7A600;
    border-radius: 50%;
    margin: 0 auto;
}
.testimonials__vertical-devider {
    height: 250px;
    width: 1px;
    margin: 0 auto;
    background: #979797;
}
.testimonials__item:hover .testimonials__text {
    opacity: 1;
    pointer-events: all;
}
.testimonials__name {
    line-height: 1.2;
}
.testimonials__item:hover:after {
    transform: rotateZ(45deg) translate(-66px, 0px);
    width: 16px;
    height: 16px;
    content: "";
    display: block;
    position: absolute;
    bottom: 185px;
    background-color: #7C7E8A;
}
.testimonials__btn-next,
.testimonials__btn-prev {
    display: none;
}
@media (min-width: 991px) {
    .testimonials__item:nth-child(n + 6) {
        display: none;
    }
    .testimonials__item {
        width: auto !important;
        position: static !important;
        transform: none !important;
        margin: 0 !important;
    }
    .testimonials__wrapper {
        transform: none !important;
    }
}
@media (max-width: 992px) {
    .testimonials__wrapper {
        display: flex;
        gap: 0;
    }
    .testimonials__vertical-devider {
        height: calc(100% - 245px);
        position: absolute;
        top: 19px;
        width: 1px;
        left: 50%;
    }
    .testimonials__text {
        opacity: 1;
        bottom: 0;
        width: 100%;
        left: 0;
        padding: 67px 15px 58px;
        box-sizing: border-box;
        position: relative;
        margin-bottom: 50px;
    }
    .testimonials__btn-next,
    .testimonials__btn-prev {
        display: block;
        position: absolute;
        bottom: 35px;
        top: auto;
    }
    .testimonials__btn-next:after,
    .testimonials__btn-prev:after {
        font-size: 20px;
        color: #979797;
    }
    .testimonials__swiper {
        margin-inline: -15px;
    }
    .testimonials__item:before {
        margin-bottom: 33px;
    }
    .testimonials__item:after,
    .testimonials__item:hover:after{
        transform: rotateZ(45deg) translate(-10px, 0px);
        width: 16px;
        height: 16px;
        content: "";
        display: block;
        position: absolute;
        bottom: 215px;
        left: 50%;
        background-color: #7C7E8A;
    }
}