/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: #f4f7fb;
  color: #333;
}

/* ===== HERO SECTION ===== */
.hero {
  height: 320px;
  background: url("../assets/banners/mentorbanner-CW8kaPdP.jpg") center/cover no-repeat;
  position: relative;
}

.hero-overlay {
  height: 100%;
  width: 100%;
  background: linear-gradient(
    rgba(20, 40, 80, 0.75),
    rgba(20, 40, 80, 0.75)
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  padding-top: 180px;
}

.hero h1 {
  font-size: 42px;
  color: #fff;
  margin-bottom: 10px;
}

.hero h1 span {
  color: #f5b335;
}

.hero p {
  max-width: 720px;
  color: #eaeaea;
  font-size: 17px;
  line-height: 1.6;
}

/* ===== MENTOR SECTION ===== */
.mentor-section {
  padding: 60px 5%;
}

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

/* ===== CARD ===== */
.mentor-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 25px 22px 30px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* left accent line */
.mentor-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(#1b3a8a, #f5b335);
  transition: 0.35s;
}

/* hover card */
.mentor-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
}

.mentor-card:hover::before {
  width: 7px;
}

/* ===== IMAGE ===== */
.mentor-card img {
  width: 150px;
  height: 150px;
  border-radius: 14px;
  object-fit: cover;
  margin-bottom: 15px;
  filter: grayscale(100%);
  transition: all 0.4s ease;
}

.mentor-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* ===== TEXT ===== */
.mentor-card h3 {
  font-size: 18px;
  color: #1b3a8a;
  margin-bottom: 6px;
}

.mentor-card h4 {
  font-size: 14px;
  color: #f5b335;
  margin-bottom: 12px;
  font-weight: 600;
}

.mentor-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    height: 260px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 15px;
  }

  .mentor-card img {
    width: 130px;
    height: 130px;
  }
}
