/* أساسي */
body {
    font-family: 'Tajawal', sans-serif; /* تطبيق خط Tajawal */
    margin: 0;
    padding: 0;
    background-color: #E5E4E2; /* خلفية الصفحة */
    direction: rtl; /* الاتجاه من اليمين إلى اليسار */
    text-align: right; /* محاذاة النصوص إلى اليمين */
}

/* الهيدر */
header {
    background-color: #36454F; /* لون الخلفية الداكن */
    padding: 20px;
    display: flex;
    justify-content: flex-start; /* لضمان وجود الشعار في اليسار والقائمة على اليمين */
    align-items: center;
}

header .logo {
    margin-right: auto; /* تأكد من أن الشعار يبقى في اليسار */
}

header .logo a {
    font-size: 24px;
    font-weight: bold;
    color: #E5E4E2; /* لون النص الخاص باسم الشركة */
    text-decoration: none;
}

header nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end; /* محاذاة القائمة من اليمين */
    flex-grow: 1; /* السماح للقائمة بأخذ المساحة المتبقية */
}

header nav ul li {
    margin-left: 20px; /* مسافة بين عناصر القائمة */
}

header nav ul li a {
    text-decoration: none;
    color: #A9A9A9; /* لون النص الثانوي */
    font-weight: bold;
}

.contact-btn {
    background-color: #848884; /* لون التمييز */
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
}

/* القسم الرئيسي */
.hero {
    background-image: url('/images/i2.png');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 100px 20px;
}

.hero .content h1 {
    color: #E5E4E2; /* لون النص على الخلفية الداكنة */
    font-size: 36px;
}

.hero .content p {
    color: #A9A9A9; /* لون النص الثانوي */
    font-size: 18px;
    margin: 20px 0;
}

.hero .register-btn {
    background-color: #848884; /* لون التمييز */
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
}

/* التفاصيل */
.details {
    background-color: #fff; /* خلفية بيضاء للنصوص */
    padding: 50px 20px;
    text-align: center;
}

.details .info h2 {
    color: #36454F; /* لون النص الداكن */
    font-size: 28px;
}

.details .info p {
    color: #848884; /* لون التمييز */
    font-size: 16px;
    margin: 20px 0;
}

/* الكورس */
.course {
    background-color: #E5E4E2; /* لون الخلفية الثانوية */
    padding: 50px 20px;
    text-align: center;
}

.course-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    direction: rtl; /* لتغيير اتجاه العناصر الداخلية */
}

.course .course-content .image img {
    width: 300px; /* العرض الثابت للصورة */
    height: 200px; /* الارتفاع الثابت للصورة */
    object-fit: cover; /* لضمان أن الصورة تغطي المساحة بالكامل */
    border-radius: 10px; /* اختيارياً، يمكنك إضافة حواف مدورة */
}

.course .course-content .text p {
    color: #36454F; /* لون النص الأساسي */
    font-size: 16px;
}

.testimonial {
    background-color: #E5E4E2;
    padding: 50px 20px;
    text-align: center;
}

.testimonial h2 {
    color: #36454F;
    font-size: 28px;
    margin-bottom: 30px;
}

.benefits {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.benefit {
    width: 30%;
    margin-bottom: 20px;
    text-align: center;
}

.benefit img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.benefit h3 {
    color: #36454F;
    font-size: 22px;
    margin-bottom: 10px;
}

.benefit p {
    color: #848884;
    font-size: 16px;
}

footer {
    background-color: #36454F; /* خلفية داكنة للفوتر */
    padding: 20px;
    text-align: center;
    color: #E5E4E2; /* لون النص على الخلفية الداكنة */
    font-size: 14px;
}

footer a {
    color: #E5E4E2; /* لون الروابط في الفوتر */
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline; /* تأثير عند تمرير الفأرة على الرابط */
}


/* زر الواتساب العائم */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

.whatsapp-float img {
    width: 75px;
    height: 75px;
    object-fit: cover;
}


