/* --- الأساسيات --- */
.bg-gradient {
    background: linear-gradient(122deg, #2755a0 0%, #2757a3 70%) !important;
    padding: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 50px; /* مسافة بين الأيقونات والحافة اليمنى */
    padding-left: 10px; /* مسافة بين اللوغو والحافة اليسرى */
	padding-top: 0rem !important;
	padding-bottom: 0rem !important;
	
}

/* عند التمرير */
#main-header.scrolled {
    margin-bottom: 100px;
    padding: 10px 10px;
    background: rgba(26, 26, 46, 0.9);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* --- اللوغو --- */
.logo {
    margin-left: 0; /* إزالة أي مسافة إضافية */
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: rotate(5deg) scale(1.1);
}

/* --- روابط التنقل --- */
.nav-links {
    display: flex;
    gap: 10px;
    justify-content: flex-start; /* لجعل الروابط تبدأ مباشرة بعد اللوغو */
}

.nav-links .nav-link {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.8rem;
    padding: 10px 10px;
    border-radius: 8px;
    transition: color 0.3s ease, background-color 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-links .nav-link i {
    margin-right: 5px; /* مسافة بين الأيقونة والنص */
}

.nav-links .nav-link:hover {
    color: #cfd8dc;
    background-color: rgba(255, 255, 255, 0.1);
}

/* --- أيقونات الهيدر --- */
.header-icons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.header-icons .icon-link {
    color: #ffffff;
    transition: transform 0.3s, color 0.3s;
}

.header-icons .icon-link:hover {
    transform: scale(1.1);
    color: #2a9d8f;
}

/* --- تحسينات الهواتف المحمولة --- */
@media (max-width: 768px) {
    .bg-gradient {
        flex-wrap: wrap; /* السماح للعناصر بالانتقال إلى سطر جديد */
    }

    .nav-links {
        justify-content: center; /* توسيط الروابط على الشاشات الصغيرة */
        gap: 10px;
    }

    .header-icons {
        justify-content: center;
        gap: 10px;
    }
}

	
/* --- الفوتر --- */
.footer-section {
    background: linear-gradient(122deg, #58ba47 0%, #5aba47 70%) !important;
    color: #ffffff;
    padding: 40px 0;
    font-family: 'Century Gothic', Arial, sans-serif;
    position: relative;
    overflow: hidden;
}

/* تحسين العناصر داخل الفوتر */
.footer-section p,
.footer-section li,
.footer-section a,
.footer-section h4 {
    font-family: 'Century Gothic', Arial, sans-serif;
    color: #ffffff;
}

/* تنسيق اللوغو في الفوتر */
.logo-container img {
    max-width: 150px;
    margin: 0 auto;
    display: block;
}

.about-box h4 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    display: inline-block;
}

.about-box p {
    font-size: 1rem;
    line-height: 1.6;
}

/* تنسيق العناوين في الفوتر */
.footer-section h4 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    display: inline-block;
}

/* تنسيق قائمة المعلومات */
.footer-section .contact-info li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    font-size: 1rem;
    transition: color 0.3s, transform 0.3s;
}

.footer-section .contact-info li i {
    margin-right: 10px;
    transition: transform 0.3s;
}

.footer-section .contact-info li:hover {
    transform: translateX(5px);
}

.footer-section .contact-info li:hover i {
    transform: scale(1.2);
}

/* تنسيق أيقونات التواصل الاجتماعي */
.footer-section .social-icons {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.footer-section .social-icons a {
    font-size: 1.6rem;
    margin: 0 10px;
    transition: color 0.3s, transform 0.3s;
}

.footer-section .social-icons a:hover {
    color: #0a0a0a;
    transform: translateY(-3px);
}

/* تنسيق الخريطة */
.footer-section .map-container iframe {
    border: 3px solid #ffffff;
    border-radius: 8px;
}

/* --- تحسينات الهواتف المحمولة --- */
@media (max-width: 768px) {
    .footer-section {
        padding: 30px 10px;
    }

    .footer-section .social-icons {
        justify-content: center;
        margin-top: 1rem;
    }

    .footer-section .contact-info li {
        font-size: 0.9rem;
    }

    .footer-section h4 {
        font-size: 1.2rem;
    }

    .footer-section .map-container iframe {
        width: 100%;
    }
}

button, .btn  {

background: transparent;
	    --bs-btn-padding-x: 0.10rem;
--bs-btn-border-color: ;
	  }

