html {
    scroll-behavior: smooth;
}

#breaker {
    height: 0px;
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    #breaker {
        display: none;
    }
}

.service-container {
    text-align: center;
    display: block;
    width: 100%;
}

.service-card {
    background: #F1F1FA;
    width: 250px;
    height: 250px;
    display: inline-block;
    margin: 10px;
    border: 0;
    overflow: hidden;
    position: relative;
    transition: 0.3s ease all;
    text-align: center;
}

.service-background {
    display: block;
    height: 100%;
    margin: 0 auto;
    opacity: 0;
    transition: 0.3s ease all;
    object-fit: cover;
    position: relative;
    left: calc(width / 2);
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -65%);
    transform: translate(-50%, -65%);
}

.service-header {
    color: black;
    margin: 0;
    position: absolute;
    bottom: 0%;
    left: 50%;
    -ms-transform: translate(-50%, -5%);
    transform: translate(-50%, -5%);
    width: 100%;
    padding: 5px;
    padding-bottom: 15px;
}

.one-line {
    -ms-transform: translate(-50%, -35%);
    transform: translate(-50%, -35%);
}

.service-card:hover .service-background {
    opacity: 100%;
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
}

.col-md-7 img {
    height: 300px;
    width: 100%;
    overflow: hidden;
    object-fit: cover;
}

.service-card:hover .service-icon, .service-card:hover .service-header {
    filter: invert(1.0);
    -webkit-filter: invert(1.0);
}

.mobile-alt-img {
    display: none;
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) { 
    .mobile-alt-img {
        display: inline-block;
    }
    .main-img {
        display: none;
    }
}