.services {
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 68px;
    left: 0;
    bottom: 0;
    background: #FFFFFF; 
    z-index: 1;
}

.services__bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}

.services__bg::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(0, 32, 70, 0.73); 
}

.services__wrap {
    position: relative;
    z-index: 2;
}

.services__content {
    padding: 75px 22px 95px;
    color: #FFFFFF;
}

.services__content h5 {
    color: #F2DBB3;
}

.services__content h2 {
    color: #FFFFFF;
    margin-bottom: 15px;
}



.services__category {
    padding-left: 22px;
}

.service-card {
    width: 283px;
    height: 380px;
    display: block;
    position: relative;
    background: transparent;
    border: none;
    padding: 0;
}

.service-card--link::before,
.service-card--link::after {
    display: none;
}

.service-card__image {
    width: 100%;
    height: 100%;
}

.service-card__description {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 30px 19px;
    z-index: 1;
}

.service-card__description::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 142px;
    left: 0;
    bottom: 0;
    z-index: -1;
    background: linear-gradient(to bottom,  rgba(0,16,34,0) 0%,rgba(0,16,34,0.78) 100%); 
}

.service-card__description h3 {
    margin: 0;
    padding: 0;
    font-size: 25px;
    line-height: 1.4em;
    color: #FFFFFF;
    font-weight: 700;
    position: relative;
}

.service-card__description h3 img {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0, -50%);
    display: none;
}

.service-card__hover {
    display: none;
}

.service-card__description p {
    margin: 0;
    padding: 0 0 12px;
    font-size: 16px;
    line-height: 1.62em;
    color: #FFFFFF;
    font-weight: 400;
}

.services__category .slick-arrow {
    bottom: auto;
    top: -75px;
}

.services__category .slick-next {
    margin-right: -50px;
}

.services__category .slick-prev {
    margin-left: -50px;
}

.services__content__wrap h2{
    position: relative;
}

.service-icon {
    width: 49px;
    height: 49px;
    object-fit: contain;
}
.services .slick-arrow::after{
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: calc(100% + 22px);
    height: 100%;
    background: #00244C;
    z-index: -1;
}

.services .slick-next.slick-arrow::after{
    width: 100%;

}
.services .slick-arrow:hover::after{
    background: transparent;
}
.service-card__hover .btn span::after,
.service-card__hover .btn span::before{
    content: unset !important;
}
.service-card__hover .btn span {
    border: none !important;
}


@media( min-width: 768px ) {
    
    .services::before {
        height: 90px;
    }

    .services__content {
        padding: 100px 52px 95px;
    }

    .services__category {
        padding-left: 52px;
    }
    
    .service-card {
        width: 283px;
        height: 464px;
    }

    .service-card__description::before {
        height: 174px;
    }

    .services__category .slick-arrow {
        bottom: auto;
        top: -75px;
    }
    
    .services__category .slick-next {
        margin-right: -30px;
    }
    
    .services__category .slick-prev {
        margin-left: -75px;
    }
}

@media( min-width: 1200px ) {
    .services {
        padding-bottom: 45px;
    }

    .services::before {
        height: 50px;
        bottom: auto;
        top: 0;
    }

    .services__wrap {
        display: flex;
    }

    .services__content {
        width: 34%;
        padding: 130px 0 25px;
    }

    .services__category {
        padding-left: 0;
        width: 66%;
    }

    .services__content__wrap {
        max-width: 325px;
        float: right;
        padding-right: 53px;
    }

    .services__content__wrap p {
        line-height: 1.62em;
        margin-bottom: 20px;
    }

    .services__content h5 {
        padding-bottom: 2px;
    }

    .services__content h2 {
        margin-bottom: 10px;
        line-height: 1.33em;
    }
    
    .service-card {
        width: 283px;
        height: 601px;
    }

    .service-card__description {
        padding: 18px 19px;
        height: 100%;
        display: flex;
        flex-wrap: wrap;
        align-items: flex-end;
        justify-content: flex-end;
        flex-direction: column;
    }

    .service-card__description::before {
        height: 226px;
    }

    .services__category .slick-arrow {
        bottom: 10px;
        top: auto;
    }

    .services__category .slick-next {
        right: auto;
        left: 0;
        margin-right: 0px;
        margin-left: -190px;
    }
    
    .services__category .slick-prev {
        left: 0;
        margin-left: -240px;
    }
    
    .service-card__description h3 {
        width: 100%;
        height: 63px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .service-card--link:hover {
        border: none;
    }

    .service-card--link:hover::before, 
    .service-card--link:hover::after {
        display: none;
    }

    .service-card--link:hover .service-card__hover {
        display: block;
    }

    .service-card--link:hover .service-card__description {
        padding-bottom: 20px;
    }

    .service-card--link:hover .service-card__description h3 {
        padding-bottom: 10px;
        padding-left: 57px;
        height: auto;
    }

    .service-card--link:hover .service-card__description h3 img {
        display: block;
        padding-bottom: 10px;
    }

    .service-card--link:hover .service-card__description::before {
        height: 100%;
        background: linear-gradient(to bottom,  rgba(0,16,34,0.41) 0%,rgba(0,16,34,0.95) 100%);
    }


}












