/* Remove gap between hero and top */
.hero-section {
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-top: 0; /* removed margin */
  background: linear-gradient(135deg, rgba(9,132,227,0.85), rgba(38,222,129,0.75));
  padding-top: 70px; /* optional if navbar overlaps */
}
.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 30px;
}
.hero-buttons .btn.custom-btn {
  margin: 0 10px;
}

/* Exam Section */
.exam-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 20px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.exam-section h2, .exam-section h3 {
  color: #0984e3;
  font-weight: 600;
  margin-bottom: 20px;
}
.instructions li {
  margin-bottom: 10px;
}
#questions-wrapper .question {
  margin-bottom: 25px;
  padding: 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(9,132,227,0.1), rgba(38,222,129,0.05));
  display: none; /* only one visible at a time */
}
#questions-wrapper .question.active {
  display: block;
}
#questions-wrapper label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
}
#questions-wrapper input[type="radio"] {
  margin-right: 10px;
}
#timer-container {
  font-size: 1.5rem;
  font-weight: 600;
  color: #d63031;
}
.btn.custom-btn {
  padding: 12px 28px;
  font-weight: 600;
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(135deg, #0984e3, #26de81);
  border: none;
  transition: all 0.3s ease;
}
.btn.custom-btn:hover {
  background: linear-gradient(135deg, #26de81, #0984e3);
  transform: translateY(-2px);
}
#exam-result h2 {
  color: #2d3436;
  font-weight: 700;
}
#exam-result p {
  font-size: 1.2rem;
  font-weight: 500;
}
#resultCertificate h3, #resultCertificate h4, #resultCertificate p {
  margin: 10px 0;
}
