/* ===== Quiz Section Styling ===== */
.quiz-section {
  padding: 3rem 1rem;
  max-width: 700px;
  margin: 0 auto;
  background: #fafafa;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.quiz-section h1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #004d40;
}

.quiz-question {
  background: #fff;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.quiz-question h2 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #333;
}

.quiz-question label {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  cursor: pointer;
}

.quiz-section .btn-primary {
  width: 100%;
  background: #00796b;
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 1rem;
}

.quiz-section .btn-primary:hover {
  background: #004d40;
}

.quiz-result {
  margin-top: 2rem;
  text-align: center;
}

.result-card {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.result-card img {
  width: 100%;
  max-width: 280px;
  border-radius: 6px;
  margin: 0 auto 1rem;
  display: block;
}

.result-card h2 {
  margin-top: 1rem;
  color: #004d40;
  font-size: 1.4rem;
}

.result-card p {
  font-size: 1rem;
  color: #555;
  margin: 0.5rem 0 1rem;
}

.result-card .btn-primary {
  width: auto;
}
.quiz-header {
  background: #f5f5f5;
  border-bottom: 1px solid #ddd;
  padding: 1rem 0;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.quiz-header-title h1 {
  font-size: 1.5rem;
  color: #333;
  margin: 0;
  text-align: center;
}

.quiz-header-links a {
  margin-left: 1rem;
  color: #00796b;
  text-decoration: none;
  font-weight: bold;
}

.quiz-header-links a:hover {
  text-decoration: underline;
}
.quiz-header {
  background: #ffffff;
  border-bottom: 1px solid #ddd;
  padding: 1rem 0;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo a {
  font-size: 1.5rem;
  font-weight: bold;
  color: #00796b;
  text-decoration: none;
}

.quiz-header-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.quiz-header-nav a {
  color: #00796b;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}

.quiz-header-nav a:hover {
  text-decoration: underline;
}