/* تنسيق عام للصفحة */
body {
  margin: 0;
  padding: 0;
  font-family: 'Rubik';
  background: linear-gradient(150deg, #146366, #ececec);
  direction: rtl;
  color: #ffffff;
}
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.1), transparent 70%),
              radial-gradient(circle at bottom right, rgba(255,255,255,0.1), transparent 70%);
  background-position: 0% 0%, 100% 100%;
  background-repeat: no-repeat;
  z-index: 0;
  animation: floatBackground 20s linear infinite;
}


@keyframes floatBackground {
  0% {
    background-position: 0% 0%, 100% 100%;
  }
  100% {
    background-position: 100% 100%, 0% 0%;
  }
}



/* الحاوية الرئيسية */
.container {
  position: relative;
  z-index: 1;
  margin: 0px auto;
  padding: 20px;
  max-width: 400px;
  background: linear-gradient(150deg, #146366, #ececec);
  background-size: 800% 800%;
  animation: moveContainerBG 12s ease infinite;
  border-radius: 20px;
}

@keyframes moveContainerBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.section-header {
  background-color: #ffffff;
  padding: 20px 20px 20px 20px;
  border-radius: 12px;
  text-align: right; /* يمين لتوافق اتجاه الأيقونة */
  margin-top: 50px;
  margin-bottom: 20px;
  position: relative; /* عشان نحط الأيقونة فوق العنوان */
}

.section-header i.icon-right {
  position: absolute;
  top: 25px;
  right: 20px;
  font-size: 30px;
  color: rgb(255, 255, 255);
  background-color: #0a1e4d; /* أزرق غامق */
  padding: 10px;
  border-radius: 50%; /* يخليها دائرية */
  box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* ظل خفيف */
}


.section-header h3 {
  color: rgb(0, 0, 0);
  margin: 0;
  font-size: 22px;
  padding-right: 80px; /* يبعد النص عن الأيقونة */
  display: inline-block;
}

.section-header h4 {
  color: rgb(5, 4, 35);
  margin: 10px 0 0;
  font-size: 18px;
  padding-right: 80px; /* نفس الشي هنا */
  display: inline-block;
}


:root {
  --primary-color: #0a245c;
  --accent-color: #e8ebff;
  --highlight-color: #ff9d00;
  --whatsapp-color: #25D366;
  --input-bg: #e8ebff;
  --dark-blue: #162592;
}


/*الخانات/*/
.container-css {
  background: linear-gradient(150deg, #0f3f41, #044646);
  backdrop-filter: blur(5px); /* تأثير الضبابية */
  -webkit-backdrop-filter: blur(10px); /* دعم المتصفحات القديمة */
  margin: 30px auto;
  padding: 20px;
  border-radius: 20px;
  max-width: 500px;
  color: #ffffff;

  
}


/* الشعار */
.header {
  display: flex;
  justify-content: center; /* توسيط أفقي */
  align-items: center;     /* توسيط عمودي */
  flex-direction: column;  /* يجعل العناصر فوق بعض */
  text-align: center;
  margin-top: 30px;  /* مسافة من الأعلى */

}


.logo {
  width: 170px; /* حجم الشعار */
}

.header h1 {
  font-size: 24px;
  color: #031d36;
  margin-bottom: 15px;
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  margin-bottom: 15px;
}



.feature-item .text {
  font-size: 16px;
  transform: skewX(2deg);
  color: #070b3c;
}

/* الأزرار */
/* تنسيق عام للأزرار */
button {
  background: transparent;
  position: relative;
  display: flex;
  align-items: center;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 0px solid;
  border-radius: 10px;
  outline: none;
  overflow: hidden;
  transition: color 0.3s 0.1s ease-out, box-shadow 0.9s ease-out;
  text-align: center;
}

/* تخصيص زر الاتصال */
.btn-call {
  background: rgb(246, 147, 17);
  border-color: rgb(246, 147, 17);
  color: rgb(255, 255, 255);
  border: 1px solid rgba(0, 0, 0, 0.2); /* حدود خفيفة بلون رمادي شفاف */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* ظل ناعم لإضافة عمق */
  transition: all 0.3s ease-in-out; /* حركة سلسة عند التفاعل */
 
}
.buttons-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 10px;
  margin-top: 20px;
  position: relative;
}

.btn-call, .btn-whatsapp {
  width: 140px; /* نفس العرض */
  height: 42px;  /* نفس الارتفاع */
  font-size: 14px;
}

/* تحريك زر الاتصال للأسفل قليلاً */
.btn-call {
  margin-top: 6px; /* ينزل شوي لتحت */
}

.btn-call::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  border-radius: 50%;
  display: block;
  width: 200em;
  height: 20em;
  transition: box-shadow 0.5s ease-out;
  z-index: -1;
  white-space: nowrap; /* هذا يمنع النص من الانتقال لسطر جديد */

}
.btn-submit:hover {
  background: linear-gradient(45deg, #3b4d79, #6d8ac3);
}

.btn-call:hover {
  color: #ffffff;
  border-color: rgb(196, 118, 16);
  background: #ff9d00;
}

.btn-call:hover::before {
  box-shadow: inset 0 0 0 10em rgb(196, 118, 16);
}

/* تخصيص زر الواتساب */
.btn-whatsapp {
  background: rgb(52, 196, 16);
  border-color: rgb(52, 196, 16);
  color: rgb(255, 255, 255);
  
  border: 1px solid rgba(0, 0, 0, 0.2); /* حدود خفيفة بلون رمادي شفاف */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* ظل ناعم لإضافة عمق */
  transition: all 0.3s ease-in-out; /* حركة سلسة عند التفاعل */
}

.btn-whatsapp::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  border-radius: 50%;
  display: block;
  width: 200em;
  height: 20em;
  left: -5em;
  z-index: -1;
}
button span {
  margin: 10px;
}
.btn-call, .btn-whatsapp {
  display: inline-flex;
  align-items: center;
  white-space: nowrap; /* هذا يمنع النص من الانتقال لسطر جديد */
  gap: 8px; /* مسافة صغيرة بين الأيقونة والنص */
  padding: 6px 14px; /* تصغير الحشوة داخل الزر */
  font-size: 13px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.btn-whatsapp:hover {
  color: #fff;
  border-color: #25D366;
  background: #25D366;
}

.btn-whatsapp:hover::before {
  box-shadow: inset 0 0 0 10em #25D366;
}

/*زر الارسال*/
.btn-submit{
  background: linear-gradient(to bottom, #37a0c9, #11c6a8);
  color: #ffffff;
  font-size: 20px;
margin: auto;
margin-top: 10px;
padding: 10px 100px;
border: #ffffff;

}
/*هههههههههههه*/
.consultation-header { 
  background: linear-gradient(150deg, #0f3f41, #044646);
  max-width: 500px;
  margin: 10px auto 30px auto; /* مثلاً */
  padding: 10px 15px 30px 15px;
  text-align: center;
  color: #ffffff;
  border-radius: 20px;
}
@media (max-width: 500px) {
  .section-header h3,
  .section-header h4 {
    font-size: 16px;
    padding-right: 60px;
  }

  .btn-submit {
    padding: 10px 50px;
    font-size: 16px;
  }

  .input-icon input,
  .custom-select {
    width: 90%;
    font-size: 14px;
  }

  .header h1 {
    font-size: 20px;
  }
}






/* النموذج */
.form-container {
  margin: 20px 0;
}
.group {
  position: relative;
 }
 
 form input {
  width: 100%;
  max-width: 300px;
  background-color: #ffffff;
  border: none;
  padding: 10px;
  border-radius: 50px;
  outline: none;
  color: rgb(12, 12, 12);
  margin-top: 10px;

 
}

.input-icon {
  position: relative;
  width: fit-content;
  margin: auto;
  width: 100%;
  max-width: 350px;


}

.input-icon i {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  color: #000000;
  
}

.input-icon input {
  width: 100%;
  max-width: 350px;
  background-color: #e8ebff;
  border: none;
  padding-top: 16px;
  padding-bottom: 16px;  padding-left: 15px;  /* مكان الأيقونة */
  padding-right: 40px; /* يبعد النص عن الأيقونة */
  border-radius: 10px;
  outline: none;
  color: rgb(0, 0, 0);
  margin-top: 10px;
  border: 1px solid rgba(0, 0, 0, 0.2); /* حدود خفيفة بلون رمادي شفاف */
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* ظل ناعم لإضافة عمق */
transition: all 0.3s ease-in-out; /* حركة سلسة عند التفاعل */

}



form input:focus 
{
  animation: rotateShadow 2s infinite linear;
}

@keyframes rotateShadow {
0% {
  box-shadow: -2px -2px 0px 0px #aa00ff, 2px 2px 0px 0px #3700ff;
}
25% {
  box-shadow: -2px 2px 0px 0px #aa00ff, 2px -2px 0px 0px #3700ff;
}
50% {
  box-shadow: 2px 2px 0px 0px #aa00ff, -2px -2px 0px 0px #3700ff;
}
75% {
  box-shadow: 2px -2px 0px 0px #aa00ff, -2px 2px 0px 0px #3700ff;
}
100% {
  box-shadow: -2px -2px 0px 0px #aa00ff, 2px 2px 0px 0px #3700ff;
}
}

 /* الحقل العام */
 .custom-select {
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 350px;
  background-color: #e8ebff;
  border: none;
  padding-top: 16px;
  padding-bottom: 16px;  padding-right: 30px; /* لإفساح مكان للسهم */
  border-radius: 10px;
  outline: none;
  color: rgb(0, 0, 0);
  margin-top: 10px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: calc(100% - 10px) center;
  background-size: 15px;
  border: 1px solid rgba(0, 0, 0, 0.2); /* حدود خفيفة بلون رمادي شفاف */
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* ظل ناعم لإضافة عمق */
transition: all 0.3s ease-in-out; /* حركة سلسة عند التفاعل */

}
.select-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  margin-top: 2px;
}


/* عند التفاعل */
.custom-select:focus {
  box-shadow: 0 0 5px #3700ff;
}

/* الحاوية */
.container select {
  font-family: 'Arial', sans-serif;
}
 
 .highlight {
  position: absolute;
  height: 60%;
  width: 100px;
  top: 25%;
  left: 0;
  pointer-events: none;
  opacity: 0.5;
 }
 
 
 


/* نص الخصوصية */
.privacy-text {
  font-size: 12px;
  color: #ffffff;
  margin-top: 20px;
}
.privacy-link{
  color: #ff9409;
}
/*حط النصوص*/
@font-face {
  font-family: 'Rubik'; /* اسم الخط الذي تريد تسميته */
  src: url('text/Rubik-Light.ttf') format('truetype'); /* مسار ملف الخط */
  font-style: italic; /* النمط: مائل */
  font-weight: normal; /* السمك: عادي */
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.k, .consultation-header, .form-container .container{
  animation: fadeInUp 1s ease-in-out;
}
input {
  background-image: url('icon-user.svg');
  background-repeat: no-repeat;
  background-position: 15px center;
  padding-left: 40px;
}
.animate {
  animation: fadeInUp 1.2s ease-in-out;
  animation-fill-mode: both;
}



