*{
  margin: 0;
  padding: 0;
}
.d{
    display: inline-flex;       /* يجعل الصورة والنص في صف واحد */
    align-items: center;        /* محاذاة رأسية وسط */
    gap: 12px;                  /* مسافة بين اللوغو والعنوان */
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    margin-left: 50px;
    margin-top: 5px;
  }

  .d img{
    width: 50px;                /* حجم الصورة المصغّرة — عدّل حسب الحاجة */
    height: 50px;
    object-fit: contain;        /* يحافظ على نسبة الصورة */
    border-radius: 6px;   
    transition: transform 0.3s ease;      /* لو رغبت بحواف دائرية */
  }
  .d a{
    font-size: 20px;
  }
 .d img:hover{
  transform: scale(1.1);
 }


/* توقف عند hover 
.d img:hover {
  animation-play-state: paused;
}

/* احترم تفضيل المستخدم لتقليل الحركة */
/*@media (prefers-reduced-motion: reduce) {
  .d img {
    animation: none;
  }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

*/
.f{
    border: 2px solid transparent;
    border-radius: 5px;
    color: #ffffff;
    font-weight: bold;
    font-family: sans-serif;
    padding: 5px 10px;
    text-decoration: none;
    display: inline block;
    position: relative;
    transition: all 1.3s ease;
}
body{
    background-image: url(De.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 97vh;
    background-attachment: fixed;
}
.f:hover{
    font-size: 30px;
    color: #fefefe;
    text-shadow: 0 0 10px rgb(10, 206, 255),
                 0 0 20px rgb(10, 206, 255),
                 0 0 30px rgb(10, 206, 255);
}


 


.cards-container {
  padding-top: 1px;
    display: flex;
    justify-content: space-around; /* توزيع الشرائح بشكل متساوي */
    margin: 20px;
    gap: 20px; /* مسافة بين الشرائح */
    flex-wrap: wrap; /* يسمح بالانتقال للسطر التالي على شاشات صغيرة */
    padding-top: 70px;
    
  }

  /* كل شريحة */
  .card {
    background-color: rgba(147, 182, 243, 0.479);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    flex: 1 1 250px; /* مرنة، الحد الأدنى 250px */
    min-width: 250px;
    height: 170px;
    
  }

  /* مثال: مدخلات داخل الشريحة */
  .card input {
    width: 94%;
    padding: 8px;
    margin-top: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: rgba(96, 107, 205, 0.15);
  backdrop-filter: blur(18px);

  }

    .card input::-webkit-inner-spin-button,
    .no-spin::-webkit-outer-spin-button {
    -webkit-appearance: none;
  }

  .card button {
    padding: 10px 15px;
    background-color: #0acef9;
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
  }

  .card button:hover {
    background-color: #06b6d4;
  }

  .h{
    
    display: flex;
    position: fixed;
    margin-bottom:20px;
    background-color: rgba(127, 67, 211, 0.087);
    backdrop-filter: blur(10px); /* لإعطاء تأثير الزجاج */
    height: 70px;
    width: 100%;
    top: 0;
  }



  .card.special{
    height: 550px;
  }
  .card.third{
    height: 650px;
  }


.actions{
  margin-top:100px;
  text-align:left;
  margin-left: 46.3%;
}
button{
  padding:20px 20px;
  background:#0b6cff;
  color:#fff;
  border:none;
  border-radius:6px;
  cursor:pointer;
}
#results {
  width: 350px;                 /* يمكنك تغييره كما تريد */
  padding: 20px;
  margin: 20px auto;
  border-radius: 15px;
margin-bottom: 50px;
  background: rgba(255, 255, 255, 0.15); /* شفافية زجاجية */
  backdrop-filter: blur(12px);           /* تأثير الزجاج */
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 255, 255, 0.25); /* إطار زجاجي */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);  /* ظل ناعم */

  color: #F8EFFF;               /* لون كتابه مناسب فوق 9F2ACE */
  text-align: center;
  font-family: Arial, sans-serif;
}

/* عنوان واضح */
#results h3 {
  margin-bottom: 10px;
  font-size: 24px;
  color: #FFFFFF;
}

/* النصوص الداخلية */
#results p {
  margin: 8px 0;
  font-size: 18px;
}

/* النص الخافت */
#results .muted {
  color: rgba(255, 255, 255, 0.6);
}

/* قيمة الـ throughput */
#throughput {
  font-weight: bold;
  color: #00FFEA; /* لون جميل يظهر فوق البنفسجي */
  font-size: 20px;
}

  

 
  

