.services-section {
    position: relative;
    padding-top: 160px;
    padding-bottom: 160px;
    text-align: center;
    overflow: hidden;
    z-index: 1;
    /* مهم */
}

.blur-image-services {
    position: absolute;
    width: 717px;
    height: 482px;
    top: 320px;
    right: -20px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
}


.services-title {
    font-family: Inter, sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
}

.services-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    max-width: 1296px;
    margin: 0 auto;
}

.service-box {
    background-color: #00000040;
    width: 306px;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
        text-decoration: none;

}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 36px;
    min-height: 84px;

}

.service-icon img {
    height: 84px;
    width: auto;
    display: block;
}

.icon-control {
    width: 42px;
    height: 63px;
    border: 5px;
}

.icon-security {
    width: 84px;
    height: 84px;
}

.icon-safety {
    width: 82px;
    height: 82px;
}

.icon-sound {
    width: 84px;
    height: 84px;
}

.service-title {
    font-family: Inter, sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #FFFFFF;
    margin-top: 10px;
    margin-bottom: 16px;
}

.service-description {
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #FFFFFF;
    opacity: 70%;
    line-height: 1.6;
    margin-top: 0;
}

.lighting-icon-btn {
    width: 111px;
    height: 113px;
    border-radius: 100px;
    /* background: #232b38; */
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

@media (max-width: 600px) {
    .services-section {
        padding-top: 40px;
        padding-bottom: 40px;
        overflow: visible !important;
        max-width: 100vw;
        margin: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .services-title {
        font-size: 24px;
        font-weight: 700;
        color: #fff;
        margin-bottom: 24px;
    }

    .services-container {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 12px;
        padding-left: 28px;
        padding-right: 12px;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 12px;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        max-width: 100%;
        margin: 0;
    }

    .services-container::-webkit-scrollbar {
        display: none;
    }

    .service-box {
        min-width: 155px;
        max-width: 172px;
        width: 155px;
        height: 172px;
        flex: 0 0 auto;
        padding: 12px 10px;
        border-radius: 16px;
        margin-bottom: 0;
        scroll-snap-align: start;
        background: #00000040;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        box-sizing: border-box;
    }

    .service-icon {
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: unset;
    }

    .service-title {
        font-size: 14px;
        font-weight: 600;
        height: 17px;
        margin: 0 0 8px 0;
        line-height: 100%;
        color: #fff;
        text-align: center;
    }

    .service-description {
        font-size: 10px;
        font-weight: 400;
        margin: 0;
        line-height: 1.4;
        color: #fff;
        opacity: 0.7;
        text-align: center;
    }

    .icon-control {
        width: 24px !important;
        height: 36px !important;
        border-width: 5px;
    }

    .icon-security,
    .icon-safety,
    .icon-sound {
        width: 36px !important;
        height: 36px !important;
    }

    .service-box:first-child {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
}

.service-box:first-child {
    margin-left: 0 !important;
    padding-left: 0 !important;
}