/* استيراد خط جوجل */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700&display=swap');

/* ضبط التنسيق العام */
body {
    font-family: 'Tajawal', sans-serif;
    margin: 0;
    padding: 0;
    direction: rtl;
    text-align: center;
    background-color: #f8f9fa;
    width: 98.7%;
    height: 110vh;
    background-image: url('imges/WhatsApp\ Image\ 2025-02-21\ at\ 21.02.39_5b4ec0ca.jpg');
    /* Replace with your image path */
}



/* تنسيق الشعار والتنقل */
.Logo {
    width: 100%;
    height: 150px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    background-color: #317873;
    position: sticky;
    top: 0;

}

.Logo img {
    width: 180px;
    height: 150px;
    border-radius: 10px;
    margin-right: 6px;

}

.Logo ul {
    list-style: none;
    display: flex;
    gap: 10px;
    margin-left: 10px;
}

.Logo ul li a {
    text-decoration: none;
    color: white;
    font-size: 24px;
    font-weight: bold;
    width: 300px;
    height: 70px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.Logo ul li {
    width: 200px;
    align-items: center;
    display: flex;
}


.Logo ul li a {
    text-decoration: none;
    color: black;
    font-size: 19px;
    font-weight: bold;
    width: 200px;
    height: 70px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    transition: all 0.3s ease-in-out;
    /* تحسين الانتقال */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    /* ظل خفيف */
}

.Logo ul li a:hover {
    color: #317873;
    /* لون أخضر أنيق عند التحويم */
    transform: scale(1.05);
    /* تكبير بسيط عند التحويم */
    background-color: #f8f8f8;
    /* لون أفتح عند التحويم */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    /* تعزيز الظل */
}


.Logo a img:hover {
    transform: scale(1.1);
    /* تكبير خفيف */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    /* إضافة ظل */
}

.Logo a img {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.Logo a img:hover {
    transform: scale(1.08);
    /* تكبير خفيف */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    /* ظل ناعم وجذاب */
}



/* إخفاء الروابط في الشاشات الصغيرة */
@media (max-width: 768px) {
    .Logo ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 154px;
        right: 0;
        background-color: rgba(0, 0, 0, 0.7);
        width: 100%;
        padding: 10px;
        z-index: 999;
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
    }

    .Logo ul.show {
        transform: translateY(0);
    }

    .Logo .hamburger {
        display: block;
        font-size: 30px;
        color: white;
        cursor: pointer;
        z-index: 1000;
        position: absolute;
        top: 20px;
        right: 20px;
    }
}

/* إخفاء زر الهامبرغر في الشاشات الكبيرة */
.hamburger {
    display: none;
}









.div1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 50px;
    margin-right: 6%;
    background-color: white;
    width: 60%;
    height: 100px;
    border-radius: 60px;
    padding: 0 5%;
    margin-right: 15%;
}

.div1 img {
    width: 15%;
    /* تتغير حسب عرض الديف */
    max-width: 100px;
    /* الحد الأقصى للحجم */
    height: auto;
}

.div1 p {
    color: #317873;
    font-weight: 700;
    font-size: 50px;
    text-align: center;
    flex-grow: 1;
}




.con {
    background-color: #317873;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 99%;
    height: 50vh;
    margin-top: 50px;
    margin-right: 20px;
}

.inner {
    margin-top: 20px;
    background-color: white;
    width: 330px;
    height: 370px;
    border-radius: 20px;
    padding-left: 5px;

}

.inner img {
    width: 200px;
    height: 200px;
    border-radius: 40px;
    margin-top: 10px;
}

.inner p {
    padding-top: 20px;
    font-size: 25px;
    font-weight: 900;
}

#last {
    margin-left: 25px;
}

#first {
    margin-right: 25px;
}











@media (max-width: 768px) {
    .div1 {
        width: 70%;
        padding-left: 4px;
    }

    .div1 p {
        font-size: larger;
        font-size: 22px;
        margin-left: 25px;
    }

    .con {
        height: auto;
        width: 80%;
        margin-right: 45px;
        padding-bottom: 70px;
    }

    .inner {
        margin-right: 20px;
        height: auto;
    }

}



/* تنسيق ناف بار للمقاسات الكبيرة */
.nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 1000px) {

    /* تعديل الناف بار عندما يكون عرض الشاشة 1000px أو أقل */
    .nav-links {
        flex-direction: column;
        /* تغيير إلى عمودي */
        background-color: rgba(0, 0, 0, 0.7);
        /* تغيير اللون الخلفي */
        width: 100%;
        padding: 20px;
        position: absolute;
        top: 0;
        left: 0;
        transform: translateY(-100%);
        /* يبدأ مخفيًا */
        transition: transform 0.3s ease-in-out;
    }

    .nav-links.show {
        transform: translateY(0);
        /* عند الضغط على الهامبرغر يظهر */
    }

    /* جعل زر الهامبرغر ظاهر */
    .hamburger {
        display: block;
        font-size: 30px;
        color: white;
        cursor: pointer;
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 1000;
    }

    .inner {
        margin-left: 20px;
        margin-right: 20px;
    }

    .con {
        height: auto;
        margin-left: 9px;
    }

}

/* تنسيق زر الهامبرغر (الهامبرغر غير ظاهر في الشاشات الكبيرة) */
.hamburger {
    display: none;
}

@media (max-width: 1300px) {
    .hamburger {
        display: block;
    }

    .con {
        height: auto;
    }

    .inner {
        margin-left: 20px;
        margin-right: 20px;
    }
}

.con {
    background-color: #317873;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* لتوسيط البطاقات */
    gap: 30px; /* مسافة ثابتة بين البطاقات */
    width: 90%;
    padding: 40px 20px;
    box-sizing: border-box;
    margin-right: 6%;
    height: auto;
}
