



/* shape of the home page */
/* shape of the home page */
/* shape of the home page */
/* shape of the home page */
/* shape of the home page */
/* shape of the home page */

.features {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  padding: 60px 20px;
  flex-wrap: wrap;
  text-align: center;
  font-family: Arial, sans-serif;
  margin-top: 250px;
  direction: rtl;
  cursor: pointer;
}

.feature {
  background: var(--background-white-color);
  padding: 20px;
  border-radius: 15px;
box-shadow: 0px 2px 15px rgb(206, 206, 206);  width: 280px;
  transition: transform 0.3s;
}

.feature:hover {
  transform: translateY(-5px);
}

/* Shapes */
.shape {
  margin: 0 auto 20px;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  
}

.circle img {
  width: 100px;

}

.square img {
  width: 100px;
}

.triangle img {
width: 100px;
}

.feature h3 {
  margin: 15px 0 10px;
  font-size: 20px;
  color: var(--green-color);
  font-weight: 700;
}

.feature p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--grey-color);
}










/* shape of the course */
/* shape of the course */
/* shape of the course */
/* shape of the course */
/* shape of the course */
/* Modal base style */
.course-modal {
  display: none; /* hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 999;
  animation: fadeIn 0.5s;
}

/* Modal content */
.course-modal .modal-content {
  background: var(--white-color);
  padding: 30px 20px;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  text-align: right;
  position: relative;
  animation: slideUp 0.5s;
}

/* Close button */
.course-modal .close {
  position: absolute;
  top: 30px;
  left: 20px;
  font-size: 40px;
  cursor: pointer;
  color: var(--grey-color);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Buttons */
.course-card .btn {
  margin-top: 15px;
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  color: var(--white-color);
  background: var(--green-color);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.course-card .btn:hover {
  background: var(--background-green-color);
}











/* teachers card */
/* teachers card */
/* teachers card */
/* teachers card */
/* teachers card */

.teachers-section {
  padding: 60px 20px;
  text-align: center;
  margin-top: 300px;
}

.teachers-section .section-title {
  font-size: 28px;
  margin-bottom: 10px;
  color: var(--green-color);
  font-weight: 700;
}

.teachers-section .section-subtitle {
  font-size: 16px;
  color: var(--grey-color);
  margin-bottom: 40px;
}

.teachers-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.teacher-card {
  background: var(--white-color);
  padding: 25px;
  border-radius: 15px;
  width: 280px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.teacher-card h3 {
  font-weight: 700;
}

.teacher-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.teacher-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: var(--green-color);
  color: var(--white-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  font-weight: bold;
}






/* ✅ Responsive Design */
@media (max-width: 1000px) {

  .teachers-section {
  margin-top: 200px;
}


  .teacher-card {
    width: 45%; /* 2 per row on tablets */
  }
}






@media (max-width: 750px) {
  .teacher-card {
    width: 60%; /* 1 per row on mobile */
    
  }

    .teachers-section {
  margin-top: 100px;
}

}



@media (max-width: 650px) {

    .teachers-section {
  margin-top: 700px;
}

}



@media (max-width: 550px) {

    .teachers-section {
  margin-top: 520px;
}

}