/* ✅ تنسيق عام للصفحة */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f8f9fc;
    color: #333;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #008cf0;
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 15px 0px;
    max-width: 100%;
}

/* الشعار */
.logo img {
    height: 60px;
}

/* قائمة التنقل */
.nav-links {
    list-style: none;
    display: flex;
    max-width:100%;
    gap: 15px;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 10px 15px;
    transition: 0.3s ease-in-out;
}

/* تأثير المستطيل الأصفر عند التمرير */
.nav-links a:hover,
.nav-links a.active {
    background: #fdb912;
    border-radius: 5px;
    padding: 10px 15px;
}

/* زر القائمة (يظهر عند الشاشات الصغيرة) */
/* زر القائمة */
/* زر القائمة */
/* زر القائمة */
.menu-toggle {
    display: none; /* إخفاء الزر في الشاشات الكبيرة */
    flex-direction: column;
    justify-content: space-between;
    width: 35px;
    height: 30px;
    cursor: pointer;
    position: fixed;
    top: 15px;
    right: 20px;
    z-index: 1100;
}

/* الخطوط داخل الزر */
.menu-toggle .bar {
    width: 100%;
    height: 4px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* إضافة مسافة بين الخطوط */
.menu-toggle .bar:not(:last-child) {
    margin-bottom: 6px;
}

/* تحويل الزر إلى علامة X عند النقر */
.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0; /* إخفاء الخط الأوسط */
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* إظهار زر القائمة فقط في الشاشات الصغيرة */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

}

/* استجابة للشاشات الصغيرة */
@media (max-width: 768px) {
    /* إخفاء القائمة افتراضيًا */
    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 95px;
        justify-content: flex-start;
        position: fixed;
        top: 0;
        right: -100%; /* تظل مخفية خارج الشاشة */
        width: 60%; /* عرض القائمة المنبثقة */
        height: 100vh;
        background-color: #008cf0;
        padding: 20px;
        box-shadow: -5px 0 10px rgba(0, 0, 0, 0);
        transition: right 0.3s ease-in-out;
    }

    /* عند تفعيل القائمة، تنزلق من الجانب الأيمن */
    .nav-links.active {
        right: 0;
    }

    /* تنسيق الروابط داخل القائمة */
    .nav-links li {
        margin: 15px 0;
    }

    .nav-links a {
        text-decoration: none;
        color: white;
        font-size: 20px;
        padding: 10px 15px;
        transition: 0.3s ease-in-out;
    }

    /* تأثير المستطيل الأصفر عند تمرير الماوس */
    .nav-links a:hover,
    .nav-links a.active {
        background: #fdb912;
        border-radius: 5px;
        padding: 10px 15px;
    }

    /* زر القائمة */
    .menu-toggle {
        
        font-size: 28px;
        color: white;
        cursor: pointer;
        position: fixed;
        top: 30px;
        right: 20px;
        z-index: 1100;
    }
    .logo{
        margin-left: 10px;
        align-self: flex-start;
    }
}


.containert {

    margin-top: 140px;
    text-align: center;

}


/* ✅ تنسيق نموذج الاتصال */
.contact-form {
    padding: 50px 10%;
    background: #fff;
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.btn-submit {
    width: 100%;
    padding: 10px;
    background: #147ed4;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
}

.btn-submit:hover {
    background: #0f5da7;
}

/* ✅ تنسيق معلومات الاتصال */
.contact-info {
    text-align: center;
    background: #147ed4;
    color: white;
    padding: 20px 0;
}

.info-box {
    display: inline-block;
    margin: 15px;
}

.info-box i {
    font-size: 24px;
    margin-bottom: 5px;
}
/* ✅ تأثير الحضور عند التمرير (Scroll Animation) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease-in-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ✅ تأثير النبض عند تمرير الماوس على زر الإرسال */
.btn-submit {
    width: 100%;
    padding: 12px;
    background: #147ed4;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit:hover {
    transform: scale(1.05);
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}

/* ✅ تأثير الاهتزاز للأيقونات عند التمرير */
.info-box i {
    font-size: 24px;
    margin-bottom: 5px;
    display: inline-block;
    transition: transform 0.3s ease-in-out;
}
/* ✅ تنسيق النصوص الجديدة */
.contact-message {
    padding: 50px 10%;
    text-align: center;
    background: #f4f4f4;
    color: #333;
}

.contact-message h2 {
    font-size: 28px;
    color: #147ed4;
    margin-bottom: 15px;
}

.contact-message p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 15px auto;
}

/* ✅ تنسيق حقل الهاتف */
.phone-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-input select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: white;
    font-size: 16px;
}

.phone-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.info-box:hover i {
    transform: rotate(10deg);
}
/* ✅ تنسيق الفوتر */
.footer {
    background: #147ed4;
    color: white;
    padding: 20px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* يسمح بتكيف العناصر على الشاشات الصغيرة */
    text-align: center;
}

/* ✅ ترتيب معلومات الاتصال بشكل أفقي */
.contact-info {
    display: flex;
    align-items: center;
    gap: 30px; /* المسافة بين العناصر */
}

/* ✅ تصميم كل عنصر من عناصر الاتصال */
.info-box {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

/* ✅ تحسين شكل الأيقونات */
.info-box i {
    font-size: 20px;
    transition: transform 0.3s ease-in-out;
}

/* ✅ تأثير الاهتزاز عند تمرير الماوس */
.info-box:hover i {
    transform: rotate(10deg);
}

/* ✅ تنسيق الحقوق */
.footer-rights {
    font-size: 14px;
    text-align: right;
}
/* ✅ تحسين تصميم الخريطة */
.contact-map {
    padding: 50px 10%;
    text-align: center;
    background: #f8f9fc;
}

.contact-map h2 {
    font-size: 26px;
    color: #147ed4;
    margin-bottom: 20px;
}

.contact-map iframe {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}


/* ==================== FOOTER SECTION ==================== */
.site-footer {
    background: #147ED4; /* لون الفوتر الأساسي */
    color: white;
    padding: 50px 10%;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 30px;
}

/* تنسيق العناوين في الفوتر */
.footer-container h3 {
    color: #FDB912;
    font-size: 22px;
    margin-bottom: 15px;
}

/* تنسيق قائمة الروابط */
.footer-navigation .quick-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* ترتيب الروابط في عمودين */
    gap: 10px;
    text-align: left;
}

.footer-navigation a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease-in-out;
}

/* تأثير عند تمرير الماوس على الروابط */
.footer-navigation a:hover {
    color: #FDB912;
}

/* تنسيق معلومات الشركة */
.footer-info p {
    font-size: 16px;
    margin: 8px 0;
    display: flex;
    align-items: center;
}

/* تنسيق الأيقونات داخل معلومات الشركة */
.footer-info i {
    color: #FDB912;
    font-size: 18px;
    margin-right: 10px;
    transition: transform 0.3s ease-in-out;
}

/* تأثير عند تمرير الماوس على الأيقونات */
.footer-info p:hover i {
    transform: scale(1.2);
}

/* تنسيق حقوق المبرمج */
.footer-credits p {
    font-size: 14px;
    margin: 5px 0;
}