.services {
    width: min(1200px, 90vw);
    margin: 2rem auto;
}

.services .slider {
    width: 100%;
    align-items: center;
    height: calc(var(--height) + 30px);
    overflow: hidden;
    mask-image: linear-gradient(to right,
    transparent,
    #000 10% 90%,
            transparent);
}
.services .slider .list {
    margin: 15px 0;
    display: flex;
    width: 100%;
    min-width: calc(var(--width) * var(--quantity));
    position: relative;
}

.services .slider .list .item {
    width: var(--width);
    height: var(--height);
    position: absolute;
    left: 100%;
    animation: autoRun 10s linear infinite;
    transition: filter 0.5s;
    animation-delay: calc((10s / var(--quantity)) * (var(--position) - 1) - 10s) !important;
}

.services .slider .list .item img {
    width: 100%;
}

@keyframes autoRun {
    from {
        left: 100%;
    }

    to {
        left: calc(var(--width) * -1);
    }
}

.services .slider:hover .item {
    animation-play-state: paused !important;
    filter: grayscale(1);
}

.services .slider .item:hover {
    filter: grayscale(0);
}

.services .slider[reverse="true"] .item {
    animation: reversePlay 10s linear infinite;
}

@keyframes reversePlay {
    from {
        left: calc(var(--width) * -1);
    }

    to {
        left: 100%;
    }
}

.services .service-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    border-radius: 10px;
    text-align: center;
    width: 100%;
    border: 2px solid #efefef;
    height: 100%;
    padding: 5px 0 0 0;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.services .service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}


.services .service-img-container {
    width: 90px;
    height: 90px;
    margin-bottom: 15px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.services .service-img-container img {
    transition: all 0.3s;
}

.services .service-name h6 {
    border-radius: 5px;
    height: 125px;
    min-width: 250px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;

}

.services .service-name h6 {
    font-weight: 900;
    font-size: 1.5rem;
    color: #00b6ce;
}