html,
body {
  font-family: Helvetica, Arial, sans-serif;
  /* font-size: 16px; */
  line-height: 1.428;
}

body {
  background: whitesmoke;
}

.navbar {
  padding-top: 0;
  padding-bottom: 0;
  border-radius: 0;
  border: none;
  border-bottom: 2px solid maroon;
}

.navbar-nav .nav-link {
  color: maroon;
  margin: 0 1rem;
  position: relative;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link.active {
  color: maroon;
  border-bottom: 3px solid maroon;
}

.navbar-nav .nav-link:hover {
  color: maroon;
}

.navbar-nav .nav-link::after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  background: maroon;
  transition: width 0.3s;
  position: absolute;
  bottom: -5px;
  left: 0;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.hero {
  position: relative;
  height: 70vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.slider {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease-in-out;
}

.slide {
  flex: 0 0 100%;
  background-size: cover;
  background-position: center;
}

.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0, 0, 0, 0.3);
  border: none;
}

.hero-prev {
  left: 15px;
}

.hero-next {
  right: 15px;
}

.program-info {
  background-color: #800000;
  color: whitesmoke;
  padding: 8px 8px 0;
}

.program-info .highlight {
  font-size: 2.5rem;
}

.divider {
  border-top: 1px solid #ffffff80;
  margin: 0.5rem auto;
  width: 50%;
}

.text-roman {
  font-family: 'Times New Roman', Times, serif;
}

.garis-maroon {
  height: 2px;
  background-color: maroon;
  margin: 0;
}

.text-maroon {
  color: #800000;
}

.btn-maroon {
  background-color: #800000;
  color: whitesmoke;
}

.btn-maroon:hover {
  background-color: #a00000;
  color: white;
}

/* Partner Carousel */
.partner-carousel-wrapper {
  overflow: hidden;
  position: relative;
}

.partner-carousel {
  display: flex;
  transition: transform 0.5s ease;
}

.partner-item {
  flex: 0 0 25%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.partner-item img {
  max-height: 80px;
  max-width: 100%;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
  object-fit: contain;
}

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

.partner-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  color: #800000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.2s;
}

.partner-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
  color: #a00000;
}

.partner-prev {
  left: 10px;
}

.partner-next {
  right: 10px;
}

/* Responsiveness for Partner Carousel */
@media (max-width: 1200px) {
  .partner-item {
    flex: 0 0 33.3333%;
    /* 3 items per row */
  }
}

@media (max-width: 768px) {
  .partner-item {
    flex: 0 0 50%;
    /* 2 items per row */
  }
}

@media (max-width: 480px) {
  .partner-item {
    flex: 0 0 100%;
    /* 1 item per row */
  }
}