/* Enhanced styling for instructor images */
.trainer-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  max-height: 450px;
  display: block;
  margin: 0 auto;
}

.trainer-image {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border-radius: 8px;
}

/* Udemy style instructor avatar */
.instructor-avatar-udemy {
  width: 100px !important;
  height: 100px !important;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #f4c40e;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.instructor-avatar-udemy img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Team image styling */
.team-member-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-member-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

/* Hover effect */
.team-member-image:hover img,
.trainer-image:hover img {
  transform: scale(1.03);
}