.home-testimonial {
    position: relative;
    overflow: hidden;
    padding: 54px 0 40px;
    background: #ffffff;
    color: #0f3f4a;
}

    .home-testimonial::before {
        content: "";
        position: absolute;
        left: -6%;
        top: 78px;
        width: 21%;
        height: 230px;
        border: 4px solid rgba(32, 168, 200, 0.10);
        border-right-color: transparent;
        border-bottom-color: transparent;
        border-radius: 50%;
        transform: rotate(-26deg);
        pointer-events: none;
    }

    .home-testimonial::after {
        content: "";
        position: absolute;
        right: -12%;
        bottom: -128px;
        width: 42%;
        height: 270px;
        border: 4px solid rgba(32, 168, 200, 0.10);
        border-left-color: transparent;
        border-radius: 50%;
        transform: rotate(16deg);
        pointer-events: none;
    }

    .home-testimonial .testimonial-bg {
        position: relative;
        z-index: 1;
    }

        .home-testimonial .testimonial-bg::before {
            content: "\f072";
            position: absolute;
            top: 137px;
            left: 7.2%;
            color: #20a8c8;
            font-family: "Font Awesome 5 Free";
            font-size: 44px;
            font-weight: 900;
            line-height: 1;
            opacity: .98;
            transform: rotate(16deg);
            pointer-events: none;
        }

        .home-testimonial .testimonial-bg::after {
            content: "";
            position: absolute;
            right: 30.5%;
            bottom: -2px;
            width: 170px;
            height: 170px;
            border: 4px solid rgba(32, 168, 200, 0.10);
            border-left-color: transparent;
            border-radius: 50%;
            transform: rotate(-18deg);
            pointer-events: none;
        }

    .home-testimonial .testimonial-heading {
        position: relative;
        z-index: 2;
        margin: 0 auto 76px;
        text-align: center;
    }

    .home-testimonial .testimonial-kicker {
        display: block;
        margin-bottom: 6px;
        color: #143f4b;
        font-family: "Segoe Script", "Brush Script MT", cursive;
        font-size: 30px;
        font-weight: 400;
        line-height: 1;
    }

    .home-testimonial h2 {
        margin: 0;
        color: #143f4b;
        font-family: "Montserrat-Bold";
        font-size: 48px;
        font-weight: 700;
        letter-spacing: 0;
        line-height: 1.12;
        text-align: center;
    }

    .home-testimonial .feedback-slider {
        position: relative;
        z-index: 2;
        width: 100vw;
        left: 50%;
        margin-left: -50vw;
        padding: 0 0 72px;
        overflow: unset;
    }

        .home-testimonial .feedback-slider .swiper-wrapper {
            align-items: center;
        }

        .home-testimonial .feedback-slider .swiper-slide {
            width: 728px;
            height: auto;
            opacity: .78;
            transform: scale(.88);
            transition: opacity .55s ease, transform .55s ease, filter .55s ease;
            filter: saturate(.92);
        }

        .home-testimonial .feedback-slider .swiper-slide-active {
            opacity: 1;
            transform: scale(1);
            filter: saturate(1);
            z-index: 3;
            transform: translateY(-33px);
        }

        .home-testimonial .feedback-slider .swiper-slide-prev,
        .home-testimonial .feedback-slider .swiper-slide-next {
            opacity: .9;
        }

    .home-testimonial .feedback-card {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        min-height: 332px;
        padding: 48px 40px 52px;
        border: 1px solid rgba(32, 168, 200, 0.04);
        border-radius: 20px;
        background: #e8f7fb;
        box-shadow: 0 22px 60px rgba(15, 63, 74, 0.06);
        color: #020e16;
        transition: box-shadow .45s ease, transform .45s ease;
    }

        .home-testimonial .feedback-card::before {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: inherit;
            background: radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.75), transparent 30%), linear-gradient(135deg, rgba(255, 255, 255, 0.38), transparent 55%);
            opacity: .9;
            pointer-events: none;
        }

        .home-testimonial .feedback-card::after {
            content: "";
            position: absolute;
            left: 55%;
            bottom: -45px;
            width: 1px;
            height: 45px;
            background: rgba(32, 168, 200, 0.10);
            pointer-events: none;
        }

    .home-testimonial .swiper-slide-active .feedback-card {
        box-shadow: 0 26px 70px rgba(15, 63, 74, 0.10);
    }

    .home-testimonial .feedback-card-top,
    .home-testimonial .feedback-card p,
    .home-testimonial .feedback-card h4,
    .home-testimonial .feedback-card .feedback-source {
        position: relative;
        z-index: 1;
    }

    .home-testimonial .feedback-card-top {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 22px;
        margin-bottom: 22px;
    }

    .home-testimonial .feedback-author {
        display: flex;
        align-items: center;
        min-width: 0;
    }

        .home-testimonial .feedback-author img {
            flex: 0 0 70px;
            width: 70px;
            height: 70px;
            margin: 0 18px 0 0 !important;
            border: 5px solid rgba(255, 255, 255, 0.80);
            border-radius: 50%;
            object-fit: cover;
            box-shadow: 0 12px 24px rgba(15, 63, 74, 0.12);
        }

    .home-testimonial .feedback-author-info {
        min-width: 0;
    }

        .home-testimonial .feedback-author-info h3 {
            margin: 0 0 7px;
            color: #053a48;
            font-family: "Montserrat-SemiBold";
            font-size: 24px;
            font-weight: 600;
            line-height: 1.15;
        }

        .home-testimonial .feedback-author-info span {
            display: block;
            color: rgba(5, 58, 72, 0.66);
            font-family: "Montserrat-Medium";
            font-size: 16px;
            font-weight: 500;
            line-height: 1.2;
        }

    .home-testimonial .feedback-rating {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        flex: 0 0 auto;
        padding-top: 8px;
        color: #ff9637;
        font-size: 22px;
        position: absolute;
        right: 0;
        top: -44px;
    }

    .home-testimonial .feedback-card p {
        margin: 0;
        color: #000000;
        font-family: "Montserrat-Medium";
        font-size: 20px;
        font-weight: 500;
        line-height: 1.5;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }

    .home-testimonial .feedback-card h4,
    .home-testimonial .feedback-card .feedback-source {
        display: none;
    }

    .home-testimonial .feedback-quote {
        position: absolute;
        left: 50%;
        bottom: -29px;
        z-index: 3;
        display: flex;
        /* align-items: center; */
        justify-content: center;
        width: 72px;
        height: 72px;
        border: 4px solid #ffffff;
        border-radius: 50%;
        color: #ffffff;
        background: #20a8c8;
        font-family: Georgia, serif;
        font-size: 66px;
        font-weight: 400;
        line-height: 93px;
        transform: translateX(-50%);
        box-shadow: 0 15px 36px rgba(32, 168, 200, 0.28);
        pointer-events: none;
    }

    .home-testimonial .feedback-slider .swiper-pagination {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 2px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        height: 24px;
    }

    .home-testimonial .feedback-slider .swiper-pagination-bullet {
        width: 16px;
        height: 16px;
        margin: 0 !important;
        border: 1px solid #113f4b;
        border-radius: 50%;
        background: #ffffff;
        opacity: 1;
        transition: background .28s ease, border-color .28s ease, transform .28s ease;
    }

    .home-testimonial .feedback-slider .swiper-pagination-bullet-active {
        border-color: #20a8c8;
        background: #20a8c8;
        transform: scale(1.05);
    }

@media (max-width: 1199px) {
    .home-testimonial h2 {
        font-size: 42px;
    }

    .home-testimonial .feedback-slider .swiper-slide {
        width: 660px;
    }

    .home-testimonial .feedback-card {
        min-height: 316px;
        padding: 42px 34px 50px;
    }

        .home-testimonial .feedback-card p {
            font-size: 19px;
        }
}

@media (max-width: 1023px) {
    .home-testimonial {
        padding: 48px 0 68px;
    }

        .home-testimonial::before {
            left: -18%;
            width: 45%;
        }

        .home-testimonial::after,
        .home-testimonial .testimonial-bg::after {
            display: none;
        }

        .home-testimonial .testimonial-bg::before {
            top: 126px;
            left: 5%;
            font-size: 34px;
        }

        .home-testimonial .testimonial-heading {
            margin-bottom: 30px;
        }

        .home-testimonial .testimonial-kicker {
            font-size: 26px;
        }

        .home-testimonial h2 {
            font-size: 36px;
        }

        .home-testimonial .feedback-slider {
            padding-bottom: 66px;
        }

            .home-testimonial .feedback-slider .swiper-slide {
                width: 620px;
                transform: scale(.94);
            }

        .home-testimonial .feedback-card {
            min-height: 300px;
            padding: 36px 30px 48px;
        }

            .home-testimonial .feedback-card p {
                font-size: 18px;
                line-height: 1.65;
            }
}

@media (max-width: 739px) {
    .home-testimonial {
        padding: 42px 0 4px;
    }

        .home-testimonial::before,
        .home-testimonial .testimonial-bg::before {
            display: none;
        }

        .home-testimonial .testimonial-heading {
            margin-bottom: 24px;
            padding: 0 12px;
        }

        .home-testimonial .testimonial-kicker {
            font-size: 22px;
        }

        .home-testimonial h2 {
            font-size: 31px;
            line-height: 1.18;
        }

        .home-testimonial .feedback-slider {
            width: 100%;
            left: auto;
            margin-left: 0;
            padding: 0 0 56px;
            overflow: visible;
        }

            .home-testimonial .feedback-slider .swiper-slide {
                width: 100%;
                opacity: 1;
                transform: scale(1);
            }

        .home-testimonial .feedback-card {
            min-height: 0;
            padding: 24px 20px 44px;
            border-radius: 18px;
        }

        .home-testimonial .feedback-card-top {
            flex-direction: column;
            gap: 12px;
            margin-bottom: 18px;
        }

        .home-testimonial .feedback-author img {
            flex-basis: 58px;
            width: 58px;
            height: 58px;
            margin-right: 14px !important;
            border-width: 4px;
        }

        .home-testimonial .feedback-author-info h3 {
            font-size: 16px;
            margin-bottom: 2px;
        }

        .home-testimonial .feedback-author-info span {
            font-size: 13px;
        }

        .home-testimonial .feedback-rating {
            padding-top: 0;
            padding-left: 72px;
            font-size: 19px;
            top: -20px;
        }

        .home-testimonial .feedback-card p {
            font-size: 16px;
            line-height: 1.65;
            -webkit-line-clamp: 5;
        }

        .home-testimonial .feedback-quote {
            width: 58px;
            height: 58px;
            bottom: -26px;
            font-size: 52px;
            line-height: 75px;
        }

        .home-testimonial .feedback-slider .swiper-pagination {
            gap: 13px;
        }

        .home-testimonial .feedback-slider .swiper-pagination-bullet {
            width: 13px;
            height: 13px;
        }
}

@media (max-width: 420px) {
    .home-testimonial h2 {
        font-size: 28px;
    }

    .home-testimonial .feedback-card {
        padding: 22px 18px 42px;
    }

        .home-testimonial .feedback-card p {
            font-size: 14px;
        }
}