@media screen and (max-width:1440px) {
    .carousel .carousel-caption {
        width: 40%;
    }

    .carousel-caption h1 {
        font-size: 3.5rem;
    }

    .carousel-caption h6 {
        font-size: 1.12rem;
    }

    .carousel-caption button {
        padding: 0.5rem 1rem;
    }
}

@media screen and (max-width:1367px) {
    .carousel .carousel-caption {
        width: 40%;
    }

    .carousel-caption h1 {
        font-size: 3.0rem;
    }

    .carousel-caption h6 {
        font-size: 1.1rem;
    }

    .carousel-caption button {
        padding: 0.4rem 1.95rem;
    }

        
    /* Service */
    .service_container .text-sliding-line {
        font-size: 7.125rem;
    }

    .service_container h3 {
        letter-spacing: 2px !important;
        line-height: 2.813rem;
        font-size: 2.8rem;
        font-weight: 600;
    }

    .service_container .service_icon {
        width: 55px;
        height: 55px;
    }

    .service_container .service_icon img {
        height: 30px;
    }

    .service_container h4 {
        font-size: 1.25rem;
        font-weight: 400;
        position: relative;

    }

    .service_container h4::after{
        bottom: -20px;
    }

}


@media screen and (max-width:1280px) {
    .carousel .carousel-caption {
        width: 35%;
    }

    .carousel-caption h1 {
        font-size: 2.9rem;
    }

    .carousel-caption h6 {
        font-size: 0.99rem;
    }

    .carousel-control-next-icon,
    .carousel-control-prev-icon {
        width: 1.5rem;
        height: 1.5rem;
    }

    .carousel-caption button {
        padding: 0.35rem 1.5rem;
    }

    /* Service */
    .service_container .text-sliding-line {
        font-size: 6.9125rem;
    }

}


@media screen and (max-width:1199.50px) {
    .carousel .carousel-caption {
        width: 40%;
    }

    .carousel-caption button {
        padding: 0.3rem 1.5rem;
    }

    /* Service */
    .service_container .text-sliding-line {
        font-size: 5.7rem;
    }

    .service_container h3 {
        font-size: 2.5rem;
    }

    
}

@media screen and (max-width:1080px) {
    .carousel .carousel-caption {
        width: 30%;
    }

    .carousel-caption h1 {
        font-size: 2.25rem;
    }

    .carousel-caption h6 {
        font-size: 0.96rem;
    }

    .carousel-caption button {
        padding: 0.25rem 1.5rem;
        font-size: 1.20rem;
    }

    
    /* Service */
    .service_container .text-sliding-line {
        font-size: 5.5rem;
    }

    .service_container h3 {
        font-size: 2.25rem;
    }

    
}

@media screen and (max-width:992px) {
    .carousel .carousel-caption {
        width: 35%;
    }

    /* Service */
    .service_container .text-sliding-line {
        font-size: 5rem;
    }

    .service_container h3 {
        font-size: 2.15rem;
    }

    .service_container .service_icon {
        width: 55px;
        height: 55px;
    }

    .service_container .service_icon img {
        height: 23px;
    }

    .service_container h4 {
        font-size: 1.20rem;
        font-weight: 400;
        position: relative;

    }

    .service_container h4::after{
        bottom: -18px;
    }

}

@media screen and (max-width:991px) {

    /* Header Section CSSS */
    .sphspl_logo {
        height: 65px;
    }

    nav.navbar h4 {
        font-size: 20px;
        margin-bottom: 5px;
    }

    nav.navbar small {
        font-size: 13px;
    }

    .navbar-toggler:hover,
    .navbar-toggler:focus,
    .navbar-toggler:active {
        box-shadow: 1px 1px 3px #fff;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    }

    .custom-scroll-height {
        --bs-scroll-height: 170px !important;
        /* Set the desired scroll height */
        background: #fff;
        box-shadow: 1px 1px 10px #ccc;
        padding: 0 15px;

    }

    .custom-scroll-height li.nav-item {
        border-top: solid 1px #ccc;
        padding: 0 15px;
    }

    .custom-scroll-height li.nav-item a.nav-link.active,
    .custom-scroll-height li.nav-item a.nav-link {
        color: #000000 !important;
    }

    nav.navbar.ui_change_nav .navbar-toggler {
        border-color: rgb(89 92 95) !important;
    }

    nav.navbar.ui_change_nav .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(89, 92, 95, 1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    }

    /* Slider Section CSS */
    .carousel .carousel-caption {
        width: 35%;
        bottom: 20%;
    }

    .carousel-caption h1 {
        font-size: 2rem;
    }

    .carousel-caption h6 {
        font-size: 0.92rem;
    }

    .carousel-item .image_by {
        font-size: 11px;
    }

    .carousel-item img {
        width: 100%;
        height: 50vh;
    }

    .carousel-caption button {
        padding: 0.20rem 1.25rem;
        font-size: 1.15rem;
    }
}

@media screen and (max-width:768px) {

    /* Header Section CSSS */
    .sphspl_logo {
        height: 55px;
    }

    nav.navbar h4 {
        font-size: 18px;
        margin-bottom: 5px;
    }

    nav.navbar small {
        font-size: 12px;
    }


    .navbar-toggler-icon {
        /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); */
        width: 1.25em;
        height: 1.25em;
    }


    /* Slider Section CSS */
    .carousel .carousel-caption {
        width: 40%;
    }

    .carousel-caption button {
        padding: 0.20rem 1.3rem;
        font-size: 1.18rem;
    }

    /* About  */
    .about_icon_col {
        width: 45px;
        height: 45px;
    }

    .about_icon_col i {
        font-size: 23px;
    }

    /* Service */
    .service_container .text-sliding-line {
        font-size: 5rem;
    }

    .service_container h3 {
        font-size: 2.15rem;
    }

    .service_container .service_icon {
        width: 55px;
        height: 55px;
    }

    .service_container .service_icon img {
        height: 23px;
    }

    .service_container h4 {
        font-size: 1.20rem;
        font-weight: 400;
        position: relative;

    }

    .service_container h4::after{
        bottom: -25px;
    }
}

@media screen and (max-width:685px) {
    .carousel .carousel-caption {
        width: 45%;
    }

}

@media screen and (max-width:680px) {

    .carousel-caption h1 {
        font-size: 1.75rem;
    }

    .carousel-caption h6 {
        font-size: 0.87rem;
    }

    .carousel-caption button {
        font-size: 1.15rem;
    }
}


@media screen and (max-width:575px) {

    /* Header Section CSSS */
    nav.navbar.ui_change_nav .navbar-toggler,
    nav.navbar button.navbar-toggler {
        margin-right: 15px;
    }

    /* Slider Section CSS */
    .carousel .carousel-caption {
        width: 50%;
    }

    .carousel-caption button {
        padding: 0.20rem 1.45rem;
        font-size: 1.1rem;
    }

    
    /* Service */
    .service_container .text-sliding-line {
        font-size: 4.25rem;
        margin-left: 15px;
        position: relative;
        top: -12px;
    }

    .service_container h3 {
        font-size:1.8rem;
        margin-bottom:0px;
    }

    .service_container .service_icon {
        width: 50px;
        height: 50px;
    }

    .service_container .service_icon img {
        height: 23px;
    }

    .service_container h4 {
        font-size: 1.18rem;
        font-weight: 400;
        position: relative;

    }

    .service_container h4::after{
        bottom: -22px;
    }
}


@media screen and (max-width:480px) {

    /* Slider Section CSS */
    .carousel .carousel-caption {
        width: 50%;
    }

    .carousel-caption h1 {
        font-size: 1.65rem;
    }

    .carousel-caption h6 {
        font-size: 0.75rem;
    }
    .carousel-control-next-icon,
    .carousel-control-prev-icon {
        display: none;
    }

    .carousel-caption button {
        padding: 0.20rem 1.35rem;
        font-size: 0.98rem;
        display: none;
    }

}

@media screen and (max-width:442px) {

    /* Slider Section CSS */
    .carousel .carousel-caption {
        width: 60%;
    }



    .carousel-caption button {
        padding: 0.20rem 1.25rem;
    }

     /* Service */
     .service_container .text-sliding-line {
        font-size: 3.5rem;
        margin-left: 15px;
        position: relative;
        top: -12px;
    }

    .service_container .service_icon {
        width: 45px;
        height: 45px;
    }

    .service_container .service_icon img {
        height: 22px;
    }

    .service_container h4 {
        font-size: 1.1rem;
    }

    .service_container h4::after{
        bottom: -20px;
    }
}

@media screen and (max-width:414px) {

    /* Header Section CSSS */
    .sphspl_logo nav.navbar.ui_change_nav .sphspl_logo {
        height: 50px;
    }

    nav.navbar h4,
    nav.navbar.ui_change_nav h4 {
        font-size: 16px;
        margin-bottom: 2px;
    }

    nav.navbar small,
    nav.navbar.ui_change_nav small {
        font-size: 10px;
    }

    nav.navbar.ui_change_nav {
        height: 80px;
    }

    .navbar-toggler-icon {
        /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); */
        width: 1.15em;
        height: 1.15em;
    }

    nav.navbar.ui_change_nav .navbar-toggler,
    nav.navbar button.navbar-toggler {
        margin-right: 15px;
    }

    /* About  */
    .about_icon_col i {
        font-size: 21px;
    }

}

@media screen and (max-width:377px) {

    /* Header Section CSSS */
    .logo_name_col {
        padding-left: 0px;
    }

    .navbar-toggler-icon {
        width: 1.0em;
        height: 1.0em;
        margin-right: 0px;
    }


    /* Slider Section CSS */
    .carousel .carousel-caption {
        width: 65%;
    }

    .carousel-caption h6 {
        font-size: 0.7rem;
    }

    .carousel-caption button {
        padding: 0.18rem 1.225rem;
        margin-top: 0rem !important;
        font-size: 0.95rem;
    }

    .carousel-item .image_by {
        font-size: 8px;
    }
}

@media screen and (max-width:361px) {
     /* Service */
     .service_container .text-sliding-line {
        font-size: 3.5rem;
        margin-left: 15px;
        position: relative;
        top: -12px;
    }

    .service_container h3,
    .service_container span{
        margin-left: 10px;
    }
    .service_container h3{
        font-size: 1.5rem;
    }
    .service_container span{
        position: relative;
        top: -1px;
    }
    .service_container .services_list_col{
        padding-top: 5px!important;
    }
    .service_container .service_icon {
        width: 40px;
        height: 40px;
        margin-left: 22px !important;
    }

    .service_container .service_icon img {
        height: 22px;
    }

    .service_container h4 {
        font-size: 1.08rem;
    }

    .service_container h4::after{
        bottom: -18px;
    }
}

@media screen and (max-width:350px) {

    /* Header Section CSSS */
    .sphspl_logo nav.navbar.ui_change_nav .sphspl_logo {
        height: 40px;
    }

    nav.navbar h4,
    nav.navbar.ui_change_nav h4 {
        font-size: 18px;
        margin-bottom: 0px;
    }

    nav.navbar small,
    nav.navbar.ui_change_nav small {
        display: none !important;
    }

    nav.navbar.ui_change_nav {
        height: 80px;
    }

    .navbar-toggler-icon {
        /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); */
        width: 1.15em;
        height: 1.15em;
    }

    nav.navbar.ui_change_nav .navbar-toggler,
    nav.navbar button.navbar-toggler {
        margin-right: 15px;
    }

}

@media screen and (max-width:340px) {

    /* Slider Section CSS */
    .carousel .carousel-caption {
        width: 75%;
    }

    .carousel-caption h6 {
        font-size: 0.7rem;
    }

    /* Service */
    .service_container .text-sliding-line {
        font-size: 3.0rem;
        margin-left: 15px;
        position: relative;
        top: -12px;
    }
    
}