/**********/
/* Slider */
/**********/
.serviceslider .item{
    padding-bottom: 50px;
    font-family: 'Figtree', Arial, sans-serif;
}
.serviceslider .service-img{
    overflow: hidden;
    max-height: 360px;
    margin-bottom: 20px;
}
.serviceslider .service-img img{
    width:100%;
    height:auto;
    /*border-radius: 15px;*/
    margin-bottom: 25px;
    transition: 300ms;
}
.serviceslider .item:hover .service-img img{
    transform: scale(1.1);
}
.serviceslider .service-content h5{
    font-weight: 700;
    margin-bottom: 15px;
}
.serviceslider .service-content .service-text{
    margin-bottom: 25px;
}
.service-content h5{
    color: #121b24;
}
.serviceslider button.owl-prev,
.serviceslider button.owl-next{
    border-radius: 50%;
    width: 45px;
    height: 45px;
    background-color: rgba(0,0,0,.2)!important;
}
.serviceslider button.owl-prev i,
.serviceslider button.owl-next i{
    color: #fff!important;
}
.serviceslider .owl-dots .owl-dot span {
    background: rgba(0, 0, 0, .5)!important;
    border-color: rgba(0, 0, 0, .5)!important;
}
.serviceslider .owl-dots .owl-dot.active span {
    background: rgba(255, 255, 255, 1)!important;
    border-color: var(--color-primary)!important;
}

@media screen and (max-width: 767px) {
    .serviceslider > *{
        text-align: center;
    }
}

/*********/
/* Block */
/*********/
.serviceblock .service-item > div {
    position: relative;
}
.service-item h5 {
    position: absolute;
    z-index: 2;
    bottom: 30px;
    left: 25px;
    right: 25px;
    text-align: center;
    font-size: 30px!important;
    transition: 600ms;
    opacity: 1;
}
.service-item:hover h5 {
    opacity: 0;
}
.service-item a.service-link {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    z-index: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent); /* Keep the gradient */
    opacity: 1;
    transition: opacity 500ms ease-in-out;
}
.service-item:hover a.service-link {
    opacity: 0;
}

.service-item > div::before{
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    border: 1px solid var(--color-primary);
    position: absolute;
    left: 7px;
    top: 7px;
    z-index: 0;
    transition: 500ms ease-in-out;
}
.service-item:hover > div::before{
    border-color: var(--color-white);
}












