/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

/* BODY */
body {
  background: #f4f7fb;
  color: #2b2b2b;
  line-height: 1.7;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: #ffffff;
  text-align: center;
  padding: 70px 20px;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.hero p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: auto;
  opacity: 0.95;
}

/* MAIN CONTAINER */
.container {
  max-width: 900px;
  margin: -40px auto 40px;
  padding: 20px;
}

/* QUIZ FORM */
form {
  background: #ffffff;
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* QUESTION BLOCK */
.question {
  margin-bottom: 35px;
}

.question h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #1e3c72;
}

/* OPTIONS */
.question label {
  display: block;
  padding: 12px 16px;
  margin-bottom: 10px;
  background: #f9fbff;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
}

.question input {
  margin-right: 10px;
}

.question label:hover {
  background: #eef4ff;
  border-color: #2a5298;
}

/* SUBMIT BUTTON */
.submit-box {
  text-align: center;
  margin-top: 20px;
}

.submit-box button {
  background: linear-gradient(135deg, #ff9800, #f57c00);
  color: #ffffff;
  border: none;
  padding: 16px 45px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 35px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-box button:hover {
  transform: scale(1.08);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* RESULT BOX */
.result-box {
  background: #ffffff;
  margin-top: 40px;
  padding: 35px;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  animation: fadeUp 0.6s ease-in-out;
}

.result-box h2 {
  color: #1e3c72;
  margin-bottom: 10px;
}

.result-box h3 {
  margin-top: 18px;
  color: #2a5298;
}

.result-box ul {
  margin-top: 10px;
  padding-left: 20px;
}

.result-box ul li {
  margin-bottom: 8px;
}

/* ANIMATION */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  form {
    padding: 25px;
  }

  .submit-box button {
    width: 100%;
  }
}
