/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  animation: fade 15s infinite;
}
.hero-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-slider img.active {
  opacity: 1;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  color: white;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
}
.hero-content h2 {
  color: #fff; /* Ubah warna teks menjadi putih */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Tambahkan bayangan untuk meningkatkan keterbacaan */
}
.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #fff;
}
.hero-content .btn {
  padding: 10px 20px;
  font-size: 1.2rem;
  background-color: #a5c422; /* Warna hijau */
  color: #fff; /* Warna teks putih */
  border: none; /* Hilangkan border */
  border-radius: 5px; /* Tambahkan border radius untuk tampilan lebih lembut */
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}
.hero-content .btn:hover {
  background-color: #4267b2; /* Warna biru saat hover */
  transform: scale(1.1); /* Perbesar sedikit saat hover */
}

/* Fade animation for background slider */
@keyframes fade {
  0% {
    opacity: 1;
  }
  33% {
    opacity: 0;
  }
  66% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
