/* ===== HERO ===== */
.teachers-hero {
  background: linear-gradient(
    rgba(107,15,26,0.85),
    rgba(107,15,26,0.85)
  ),
  url("https://images.unsplash.com/photo-1524995997946-a1c2e315a42f");
  background-size: cover;
  background-position: center;
  padding: 110px 20px;
  text-align: center;
  color: #fff;
}

.teachers-hero h1 {
  font-size: 40px;
}

.teachers-hero p {
  color: #f4c430;
  margin-top: 10px;
}

/* ===== INTRO ===== */
.teachers-intro {
  max-width: 800px;
  margin: 60px auto;
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

/* ===== GRID ===== */
.teachers-section {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px 80px;
}

.teachers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 30px;
}

/* ===== CARD ===== */
.teacher-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.teacher-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.18);
}

.teacher-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.teacher-card h3 {
  margin-top: 18px;
  color: #6b0f1a;
}

.teacher-card span {
  font-size: 14px;
  color: #f4c430;
  display: block;
  margin: 6px 0;
}

.teacher-card p {
  font-size: 14px;
  padding: 0 18px;
  color: #555;
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .teachers-hero h1 {
    font-size: 28px;
  }
}