.program-pendidikan {
  text-align: center;
  margin: 8% auto;
  max-width: 80%;
}

.intro {
  margin-bottom: 1rem;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-item {
  min-width: 100%;
  box-sizing: border-box;
}

.carousel-item img {
  width: 70%;
  height: 70%;
  border-radius: 8px;
  object-fit: contain;
}

button.prev,
button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

button.prev {
  left: 0;
}
button.next {
  right: 0;
}

ul.manfaat {
  text-align: justify;
  margin: 1rem;
}

ul.manfaat li {
  margin: 0.5rem 0;
}

@media (min-width: 768px) {
  .content-wrapper {
    flex-direction: row;
    justify-content: space-between;
  }
  .carousel {
    width: 60%;
  }
  ul.manfaat {
    width: 35%;
  }
}
