section,
.section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 70px 0;
    scroll-margin-top: 112px;
    overflow: clip;
}

.circle-container {
    position: relative;
    width: 440px;
    height: 440px;
    border: 5px solid rgba(83, 14, 0, 0.142);
    border-radius: 50%;
    outline: 5px solid rgb(173, 0, 0);
    background-image: url(../img/bg_hero_1.webp);
    background-position: bottom;
}

/* Circle Elements */
.circut {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* العناصر التي تتحرك */
.service {
    position: absolute;
    top: 37%;
    left: 37%;
    width: 105px;
    text-align: center !important;
    height: 100px;
    background-color: #fff;
    border: 3px solid #a10c1d;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: bold;
    color: #333;
    transform-origin: 0 -250px;
    animation: moveCircle 10s linear infinite;
}

/* حركة العناصر */
@keyframes moveCircle {
    0% {
        transform: rotate(0deg) translateY(-220px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateY(-220px) rotate(-360deg);
    }
}

.service:nth-child(1) {
    animation-delay: 0s;
}

.service:nth-child(2) {
    animation-delay: 0.91s;
}

.service:nth-child(3) {
    animation-delay: 1.82s;
}

.service:nth-child(4) {
    animation-delay: 2.73s;
}

.service:nth-child(5) {
    animation-delay: 3.64s;
}

.service:nth-child(6) {
    animation-delay: 4.55s;
}

.service:nth-child(7) {
    animation-delay: 5.46s;
}

.service:nth-child(8) {
    animation-delay: 6.37s;
}

.service:nth-child(9) {
    animation-delay: 7.28s;
}

.service:nth-child(10) {
    animation-delay: 8.19s;
}

.service:nth-child(11) {
    animation-delay: 9.1s;
}

@media (max-width: 992px) {
    .service-details-page ul {
        margin-top: 36px;
    }

    .category-sec {
        padding: 0 !important;
    }
}

@media (max-width: 575px) {
    .service-details-page ul {
        margin-top: 36px;
    }

    .circle-container {
        position: relative;
        width: 340px;
        height: 340px;
        border: 5px solid rgba(83, 14, 0, 0.142);
        border-radius: 50%;
        outline: 5px solid rgb(173, 0, 0);
        background-image: url(../img/bg_hero_1.webp);
        background-position: bottom;
    }

    .service {
        position: absolute;
        top: 39%;
        left: 37%;
        width: 80px;
        height: 70px;
        font-size: 10px;
        transform-origin: 0 -250px;
        animation: moveCircle 10s linear infinite;
        font-weight: normal;
    }

    /* حركة العناصر */
    @keyframes moveCircle {
        0% {
            transform: rotate(0deg) translateY(-200px) rotate(0deg);
        }

        100% {
            transform: rotate(360deg) translateY(-200px) rotate(-360deg);
        }
    }
}

@media (max-width: 490px) {
    .service {
        position: absolute;
        top: 39%;
        left: 37%;
        width: 80px;
        height: 70px;
        font-size: 10px;
        transform-origin: 0 -250px;
        animation: moveCircle 10s linear infinite;
        font-weight: normal;
    }

    @keyframes moveCircle {
        0% {
            transform: rotate(0deg) translateY(-160px) rotate(0deg);
        }

        100% {
            transform: rotate(360deg) translateY(-160px) rotate(-360deg);
        }
    }
}

@media (max-width: 414px) {
    .circle-container {
        width: 300px;
        height: 300px;
    }

    .service {
        position: absolute;
        top: 39%;
        left: 38%;
        width: 70px;
        height: 60px;
        text-align: center;
        font-size: 8px;
        transform-origin: 0 -250px;
        animation: moveCircle 10s linear infinite;
        font-weight: normal;
    }

    @keyframes moveCircle {
        0% {
            transform: rotate(0deg) translateY(-135px) rotate(0deg);
        }

        100% {
            transform: rotate(360deg) translateY(-135px) rotate(-360deg);
        }
    }

    .service-details ul li {
        font-size: 12px;
    }
}

@media (max-width: 314px) {
    .circle-container {
        width: 300px;
        height: 275px;
    }

    .service {
        position: absolute;
        top: 40%;
        left: 40%;
        width: 50px;
        height: 50px;
        font-size: 6px;
        transform-origin: 0 -250px;
        animation: moveCircle 10s linear infinite;
        font-weight: normal;
    }

    @keyframes moveCircle {
        0% {
            transform: rotate(0deg) translateY(-115px) rotate(0deg);
        }

        100% {
            transform: rotate(360deg) translateY(-115px) rotate(-360deg);
        }
    }

    .service-details ul li {
        font-size: 12px;
    }
}

































.category-sec .services-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.123);
}

.category-sec .category {
    flex: 1 1 calc(25% - 20px);
    /* Responsive for up to 8 parts */
    min-width: 200px;
    color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.329);
}

.category-sec .category h3 {
    margin-top: 0;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    color: #830000;
}


.category-sec .category p {
    text-align: center;
    padding: 8px;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: #1000008c;
    font-weight: 500;
}

.category-sec .category ul li:last-child {
    border-bottom: none;
}