.category-buttons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.category-btn {
  background: linear-gradient(90deg, #17a2b8 0%, #28a745 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 15px 30px;
  font-size: 1.1em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.1s, box-shadow 0.1s;
  min-width: 120px;
  margin-bottom: 10px;
}
.category-btn:hover {
  transform: scale(1.07);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
/* Layout for category selection buttons */

@media (max-width: 500px) {
  .category-buttons {
    flex-direction: column;
    gap: 12px;
    align-items: center;
/* Style for category selection buttons */
  }
  .category-btn {
    width: 90vw;
    max-width: 300px;
    font-size: 1em;
    padding: 12px 0;
  }
}
.category-section {
  text-align: center;
  margin-bottom: 30px;
}

/* Hover effect for category selection buttons */
.category-title {
  font-size: 1.3em;
  color: #007bff;
  margin-bottom: 15px;
}
/* Responsive adjustments for mobile */
.category-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.category-btn {
  background: linear-gradient(90deg, #17a2b8 0%, #28a745 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 15px 30px;
  font-size: 1.1em;
  cursor: pointer;
/* Category selection section styling */
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.1s, box-shadow 0.1s;
}
.category-btn:hover {
/* Category title styling */
  transform: scale(1.07);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
/* Main page background and font */
  background: linear-gradient(to right, #f8f9fa, #e9ecef);
  margin: 0;
  padding: 20px;
}

.quiz-container {
/* Main quiz container styling */
  max-width: 600px;
  margin: auto;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

/* Quiz title styling */

.quiz-title {
  text-align: center;
  color: #343a40;
  font-size: 2em;
  margin-bottom: 20px;
  word-break: break-word;
/* Responsive quiz title for mobile */
}

@media (max-width: 500px) {
  .quiz-title {
    font-size: 1.3em;
    padding: 0 8px;
    margin-bottom: 16px;
/* Quiz question text styling */
  }
}


/* Quiz options list styling */
#question-text {
  font-size: 1.2em;
  margin-bottom: 10px;
}
/* Individual option styling */

#options-list {
  list-style: none;
/* Radio button spacing */
  padding: 0;
}

/* Quiz control buttons layout */
#options-list li {
  margin-bottom: 10px;
}


/* General button styling */
input[type="radio"] {
  margin-right: 10px;
}


.button-group {
  display: flex;
/* Next button styling */
  justify-content: space-between;
  margin-top: 20px;
}

/* Submit button styling */
button {
  padding: 10px 20px;
  font-size: 1em;
  border: none;
/* Feedback message styling */
  border-radius: 5px;
  cursor: pointer;
}

#next-btn {
/* Quiz result styling */
  background-color: #17a2b8;
  color: white;
}

#submit-btn {
  background-color: #28a745;
  color: white;
}

.feedback {
  font-style: italic;
  color: #6c757d;
  margin-top: 10px;
}


.result {
  margin-top: 30px;
  font-size: 1.2em;
  color: #007bff;
  text-align: center;
}