section {
  scroll-margin-top: 180px !important;
}

.program-page {
  padding: 130px 6% 80px;

  background: #f8faf7;
}

.program-hero {
  text-align: center;

  max-width: 850px;

  margin: auto auto 90px;
}

.program-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);

  margin: 18px 0;
}

.program-hero p {
  line-height: 1.8;

  color: var(--text-secondary);
}

/* detail */

.program-detail {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 60px;

  align-items: center;

  margin-bottom: 110px;

  scroll-margin-top: 100px;
}

.reverse .program-image {
  order: 2;
}

.reverse .program-content {
  order: 1;
}

.program-image {
  overflow: hidden;

  border-radius: 35px;

  box-shadow: var(--shadow);
}

.program-image img {
  width: 100%;

  aspect-ratio: 16/10;

  object-fit: cover;

  transition: 0.8s;

  display: block;
}

.program-image:hover img {
  transform: scale(1.05);
}

.program-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);

  margin: 18px 0;
}

.program-content p {
  line-height: 1.9;

  margin-bottom: 30px;

  color: var(--text-secondary);
}

.program-feature {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;
}

.program-feature div {
  padding: 12px 18px;

  background: white;

  border-radius: 999px;

  display: flex;

  gap: 10px;

  align-items: center;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);

  transition: 0.35s;
}

.program-feature div:hover {
  transform: translateY(-5px);

  background: #edf9f0;
}

.program-feature i {
  color: var(--primary-color);
}

.program-info {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 15px;

  margin-bottom: 25px;
}

.program-info div {
  padding: 18px;

  background: white;

  border-radius: 20px;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.program-info h4 {
  margin-bottom: 8px;

  color: var(--primary-color);
}

.program-info span {
  font-size: 14px;

  color: var(--text-secondary);

  line-height: 1.6;
}

/* animation */
.program-hero,
.program-image,
.program-content {
  opacity: 0;

  transition: 0.9s;
}

.program-hero {
  transform: translateY(50px);
}

.program-image {
  transform: translateX(-60px);
}

.program-content {
  transform: translateX(60px);
}

.show {
  opacity: 1;

  transform: translate(0, 0);
}

@media (max-width: 992px) {
  .program-detail {
    grid-template-columns: 1fr;

    gap: 30px;
  }

  .reverse .program-image,
  .reverse .program-content {
    order: unset;
  }
}

@media (max-width: 576px) {
  .program-page {
    padding: 110px 5% 60px;
  }

  .program-detail {
    margin-bottom: 70px;
  }

  .program-info {
    grid-template-columns: 1fr;
  }
}
