.testimonials__right {
    position: relative;
    padding: 60px 22px;
}

.testimonials__right__bg {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-slider {
    position: relative;
    z-index: 1;
    padding: 0 0 75px;
}

.testimonial-item {
    padding: 35px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.4);
    min-height: 394px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-item:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(30px);
    z-index: -1;
}

.testimonial-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.testimonial-item h3 span {
    display: block;
    font-size: 16px;
    color: #EDFAFF;
    font-weight: 600;
    margin: 8px 0 0;
}

.testimonial__quote-icon {
    margin: 0 0 25px;
}

.testimonial-item p {
    font-size: 20px;
    color: #fff;
    font-weight: 600;
    line-height: 1.5em;
    margin: 0;
}

.testimonial-slider .slick-arrow {
    border-color: #fff;
    background: #0000004f;
}

.testimonial-slider .slick-arrow:before {
    color: #fff;
}

.testimonials__left__wrapper {
    text-align: center;
    padding: 0 22px 35px;
}

.testimonials__ratings {
    border-radius: 12px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 12px;
    padding: 25px 14px;
    background: linear-gradient(90deg, rgba(236, 250, 255, 1) 0%, rgba(219, 243, 251, 1) 100%);
    margin: 0 0 20px;
}

.testimonials__ratings:before {
    content: "";
    position: absolute;
    left: 2px;
    top: 2px;
    border-radius: 12px;
    z-index: -1;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    background: linear-gradient(90deg, #FFFFFF 4.02%, #EDFAFF 107.33%);
}

.testimonials__ratings ul {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    gap: 6px;
}

.testimonials__ratings ul li {
    padding: 0;
    margin: 0;
}

.testimonials__ratings ul li:before {
    display: none;
}

.testimonials__ratings ul li i {
    font-size: 21px;
    color: #FFC200;
}

.testimonials__ratings h3 {
    background: linear-gradient(107.1deg, #71BFFF 4.02%, #0071CE 107.33%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 40px;
    font-weight: 600;
    margin: 0;
    line-height: 1em;
}

.testimonials__action__btns {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.testimonials__action__btns .btn {
    width: max-content;
}

.testimonial-slider .slick-arrow {
    border: none;
}

.testimonial-slider .slick-arrow::after {
    background: linear-gradient(135deg, var(--white), var(--white));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: add, add;
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.testimonial-item__bottom {
    max-height: 180px;
    overflow: hidden;

    .scroll-content {
        padding-right: 15px;
    }
    
    .scrollbar-track-y {
        opacity: 1;
        border-radius: 10px;
        overflow: hidden;
    }

    .scrollbar-thumb {
        background: linear-gradient(107deg, #71BFFF 4.02%, #0071CE 107.33%);
        overflow: hidden;
    }
}

.testimonials__upper-content {
    max-width: 1080px;
    margin: 0 auto;
    text-align: center;
}

.testimonials__list {
    margin-top: 50px;
}

.testimonials--grid .testimonial-item {
    margin-bottom: 32px;
    background: var(--light-blue-linear);
}

.testimonials--grid .testimonials__list {
    justify-content: center;
}

.testimonials--grid {
    .testimonial-item h3,
    .testimonial-item p {
        color: var(--near-black);
    }

    .testimonial-item__bottom {
        .scrollbar-thumb {
            opacity: 0.5;
        }
    }
}

.testimonials__quote-icon {
    font-size: 50px;
    opacity: 0.5;
    margin-bottom: 30px;
    background: var(--middle-linear, linear-gradient(107deg, var(--medium-light-blue, #71BFFF) 4.02%, var(--bright-blue, #0071CE) 107.33%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media(min-width: 768px) {
    .testimonials__left__wrapper {
        padding: 0 52px 45px;
    }

    .testimonials__ratings {
        padding: 25px;
    }

    .testimonials__ratings h3 {
        background: linear-gradient(90deg, #0071CE 0%, #004883 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .testimonials__action__btns {
        flex-direction: row;
    }

    .testimonials__right {
        padding: 75px 52px;
    }

    .testimonial-slider .slick-slide {
        margin: 0 16px;
    }

    .testimonial-slider {
        margin: 0 -16px;
    }

    .testimonial-item {
        padding: 35px 29px 35px 35px;
    }
}

@media(min-width: 1200px) {
    .testimonials {
        gap: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .testimonials__left__wrapper {
        padding: 0 63px 0 66px;
        max-width: 584px;
        margin-left:auto;
        text-align: left;
    }

    .testimonials__left {
        width: 46%;
    }

    .testimonials__right {
        width: 54%;
        padding: 53px 0 53px 43px;
            position: relative;
        border-radius: 20px 0 0 20px;
        overflow: hidden;
        &:before {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: var(--near-black);
                opacity: 0.3;
                z-index: 1;
            }
    }

    .testimonials__action__btns {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .testimonials--grid .testimonials__action__btns {
        justify-content: center;
    }

    .testimonials__ratings {
        max-width: 393px;
        justify-content: flex-start;
        margin: 30px 0;
    }

    .testimonials--grid .testimonials__ratings {
        justify-content: center;
        margin: 30px auto;
    }

    .testimonial-slider .slick-slide {
        width: 392px;
    }

    .testimonial-item p {
        font-size: 18px;
    }

    .testimonial-slider .slick-next {
        right: unset;
        left: 82px;
        margin: 0;
    }

    .testimonial-slider .slick-prev {
        right: unset;
        left: 0;
        margin: 0;
    }


    .testimonial-slider {
        margin: 0;
    }

    .testimonial-slider .slick-arrow:hover::after {
        background: linear-gradient(135deg, var(--bright-red), var(--rich-red));
        -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        mask-composite: add, add;
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
    }

    .testimonial-slider .slick-arrow:hover::before {
        -webkit-text-fill-color: unset;
        color: var(--bright-red);
        background: none;
    }
}