/* Banner style for hero-image - menyesuaikan proporsi gambar */
.hero-image {
  width: 90%;
  max-width: 1200px;
  height: 360px; /* Tinggi disesuaikan dengan proporsi gambar */
  margin: 2rem auto 2.5rem auto;
  border-radius: 24px;
  overflow: hidden;
  background: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(44, 62, 80, 0.10);
  border: none;
  position: relative;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.intro {
  text-align: center;
  padding: 1rem 2rem;
}
.intro h2 {
  color: #0f3b2e;
}
a.btn-register {
  display: inline-block;
  background-color: #0f3b2e;
  color: white;
  padding: 10px 30px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

a.btn-register:hover {
  background-color: #218838;
}

.mentor-section {
  padding: 2rem;
  max-width: 1100px;
  margin: auto;
}
.mentor-section .card {
  border: 2px solid #0f3b2e;
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  background: #fff;
  box-sizing: border-box;
}
.mentor-section .card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  width: 100%;
}
.mentor-section .card-grid .card {
  flex-direction: column;
  align-items: center;
  margin-bottom: 0;
  min-height: 320px;
}
.card-img {
  background: #6c8f6f;
  height: 120px;
  width: 120px;
  border-radius: 0.75rem;
  margin-right: 1.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.75rem;
  display: block;
}
.card-grid .card .card-img {
  width: 120px;
  height: 120px;
  margin-right: 0;
  margin-bottom: 1rem;
}
.card-content {
  text-align: left;
  flex: 1;
}
.card-grid .card .card-content {
  text-align: center;
}
.card-content h3,
.card-content h4 {
  color: #0f3b2e;
  margin: 0.5rem 0 0.2rem 0;
}
.btn-read {
    display: inline-block;
    padding: 10px 10px;
    background: #144d37;
    color: #fff;               /* biar putih */
    text-decoration: none;     /* hilangkan underline */
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
  }

  .btn-read:hover {
    background: #0b3d2e;
    transform: scale(1.05);
  }

@media (max-width: 700px) {
  .mentor-section {
    padding: 1rem;
  }
  .mentor-section .card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .card-img {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  .card-content {
    text-align: center;
  }
}
