/* ===== EDUKASI STYLES (SESUAI COMMUNITY STYLE) ===== */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #0d0f23;
  color: #fff;
  margin: 0;
  padding: 0;
}

header {
  background: #12152e;
  padding: 40px 20px 30px;
  text-align: center;
  border-bottom: 2px solid #f39c12;
}

header h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #f39c12;
}

.edu-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px 20px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.edu-card {
  background: #1b1e38;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(255, 165, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.edu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(255, 165, 0, 0.1);
}

.edu-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
  border: 2px solid #f39c12;
}

.edu-card h3 {
  color: #f39c12;
  font-size: 18px;
  margin-bottom: 10px;
}

.edu-card p {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 16px;
}

.edu-card .btn {
  background-color: #f39c12;
  color: #121212;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.edu-card .btn:hover {
  background-color: #d48806;
}

.level-card input:checked + strong {
  text-decoration: underline;
}

.level-card input:checked {
  outline: none;
}

.level-card:has(input:checked) {
  border-color: #f39c12;
  background-color: #33365f;
  transform: scale(1.02);
}

.btn-small {
  padding: 6px 14px;
  font-size: 14px;
  border-radius: 6px;
  font-weight: 600;
  background-color: #f39c12;
  color: #000;
  border: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-small:hover {
  background-color: #d48806;
}

.btn-gray {
  background-color: #444;
  color: #fff;
}

.btn-gray:hover {
  background-color: #666;
}

.form-section {
  background-color: #1b1e38;
  padding: 30px;
  margin: 40px auto;
  border-radius: 12px;
  max-width: 800px;
  color: #fff;
}

.form-section h2 {
  margin-bottom: 20px;
  text-align: center;
  color: #f39c12;
}

.question-block {
  margin-bottom: 20px;
}

.btn-small {
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 8px;
}

.btn-gray {
  background-color: #666;
  color: #fff;
}

.btn-gray:hover {
  background-color: #888;
}

.hasil-risk {
  background: #12152e;
  padding: 20px;
  border-radius: 10px;
  color: #fff;
  border: 2px dashed #f39c12;
}

    .level-nav {
      background-color: #1b1e38;
      display: flex;
      justify-content: center;
      gap: 20px;
      padding: 10px 0;
    }

    .level-nav button {
      background: none;
      border: none;
      color: #f39c12;
      font-weight: bold;
      cursor: pointer;
      font-size: 16px;
      padding: 10px 15px;
    }

    .level-nav button:hover {
      background-color: #2c2f4a;
      border-radius: 5px;
    }
    


@media (max-width: 600px) {
  .form-section button {
    display: block;
    width: 100%;
    margin: 10px 0 !important;
  }
}
.form-section {
  background: #1b1e38;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(255, 165, 0, 0.05);
}