@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@100..900&family=Noto+Kufi+Arabic:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap');
body.lan-ar{
    text-align: right;
    direction: rtl;

}
body.lan-en{
    text-align: left;
    direction: ltr;
}

body {
    font-family: "Cairo", sans-serif;
    
    background-color: #faf3e7;
    margin: 0;
    padding: 0;
    color: #333;
}
/* تنسيق الهيدر */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgb(250 243 231);
    padding: 15px 45px;
    box-shadow: 0px -16px 10px rgba(0, 0, 0, 0.1);
}

/* الشعار */
.logo img {
    align-items: center;
    height: 50px; /* ضبط حجم اللوجو */
}

/* تنسيق القائمة الرئيسية */
nav {
    display: flex;
    align-items: center; /* محاذاة العناصر رأسيًا في المنتصف */
    justify-content: center; /* توسيط القائمة أفقيًا */
    gap: 15px; /* مسافة بين العناصر */
    width: 100%; /* تأكد أن القائمة تمتد على عرض الصفحة */
}


/* nav a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    padding: 10px 15px;
    transition: 0.3s;
    position: relative;
} */


nav a {
    padding: 20px 25px;
    font-size: 18px;
    position: relative;
    text-decoration: none;
    color: black;
    padding-bottom: 8px;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 6px;
    /* background: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet); */
    background :linear-gradient(to right, #b700ff, #008cff, #ffb300, #4b5b3a);
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

nav a:hover::after {
    transform: scaleX(1);
}


/* زر القائمة (☰) عند تصغير الشاشة */
.menu-toggle {
    display: none;
    background: #7b68ee;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 5px;
}

/* تنسيق القائمة المنسدلة */
.dropdown-menu {
    display: none;
    position: absolute;
    background: #faf3e7;
    list-style: none;
    padding: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-item:hover .dropdown-menu {
    display: block;
}

/* تصميم القائمة على الشاشات الصغيرة */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 250px;
        height: 100vh;
        background: #faf3e7;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: 0.3s ease-in-out;
        padding-top: 60px;
    }

    nav a {
        display: block;
        /* text-align: right; */
        padding: 15px 20px;
        width: 100%;
    }

    /* عند تفعيل القائمة */
    nav.active {
        transform: translateX(0);
    }
}



/* جعل القائمة متجاوبة عند تصغير الشاشة */



.btn {
    background-color: #674ea7;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
}
.content {
    display: flex;
    flex-direction: column;
    align-items: center; /* توسيط العناصر أفقيًا */
    justify-content: flex-start; /* ضمان محاذاة الصورة من الأعلى */
    /* text-align: center; */
    height: 100vh; /* جعل المحتوى يمتد لكامل الشاشة */
    padding-top: -20px; /* لضبط المسافة العلوية */
}

.banner {
    text-align: center; 
    padding: 20px 010; /* إضافة مسافة علوية وسفلية */
}

.banner img {
    padding: 20px 10px; /* إضافة مسافة علوية وسفلية */
    width: 80%;
    max-width: 600px;
}

.content img {
    width: 80%;
    max-width: 600px;
    object-fit: cover; /* يضمن بقاء الصورة متناسبة دون فقدان الجودة */
    padding-top: -20px
}

h1 {
    font-size: 2.5em;
    color: #222;
}
p {
    font-size: 1.2em;
    line-height: 1.8;
}
footer {
    background: linear-gradient(to right, #b700ff, #008cff, #ffb300, #4b5b3a); /* التدرج اللوني للخلفية */
    padding: 30px 15px;
    /* text-align: center; */
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    
}
.logo img {
    height: 70px;
}


/* تنسيق القسم */
.goals-section {
     text-align: center; 
    background: #f8f5eb;
    padding: 50px 20px;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

/* تصميم السلايد */
.swiper {
    width: 100%;
    max-width: 1000px;
    height: inherit;
    margin: auto;
    padding-bottom: 30px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
}

.goal-box {
    
    background:#f8f5eb;
    text-justify: inter-word;
    text-align: justify; 
    
    padding: 50px;
    border-radius: 20px;
    width: 8000px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.8;
    position: relative;
    border: 2px solid transparent;
    background-clip: padding-box;
    height: 400px;
}

/* تأثير الحدود الملونة */
.goal-box::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: linear-gradient(135deg, #ff9800, #673ab7, #03a9f4, #4caf50);
    z-index: -1;
    filter: blur(3px);
}

/* نقاط التمرير */
.swiper-pagination .swiper-pagination-bullet {
    background: #a07bf7;
    width: 12px;
    height: 12px;
    opacity: 0.6;
}

.swiper-pagination .swiper-pagination-bullet-active {
    background: #6a0dad;
    opacity: 1;
}
.swiper-button-next, .swiper-button-prev {
    color: #6a0dad; /* لون السهم */
}

.swiper-pagination .swiper-pagination-bullet {
    background: #a07bf7;
    width: 12px;
    height: 12px;
    opacity: 0.6;
}

.swiper-pagination .swiper-pagination-bullet-active {
    background: #6a0dad;
    opacity: 1;
}

/* تنسيق الفوتر */
.footer {
    background: linear-gradient(to bottom, #d5c6f2, #f4dfba); /* التدرج اللوني للخلفية */
    padding: 30px 15px;
    text-align: center;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
}

/* تنسيق الحاوية الرئيسية للفوتر */
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

/* تنسيق الشعار */
.footer-logo img {
    max-width: 120px;
}

/* تنسيق أيقونات التواصل الاجتماعي */
.footer-social a {
    display: inline-block;
    margin: 0 8px;
    font-size: 18px;
    color: #333;
    transition: 0.3s;
}
.footer-social a:hover {
    color: #6a0dad;
}

/* تنسيق قائمة الروابط */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    display: inline;
    margin: 0 15px;
}
.footer-links a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}
.footer-links a:hover {
    color: #6a0dad;
}

/* تنسيق قسم الاتصال */
.footer-contact {
    /* text-align: right; */
    max-width: 400px;
}
.footer-contact h3 {
    margin-bottom: 10px;
    font-size: 18px;
}
.footer-contact p {
    font-size: 14px;
    margin: 5px 0;
}
.footer-contact a {
    text-decoration: none;
    color: #6a0dad;
}

/* حقوق النشر */
.footer-bottom {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #aaa;
    font-size: 14px;
    color: #333;
}
.footer-bottom a {
    color: #6a0dad;
    text-decoration: none;
}
.footer-bottom a:hover {
    text-decoration: underline;
}


.stories, .mission {
    /* direction: rtl;  */
    /* text-align: right; */
    background:rgb(250 243 231); /* لون الخلفية */
    padding: 20px; /* المسافة الداخلية */
    border-radius: 10px; /* زوايا ناعمة */
    width: 95%; /* ضبط العرض */
    margin: 20px auto; /* توسيط العنصر مع ترك مسافة بينهما */
    box-shadow: 0 px 10px rgba(0, 0, 0, 0.1); /* إضافة ظل خفيف */
    line-height: 1.8; /* تحسين تباعد الأسطر */
}

.stories h5, .mission h5 {
    color: #7b68ee; /* لون فرعي للعنوان */
    font-size: 18px;
    margin-bottom: 5px;
}

.stories h4, .mission h4 {
    color: #333; /* لون رئيسي */
    font-size: 24px;
    margin-bottom: 10px;
}

.stories p, .mission p {
    font-size: 16px;
    color: #555; /* لون النص */
    padding-right: 15px; /* ترك مسافة من اليمين */
}

.stories .btn, .mission .btn {
    display: inline-block;
    background: #7b68ee; /* لون الزر */
    color: white;
    padding: 10px 20px;
    margin-top: 10px;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.stories .btn:hover, .mission .btn:hover {
    background: #5a4bcc;
}

.hr-border {
    width: 100%;
    border: none;
    border-top: 6px solid transparent; /* زيادة السماكة */
    border-image: linear-gradient(to right, #b700ff, #008cff, #ffb300, #4b5b3a);
    border-image-slice: 1;
    margin: 20px 0;
}
h5{
    font-family: 'cairo', sans-serif;
    font-size: 10px;
}

h4{
    font-family: 'cairo', sans-serif;
    font-size: 10px;
}

h2{
    font-family: 'cairo', sans-serif;
    font-size: 10px;
}




.story-container {
    max-width: 800px;
    margin: auto;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-family: 'cairo', sans-serif;
    /* text-align: right; */
}




.story-title {
    color: #2d3e50;
    /* text-align: right; */
}
.story-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}


.story-image-container {
    display: flex;
    align-items: flex-start; /* محاذاة العناصر من الأعلى */
    gap: 20px; /* مسافة بين الصورة والنص */
    margin-top: 20px;
}

.story-image-container img {
    max-width: 150px; /* تحديد عرض الصورة */
    height: auto;
    border-radius: 20px; /* زوايا مدورة للصورة */
    order: -1; /* جعل الصورة تظهر على اليسار */
}

.story-image-container p {
    flex: 1; /* يجعل النص يأخذ المساحة المتبقية */
    margin: 0; /* إزالة الهوامش الافتراضية للفقرة */
    text-align: justify; /* محاذاة النص بشكل متساوٍ */
    text-justify: inter-word; /* تحسين توزيع النص */
}

.read-more {
    color: inherit; /* نفس لون النص */
    text-decoration: underline; /* يظهر كرابط */
    font-weight: normal; /* خط عادي */
    cursor: pointer; /* مؤشر الفأرة يصبح كالرابط */
}


.P{

    text-justify: inter-word;
    text-align: justify; 
    
}




        .contact-form-container {
            font-family: 'cairo', sans-serif;
            background-color: #faf3e7;
            /* text-align: center;
            direction: rtl; */
            padding: 0px 0;
        }
        .contact-form {
            width: 80%;
            margin: auto;
            padding: 20px;
            background: #faf3e7;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }
        .contact-form .input-group {
            display: flex;
            justify-content: space-between;
            gap: 10px;
            flex-wrap: wrap;
        }
        .contact-form .input-group div {
            width: 32%;
        }
        .contact-form label {
            display: block;
            margin: 10px 0 5px;
            font-size: 18px;
            color: #333;
        }
        .contact-form input, .contact-form textarea {
            width: 100%;
            padding: 10px;
            margin: 10px 0;
            border: none;
            border-bottom: 2px solid #ccc;
            outline: none;
            background: transparent;
            /* text-align: right; */
            font-size: 16px;
            direction: rtl;
        }
        .contact-form input:focus, .contact-form textarea:focus {
            border-bottom: 2px solid #6a0dad;
        }
        .rainbow-line {
            height: 2px;
            width: 100%;
            /* background: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet); */
            background :linear-gradient(to right, #b700ff, #008cff, #ffb300, #4b5b3a);
            margin-bottom: 10px;
        }
        .contact-form button {
            background: #333;
            color: white;
            padding: 12px 25px;
            border: none;
            border-radius: 30px;
            cursor: pointer;
            font-size: 18px;
            margin-top: 20px;
        }
        .contact-form button:hover {
            background: #555;
        }
        @media (max-width: 768px) {
            .contact-form {
                width: 90%;
            }
            .contact-form .input-group {
                flex-direction: column;
            }
            .contact-form .input-group div {
                width: 100%;
            }
        }


        .short-text {
            display: block;
        }
        
        .full-text {
            display: none;
        }
        
        .more-btn {
            background-color: #6107f2;
            color: rgb(255, 255, 255);
            border: none;
            padding: 8px 16px;
            /* text-align: center; */
            text-decoration: none;
            display: inline-block;
            font-size: 14px;
            margin: 10px 0;
            cursor: pointer;
            border-radius: 4px;
        }
   









