@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: rgb (248, 240, 255);
    color:rgb(75, 115, 170) ;
    direction: rtl;
     background-color: transparent;

} 
body {
            font-family: 'Baloo Bhaijaan 2', sans-serif;
            background-color: #f0f6fc; /* لون الخلفية الأزرق الفاتح جداً */
            width: 100%;
            top: 0;
            left: 0;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
        }

        
 .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;
    left: 0;
    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;
}
        .container {
           width: 100%;
  max-width: 1100px; /* أو العرض الأقصى المعتمد لديكِ */
  margin: 0 auto; /* للتوسيط الأفق في منتصف الشاشة */
  text-align: center; /* لتوسيط العناوين والأزرار والنصوص */
  padding: 20px;
  box-sizing: border-box;
        }
        h1 {
            color: #466289; /* لون العنوان الأزرق الداكن */
            font-size: 26px;
            font-weight: 700;
            margin-bottom: 15px;
        }
        h2 {
            color: #466289; /* لون العنوان الأزرق الداكن */
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 15px;
        }
        .subtitle {
            color: #6a829a; /* لون النص الرمادي المزرق */
            font-size: 18px;
            margin-bottom: 30px;
        }
        textarea {
            width: 100%;
            height: 140px;
            padding: 20px;
            font-size: 17px;
            border-radius: 12px; /* حواف دائرية أنيقة */
            border: 1px solid #d1dce8; /* لون إطار خفيف */
            background-color: #ffffff;
            resize: none;
            margin-bottom: 25px;
            box-sizing: border-box;
            color: #333;
            line-height: 1.6;
        }
        textarea::placeholder {
            color: #9cb1c4; /* لون النص التوضيحي */
        }
        textarea:focus {
            outline: none;
            border-color: #5196e8;
            box-shadow: 0 0 0 3px rgba(81, 150, 232, 0.15);
        }
        .main-btn {
            background-color: #4a90e2; /* لون الزر الأزرق الزاهي */
            color: white;
            padding: 16px 25px;
            border: none;
            border-radius: 10px; /* حواف الزر المقوسة */
            font-size: 18px;
            font-weight: 700;
            cursor: pointer;
            width: 100%;
            transition: background-color 0.3s ease;
        }
        .main-btn:hover {
            background-color: #357abd;
        }
        .main-btn:disabled {
            background-color: #a0b2c1;
            cursor: not-allowed;
        }
        #loading {
            display: none;
            color: #6a829a;
            font-style: italic;
            margin-top: 20px;
            font-size: 16px;
        }
        .result-box {
            display: none;
            margin-top: 30px;
            padding: 30px;
            background-color: #ffffff;
            border-right: 5px solid #4a90e2;
            border-radius: 12px;
            text-align: right;
            box-shadow: 0 4px 20px rgba(0,0,0,0.04);
        }
        .support-text {
            font-size: 18px;
            line-height: 1.8;
            color: #444;
            margin-bottom: 25px;
        }
        .action-btn {
            background-color: rgb(55, 115, 170);;
            color: white;
            display: inline-block;
            text-decoration: none;
            padding: 12px 30px;
            border-radius: 8px;
            font-weight: bold;
            font-size: 16px;
            transition: 0.3s;
           
        }
        .action-btn:hover {
            background-color:rgb(55, 115, 170);;
        }