

/* إعدادات عامة */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    direction: rtl;
    background-color: #f4f4f4;
    overflow-x: hidden;
}

/* إعدادات القائمة الجانبية الأساسية */
.sidebar {
    width: 250px;
    background-color: #004e92; /* لون أزرق داكن */
    position: fixed;
    top: 0;
    right: -100%;
    height: 100%;
    transition: right 0.4s ease;
    z-index: 1000;
    padding: 20px 0;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
}

/* إظهار القائمة عند تفعيل الكلاس */
.sidebar.active {
    right: 0;
}

/* رأس القائمة - يحتوي على عنوان أو شعار */
.sidebar .header {
    text-align: center;
    padding: 20px;
    font-size: 1.4rem;
    color: #f4c038;
    font-weight: bold;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

/* تنسيق عناصر القائمة */
.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    margin-bottom: 15px;
}

.sidebar ul li a {
    display: flex;
    align-items: center;
    color: white;
    font-size: 1.2rem;
    padding: 12px 20px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 5px;
}

.sidebar ul li a:hover {
    background-color: #0056a3;
    color: #f4c038;
}

/* أيقونات العناصر */
.sidebar ul li a i {
    font-size: 1.5rem;
    margin-left: 15px;
    color: #f4c038; /* لون الأيقونة */
    transition: color 0.3s ease;
}

.sidebar ul li a:hover i {
    color: white;
}

/* أيقونة القائمة */
.menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #004e92;
    color: white;
    padding: 10px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 5px;
    margin: 15px;
    transition: background-color 0.3s ease;
}
/* زر إغلاق "X" */
.close-btn {
    font-size: 30px;
    color: white;
    cursor: pointer;
}
.menu-icon:hover {
    background-color: #003a6b;
}

/* تحسين تنسيق النصوص */
.sidebar ul li a span {
    flex-grow: 1;
    font-weight: 500;
}
/* القائمة الفرعية */
.sidebar ul .submenu {
    display: none;
    list-style-type: none;
    padding-left: 20px;
}

.sidebar ul li:hover .submenu {
    display: block;
}

.sidebar ul .submenu li a {
    font-size: 1rem;
    color: #f4c038;
    padding: 8px 20px;
    display: block;
    transition: color 0.3s;
}

.sidebar ul .submenu li a:hover {
    color: #ffffff;
}


.containerr {
    width: 100%;
 background-color: #1f1f1f;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

header {
        background-size: cover;
    background-color: #1e4072;
    color: white;
    padding: 100px 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

header img {
    width: 60px;
    height: auto;
}

header h1 {
    font-size: 1.5rem;
    flex-grow: 1;
    text-align: center;
}

.badge {
    background-color: #f4c038;
    padding: 10px;
    border-radius: 50%;
}


/* الأيقونات الاجتماعية */
.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    color: #1e4072;
    background-color: white;
    padding: 10px;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #1e4072;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
    background-color: #0056a3;
    color: white;
}

.sidebar {
    width: 20%; /* يمكنك تعديل النسبة حسب تصميمك */
    background-color: #0093d5;
    padding: 10px;
    position: fixed;
    top: 0;
    right: -100%;
    height: 100%;
    transition: right 0.3s ease; /* تجعل الحركة سلسة عند إظهار وإخفاء القائمة */
    z-index: 1000;
}

.sidebar.active {
    right: 0; /* تحريك القائمة إلى اليمين لتصبح مرئية */
}
/* تنسيق السلايدر */
.slider-section {
    position: relative;
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: cover;
}


.slide-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 5px;
    max-width: 70%;
}

.slide-content h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.slide-content p {
    font-size: 1rem;
    margin-bottom: 15px;
}

/* زر الاتصال داخل السلايدر */
.slider-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f4c038;
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.slider-button:hover {
    background-color: #e5b030;
    color: #fff;
}
/* تنسيق أزرار التنقل */
.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-next {
    right: 10px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
   /* تصميم جديد لمناطق التغطية */
        .areas-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            padding: 20px;
            background-color: #fff;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .area-item {
            background-color: #f39c12;
            padding: 10px;
            border-radius: 10px;
            color: #fff;
            text-align: center;
            font-weight: bold;
            transition: background-color 0.3s ease, transform 0.3s ease;
        }

        .area-item:hover {
            background-color: #ffcc00;
            transform: scale(1.05);
        }
/* التنبيه */
.alert {
    background-color: #f4c038;
    padding: 10px;
    text-align: center;
    margin: 10px 0;
    font-size: 1.2rem;
    border-radius: 5px;
}

/* تنسيق قسم الخدمات */
.services {
    padding: 20px;
    background-color: #f9f9f9;
    margin: 20px 0;
    text-align: center;
}

.services h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #1e4072;
}

.services .number {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.services ul {
    list-style: none;
    padding: 0;
}

.services ul li {
    display: inline-block;
    margin: 5px;
    padding: 10px 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 1.2rem;
}

/* معلومات التواصل */
.contact-info {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    width: 100%;
}

.contact-info div {
    background-color: #1e4072;
    color: white;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    width: 30%;
}

/* التنسيق الخاص بالقائمة */
.menu-icon {
    display: none;
    background-color: #0056a3;
    color: white;
    padding: 10px;
    font-size: 24px;
    text-align: center;
    cursor: pointer;
    margin: 10px;
}

/* تنسيق الأزرار العائمة */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.floating-buttons a {
    background-color: #25D366;
    color: white;
    padding: 15px;
    border-radius: 50%;
    font-size: 20px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.floating-buttons a.phone-btn {
    background-color: #007bff;
}

/* تنسيق البطاقات */
.card-container {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.card {
    width: 300px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    text-align: center;
    margin: 10px;
}

.card:hover {
    transform: translateY(-10px);
}

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

.card h3 {
    margin: 10px 0;
    font-size: 1.5rem;
    color: #333;
}

/* تحسينات التوافق للأجهزة */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.2rem;
    }

    .card-container {
        flex-direction: column;
        align-items: center;
    }

    .illustrations img {
        width: 100%;
        margin-bottom: 10px;
    }

    .contact-info div {
        width: 100%;
        margin-bottom: 10px;
    }

    .services h2 {
        font-size: 1.5rem;
    }

    .services .number, .services ul li {
        font-size: 1rem;
    }

    .menu-icon {
        display: block;
    }

    .sidebar {
        width: 60%;
    }
}

@media (max-width: 480px) {
    .contact-info {
        flex-direction: column;
        align-items: center;
    }

    .floating-buttons a {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .main-content {
        flex-direction: column;
    }
}

