/* services.html CSS */

.services {
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 2px;
}

.service-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    justify-items: center;
}

.service {
    position: relative;
    background-color: #9C8B7E;
    border: 1px solid black;
    border-radius: 10px;
    padding: 1rem;
    max-width: 370px;
    width: 100%;
}

.service img {
    width: 100%;
    height: 250px;
    max-width: 300px;
    object-fit: cover;
    border-radius: 6px;
}

.service a {
    color: black;
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}

.service a:hover {
    text-decoration: underline;
}

.service p {
    margin: 0.75rem 0 0.25rem;
    color: black;
}

@media screen and (max-width: 1068px) { /* tablets */
    .service-group {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) { /* mobile devices & tablets */
    .service-group {
        grid-template-columns: 1fr;
    }

    .services {
        padding: 2.5rem 1.25rem;
    }
}


