/* ====================== About Section ====================== */
.about {
  padding: 150px 20px 100px 20px; /* مسافة علوية وسفلية جيدة */
  background: linear-gradient(135deg, #f9f9f9, #e0e0ff);
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

/* الدوائر الخلفية الكبيرة */
.about::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: rgba(0, 123, 255, 0.5);
  border-radius: 50%;
  z-index: 0;
  animation: float 8s infinite alternate;
}

/* ====== الدوائر المتحركة ====== */
.bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.bubbles span {
  position: absolute;
  bottom: -150px;
  border-radius: 50%;
  background: rgba(0, 123, 255, 0.5);;
  animation: rise 12s infinite ease-in;
}

.bubbles span:nth-child(1) { left: 5%; width: 50px; height: 50px; animation-duration: 6s; animation-delay: 0s; }
.bubbles span:nth-child(2) { left: 15%; width: 40px; height: 40px; animation-duration: 7s; animation-delay: 1s; }
.bubbles span:nth-child(3) { left: 25%; width: 60px; height: 60px; animation-duration: 5s; animation-delay: 2s; }
.bubbles span:nth-child(4) { left: 35%; width: 35px; height: 35px; animation-duration: 8s; animation-delay: 1.5s; }
.bubbles span:nth-child(5) { left: 45%; width: 45px; height: 45px; animation-duration: 6s; animation-delay: 3s; }
.bubbles span:nth-child(6) { left: 55%; width: 50px; height: 50px; animation-duration: 5.5s; animation-delay: 0.5s; }
.bubbles span:nth-child(7) { left: 65%; width: 40px; height: 40px; animation-duration: 7.5s; animation-delay: 2.5s; }
.bubbles span:nth-child(8) { left: 75%; width: 60px; height: 60px; animation-duration: 6.5s; animation-delay: 1s; }
.bubbles span:nth-child(9) { left: 85%; width: 35px; height: 35px; animation-duration: 5s; animation-delay: 3.5s; }
.bubbles span:nth-child(10){ left: 95%; width: 45px; height: 45px; animation-duration: 8s; animation-delay: 2s; }

@keyframes rise {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  50% { opacity: 0.5; }
  100% { transform: translateY(-800px) scale(1.5); opacity: 0; }
}

@keyframes float {
  0% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(20px) translateX(10px); }
  100% { transform: translateY(0) translateX(0); }
}

/* ====== العنوان والنص ====== */
.about h2 {
  font-size: 3rem;
  color: #1305d4;
  margin-bottom: 25px;
  font-weight: bold;
  position: relative;
  z-index: 1; /* فوق الدوائر */
}

.about h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #f9d342;
  margin: 10px auto 0;
  border-radius: 2px;
  position: relative;
  z-index: 1;
}

.about p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 20px auto 0 auto;
  line-height: 1.8;
  color: #333;
  position: relative;
  z-index: 1; /* فوق الدوائر */
}

/* ====== صورة جانبية ====== */
.about .about-image {
  max-width: 500px;
  width: 100%;
  margin: 40px auto 0;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  position: relative;
  z-index: 1; /* فوق الدوائر */
}
