/* #service-page-container h1 {
    margin-bottom: 50px;
} */

.service-card-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

#service-page-header {
    margin-left: 4%;
    margin-bottom: 70px;
    font-family: 'Oswald';
}

.service-card {
    padding: 10px;
    border-radius: 10px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    cursor: pointer;
    box-shadow: 0;
    transition: box-shadow 0.3s;
    display: flex;
    background-color: white;
    flex-direction: column;
    align-items: left;
    width: calc(33.33% - 20px); /* 3 cards per row, accounting for gap */
    max-width: 300px;
  }
  
.service-card:hover {
    box-shadow: -10px 10px 10px rgba(0, 0, 0, 0.15);
}

.service-card:hover > .service-image {
    transform: scale(1.065);
}

.service-image {
    height: 100%; /* Reduced height */
    width: 100%;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
    transition: transform 0.3s;
  }
  
  .service-card h2 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 21px;
  }

  .service-card {
    width: 50%;
    padding: 15px;
}



.service-card-container .service-card {
    min-width: 25%;
}


@media (max-width: 768px) {

    .service-card-container .service-card {
        width: 80%;
    }

    #service-page-container h1 {
        text-align: center;
    }

    #service-page-header {
        margin-left: 0;
    }
}
