.testimonials {
    position: relative;
    z-index: 5;
}

.testimonials__top {
    padding-bottom: 60px;
    position: relative;
}

.testimonials__heading {
    background: #DDE7F2;
    border-radius: 20px 40px 80px 20px;
    padding: 44px 25px;
}

.testimonials__heading h2 {
    margin: 0;
    font-size: 25px;
}

.testimonials__heading .sub-heading {
    margin: 0 0 20px;
    font-size: 30px;
    line-height: 1.5em;
}

.testimonials__heading-content {
    margin-top: 30px;
    text-align: center;
}

.testimonials__wrap {
    position: relative;
    background: #F7F9FC;
    padding-bottom: 63px;
    z-index: 1;
}

.testimonials-bg {
    width: 100%;
    height: 300px;
}

.testimonials__content {
    position: relative;
    margin-top: -108px;
}

.testimonial {
    background: #FFFFFF;
    box-shadow: 0px 4px 20px 10px rgba(23, 37, 73, 0.03);
    border-radius: 20px 20px 80px 40px;
    padding: 45px 30px 30px;
    position: relative;
}

.testimonial:before {
    content: '\e90f';
    font-family: 'Village-Caregiving';
    position: absolute;
    top: -27px;
    left: 30px;
    font-size: 47px;
    color: #FBC4C5;
    font-weight: normal;
    z-index: 1;
}

.testimonial__stars {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 8px;
    font-size: 25px;
    font-weight: normal;
    color: var(--blue);
    margin-bottom: 16px;
}

.testimonial__bottom span {
    display: block;
    font-family: "Nothing You Could Do", cursive;
    font-weight: 400;
    font-size: 22px;
    line-height: 1em;
    color: var(--text);
    -webkit-text-stroke: 1px var(--text);
    margin-top: 20px;
}

.testimonials__btn {
    padding-top: 40px;
    text-align: center;
}

.testimonials__btn .btn {
    padding-right: 58px;
}

.testimonials__btn .btn-tertiary::after {
    right: 12px;
}

.testimonials__btn .btn::before {
    content: '\e907';
    font-family: 'Village-Caregiving';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
    font-weight: normal;
    font-size: 29px;
    color: rgba(240, 51, 55, 0.5);
}

.logo-icon {
    position: absolute;
    left: 50%;
    bottom: -44px;
    transform: translate(-50%, 0);
    max-width: 83px;
    height: auto;
}

.testimonial-slider-wrap {
    padding-bottom: 60px;
    margin: -20px;
}

.testimonial-slider-wrap .slick-slide {
    padding: 20px;
}

.dot-glow {
    position: absolute;
    right: 0;
    top: -201px;
    width: 558px;
    height: 558px;
    border-radius: 50%;
    opacity: 0.65;
    background: radial-gradient(50% 50% at 50% 50%, #FBC1C3 0%, #F2E3E8 50.96%, #FEF5F5 100%);
    z-index: -1;
}

.bg-soft-blue .dot-glow {
    opacity: 1;
    background: radial-gradient(50% 50% at 50% 50%, #BFCFE1 0%, #DDE7F4 62.02%, #EBF0F7 100%);
}

.testimonial-slider-wrap .slick-track {
    display: flex;
}

.testimonial-slider-wrap .slick-slide,
.testimonial-slider-wrap .slick-slide .testimonial div{
    height: auto;
}

.testimonial-slider-wrap .slick-slide div {
    height: 100%;
}

.testimonials-top-glow {
    position: absolute;
    bottom: calc(-161px / 2);
    right: 0;
    width: 161px;
    height: 161px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(251, 193, 195, 0.6) 0%, rgba(242, 227, 232, 0.3) 50%, rgba(254, 245, 245, 0) 100%);
    filter: blur(16px);
    pointer-events: none;
    z-index: -1;
}

.testimonials.bg-soft-blue .testimonials-top-glow {
    background: radial-gradient(50% 50% at 50% 50%, #BFCFE1 0%, #DDE7F4 62.02%, #EBF0F7 100%);
}

.testimonials__top-content {
    position: relative;
    z-index: 5;
}

@media (min-width: 768px) {
    .testimonials__top {
        padding-bottom: 50px;
    }

    .testimonials__heading {
        padding: 50px 25px;
        text-align: center;
    }

    .testimonials__heading h2 {
        font-size: 30px;
    }

    .testimonials__heading .sub-heading {
        margin: 0 0 25px;
        font-size: 35px;
        -webkit-text-stroke: 2px var(--blue);
    }

    .testimonials-top-glow {
        top: auto;
        bottom: calc(-324px / 2);
        right: 0;
        width: 324px;
        height: 324px;
        border-radius: 50%;
        background: radial-gradient(circle at center, rgba(251, 193, 195, 0.6) 0%, rgba(242, 227, 232, 0.3) 50%, rgba(254, 245, 245, 0) 100%);
        filter: blur(30px);
    }    

    .testimonials__heading-content {
        margin-top: 35px;
        padding: 0 58px;
    }

    .testimonials__wrap {
        padding-bottom: 110px;
    }

    .testimonials-bg {
        height: 400px;
    }

    .testimonials__content {
        margin-top: -110px;
    }

    .testimonial {
        box-shadow: 0px 4px 15px 10px rgba(23, 37, 73, 0.03);
        padding: 65px 26px 30px 30px;
        height: 100%;
    }

    .testimonial:before {
        font-size: 86px;
        top: -38px;
        line-height: 1em;
    }

    .testimonial p {
        font-size: 16px;
    }

    .testimonial-slider-wrap {
        padding-bottom: 70px;
        margin: -17px;
    }

    .testimonial-slider-wrap .slick-track {
        display: flex;
    }

    .testimonial-slider-wrap .slick-slide {
        padding: 36px 17px 24px 17px;
        height: auto;
    }

    .testimonial-slider-wrap .slick-slide div {
        height: 100%;
    }

    .testimonial-slider-wrap .slick-slide .testimonial div {
        height: auto;
    }

    .testimonial-slider-wrap .slick-prev {
        left: calc(50% - 234px);
        margin-left: 0px;
    }

    .testimonial-slider-wrap .slick-next {
        right: auto;
        left: calc(50% - 154px);
        margin-right: 0px;
    }

    .testimonials__btn {
        padding-top: 0;
        margin-left: calc(50% - 76px);
        margin-top: -40px;
        text-align: left;
    }

    .testimonials__btn .btn {
        padding-right: 72px;
    }

    .testimonials__btn .btn-tertiary::after {
        right: 12px;
    }

    .testimonials__btn .btn::before {
        font-size: 36px;
    }

    .logo-icon {
        right: 51px;
        left: auto;
        bottom: -79px;
        transform: none;
        max-width: 149px;
    }


}

@media (min-width: 1200px) {
    .testimonials__top {
        padding-bottom: 0;
    }

    .testimonials__top-content {
        display: flex;
        flex-wrap: wrap;
        position: relative;
        z-index: 2;
    }

    .testimonials__heading {
        padding: 70px 70px 70px 75px;
        text-align: left;
        width: 579px;
    }

    .testimonials__heading-content {
        margin-top: 45px;
        padding: 0 0 0 69px;
        text-align: left;
        width: calc(100% - 579px);
    }

    .testimonials-top-glow {
        top: 0;
        right: 0;
        width: 600px;
        height: 600px;
        border-radius: 50%;
        background: radial-gradient(circle at center, rgba(251, 193, 195, 0.6) 0%, rgba(242, 227, 232, 0.3) 50%, rgba(254, 245, 245, 0) 100%);
        filter: blur(60px);
    }    

    .testimonials__heading h2 {
        font-size: 40px;
    }

    .testimonials__heading .sub-heading {
        margin: 0 0 30px;
        font-size: 45px;
    }

    .testimonials__wrap {
        padding-bottom: 140px;
    }

    .testimonials-bg {
        height: 688px;
        margin-top: -208px;
    }

    .testimonials__content {
        margin-top: -186px;
    }

    .testimonial {
        box-shadow: 0px 4px 15px 10px rgba(23, 37, 73, 0.03);
        border-radius: 20px 20px 80px 40px;
        height: 100%;
        padding: 75px 29px 40px 34px;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }

    .testimonial-slider-wrap {
        padding-bottom: 70px;
        margin: -17px;
    }



    .testimonials__btn .btn:hover::before {
        color: rgba(240, 51, 55, 1);
    }

    .logo-icon {
        right: 90px;
        bottom: -186px;
        max-width: 356px;
    }


}