.teachers-section {
  padding: 80px 20px;
  background: #0f0f0f;
  text-align: center;
  color: #fff;
}

/* wrapper */
.carousel {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

/* track */
.carousel-track {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 40px 10px;
  scroll-snap-type: x mandatory;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

/* cards */
.teacher-card {
  flex: 0 0 300px;
  scroll-snap-align: center;
  background: linear-gradient(145deg, #1a1a1a, #222);
  padding: 25px;
  border-radius: 16px;
  text-align: center;

  border: 1px solid rgba(255, 204, 0, 0.1);

  transition: all 0.35s ease;

  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.teacher-card:hover {
  transform: translateY(-10px) scale(1.04);
  background: linear-gradient(145deg, #222, #2a2a2a);

  box-shadow: 
    0 10px 30px rgba(0,0,0,0.5),
    0 0 25px rgba(255, 204, 0, 0.7);

  border: 1px solid rgba(255, 204, 0, 0.5);
}

/* image */
.teacher-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #444;
}

/* name (FIXED GOLD) */
.teachers-section .teacher-card h3 {
  color: #ffcc00 !important;
  text-shadow: 0 0 8px rgba(255, 204, 0, 0.4);
}

/* text */
.teacher-card .title {
  color: #aaa;
  font-size: 14px;
  margin-bottom: 10px;
}

.teacher-card .desc {
  color: #ccc;
  font-size: 14px;
}

/* arrows */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: none;
  color: #fff;
  font-size: 26px;
  padding: 12px;
  cursor: pointer;
  border-radius: 50%;
  backdrop-filter: blur(5px);
}

.prev { left: -10px; }
.next { right: -10px; }

.nav:hover {
  background: rgba(255,255,255,0.2);
}

/* title */
.section-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-title .white {
  color: #fff;
}

.section-title .accent {
  color: #c9a84c;
  text-shadow: 0 0 10px rgba(77, 166, 255, 0.4);
}
