/* ===== RESET DASAR ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f4f8fb;
  color: #333;
  line-height: 1.6;
}

/* ===== BANNER ===== */
.banner {
  background: linear-gradient(135deg, #004080, #0073e6);
  color: #fff;
  padding: 25px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.banner .logo {
  width: 350px;
  height: auto;
  object-fit: contain;
}

/* ===== MENU ===== */
.menu {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.menu a {
  color: #ffffff;
  background: #004080;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 18px;
  border-radius: 15px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.menu a:hover {
  background: #ffcc00;
  color: #004080;
}

/* ===== GAMBAR DI ATAS FORMULIR ===== */
.top-image {
  text-align: center;
  margin: 40px 0 30px 0;
}

.top-image img {
  width: 900px;
  max-width: 100%;
  height: auto;
  border-radius: 25px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

/* ===== FORM CONTAINER ===== */
.form-container {
  max-width: 600px;
  background: #fff;
  padding: 30px 35px;
  border-radius: 12px;
  margin: 0 auto 60px auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #004080;
  font-size: 22px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #0073e6;
  box-shadow: 0 0 4px rgba(0, 115, 230, 0.3);
  outline: none;
}

textarea {
  min-height: 70px;
  resize: vertical;
}

/* ===== FORM DUA KOLOM ===== */
.form-row {
  display: flex;
  gap: 15px;
}

.form-row .form-group {
  flex: 1;
}

/* ===== CHECKBOX ASRAMA PUTRI ===== */
.checkbox-group {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px; /* jarak vertikal antar elemen diperkecil */
}

.checkbox-group label {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  line-height: 1.4; /* biar teks sedikit lebih rapat */
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #0073e6;
  margin-left: 0;
}

.checkbox-group small {
  color: #555;
  font-size: 13px;
  margin-left: 28px; /* sejajar teks utama */
  margin-top: -2px; /* menempelkan ke teks utama */
  line-height: 1.3;
}

/* ===== TOMBOL ===== */
button {
  width: 100%;
  padding: 12px;
  background: #004080;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 600;
}

button:hover {
  background: #005bb5;
}

/* ===== TOMBOL KEMBALI DI POJOK KIRI BAWAH ===== */
.btn-kembali-circle {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 50px;
  height: 50px;
  background: #004080;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 1000;
}

.btn-kembali-circle:hover {
  background: #0056b3;
  transform: scale(1.1);
}

/* ===== RESPONSIF MOBILE RAPIH ===== */
@media (max-width: 480px) {
  /* Banner */
  .banner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px 10px;
    margin-bottom: 30px;
  }

  .banner .logo {
    width: 250px;
    margin-bottom: 7px;
  }

  .menu {
    justify-content: center;
    gap: 8px;
  }

  .menu a {
    font-size: 12px;
    padding: 4px 10px;
  }

  /* Top Image */
  .top-image img {
    width: 100%;
    max-width: 330px;
    border-radius: 12px;
    margin-bottom: -15px;
  }

  /* Form */
  .form-container {
    width: 90%;
    padding: 20px 15px;
    margin-bottom: 40px;
  }

  .form-container h2 {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 8px;
    font-size: 13px;
  }

  .form-row {
    flex-direction: column;
    gap: 10px;
  }

  .checkbox-group label {
    font-size: 14px;
    gap: 8px;
  }

  .checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
  }

  .checkbox-group small {
    font-size: 12px;
    margin-left: 25px;
    margin-top: -1px; /* tetap rapat di mobile */
  }
}
  /* Tombol */
  button {
    font-size: 14px;
    padding: 10px;
  }

  /* Tombol Kembali */
  .btn-kembali-circle {
    width: 40px;
    height: 40px;
    font-size: 17px;
    bottom: 12px;
    left: 12px;
  }
}


