.service-img-container img {
    width: 100%;
    max-height: 640px;
    display: block;
    vertical-align: bottom;
    /*-webkit-transition: 0.4s ease;
    transition: 0.4s ease;*/
}

/*.service-container:hover .service-img-container img {
    transform: scale(1.08);
    -webkit-transform: scale(1.08);
} */

.service-title::after {
    content: ' ';
    display: block;
    margin: 16px 0;
    width: 60px;
    height: 8px;
    background: #f2e400;
}

.description-container {
    padding: 1em 2em 0em 2em;
}

.description-container .rich-text {
    line-height: 1.4em;
}

.rich-text p {
    margin-bottom: 0;
}

.read-more-btn {
    border: 1px solid black;
    padding: 5px 20px 5px 20px;
    cursor: pointer;
    white-space: nowrap;
    text-decoration-line: none;
    color: black;
}

.read-more-btn:hover {
    color: rgb(119,122,122);
    border-color: rgb(119,122,122);;
}

.read-more-para {
    margin: 0;
    line-height: 4em;
    text-align: center;
}


@media only screen and (min-width: 768px) {
    .description-container {
        padding: 1em 2em 4em 2em;
    }
    .sub-service {
        background-color: white;
        position: relative;
    }

    .sub-service-btn {
        position: absolute;
        bottom: 0px;
        right: 50%;
        transform: translate(50%, 0);
    }

    .sub-service img {
        transition: transform .25s ease-in-out,-webkit-transform .25s ease-in-out;
    }

    .sub-service:hover img {
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }

    .service-img-container {
        overflow: hidden;
        display: block;
    }
}