/* أنماط عامة */
body {
  font-family: 'Cairo', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #00171f;
  color: #e0f2f1;
}

/* تنسيق الشريط العلوي مع الشعار والقوائم */
nav {
  background-color: #003049;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav a {
  color: #e0f2f1;
  text-decoration: none;
  font-size: 1.2rem;
  margin-left: 20px;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #0094f7;
}

nav .logo img {
  width: 50px;
  height: auto;
}

/* تنسيق الهيدر */
header {
  text-align: center;
  padding: 50px 20px;
  background-color: #003049;
  color: #00ccff;
}

h1 {
  text-align: center;
  font-size: 2.5rem;
  margin: 0;
  animation: fadeInDown 1s ease;
}

header p {
  font-size: 1.2rem;
  margin-top: 10px;
}


@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* تنسيق قسم أعضاء الفريق */
.team-members {
  padding: 50px 20px;
  background-color: #00171f;
}

.team-members h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  animation: fadeIn 1.5s ease;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.members-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.member {
  background-color: #003049;
  color: #e0f2f1;
  border-radius: 10px;
  padding: 20px;
  width: 280px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7);
}

.member img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.member h3 {
  font-size: 1.5rem;
  margin: 10px 0;
  color: #00ccff;
}

.member p {
  font-size: 1rem;
  margin-bottom: 15px;
}

/* تنسيق الأزرار */
.button {
  background-color: #e0f2f1;
  color: #0ac0fd;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.button:hover {
  background-color: #00c3ff;
  transform: scale(1.05);
  color: #00171f;
}

/* تنسيق الفوتر */
footer {
  background-color: #003049;
  color: #e0f2f1;
  text-align: center;
  padding: 20px 0;
}

.social-icons {
  margin: 20px 0;
}

.social-icons a {
  color: #e0f2f1;
  font-size: 1.5rem;
  margin: 0 10px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  color: #00e1ff;
  transform: scale(1.2);
}

/* تنسيق إضافي للشبكة */
.members-grid1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
}

.members-grid1 .member:last-child {
  margin: 0 auto;
}
/* تنسيق الـ Member مع الخلفية المتحركة */
.member {
  position: relative;
  width: 250px; /* تكبير حجم الـ Card */
  height: 400v; /* تكبير حجم الـ Card */
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgb(0, 183, 255), 0 0 40px rgba(0, 204, 255, 0.3); /* تأثير لوني حول الـ Card */
  background-color: #003049;
  color: #e0f2f1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px rgba(0, 204, 255, 0.8), 0 0 50px rgba(0, 204, 255, 0.5); /* زيادة التأثير اللوني عند الـ Hover */
}

/* الخلفية المتحركة (Blob) */
.member .blob {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 400px; /* تكبير حجم الـ Blob */
  height: 200px; /* تكبير حجم الـ Blob */
  border-radius: 50%;
  background: linear-gradient(45deg, #6b6e6e, #0bb7e2); /* لون متدرج للـ Blob */
  opacity: 0.8;
  filter: blur(20px); /* زيادة تأثير التمويه */
  animation: blob-bounce 8s infinite ease; /* زيادة مدة الحركة */
}

@keyframes blob-bounce {
  0% {
    transform: translate(-100%, -100%) translate3d(0, 0, 0);
  }
  25% {
    transform: translate(-100%, -100%) translate3d(100%, 0, 0);
  }
  50% {
    transform: translate(-100%, -100%) translate3d(100%, 100%, 0);
  }
  75% {
    transform: translate(-100%, -100%) translate3d(0, 100%, 0);
  }
  100% {
    transform: translate(-100%, -100%) translate3d(0, 0, 0);
  }
}

/* الطبقة البيضاء الشفافة */
.member .bg {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 280px; /* تكبير الطبقة البيضاء */
  height: 290px; /* تكبير الطبقة البيضاء */
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  border-radius: 10px;
  overflow: hidden;
  outline: 2px solid white;
}

/* تنسيق الصورة */
.member img {
  width: 250px; /* تكبير الصورة قليلاً */
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
  z-index: 3; /* للتأكد من ظهور الصورة فوق العناصر الأخرى */
}

/* تنسيق النصوص */
.member h3 {
  font-size: 1.5rem;
  margin: 10px 0;
  color: #00ccff;
  z-index: 3; /* للتأكد من ظهور النص فوق العناصر الأخرى */
}

.member p {
  
  font-size: 1rem;
  margin-bottom: 15px;
  z-index: 3; /* للتأكد من ظهور النص فوق العناصر الأخرى */
}

/* تنسيق الأزرار */
.button {
  background-color: #00ccff; /* لون الزر */
  color: #00171f; /* لون النص داخل الزر */
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  z-index: 3; /* للتأكد من ظهور الزر فوق العناصر الأخرى */
}

.button:hover {
  background-color: #ff00ff; /* تغيير لون الزر عند الـ Hover */
  transform: scale(1.05);
  color: #fff;
}
   /* أنماط العداد الجديدة */
   .counter-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px 0;
  }

  .counter-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #e0f2f1;
  }

  .counter {
    font-size: 5rem;
    font-weight: bold;
    color: #e0f2f1;
    transition: color 0.5s ease;
    min-width: 200px;
    text-align: center;
  }

  .counter.completed {
    color: #00ccff;
    text-shadow: 0 0 10px rgba(0, 204, 255, 0.7);
  }

  .counter-subtext {
    font-size: 1.2rem;
    color: #e0f2f1;
    margin-top: 10px;
  }