.hero {
  position: relative;
  background: url('../img/download.jpg') center center / cover no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  color: white;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 2rem;
}


.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.3;
}

.hero small {
  font-weight: 600;
  font-size: 1rem;
  display: block;
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.5rem;
  }

  .hero small {
    font-size: 1.2rem;
  }

  .hero-text {
    padding-left: 4rem;
  }
}


/* ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */

.gallery-img {
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-img:hover {
  transform: scale(1.03);
}

.text-justify {
  text-align: justify;
}

/* ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
#sejarah h5 {
  color: #007bff;
}

#sejarah ul li p {
  color: #444;
}

#sejarah {
  border-radius: 12px;
}

/* ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
#pengurusan-kta h5 {
  margin-bottom: 15px;
  font-weight: bold;
}

#pengurusan-kta ul {
  margin-bottom: 20px;
}

#pengurusan-kta li::marker {
  color: #d8d2169a;
  /* Bootstrap primary */
}

.card-img-top {
  transition: transform 0.3s ease;
}

.card-img-top:hover {
  transform: scale(1.05);
}

/* ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */

.timeline {
  position: relative;
  border-left: 4px solid #dee2e6;
  padding-left: 40px;
  margin-left: 20px;
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
}

.timeline-icon {
  position: absolute;
  left: -38px;
  top: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-weight: bold;
  font-size: 14px;
  border: 3px solid white;
  box-shadow: 0 0 0 3px #dee2e6;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5px;
  text-transform: uppercase;
}

.timeline-icon span {
  display: block;
  line-height: 1.2;
}

.timeline-content {
  background: #fff;
  padding: 20px 25px;
  border-radius: 10px;
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  border-left-color: #0d6efd;
  /* Bootstrap primary */
}



/* ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

.custom-carousel-btn {
  width: 60px;
  height: 60px;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  /* transparan hitam */
  border-radius: 50%;
  padding: 10px;
  transition: all 0.3s ease;
}

.custom-carousel-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 60% 60%;
}