
.services .content-container {
    padding: 0 6rem;
}


.services .content-container h2 {
    color: #054f91;
}

.services .service-container h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
}

.services .content-container p {
    color: black;
    font-weight: 300;
}

.services .service-container {
    width: 100%;
    height: 100%;
    background-color: #e40518;
    position: relative;
    transition: ease all 1s;
    overflow: hidden;
    min-height: 300px;
}

.services .service-container:hover {
    background-color: transparent;
    transition: ease all 1s;
}

.service-container .hover-effect {
    background-image: linear-gradient(to right, rgba(85, 135, 177, 0.8), rgba(145, 1, 1, 0.8));
    position: absolute;
    bottom: -30%;
    left: 0;
    right: 0;
    padding: 1rem 0;
    width: 100%;
    text-align: center;
    transition: ease all 0.5s;
}

.service-container:hover .hover-effect {
    bottom: 0;
    transition: ease all 0.5s;
}

.service-container:hover .gone {
    display: none;
}

@media (max-width: 990px) {
    .services .service-container {
        background-color: transparent;
        transition: ease all 1s;
    }

    .service-container .gone {
        display: none;
    }

    .service-container .hover-effect {
        bottom: 0;
        transition: ease all 0.5s;
    }
}


.services .background-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: -1;
    object-fit: cover;
}

.services .col-sm-6 {
    border: solid 1px rgba(228, 5, 24, 0.8);
}

.services .col-sm-6:hover {
    border-bottom: none;
}

.services .col-sm-6 a {
    width: 100%;
    height: 100%;
}

.services .services-container {
    height: 100%;
}

.services .row {
    height: 100%;
}

@media (max-width: 991px) {

    .services .content-container {
        padding: 4rem 2rem;
    }
}

.services a {
    color: white;
    text-decoration: none;
}
