.slide-center {
    height: 100vh;
    background-image:
        linear-gradient(to right,
            rgba(40, 40, 40, 1) 0%,
            rgba(40, 40, 40, 0.38) 68%,
            rgba(40, 40, 40, 0) 100%),
        url(../images/header-section/slider-images/medical-billing.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    font-size: 60px;
    width: 100%;
}

/* next-prev-section  */

.next-prev-section {
    position: absolute;
    top: 42%;
    left: 7%;
    transform: translatex(-50%, -50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.home-prev,
.home-next {
    width: 35px;
    height: 35px;
    background-color: var(--p-c);
    border-radius: 50%;
    cursor: pointer;
    position: relative;
}

.home-pagination {
    display: flex;
    flex-direction: column;
    gap: 8px !important;
    align-items: center;
}

.home-prev::after,
.home-next::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 28px;
    height: 28px;
    background-color: #fff;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.home-next::after {
    mask-image: url("../images/slider-section/icons/right-icon.svg");
    transform: rotate(90deg);
}

.home-prev::after {
    mask-image: url("../images/slider-section/icons/left-icon.svg");
    transform: rotate(-270deg);
}

.home-pagination {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.home-pagination .swiper-pagination-bullet {
    background-color: var(--p-c);
    opacity: 1;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.home-pagination .swiper-pagination-bullet-active {
    background-color: var(--w-c);
    border-radius: 20px;
}

/* end  */


.slide-content h1 {
    color: var(--w-c);
    font-size: 1em;
}

.slide-content h2 {
    position: relative;
    font-size: 2.7em;
    color: rgba(100, 100, 100, 0.879);
    font-weight: 800;
    width: 80%;
    line-height: .6;
    transform: translateX(-3%);
}

.slide-content h2::before {
    position: absolute;
    content: "Medical Billing Service";
    font-size: .4em;
    color: var(--p-c);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding-left: 20px;
}

.slide-content p {
    font-size: .8em;
    color: var(--w-c);
    font-weight: 700;
}

.slide-content p span {
    font-size: 1.3em;
    color: var(--p-c);
    font-weight: 700;
}

.slide-section-wrapper {
    display: block;
    flex-shrink: 0;
    height: 100vh !important;
    position: relative;
    transition-property: transform;
    width: 100%;
}

.slider-main-section {
    position: relative;
}

.absolute-font {
    position: absolute;
    bottom: 25px;
    left: 25px;
}

.absolute-font p {
    font-size: .6em;
    color: #ffffff63;
}

.mouse-icon {
    position: absolute;
    bottom: 1%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.slide-center .know-more-btn {
    position: relative;
    padding: 7px 10px;
    width: max-content;
    border-radius: 20px;
    background: linear-gradient(to right, #5CA446, #83B441);
    z-index: 1;
    color: #fff;
    overflow: hidden;
    cursor: pointer;
}

.slide-center .know-more-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 3px;
    border-radius: 20px;
    background: linear-gradient(to right, #83B441, #5CA446);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 2;
}

.slide-center .know-more-btn::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    left: -19px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.slide-center .know-more-btn h6 {
    font-size: .3em;
    font-weight: 700;
}

.slide-center .arrow-icons {
    background-color: var(--w-c);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.29);
}

.arrow-icons {
    transform: rotate(320deg);
}


@media (max-width: 992px) {

    .slide-content h1 {
        color: var(--w-c);
        font-size: 2.5em;
    }

    .slide-content h2 {
        position: relative;
        font-size: 3.5em;
        color: rgba(134, 131, 131, 0.879);
        font-weight: 800;
        width: 80%;
        line-height: .6;
        transform: translateX(-3%);
    }

    .slide-content h2::before {
        position: absolute;
        content: "Medical Billing Service";
        font-size: .6em;
        color: var(--p-c);
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        padding-left: 20px;
    }


    .slide-center {
        font-size: 20px !important;
        height: 100vh;
    }

    .slide-content h2 {
        transform: none;
        width: 100%;
        line-height: 1;
    }

    .slide-content h2::before {
        font-size: .45em;
        padding-left: 5px;
    }


    .slide-content p {
        font-size: 1.2em;
    }


    .slide-center .know-more-btn h6 {
        font-size: .7em;
    }

    .slide-center .container {
        width: 100% !important;
    }

    .mouse-icon {
        bottom: 5%;
    }


}


@media (max-width: 1400px) {

    /* Wrapper positioning */
    .next-prev-section {
        position: absolute;
        bottom: 0px;
        left: 50%;
        transform: translate(-50%, 25%);
        z-index: 20;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }

    /* Buttons small size */
    .home-prev,
    .home-next {
        width: 80px;
        height: 44px;
        background-color: var(--p-c);
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        /* center the icon */
        align-items: center;
        justify-content: center;
    }

    .home-prev::after,
    .home-next::after {
        content: "";
        width: 35px;
        height: 35px;
        background-color: #fff;
        mask-size: contain;
        mask-repeat: no-repeat;
        mask-position: center;
    }

    /* Correct icon direction (NO rotation needed) */
    .home-next::after {
        mask-image: url("../images/slider-section/icons/right-icon.svg");
        transform: rotate(0deg);
    }

    .home-prev::after {
        mask-image: url("../images/slider-section/icons/left-icon.svg");
        transform: rotate(0deg);
    }

    /* Pagination styling */
    .home-pagination {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .home-pagination .swiper-pagination-bullet {
        background-color: #ffffff50;
        opacity: 1;
        border-radius: 50%;
    }

    .home-pagination .swiper-pagination-bullet-active {
        border-radius: 20px;
        background-color: var(--w-c);
    }

}