/* ====== Vision & Mission ====== */
.vision-mission {
  padding: 120px 20px;
  background: linear-gradient(135deg, #f0f4ff, #dce6ff);
  text-align: center;
}
.vision-mission h2 {
  font-size: 3rem;
  color: #1305d4;
  margin-bottom: 50px;
  font-weight: bold;
  position: relative;
}
.vision-mission h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #f9d342;
  margin: 10px auto 0;
  border-radius: 2px;
}
.vision-wrapper {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.vision-item {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  flex: 1;
  min-width: 280px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}
.vision-item:hover {
    transform: translateY(-10px);
}
.vision-item .icon {
    font-size: 3rem; color: #f9d342; margin-bottom: 15px;
}
.vision-item h3 {
    font-size: 1.6rem; color: #1305d4; margin-bottom: 15px;
}
.vision-item p, .vision-item ul {
    font-size: 1.1rem; color: #444; line-height: 1.8;
}
.vision-item ul {
    list-style: none; padding: 0;
}
.vision-item ul li::before {
    content: "✔️ ";
}





/* ====================== Academics ====================== */
.academics-section {
  padding: 120px 20px;
  background: linear-gradient(135deg, #f9faff, #e6ecff);
  text-align: center;
}

.academics-section h2 {
  font-size: 3rem;
  color: #1305d4;
  margin-bottom: 60px;
  font-weight: bold;
  position: relative;
}

.academics-section h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #f9d342;
  margin: 15px auto 0;
  border-radius: 2px;
}

.academics-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.academic-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 25px;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.academic-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.academic-card .icon {
  font-size: 3rem;
  color: #f9d342;
  display: block;
  margin-bottom: 20px;
}

.academic-card h3 {
  font-size: 1.6rem;
  color: #1305d4;
  margin-bottom: 15px;
}

.academic-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
}
.teachers-section {
  padding: 100px 20px;
  text-align: center;
  background: linear-gradient(135deg, #eef2f6, #dce6f9);
}

.teachers-section h2 {
  font-size: 3rem;
  color: #1305d4;
  margin-bottom: 60px;
  font-weight: bold;
  position: relative;
}

.teachers-section h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #f9d342;
  margin: 15px auto 0;
  border-radius: 2px;
}

/* شبكة المعلمين */
.teachers-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 50px;
}

/* الدوائر */
.teacher-circle {
  position: relative;
  width: 220px;
  height: 220px;
  overflow: hidden;
  border-radius: 50%;
  border: 5px solid #f9d342;
  transition: transform 0.3s;
}

.teacher-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.3s;
}

/* تكبير الصورة عند Hover */
.teacher-circle:hover img {
  transform: scale(1.2);
  cursor: pointer;
}

/* معلومات المعلم دائمًا ظاهرة أعلى الصورة */
.teacher-info {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 0;
  background: rgba(0, 0, 0, 0.5); /* خلفية نصف شفافة */
  text-align: center;
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
}

.teacher-info h3 {
  color: #fff;
  font-size: 1.2rem;
  margin: 0;
  font-weight: 700;
}

.teacher-info p {
  color: #fff;
  font-size: 0.85rem;
  margin: 2px 0 0 0;
}

/* تجاوب */
@media (max-width: 1024px) {
  .teacher-circle {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 768px) {
  .teachers-grid {
    gap: 30px;
  }

  .teacher-circle {
    width: 140px;
    height: 140px;
  }

  .teacher-info h3 {
    font-size: 1rem;
  }

  .teacher-info p {
    font-size: 0.8rem;
  }
}
