/*====================================================================
Services
=====================================================================*/

.hero {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: linear-gradient( to right, rgba(23, 23, 23, 0.80), rgba(23, 0, 0, 0) ), url(../img/services-hero.png);
    padding: 15vh 0;
    color: #FFF;
    text-align: center;
}
/* .subnav {
padding: 50px 0px;
} */

#our-services {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: start;
    margin-top: 7rem;
    margin-bottom: 10rem;

}

.card-link {
    text-decoration: none; 
    color: inherit; 
    flex: 0 0 100%; 
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.09);  
    border-radius: 20px;
    transition: transform 0.3s;
}

.card-link:hover {
    transform: translateY(-5px);
}


.service-card {
    box-sizing: border-box;
    padding: 25px 20px;
    border-radius: 20px;
    background-color: #fff;  
text-align: left !important;
}

.service-card img {
    max-width: 100%;
    height: auto;
    display: block;  /* Ensures there's no extra space under the image */
    margin: 0 auto;  /* Center the image if narrower than card */
}

/* Tablet and up */
@media (min-width: 768px) {
    .card-link {
        flex: 0 0 calc(33.3333% - 30px);
    }
}

/* Desktop and up */
@media (min-width: 1024px) {
    .card-link {
        flex: 0 0 calc(33.3333% - 30px);
    }


}

