
        .nav-links {
            display: flex;
            gap: 20px;
        }

        .nav-links a {
            color: white;
            text-decoration: none;
            font-weight: 600;
            padding: 8px 16px;
            border-radius: 30px;
            transition: background 0.3s;
        }

        .nav-links a:hover,
        .nav-links a.active {
            background-color: var(--primary);
        }


        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .menu-toggle {
            margin-right: auto;
            color: white;
        }

        .nav-links {
            display: flex;
            gap: 20px;
        }

        .menu-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
        }

        /* موبايل */
        @media (max-width: 768px) {

            .menu-toggle {
                display: block;
            }

            .nav-links {
                position: absolute;
                top: 80px;
                right: 0;
                width: 100%;
                background: #1d3557;
                flex-direction: column;
                text-align: center;
                gap: 15px;
                padding: 20px 0;
                display: none;
            }

            .nav-links a {
                color: white;
                font-size: 1.1rem;
            }

            .nav-links.active {
                display: flex;
            }
        }

        /* إخفاء الزر افتراضيًا */
        .close-menu {
            display: none;
        }

        /* داخل الموبايل فقط */
        @media (max-width: 768px) {

            .nav-links {
                position: fixed;
                top: 0;
                right: -280px;
                width: 260px;
                height: 100%;
                background: #1d3557;
                flex-direction: column;
                padding: 80px 20px 20px;
                gap: 20px;
                transition: 0.4s ease;
                z-index: 1001;
            }

            /* يظهر فقط عند فتح القائمة */
            .nav-links.active .close-menu {
                display: block;
            }

            .close-menu {
                position: absolute;
                top: 20px;
                left: 20px;
                background: none;
                border: none;
                color: white;
                font-size: 22px;
                cursor: pointer;
            }
        }

        .menu-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 26px;
            cursor: pointer;
        }

        /* الوضع العادي (كمبيوتر) */
        .nav-links {
            display: flex;
            gap: 20px;
        }

        /* موبايل */
        @media (max-width: 768px) {

            .menu-toggle {
                display: block;
            }

            .nav-links {
                position: fixed;
                top: 0;
                right: -280px;
                width: 260px;
                height: 100%;
                background: #1d3557;
                flex-direction: column;
                padding: 80px 20px 20px;
                gap: 20px;
                transition: 0.4s ease;
                z-index: 1001;
            }

            .nav-links a {
                color: white;
                font-size: 1.1rem;
                text-decoration: none;
                padding: 10px;
                border-radius: 6px;
                transition: 0.3s;
            }

            .nav-links a:hover {
                background: rgba(255, 255, 255, 0.15);
            }

            .nav-links.active {
                right: 0;
            }

            .close-menu {
                position: absolute;
                top: 20px;
                left: 20px;
                background: none;
                border: none;
                color: white;
                font-size: 22px;
                cursor: pointer;
            }

            /* الخلفية المعتمة */
            .nav-overlay {
                position: fixed;
                top: 0;
                right: 0;
                width: 100%;
                height: 100%;
                background: rgba(0, 0, 0, 0.5);
                opacity: 0;
                visibility: hidden;
                transition: 0.3s;
                z-index: 1000;
            }

            .nav-overlay.active {
                opacity: 1;
                visibility: visible;
            }
        }


 /* ===== زر الرجوع للأعلى ===== */

 #scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: none;
    background: #e63946;
    color: white;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    display: none;
    transition: all 0.3s ease;
    z-index: 9999;
}

#scrollTopBtn:hover {
    background: #b71c1c;
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}


/*حواف الايقونات */

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: #ffffff;
    border: 3px solid currentColor;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.12);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}


.service-card.laboratory .service-icon { color: var(--laboratory-color); }
.service-card.pharmacy .service-icon { color: var(--pharmacy-color); }
.service-card.hospital .service-icon { color: var(--hospital-color); }
.service-card.police .service-icon { color: var(--police-color); }
.service-card.military .service-icon { color: var(--military-color); }
.service-card.civil-defense .service-icon { color: var(--civil-defense-color); }
.service-card.doctor .service-icon { color: var(--doctor-color); }
.service-card.depannage .service-icon { color: var(--depannage-color); }



 