
.instructor-detail-section {
  padding: 60px 0;
  background: var(--bg-color);
}

/* Header */
.instructor-header {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  margin-bottom: 50px;
}
/* .instructor-photo img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 5px solid var(--border-color);
  object-fit: cover;
} */
.instructor-info {
  flex: 1;
}
.instructor-name {
  font-size: 28px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 5px;
}
.instructor-title {
  font-size: 16px;
  color: var(--sub-heading-color);
  margin-bottom: 15px;
}
.instructor-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  font-size: 14px;
  color: var(--heading-color);
}
.instructor-bio {
  font-size: 15px;
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 20px;
}
.instructor-socials a {
  margin-right: 12px;
  font-size: 20px;
  color: var(--button-color);
  transition: 0.3s;
}
.instructor-socials a:hover {
  color: var(--hover-color);
}

/* Courses */
.instructor-courses h3,
.instructor-testimonials h3 {
  font-size: 22px;
  color: var(--heading-color);
  margin-bottom: 20px;
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}
.course-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.course-card img {
  width: 100%;
  /* height: 180px; */
  object-fit: cover;
}
.course-info {
  padding: 15px;
}
.course-info h4 {
  font-size: 18px;
  color: var(--heading-color);
  margin-bottom: 8px;
}
.course-info p {
  font-size: 14px;
  color: var(--text-color);
  margin-bottom: 10px;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.testimonial {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 20px;
  font-size: 14px;
  color: var(--text-color);
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.testimonial span {
  display: block;
  margin-top: 12px;
  font-weight: 600;
  color: var(--sub-heading-color);
}

