@import url('https://fonts.googleapis.com/css2?family=Baloo+Bhaijaan+2:wght@400..800&display=swap');
* {
    font-family: "Baloo Bhaijaan 2", sans-serif;
    font-size: 1rem;
    background-color: transparent;
    color: rgb(75, 115, 170);
    direction: unset;
}
html, body {
   background-color:rgb(240,248,255);
   direction: unset;
    margin: 0 !important    ;
    padding: 0 !important;
    width: 100%;
    overflow-x: hidden;
}
.navbar {
     display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background-color:  rgba(255, 255, 255, 0.8);
    color : rgba(255, 255, 255, 0.8) ;
    text-decoration : none; 
    width: 100%;
    top: 0 !important; ;
    left: 0 !important; ;
    right: 0;
    height: 60px;
    border-radius: 5px;
    box-sizing: border-box;
    margin: 0px;
   direction: rtl;
}.navbar-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    direction : rtl;
    color : rgba(255, 255, 255, 0.8);
    background-color : rgb(55, 115, 170);
    text-decoration : none; 
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    border-radius: 5px;
    box-sizing: border-box;
  
}
 nav a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 1.7rem;
    font-family: 'Baloo Bhaijaan 2', sans-serif;
    font-weight: bold;
    height: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: right;
}
nav a:hover {
    color: rgb(30, 90, 140);
    text-decoration: none;
    transition: color 0.3s ease;
}
    .logo {
    display: inline-flex;
    flex-wrap: wrap ;
    align-items: center;
    justify-content: center;
    margin-right: 1vw;
}
span.navdiv button {
    color:rgb(30, 90, 140);
    font-family:'Baloo Bhaijaan 2', sans-serif;
    display:flex; 
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    border: 2px solid rgb(55, 115, 170);
    color:rgb(30, 90, 140);
    background-color: aliceblue;
    transition: background-color 0.3s ease;
    border-radius:64px 48px 96px 16px;
    padding: 1px 1.8px 1px 1.8px;
    align-items: stretch;
    margin-left: 0.9vw;
    cursor: pointer;
    padding: 0.8vw;
}
span.navdiv button:hover {
    background-color: rgb(40, 90, 130);
    border-color: rgb(240, 248, 255);
    color: rgb(240, 248, 255);
    transition: background-color 0.3s, border-color 0.4s;
}
.navdiv-btn{
    color:rgb(30, 90, 140);
    font-family:'Baloo Bhaijaan 2', sans-serif;
    display:flex; 
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    border: 2px solid rgb(55, 115, 170);
    color:rgb(30, 90, 140);
    background-color: aliceblue;
    transition: background-color 0.3s ease;
    border-radius:64px 48px 96px 16px;
    padding: 1px 1.8px 1px 1.8px;
    align-items: stretch;
    margin-left: 0.9vw;
    cursor: pointer;
    padding: 0.8vw;
}
.navdiv-btn:hover{ 
   background-color: rgb(40, 90, 130);
    border-color: rgb(240, 248, 255);
    color: rgb(240, 248, 255);
    transition: background-color 0.3s, border-color 0.4s;  
}
/* Container القائمة Dropdown */
.dropdown {
  position: absolute;
  top: 50px; /* اضبطي الارتفاع بحسب مسافة زر القائمة */
  left: 2px; /* نقل القائمة لأقصى اليسار بدلاً من right */
  right: auto; /* لإلغاء أي محاذاة يمين سابقة */
  
  list-style: none;
  padding: 10px 0;
  margin: 0;
  min-width: 160px;
  background-color: aliceblue;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(30, 90, 140, 0.15);
  border: 1px solid rgba(30, 90, 140, 0.12);
  
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
}

/* إضافة السهم الصغير في الأعلى (Tooltip Arrow) مثل الصورة */
.dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 20px; /* نقل السهم ليكون تحت الأيقونة اليسرى بالضبط */
  right: auto;
  width: 10px;
  height: 10px;
  background-color: aliceblue;
  transform: rotate(45deg);
  border-top: 1px solid rgba(30, 90, 140, 0.12);
  border-left: 1px solid rgba(30, 90, 140, 0.12);
}

/* عناصر القائمة */
.dropdown li {
  padding: 0;
  margin: 0;
  width: 100%;
  list-style: none;
}

/* الخط الفاصل بين العناصر */
.dropdown li:not(:last-child) {
  border-bottom: 1px solid rgba(30, 90, 140, 0.1);
}

/* الروابط داخل القائمة */
.dropdown li a {
  display: block;
  padding: 10px 10px 23px 10px;
  height: 15px;
  font-size: 0.90rem;
  font-weight: normal;
  color: rgb(30, 90, 140); /* لون النص الخاص بكِ */
  text-decoration: none;
  text-align: right;  /* محاذاة النص لليمين داخل المستطيل */
  white-space: nowrap;/* يمنع خروج أو نزول الكلمات بشكل عشوائي */
  box-sizing: border-box;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* تأثير التمرير (Hover) */
.dropdown li a:hover {
  background-color: rgba(30, 90, 140, 0.06); /* تغيير خفيف جداً يوضح التحديد */
  border-radius: 6px;
}

/* عند التفعيل */
.dropdown.active {
  opacity: 1;
  height: 60px;
  transform: translateY(0);
  pointer-events: auto;
}


h1 {
    font-size: 2rem;
    direction: unset;
    text-align: center;
    justify-content: center;
}
p {
    text-align: center;
    justify-content: center;
    direction: rtl;
    margin: 10px 10px 10px 10px;
   
}
bold {
    font-weight: bold;
}
a 
{
    color: rgb(75, 115, 170);
    direction: ltr;
}