/* =========================
   HALAMAN PPDB
========================= */

/* BANNER PPDB */
.ppdb-hero {
  background:
    linear-gradient(rgba(20, 55, 35, 0.75), rgba(20, 55, 35, 0.75)),
    url("/images/background-ppdb.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  min-height: 400px;
  padding: 100px 30px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  color: #ffffff;
}

.ppdb-hero-content {
  max-width: 850px;
  margin: 0 auto;
}

.ppdb-hero-label {
  display: inline-block;

  color: #e5c783;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;

  margin-bottom: 18px;
}

.ppdb-hero h1 {
  color: #ffffff;
  font-size: 44px;
  margin-bottom: 20px;
}

.ppdb-hero h1::after {
  content: "";

  display: block;
  width: 75px;
  height: 3px;

  background: #c9a45c;
  border-radius: 10px;

  margin: 20px auto 0;
}

.ppdb-hero p {
  color: #f5f5f5;
  font-size: 17px;
  line-height: 1.8;
}

/* RESPONSIVE HP */
@media (max-width: 576px) {
  .ppdb-hero {
    min-height: 320px;
    padding: 70px 20px;
  }

  .ppdb-hero h1 {
    font-size: 32px;
  }

  .ppdb-hero p {
    font-size: 15px;
  }
}

/* =========================
   INFORMASI PENDAFTARAN PPDB
========================= */

.ppdb-info {
  padding: 90px 30px;
  background-color: #ffffff;
}

.ppdb-info-container {
  max-width: 1100px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 60px;
}

/* BAGIAN TEKS */
.ppdb-section-label {
  display: inline-block;
  color: #a7833e;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.ppdb-info-text h2 {
  color: #2f6545;
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 25px;
}

.ppdb-info-text h2::after {
  content: "";
  display: block;
  width: 65px;
  height: 3px;
  background-color: #c9a45c;
  border-radius: 10px;
  margin-top: 20px;
}

.ppdb-info-text p {
  color: #666666;
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 18px;
}

/* KARTU INFORMASI */
.ppdb-info-card {
  background-color: #f0f5ef;
  padding: 45px 35px;
  border-radius: 22px;
  border: 1px solid #dde8dc;
  border-bottom: 4px solid #c9a45c;

  box-shadow: 0 8px 25px rgba(47, 101, 69, 0.08);
}

.ppdb-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 70px;
  height: 70px;

  background-color: #244d35;
  color: #e5c783;

  border-radius: 18px;
  font-size: 30px;
  margin-bottom: 25px;
}

.ppdb-info-card h3 {
  color: #2f6545;
  font-size: 24px;
  line-height: 1.4;
  margin-bottom: 15px;
}

.ppdb-info-card > p {
  color: #666666;
  font-size: 15px;
  line-height: 1.8;
}

.ppdb-info-divider {
  height: 1px;
  background-color: #d2dfd0;
  margin: 25px 0;
}

.ppdb-info-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;

  color: #4f6d55;
  font-size: 14px;
  line-height: 1.7;
}

.ppdb-info-note i {
  color: #a7833e;
  font-size: 18px;
  margin-top: 3px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .ppdb-info {
    padding: 60px 20px;
  }

  .ppdb-info-container {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .ppdb-info-text h2 {
    font-size: 28px;
  }

  .ppdb-info-card {
    padding: 35px 25px;
  }
}

/* =========================
   PERSYARATAN PPDB
========================= */

.ppdb-syarat {
  padding: 90px 30px;
  background-color: #f0f5ef;
}

.ppdb-syarat-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* JUDUL */
.ppdb-syarat-header {
  text-align: center;
  margin-bottom: 50px;
}

.ppdb-syarat-label {
  display: inline-block;
  color: #a7833e;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.ppdb-syarat-header h2 {
  color: #2f6545;
  font-size: 36px;
  margin-bottom: 15px;
}

.ppdb-syarat-header p {
  color: #666666;
  font-size: 16px;
  line-height: 1.8;
}

/* GRID KARTU */
.ppdb-syarat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

/* KARTU */
.ppdb-syarat-card {
  background-color: #ffffff;
  padding: 30px 25px;
  border-radius: 20px;
  text-align: center;

  border-bottom: 3px solid #c9a45c;

  box-shadow: 0 5px 20px rgba(47, 101, 69, 0.06);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.ppdb-syarat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(47, 101, 69, 0.12);
}

/* IKON */
.ppdb-syarat-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 65px;
  height: 65px;

  margin: 0 auto 25px;

  background-color: #244d35;
  color: #e5c783;

  border-radius: 18px;
  font-size: 26px;
}

/* TEKS */
.ppdb-syarat-card h3 {
  color: #2f6545;
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.ppdb-syarat-card p {
  color: #666666;
  font-size: 14px;
  line-height: 1.7;
}

/* CATATAN */
.ppdb-syarat-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;

  margin-top: 35px;
  padding: 20px 25px;

  background-color: #faf9f6;
  border-left: 4px solid #c9a45c;
  border-radius: 12px;
}

.ppdb-syarat-note i {
  color: #a7833e;
  font-size: 20px;
  margin-top: 3px;
}

.ppdb-syarat-note p {
  color: #666666;
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

/* RESPONSIVE TABLET */
@media (max-width: 992px) {
  .ppdb-syarat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* RESPONSIVE HP */
@media (max-width: 576px) {
  .ppdb-syarat {
    padding: 60px 20px;
  }

  .ppdb-syarat-header h2 {
    font-size: 28px;
  }

  .ppdb-syarat-grid {
    grid-template-columns: 1fr;
  }

  .ppdb-syarat-card {
    padding: 30px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ppdb-syarat-card {
    transition: none;
  }
}

/* =========================
   ALUR PENDAFTARAN PPDB
========================= */

.ppdb-alur {
  padding: 90px 30px;
  background-color: #ffffff;
}

.ppdb-alur-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* JUDUL */
.ppdb-alur-header {
  text-align: center;
  margin-bottom: 55px;
}

.ppdb-alur-label {
  display: inline-block;
  color: #a7833e;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.ppdb-alur-header h2 {
  color: #2f6545;
  font-size: 36px;
  margin-bottom: 15px;
}

.ppdb-alur-header p {
  color: #666666;
  font-size: 16px;
  line-height: 1.8;
}

/* GRID */
.ppdb-alur-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

/* KARTU */
.ppdb-alur-card {
  position: relative;
  background-color: #f0f5ef;
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;

  border-bottom: 3px solid #c9a45c;

  box-shadow: 0 5px 20px rgba(47, 101, 69, 0.06);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.ppdb-alur-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(47, 101, 69, 0.12);
}

/* NOMOR LANGKAH */
.ppdb-alur-number {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;

  margin: 0 auto 25px;

  background-color: #c9a45c;
  color: #ffffff;

  border-radius: 50%;
  font-size: 17px;
  font-weight: 700;
}

/* IKON */
.ppdb-alur-icon {
  color: #2f6545;
  font-size: 30px;
  margin-bottom: 20px;
}

/* TEKS */
.ppdb-alur-card h3 {
  color: #2f6545;
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.ppdb-alur-card p {
  color: #666666;
  font-size: 14px;
  line-height: 1.8;
}

/* CATATAN */
.ppdb-alur-note {
  text-align: center;
  color: #777777;
  font-size: 13px;
  line-height: 1.7;
  margin-top: 30px;
}

/* RESPONSIVE TABLET */
@media (max-width: 992px) {
  .ppdb-alur-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* RESPONSIVE HP */
@media (max-width: 576px) {
  .ppdb-alur {
    padding: 60px 20px;
  }

  .ppdb-alur-header h2 {
    font-size: 28px;
  }

  .ppdb-alur-grid {
    grid-template-columns: 1fr;
  }

  .ppdb-alur-card {
    padding: 30px 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ppdb-alur-card {
    transition: none;
  }
}
/* =====================================
   BANNER PPDB DENGAN FOTO
===================================== */

.ppdb-hero {
  position: relative;

  background:
    linear-gradient(rgba(36, 77, 53, 0.75), rgba(36, 77, 53, 0.75)),
    url("../images/banner-ppdb.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding: 110px 20px;
  text-align: center;
}

.ppdb-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.ppdb-hero h1 {
  color: #ffffff;
}

.ppdb-hero p {
  color: #ffffff;
}

.ppdb-hero-label {
  color: #e5c783;
}
/* =====================================
   RESPONSIVE BANNER PPDB & KONTAK
===================================== */

@media (max-width: 576px) {
  .ppdb-hero,
  .kontak-hero {
    padding: 80px 20px;
    background-position: center;
  }

  .ppdb-hero h1,
  .kontak-hero h1 {
    font-size: 32px;
  }

  .ppdb-hero p,
  .kontak-hero p {
    font-size: 14px;
    line-height: 1.8;
  }
}

/* =====================================
   ANIMASI SCROLL HALAMAN PPDB
===================================== */

/* Kondisi awal sebelum muncul */
.ppdb-reveal {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

/* Saat elemen terlihat */
.ppdb-reveal.ppdb-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================
   HOVER CARD PPDB
===================================== */

.ppdb-info-card,
.ppdb-syarat-card,
.ppdb-alur-card {
  transition:
    opacity 0.8s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

/* Card sedikit membesar dan timbul */
@media (hover: hover) and (pointer: fine) {
  .ppdb-info-card.ppdb-visible:hover,
  .ppdb-syarat-card.ppdb-visible:hover,
  .ppdb-alur-card.ppdb-visible:hover {
    transform: translateY(-8px) scale(1.025);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
  }
}

/* Mengikuti pengaturan aksesibilitas */
@media (prefers-reduced-motion: reduce) {
  .ppdb-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ppdb-info-card,
  .ppdb-syarat-card,
  .ppdb-alur-card {
    transition: none;
  }
}
