.service {
    /*display: flex;*/
    /*gap: 28px;*/
    padding-top: 22px;
    padding-bottom: 59px;
}
.service-box {
    max-width: 338px;
    width: 100%;
    border-radius: 24px;
    border: 1px solid #B2ECF0;
    background: var(--1, linear-gradient(180deg, #D5F7F3 0%, rgba(216, 253, 255, 0.00) 100%, rgba(255, 255, 255, 0.00) 100%));
    display: grid;
    grid-template-columns: 95px 1fr;
    grid-template-rows: repeat(2, auto);
    padding: 17px 22px 21px 27px;
    gap: 10px 15px;
}
.service-box__img-wrap {
    grid-area: 1 / 1 / 3 / 2;
    padding-top: 5px;
}
.service-box__img {
    border-radius: 18px;
}
.service-box__title {
    color: var(--dark);
    font-family: var(--inter);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    max-width: 170px;
}
.service-box__link-wrap {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    align-self: end;
}
.service-box__link-wrap:hover {
    opacity: 0.7;
}
.service-box__link {
    color: var(--dark);
    font-family: var(--inter);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
}
/*slider*/
.service .owl-carousel__service {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    position: relative;
}
.service .owl-stage-outer {
    /*overflow: visible;*/
    height: auto;
}

.service .owl-dots,
.service .owl-nav {
    position: absolute;
    display: flex;
    width: 100%;
}
.service .owl-nav {
    justify-content: space-between;
    bottom: -36px;
}
.service .owl-dots {
    justify-content: center;
    bottom: -19px;
}
.service .owl-prev span,
.service .owl-next span{
    display: none;
}
.service .owl-prev,
.service .owl-next {
    width: 54px;
    height: 37px;
    background-position: center;
    box-shadow: unset;
    background-color: transparent;
    position: relative;
    top: unset;
    bottom: unset;
    border-radius: 0;
}
.service .owl-next {
    right: -21px;
}
.service .owl-prev {
    left: -24px;
}
.service .owl-prev::before{
    transform: rotate(180deg);
}
.service .owl-next::before {
    transform: rotate(0);
}
.service .owl-prev::before,
.service .owl-next::before {
    mask: url(../../images/service/arrow.svg) no-repeat center / 8px 14px;
    position: absolute;
    content: '';
    inset: 0;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    background-color: var(--dark);
}

@media (max-width: 1250px) {
    .service {
        gap: 10px;
    }
    .service-box {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        padding: 22px 16px;
    }
    .service-box__title,
    .service-box__link-wrap {
        justify-content: flex-start;
    }
    .service-box__img-wrap {
        text-align: center;
        display: flex;
        justify-content: center;
    }
}
@media (max-width: 768px) {
    .service {
        padding: 14px 0 52px;
    }
    .service-box {
        height: 296px;
        padding: 15px 16px;
        gap: 0 15px;
        grid-template-rows: 75px 78px auto;
    }
    .service-box__title {
        font-size: 14px;
        line-height: 20px;
    }
    .service-box__link-wrap {
        align-self: center;
        padding-bottom: 6px;
        margin-top: auto;
    }
    .service .owl-carousel .owl-item img {
        width: unset;
        padding-left: 0;
    }
}