/* إعادة تعيين الهوامش والتعبئة الافتراضية */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* تنسيق الجسم */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* منع التمرير الأفقي */
}

/* تنسيق الشريط الجانبي */
.sidebar-navbar-en {
  height: 100vh;
  width: 0; /* يبدأ العرض بـ 0 */
  background-color: #333;
  position: fixed;
  top: 0;
  left: 0;
  transition: width 0.3s ease; /* الانتقال السلس عند تغيير العرض */
  overflow-x: hidden; /* منع التمرير الأفقي */
  padding-top: 50px;
  
  /* إضافة flexbox لتمكين المحاذاة */
  /* display: flex; */
  /* flex-direction: column;  وضع العناصر عمودياً */
  /* justify-content: center;  محاذاة العناصر عمودياً في الوسط */
  /* align-items: center; محاذاة العناصر أفقياً في الوسط */
  

}

/* تنسيق الشريط الجانبي */
.sidebar-navbar-ar {
  height: 100vh;
  width: 0; /* يبدأ العرض بـ 0 */
  background-color: #333;
  position: fixed;
  top: 0;
  right: 0;
  transition: width 0.3s ease; /* الانتقال السلس عند تغيير العرض */
  overflow-x: hidden; /* منع التمرير الأفقي */
  padding-top: 50px;
  direction: rtl;
  
  /* إضافة flexbox لتمكين المحاذاة */
  /* display: flex; */
  /* flex-direction: column;  وضع العناصر عمودياً */
  /* justify-content: center;  محاذاة العناصر عمودياً في الوسط */
  /* align-items: center; محاذاة العناصر أفقياً في الوسط */
  

}

/* تنسيق زر الإغلاق (X) */
.close-btn-ar {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

.close-btn-en {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}


/* تنسيق الشعار */
.sidebar-navbar-ar .logo-navbar a {
  color: white;
  font-size: 24px;
  text-decoration: none;
  padding: 10px 20px;
  text-align: center;
  display: block;
}

/* تنسيق الشعار */
.sidebar-navbar-en .logo-navbar a {
  color: white;
  font-size: 24px;
  text-decoration: none;
  padding: 10px 20px;
  text-align: center;
  display: block;
}


/* تنسيق روابط الشريط الجانبي */
.nav-links {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.nav-links li {
  margin: 10px 0;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  padding: 12px 20px;
  display: block;
  transition: background-color 0.3s ease;
}

.nav-links li a:hover {
  background-color: #575757;
  border-radius: 4px;
}

/* زر الهمبرغر */
.menu-toggle-en {
  font-size: 40px;
  position: absolute;
  top: 5px;
  left: 11px;
  cursor: pointer;
  opacity: 0.8;

}

.menu-toggle-ar {
  font-size: 40px;
  position: absolute;
  top: 5px;
  right: 11px;
  cursor: pointer;
  opacity: 0.8;

}



/* عند التفعيل، يعرض الشريط الجانبي */
.active {
  width: 250px; /* العرض عند التفعيل */
}

/* استجابة الشريط الجانبي للشاشات الصغيرة */
@media screen and (max-width: 768px) {

  .menu-toggle-en {
      color: #000;
  }

  .menu-toggle-ar {
    color: #000;
  }
  .sidebar-navbar {
      width: 0;
  }
  
 .active {
      width: 250px;
  }
  
  .nav-links {
      display: flex;
      flex-direction: column;
  }

  .nav-links li {
      margin: 15px 0;
  }
}




/* The Slider starts here */


/* الحاوية الرئيسية للـ Slider */
.container-slider {
  position: relative;

}

/* العنصر الذي يحتوي النصوص والشعار */
.centered {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  display: flex; /* تفعيل flexbox داخل العنصر */
  flex-direction: column; /* ترتيب العناصر عمودياً */
  justify-content: center; /* محاذاة العناصر عمودياً في الوسط */
  align-items: center; /* محاذاة العناصر أفقياً في الوسط */
  text-align: center; /* محاذاة النصوص في المركز */
  color: white; /* جعل النصوص باللون الأبيض */
}

/* تخصيص المظهر للشعار */
#logo {
  margin-bottom: 12.5px; /* مسافة بين الشعار والعنوان */
}

/* تخصيص العنوان الرئيسي */
#main-title {
  font-size: 50px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 2px 2px 2px blue;
  
}

/* تخصيص النص تحت العنوان */
#text-title {
  font-size: 18px;
  width: 100%; /* تحديد عرض النص */
  margin: 0 auto; /* محاذاة النص في الوسط */
}

.text-title-ar {

  font-weight: 600;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 2px 2px 2px #000;
  display: inline-block; /* يجعل النص يتصرف مثل عنصر مربع أو مستطيل */
  padding: 15px; /* إضافة مسافة بين النص وحدود العنصر */
  border: 4px solid #fef607; /* تحديد سمك اللون ونمط الحد */
  background-color: #337da9;
  border-radius: 15px;

}

.text-title-en {

  font-weight: 600;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 2px 2px 2px #000;
  display: inline-block; /* يجعل النص يتصرف مثل عنصر مربع أو مستطيل */
  padding: 15px; /* إضافة مسافة بين النص وحدود العنصر */
  border: 4px solid #fef607; /* تحديد سمك اللون ونمط الحد */
  background-color: #337da9;
  border-radius: 15px;

}



.time_table {
    background: rgba(255, 255, 255, .85); /* خلفية بيضاء مع شفافية */
    margin-top: 110px;
    padding: 20px 40px;
    border-radius: 10px; /* حواف دائرية */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* إضافة ظل خفيف حول الحاوية */
    width: 80%; /* تحديد عرض الحاوية */
    margin-left: auto;
    margin-right: auto;
}

.time_table ul {
    list-style: none; /* إزالة النقاط من القائمة */
    padding: 0;
    margin: 10px 0; /* إضافة مسافة بين العناصر */
    display: flex;
    justify-content: center; /* محاذاة النص بشكل مركزي */
}

.time_table ul li {
    font-size: 25px;
    color: #333; /* لون النص */
    padding: 10px 20px;
    margin: 5px;
    border: 1px solid #ddd; /* تحديد حد خفيف حول العناصر */
    border-radius: 5px; /* حواف دائرية للعناصر */
    background-color: #f9f9f9; /* خلفية خفيفة للعناصر */
    width: 100%; /* جعل العناصر تأخذ عرض الحاوية بالكامل */
    text-align: center; /* محاذاة النص داخل العناصر */
    box-sizing: border-box;
}

.time_table ul li:hover {
    background-color: #f0f0f0; /* تغيير اللون عند المرور */
    cursor: pointer; /* تغيير المؤشر عند المرور */
}

@media (min-width: 768px) {
    .time_table ul {
        flex-direction: row; /* عرض العناصر بجانب بعضها على الشاشات الأكبر */
        flex-wrap: wrap; /* السماح بالعناصر للانتقال إلى السطر التالي إذا لزم الأمر */
    }

    .time_table ul li {
        width: 45%; /* عرض العناصر 45% على الشاشات الأكبر */
    }
}

.three-text{
  display: flex;
  justify-content: center;
  align-items: center;

}

.cours{
  margin-bottom: 10px;
}



.footer_menu {
  margin-top: 30px;
  background-color: #f0f0f0; /* إضافة خلفية رمادية فاتحة */
  padding: 20px; /* إضافة مسافة داخلية */
  border-radius: 8px; /* جعل الحواف دائرية */
  transition: background-color 0.3s ease; /* تأثير لتغيير الخلفية عند التمرير */
}

.footer_menu ul {
  list-style: none; /* إزالة النقاط من القائمة */
  padding: 0;
  margin: 0;
}

.footer_menu ul li {
  font-size: 1.8vw; /* حجم الخط يتناسب مع عرض الشاشة */
  color: #333; /* لون النص الغامق ليتناسب مع الخلفية الرمادية */
  line-height: 1.6;
  font-weight: 400;
  transition: color 0.3s ease, transform 0.3s ease; /* تأثير لتغيير اللون وتحريك النص */

}

.footer_menu ul li a {
  text-decoration: none;
  color: inherit;
}

.footer_menu hr {
  margin: 10px 0;
  border: 1px solid #ddd; /* إضافة حد خفيف */
  transition: border-color 0.3s ease; /* تأثير لتغيير لون الحد عند التمرير */
}


/* استعلامات إعلامية لتعديل الحجم في الشاشات الصغيرة */
@media (max-width: 768px) {
  .footer_menu ul li {
      font-size: 4vw; /* زيادة حجم الخط على الشاشات الصغيرة */
  }
}

@media (max-width: 480px) {
  .footer_menu ul li {
      font-size: 5vw; /* زيادة حجم الخط أكثر على الشاشات الصغيرة جدًا */
  }
}



.navber-normal {
  display: flex;                /* تفعيل Flexbox */
  justify-content: center;      /* توسيط العناصر أفقياً */
  align-items: center;          /* توسيط العناصر عمودياً */
 
}

.btn-group > .btn {
  font-size: 25px; /* حجم النص الجديد */
  font-weight: bold; /* تكبير سمك الخط */
  border-radius: 0; /* إزالة الحدود الدائرية */
}






.btn-group > .btn, .btn-group-vertical > .btn {
  position: relative;
  -webkit-box-flex: 0;
  -webkit-flex: 0 1 auto;
  -ms-flex: 0 1 auto;
  flex: 0 1 auto;
  padding-top: 1.5px;
  padding-bottom: 1.5px;
  opacity: 0.9;
  font-size: 1rem; /* تعيين حجم الخط ليكون قابل للتعديل */
  width: 100%; /* لجعل الأزرار تأخذ كامل عرض العنصر الأب */
  font-size: 17px;
}

@media (max-width: 768px) {
  .btn-group > .btn, .btn-group-vertical > .btn {
    font-size: 0.9rem; /* تقليص حجم الخط للشاشات الصغيرة */
  }
}

@media (max-width: 576px) {
  .btn-group > .btn, .btn-group-vertical > .btn {
    font-size: 0.8rem; /* تقليص حجم الخط أكثر للأجهزة الصغيرة */
  }
}




