/* General Reset */
* {
  font-family: 'Nunito', sans-serif;
}

body {
  color: #333;
  line-height: 1.6;
}

/* Headings */
h2 {
  font-size: 2rem;
  color: #1f1f1f;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

#college-name {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: #d4af37;
  margin-bottom: 30px;
  letter-spacing: 0.5px;
}

/* Quiz Container */
#quizco {
  margin-top: 70px;
  max-width: 1000px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e5e5;
  animation: fadeInUp 0.7s ease;
}

/* Inner Quiz Container */
#quiz-container {
  margin-top: 20px;
  max-width: 800px;
  margin: 0 auto;
  background-color: #fafafa;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #ddd;
}

/* Questions */
.question {
  margin-bottom: 30px;
}

.question h3 {
  font-size: 1.25rem;
  color: #222;
  margin-bottom: 15px;
  font-weight: 600;
}

/* Options */
.options label {
  display: block;
  background-color: #fff;
  padding: 14px 20px;
  margin: 10px 0;
  font-size: 1rem;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.options label:hover {
  background-color: #f2f2f2;
}

input[type="radio"]:checked + label {
  background-color: #ffd700;
  border-color: #ffd700;
  color: #fff;
}

input[type="radio"]:focus + label {
  border-color: #ffd700;
  outline: none;
}

/* Button Container */
#button-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* Submit Button */
#submitQuizBtn {
  background-color: #ffd700;
  color: #2d2d2d;
  font-size: 1.1rem;
  padding: 14px 32px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

#submitQuizBtn:hover {
  background-color: #e6b800;
  transform: translateY(-2px);
}

#submitQuizBtn:active {
  background-color: #c39b00;
  transform: translateY(1px);
}

/* Timer */
#timer {
  font-size: 1.5rem;
  color: #333;
  font-weight: bold;
  background-color: #fff;
  padding: 14px;
  margin: 20px auto;
  border-radius: 10px;
  text-align: center;
  width: fit-content;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
  border: 1px solid #e0e0e0;
}

#timer span {
  color: #d4af37;
}

/* Start Test Button */
#startTestBtn {
  background-color: #ffd700;
  color: #2d2d2d;
  font-size: 1.2rem;
  padding: 14px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 30px auto;
  display: block;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

#startTestBtn:hover {
  background-color: #e6b800;
  transform: scale(1.05);
}

#startTestBtn:active {
  background-color: #c39b00;
  transform: scale(0.97);
}

/* Animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  #quiz-container,
  #quizco {
    padding: 20px;
    width: 90%;
  }

  .question h3 {
    font-size: 1.1rem;
  }

  #submitQuizBtn,
  #startTestBtn {
    padding: 12px 25px;
    font-size: 1rem;
  }

  #timer {
    font-size: 1.2rem;
    padding: 10px;
  }
}
