/* Instructor Layout: Image left, text right */
.instructor {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}


.instructor:hover {
  /* transform: translateY(-5px); */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.instructors-intro {
padding-bottom: 20px;
}

.instructor img {
  width: 200px;
  border-radius: 8px;
  flex-shrink: 0;
}

.instructor-info {
  flex: 1;
}

.instructor-info h2 {
  margin-top: 0;
  font-size: 1.4em;
}

.instructor-info p {
  text-align: left;
  line-height: 1.6;
  color: #333;
}

/* Responsive Layout for Small Screens */
@media screen and (max-width: 768px) {
  .instructor {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .instructor img {
    width: 100%;
    max-width: 300px;
  }

  .instructor-info {
    text-align: left;
    margin-top: 15px;
  }

    .instructor:hover {
    transform: none;
  }
}

.read-more-btn {
  background-color: transparent;
  border: none;
  color:rgb(208, 160, 0);
  cursor: pointer;
  padding: 0;
  font-size: 1em;
  margin-top: 10px;
}

.read-more-btn:hover {
  text-decoration: underline;
}
