.hero-section {
    position: relative;
    background: url('/assets/img/bg-ppdb.jpeg') no-repeat center center/cover;
    height: 100vh;
    color: white;
  }

  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Gelapkan gambar */
    z-index: 1;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
  }

  .hero-logo {
    width: 100px;
    margin-bottom: 20px;
  }

  .btn-login {
    background-color: #b32020;
    color: white;
    border: none;
    padding: 10px 20px;
  }

  .btn-login i {
    margin-right: 8px;
  }

  .btn-login:hover {
    background-color: #961919;
  }

  /* Membatasi lebar kartu dan beri jarak otomatis */
.card.bg-light.border-secondary {
  max-width: 100%; /* agar tidak overflow di layar kecil */
  border-radius: 20px !important; /* pastikan radius tetap */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Header form */
.card-body h5 {
  font-weight: 700;
  color: #b32020; /* merah khas sesuai btn-login */
}

/* Form label */
.card-body label.form-label {
  font-weight: 600;
  color: #333;
}

/* Input dan select */
.card-body input.form-control,
.card-body select.form-select,
.card-body textarea.form-control {
  border-radius: 8px;
  border: 1px solid #ccc;
  padding: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.card-body input.form-control:focus,
.card-body select.form-select:focus,
.card-body textarea.form-control:focus {
  border-color: #b32020;
  box-shadow: 0 0 5px rgba(179, 32, 32, 0.5);
  outline: none;
}

/* Tombol Daftar */
.card-body button.btn-primary {
  background-color: #b32020;
  border-color: #b32020;
  border-radius: 8px;
  padding: 12px 28px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  width: 100%;
  max-width: 300px;
  display: block;
  margin: 20px auto 0;
}

.card-body button.btn-primary:hover {
  background-color: #961919;
  border-color: #961919;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .card-body {
    padding: 15px;
  }

  .card-body h5 {
    font-size: 1.2rem;
  }

  .card-body button.btn-primary {
    max-width: 100%;
    padding: 12px 0;
  }
}

.card-biodata {
  width: 100%;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: none;
  margin: 0 auto;
}


.card h3 {
  margin-top: 0;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}

.data-item {
  margin-bottom: 10px;
  font-size: 16px;
}

.label {
  font-weight: bold;
  display: inline-block;
  width: 130px;
}

.btn-cetak {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: #2ecc40;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

.btn-cetak:hover {
  background-color: #27ae3f;
}

.ketentuan-container {
  background: #f3f3f3 url('assets/img/bg-pattern.png') no-repeat center;
  background-size: cover;
  padding: 100px;
  text-align: center;
  font-family: Arial, sans-serif;
  position: relative;
  overflow: hidden;
}

.ketentuan-container-a {
  background: #f3f3f3 url('assets/img/bg-pattern.png') no-repeat center;
  background-size: cover;
  text-align: center;
  padding: 40px;
  font-family: Arial, sans-serif;
  position: relative;
  overflow: hidden;

  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh; /* Tinggi penuh layar */
  flex-direction: column;
}

.info-container {
  background: #65B7A4;
  padding: 100px 20px;
  margin-top: 20px;
}

.background-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/img/batik.png'); /* Ganti dengan lokasi file batik kamu */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.2; /* 20% */
  z-index: 1;
}

.content-layer {
  position: relative;
  z-index: 2;
}

.judul {
  font-size: 28px;
  margin-bottom: 30px;
  font-weight: bold;
}

.card-ketentuan {
  background: rgba(255, 255, 255, 0.95);
  display: inline-block;
  padding-top: 20px;
  padding-left: 40px;
  padding-bottom: 40px;
  padding-right: 40px;
  text-align: left;
  max-width: 730px;
  margin: 0 auto;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.logo-container {
  text-align: right;
  margin-bottom: 10px;
}

.syarat-list {
  font-size: 15px;
  margin-top: 10px;
}

.gelombang {
  font-size: 14px;
  margin-top: 20px;
  font-weight: bold;
}

.info-waiting {
  text-align: center;
  border-radius: 10px;
  max-width: 600px;
  margin: 40px auto;
}

.card-acc {
  background-color: #49D416;
  border-color: black;
  max-width: 100%; /* agar tidak overflow di layar kecil */
  border-radius: 20px !important; /* pastikan radius tetap */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


.container-detail {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  background: #fff;
  padding: 20px;
}

.judul-artikel {
  text-align: center;
  color: #0b5394;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 30px;
}

.konten {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.artikel-kiri {
  flex: 2;
  min-width: 60%;
}

.gambar-artikel {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.tanggal {
  color: #888;
  margin-bottom: 15px;
}

.artikel-kiri p {
  line-height: 1.7;
  margin-bottom: 15px;
  color: #333;
}

.event-kanan {
  flex: 1;
  min-width: 250px;
}

.event-kanan h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #444;
}

.event-box {
  background: #f0f0f0;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 8px;
}

.event-box img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 8px;
}

.event-box p {
  margin: 0;
  font-size: 14px;
  color: #333;
}

