.service-container {

    position: relative;

    margin-bottom: 15px;

    overflow: hidden;

}

.service-container img {

    transition: all 0.2s ease;

    min-width: 100%;

}

.service-container:hover img {

    transform: scale(1.1);

}

.service-container:before {

    content: "";

    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);

    width: 100%;

    height: 100%;

    position: absolute;

    top: 0;

    left: 0;

    z-index: 9;

}

.service-heading {

    position: absolute;

    left: 0;

    right: 0;

    text-align: center;

    color: #FFFFFF;

    font-family: "BigShouldersDisplay-Bold", sans-serif;

    text-transform: uppercase;

    font-size: 1.2rem;

    height: 100%;

    width: 100%;

    display: flex;

    top: 0;

    justify-content: center;

    align-items: flex-end;

    padding-bottom: 15px;

    z-index: 9;

    line-height: 1.4rem;

}

.service-heading:hover, .service-heading:focus {

    color: #FFFFFF;

}

@media only screen and (max-width: 767px) {

    

    .service-container {

        max-height: 261px;

        margin-bottom: 20px;

    }


    .container-fluid {

       margin-top: 24px; 

    }

}

@media only screen and (min-width: 768px) {

    .service-container img {

        min-height: 510px;

        max-height: 510px;

        object-fit: cover;

    }

}