/* استيراد خط جوجل */
@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;
}


/* تنسيق ناف بار للمقاسات الكبيرة */
.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;
    }
}

/* تنسيق زر الهامبرغر (الهامبرغر غير ظاهر في الشاشات الكبيرة) */
.hamburger {
    display: none;
}

@media (max-width: 1300px) {
    .hamburger {
        display: block;
    }
}





.pictues {
    width: 100%;
    height: 200px;
    margin: 10px auto;
    margin-right: 10px;
}

.pictues img {
    width: 100%;
}












/* تنسيق الفوتر */
footer {

    display: grid;
    flex-direction: row;
    background: #317873;
    color: white;
    text-align: center;
    align-content: center;
    width: 101%;
    height: 200px;
    position: relative;
    bottom: 0%;
    /* أو استخدم fixed ليكون ثابتًا */
    margin-top: 90px;

}


.dev1 img {
    padding-right: 20px;
    width: 60px;
    margin-right: 10px;
    box-shadow: 5px 0 0 rgba(0, 0, 0, 0.5);

}

.dev2 img {
    margin-right: 20px;
    width: 60px;
    border-radius: 14px;

}

.div3 {
    display: flex;
    flex-direction: column;
    width: 350px;
    height: 100px;
    margin-right: 300px;
    margin-right: 400px;
    margin-bottom: 2%;
}

.div3 p {
    margin-top: 0%;
}

.title {
    padding-top: 40px;
    height: 50px;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 20px;
}

.con {
    display: flex;
    flex-direction: row;
}


.dev4 img {
    margin-right: 20px;
    width: 60px;
    border-radius: 20px;

}


.dev5 img {
    margin-top: 7%;
    margin-right: 20px;
    width: 70px;
    border-radius: 10px;
}



footer a img {
    width: 60px;
    /* حجم ثابت للأيقونات */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

footer a img:hover {
    transform: scale(1.08);
    /* تكبير خفيف */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    /* إضافة ظل */
}



/* تنسيق البطاقات */
.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 12px 14px 12px rgba(0, 0, 0, 0.2);
    width: 80%;
    text-align: center;
    justify-content: space-around;

}

.card img {
    width: 50%;
    height: 60%;
    border-radius: 90px;
    border-style: solid;


}



.f {
    width: 100%;
    height: 70px;
    align-items: center;
    display: content;
    justify-content: center;
    align-items: center;
    font-size: 50px;
    font-weight: 900;
}

.test {
    display: flex;
    flex-direction: column;
    background-color: white;
    width: 40%;
    height: auto;
}

.test h1 {
    font-size: 60px;
}

.test p {
    font-size: 37px;
    margin-top: 8px;
}


.test1 {
    display: flex;
    flex-direction: column;
    padding-bottom: 100px;
    background-color: white;
    width: 40%;
    height: auto;

}

.test1 h1 {
    font-size: 60px;
}

.test1 p {
    width: 90%;
    font-size: 45px;
    margin-bottom: 0%;
}

.card1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 12px 14px 12px rgba(0, 0, 0, 0.2);
    width: 80%;
    text-align: center;
    justify-content: space-around;
}

.card1 img {
    width: 40%;
    height: 90%;
    border-radius: 90px;
    border-style: solid;
}





/* تعديل تخطيط العناصر عند عرض الشاشات الصغيرة */
@media (max-width: 768px) {
    .Logo {
        width: 100%;
        height: 150px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #317873;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
        /* لجعل الشريط فوق جميع العناصر */
    }

    /* تأكد من أن الآية أو أي عنصر آخر لا يغطي الـ Navbar */
    .pictues {
        position: relative;
        z-index: 1;
        /* يجب أن يكون أقل من 1000 */
    }

    body {
        padding-top: 150px;
        /* تقليل الهامش العلوي ليناسب النافبار الأصغر */
    }

    .pictues img {
        width: 100%;
        height: auto;
    }

    /* تنسيق البطاقات */
    .card {
        width: 100%;
        max-width: 350px;
        /* تعيين حد أقصى للعرض */
        margin: 10px;
    }

    /* تعديل النصوص في البطاقات في الشاشات الصغيرة */
    .test p,
    .test1 p {
        font-size: 16px;
        margin-bottom: 80px;
    }

    .cards {
        flex-direction: column;
        align-items: center;
        margin-top: 10%;
    }

    .card,
    .card1 {
        width: 70%;
        margin: 10px auto;
        margin-right: 60px;

    }

    .card1 {
        height: 30vh;
    }

    .card1 img {
        height: 140px;
        margin-bottom: 10px;
    }

    .test1 {
        height: 70px;
    }

    .test h1,
    .test1 h1 {
        font-size: 30px;
    }


    .f {
        height: auto;
        background-color: #317873;
        opacity: 80%;
        border-radius: 20px;
        margin-right: 17%;
        font-size: 30px;
        margin-top: 90px;
        width: 75%;
        display: none;
    }

    .pictues {
        display: none;
    }

    .title {
        width: 40%;
        margin-top: 5%;
        margin-right: 25%;
        font-weight: 16px;
    }

    .con {
        width: 30%;
        margin-bottom: 80px;
        padding-top: 10px;
    }

    .div3 {
        margin-right: 4%;
    }

    .div3 p {
        margin-right: 13px;
        font-size: small;
    }

    .dev1 img {
        width: 40px;
        height: 40px;
    }

    .dev4 img {
        width: 40px;
        height: 40px;
    }

    .dev2 img {
        width: 40px;
        height: 40px;
    }

    .dev5 img {
        width: 40px;
        height: 40px;
    }

    footer {
        width: 117%;
        margin-right: 4px;
    }

    .con2 {
        display: flex;
        flex-direction: row;
    }

    .con3 {
        display: flex;
        flex-wrap: wrap;
    }

    .con4 {
        display: flex;
        flex-direction: row;
    }

    #stak {
        margin-right: 30px;
    }

    .hamburger {
        margin-right: 20px;
    }
    #en{
        margin-left: 10px;
    }
}


@media (max-width: 1000px) {

    .card img {

        width: 50%;
        height: 30%;
    }


    .card1 img {

        width: 50%;
        height: 50%;
    }

    .div3 {
        margin-right: 7%;
    }

    .con3 {
        display: contents;
    }

    .f {
        color: white;
    }

}


@media (min-width: 1000px) {
    .con3 {
        width: 400px;
        display: flex;
        flex-direction: row;
    }

    .div3 {
        margin-right: 25%;
    }

    .f {
        color: white;
    }

}

#one {
    color: white;
    text-decoration: none;
}