.img-service {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
}

.container-services {
    max-width: 1140px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.glightbox img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glightbox:hover img {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Custom col class for 5 columns per row */
@media (min-width: 768px) {
    .col-md-custom {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* Uiverse Button Style */
.button {
    background-color: #ffffff00;
    color: black;
    width: 8.5em;
    height: 2.9em;
    border: #e34e1e 0.2em solid;
    border-radius: 11px;
    text-align: right;
    transition: all 0.6s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 1.5em;
    text-decoration: none;
}

.button:hover {
    background-color: #e34e1e;
    color: white;
    cursor: pointer;
}

.button svg {
    width: 1.6em;
    margin-right: 0.5em;
    position: absolute;
    left: 0.8em;
    transition: all 0.6s ease;
}

.button-prev svg {
    transition: all 0.6s ease;
    transform: translateX(0);
}

.button-prev:hover svg {
    transform: translateX(-5px);
    /* Pijl beweegt naar links */
}

.button-next svg {
    transition: all 0.6s ease;
    transform: translateX(0);
}

.button-next:hover svg {
    transform: translateX(5px);
    /* Pijl beweegt naar rechts */
}

.text {
    margin-left: auto;
    font-weight: 500;
}

.active-page {
    background-color: #e34e1e;
    color: #fff;
    font-weight: bold;
}

.button-page.disabled {
    border: none;
    color: #aaa;
    cursor: default;
    pointer-events: none;
    background: transparent;
}

.button-page {
    background-color: #ffffff00;
    color: black;
    width: 2.5em;
    height: 2.5em;
    border: #e34e1e 0.15em solid;
    border-radius: 8px;
    text-align: center;
    line-height: 2.2em;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0;
    text-decoration: none;
}

.button-page:hover {
    background-color: #e34e1e;
    color: white;
    cursor: pointer;
    text-decoration: none;
}

.button-page.active-page {
    background-color: #e34e1e;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 576px) {
    .button {
        width: auto;
        padding: 0.5em 1em 0.5em 2.5em;
        font-size: 0.85rem;
        height: 2.5em;
    }

    .button .text {
        font-size: 0.85rem;
    }

    .button svg {
        display: block;
        width: 1.2em;
        height: auto;
    }

    .button-page {
        min-width: 2.2em;
        height: 2.2em;
        font-size: 0.85rem;
        line-height: 2em;
    }

    .pagination-wrapper {
        gap: 0.5rem !important;
    }
}