/*---------------------Roots-----------------*/

:root {
    ---red: #e9413a;
    ---white: #ffffff;
    ---grey: #4a4a4a;
    ---black: #134ba1;
    --lightgrey: #858585;
    ---border: #eeeeee;
    ---yellow: #ffe127;
}

/*---------------------Roots-----------------*/

.service {
    margin-top: 130px;
}

.service .service-slider {
    margin-top: 20px;
    padding: 30px 30px;
    padding-bottom: 70px;
}

.service .service-slider .box {
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(---white);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.199);
    border-radius: 20px;
    text-align: center;
}

.service .service-slider .box .image {
    width: 100%;
}

.service .service-slider .box a {
    /* margin-top: auto; */
    /* display: block; */
    /* padding: 10px; */
}


.service .service-slider .box .image img {
    width: 100%;
    border-radius: 20px;
}

.service .service-slider .box .text {
    margin: 20px 0px;
}

.service .service-slider .box .text h1 {
    font-size: 20px;
    color: var(---black);
    font-weight: 700;
}

.service .service-slider .box .text h1 span {
    color: var(---red);
}

.service .service-slider .box .text h5 {
    color: var(---black);
    font-weight: 600;
    font-size: 16px;
    height: 40px;
}

.service .service-slider .box .text p {
    color: var(---black);
    font-weight: 600;
    font-size: 15px;
    line-height: 25px;
    margin: 12px 0px;
}

.service .service-slider .box .text button {
    width: 150px;
    height: 50px;
    background-color: var(---yellow);
    color: var(---black);
    font-size: 15px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.service .service-slider .box .text button:hover {
    transform: translateY(-5px);
    transition: 0.5s all ease-in-out;
}

.service .service-slider .swiper-pagination-bullet {
    background: var(---red);
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.164);
    width: 12px;
    height: 12px;
}

.service .service-slider.swiper-pagination-bullet:hover {
    background: var(---red);
}




/* media quries */

@media (max-width:1772px) {
    section {
        padding: 20px 100px;
    }
}

@media (max-width:1674px) {
    section {
        padding: 20px 80px;
    }

}

@media (max-width:1590px) {
    section {
        padding: 20px 60px;
    }
}

@media (max-width:1486px) {}

@media (max-width:1390px) {
    section {
        padding: 20px 40px;
    }

    .service .service-slider .box {
        width: 300px;
    }

    .service .service-slider .box .text h1 {
        font-size: 20px;
    }

    .service .service-slider .box .text p {
        font-size: 12px;
        line-height: 22px;
        margin: 8px 0px;
    }

    .service .service-slider .box .text button {
        width: 120px;
        height: 40px;
        font-size: 12px;
    }
}

@media (max-width:1280px) {

    html {
        font-size: 80%;
    }

    section {
        padding: 20px 20px;
    }

    .service {
        margin-top: 120px;
    }
}


@media (max-width:1080px) {
    section {
        padding: 20px 15px;
    }

    .service {
        margin-top: 100px;
    }

    .service .service-slider .box .text h5 {
        font-size: 14px;
        height: 32px;
    }

}

@media (max-width:920px) {
    .service .service-slider .box .text h1 {
        font-size: 22px;
    }

    .service .service-slider .box .text p {
        font-size: 14px;
        line-height: 22px;
        margin: 6px 0px;
    }

    .service .service-slider .box .text button {
        width: 150px;
        height: 60px;
        font-size: 16px;
    }

    .service {
        margin-top: 80px;
    }
}

@media (max-width:780px) {

    section {
        padding: 20px 10px;
    }

    .service {
        margin-top: 60px;
    }

    .service .service-slider .box .text h5 {
        font-size: 12px;
        height: 27px;
    }
}

@media (max-width:690px) {}

@media (max-width:550px) {
    .service .service-slider .box .text h1 {
        font-size: 18px;
    }

    .service .service-slider .box .text h5 {
        font-size: 10px;
        height: 27px;
    }

    .service .service-slider .box .text p {
        font-size: 9px;
        line-height: 18px;
        margin: 6px 0px;
    }

    .service .service-slider .box .text button {
        width: 100px;
        height: 30px;
        font-size: 10px;
    }

    .service .service-slider .box {
        border-radius: 12px;
    }

    .service .service-slider .box .image img {
        border-radius: 12px;
    }

    .service .service-slider .box .text {
        margin: 10px 0px;
    }

    .service {
        margin-top: 40px;
    }

    .service .service-slider {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 10px;
        padding: 20px 20px;
        padding-bottom: 60px;
    }

}

@media (max-width:500px) {}

@media (max-width:430px) {
    .service .service-slider .box .text {
        margin: 20px 0px;
    }

    .service .service-slider .box .text h1 {
        font-size: 22px;
    }

    .service .service-slider .box .text p {
        font-size: 14px;
        line-height: 22px;
        margin: 6px 0px;
    }

    .service .service-slider .box .text button {
        width: 130px;
        height: 50px;
        font-size: 16px;
    }

    .service .service-slider .box {
        box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.199);
    }

    .service {
        margin-top: 30px;
    }
}

@media (max-width:400px) {
    .service .service-slider .box .text {
        margin: 20px 0px;
    }

    .service .service-slider .box .text h1 {
        font-size: 20px;
    }

    .service .service-slider .box .text p {
        font-size: 12px;
        line-height: 22px;
        margin: 6px 0px;
    }

    .service .service-slider .box .text button {
        width: 100px;
        height: 40px;
        font-size: 12px;
    }
}

/* media quries */