#service-filters {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}
#service-filters li {
    display: inline-block;
}
#service-filters li a {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    color: #666;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 25px;
    transition: all 0.3s;
    font-weight: 500;
}
#service-filters li a:hover {
    color: var(--accent-text);
    border-color: var(--bs-primary);
    background: #fff8f0;
}
#service-filters li.active a {
    color: var(--on-accent);
    background: var(--bs-primary);
    border-color: var(--bs-primary);
}
.service-card {
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(253, 172, 83, 0.25) !important;
}
.service-card img {
    transition: transform 0.3s;
}
.service-card:hover img {
    transform: scale(1.05);
}
.service-card .service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
    color: white;
    border-radius: 50%;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}
.service-card a.text-uppercase {
    color: var(--accent-text);
    text-decoration: none;
    font-weight: 600;
}
.service-card a.text-uppercase:hover {
    color: #e89a3f;
    text-decoration: underline;
}

/* Phones: one row of categories that scrolls sideways instead of ten stacked rows */
@media (max-width: 575.98px) {
    #service-filters {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-left: calc(var(--bs-gutter-x, 1.5rem) * -.5);
        margin-right: calc(var(--bs-gutter-x, 1.5rem) * -.5);
        padding: 2px calc(var(--bs-gutter-x, 1.5rem) * .5) 6px;
    }

        #service-filters::-webkit-scrollbar {
            display: none;
        }

        #service-filters li {
            flex: 0 0 auto;
        }

            #service-filters li a {
                padding: 0.45rem 1.1rem;
                white-space: nowrap;
            }
}
