

/* تنسيق الهيدر */
.header {
    background-color:rgb(40, 75, 109);
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* تنسيق الشعار */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 50px;
    height: 50px;
    margin-left: 10px;
}

.logo-text {
    line-height: 1.2;
}

.logo-text h1 {
    font-size: 18px;
    margin: 0;
}

.logo-text p {
    font-size: 14px;
    margin: 0;
}

/* تنسيق قائمة التنقل */
.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #18BC9C;
}

/* زر القائمة الجانبية للشاشات الصغيرة */
.sidebar-toggle {
    display: none;
    background-color: #2C3E50;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
}

/* تصميم متجاوب */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .sidebar-toggle {
        display: block;
    }
}

/* القائمة الجانبية */
.sidebar {
    width: 250px;
    background-color:rgb(40, 75, 109);
    color: white;
    height: 100vh;
    position: fixed;
    top: 0;
    right: -250px;
    transition: right 0.3s ease;
    z-index: 1001;
}

.sidebar.active {
    right: 0;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    padding: 15px;
    text-align: center;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.sidebar ul li a:hover {
    color: #18BC9C;
}

/* تنسيق المحتوى الرئيسي */


/* رسالة الاتجاه الأفقي */
.landscape-warning {
    display: none;
    text-align: center;
    padding: 50px;
    font-size: 18px;
    background-color: #f44336;
    color: white;
    border-radius: 10px;
    font-family: Arial, sans-serif;
}

@media only screen and (orientation: portrait) {
    .content {
        display: none;
    }

    .landscape-warning {
        display: block;
    }
}

@media only screen and (orientation: landscape) {
    .content {
        display: block;
    }

    .landscape-warning {
        display: none;
    }
}

/* تنسيق الفوتير */
.footer {
    background-color: #343a40;
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: 50px;
}

.footer .footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer .footer-section {
    flex: 1;
    padding: 10px;
    min-width: 250px;
}

.footer .footer-section h4 {
    margin-bottom: 15px;
}

.footer .footer-section p {
    margin: 5px 0;
}

.footer .footer-bottom {
    margin-top: 20px;
    border-top: 1px solid #444;
    padding-top: 10px;
}

@media (max-width: 768px) {
    .footer .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer .footer-section {
        text-align: center;
    }
}
.border-box {
    border: 2px solid green; /* تحديد لون الحدود */
    padding: 5px; /* إضافة مسافة داخلية */
    border-radius: 5px; /* جعل الزوايا مدورة (اختياري) */
}


/*********************************   ***/


.sidebar {
    position: fixed;
    top: 0;
    left: -250px; /* إخفاء القائمة الجانبية بشكل افتراضي */
    width: 250px;
    height: 100%;
    background-color:rgb(40, 75, 109);
    transition: left 0.3s ease;
}

.sidebar.active {
    left: 0; /* إظهار القائمة الجانبية عند التفعيل */
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

.close-btn:hover {
    color: #ccc;
}

ul {
    list-style-type: none;
    padding: 0;
    margin-top: 50px;
}

ul li a {
    color: rgb(245, 249, 253);

    text-decoration: none;
    padding: 10px;
    display: block;
}

ul li a:hover {
    background-color:rgb(245, 249, 253);
}

/************************                 *******************/
/* تحسين الفوتير */
.footer {
    background-color:rgb(40, 75, 109);
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: 50px;
    width: 100%; /* عرض الشاشة بالكامل */
}

.footer .footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer .footer-section {
    flex: 1;
    padding: 10px;
    min-width: 100px;
}

.footer .footer-section h4 {
    margin-bottom: 15px;
}

.footer .footer-section p {
    margin: 5px 0;
}

.footer .footer-bottom {
    margin-top: 20px;
    border-top: 1px solid #444;
    padding-top: 10px;
}

/* تنسيق الخريطة لتكون في الوسط */
.footer .footer-section.map-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer .footer-section.map-section iframe {
    max-width: 100%;
    height: 150px;
    border: 0;
}

/* تنسيق رابط الفيس بوك */
.footer .footer-section.social-section a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer .footer-section.social-section a i {
    margin-right: 10px;
    font-size: 24px;
    color: #e6ebf3; /* لون أيقونة الفيس بوك */
}

@media (max-width: 768px) {
    .footer .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer .footer-section {
        text-align: center;
    }

    .footer {
        padding: 10px 0; /* تقليل الحشو في الشاشات الصغيرة */
    }
}

@media (min-width: 769px) {
    .footer {
        padding: 20px 0; /* زيادة الحشو في الشاشات الكبيرة */
    }
}


