/* ============= SYLLABUS SELECTOR ============= */
.syllabus-selector {
  background: #f7fafd;
  padding: 40px 20px;
  text-align: center;
  border-radius: 12px;
  margin: 30px auto;
  max-width: 1200px;
}

.syllabus-selector h2 {
  color: #003b77;
  margin-bottom: 25px;
  font-size: 2rem;
}

.course-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.course-btn {
  background: #fff;
  color: #003b77;
  padding: 12px 24px;
  border: 2px solid #e53333;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.course-btn:hover {
  background: #e53333;
  color: #fff;
  transform: translateY(-2px);
}

.course-btn.active {
  background: #e53333;
  color: #fff;
}

/* ============= SYLLABUS CONTENT ============= */
.syllabus-content {
  display: none;
  animation: fadeIn 0.3s ease;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px 20px;
}

.syllabus-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.syllabus-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.syllabus-header h2 {
  color: #003b77;
  margin: 0;
  flex: 1;
}

.download-btn {
  background: #e53333;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.download-btn:hover {
  background: #003b77;
  transform: scale(1.05);
}

/* ============= ACCORDION ============= */
.subject-accordion {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.accordion-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-top: 4px solid #e53333;
}

.accordion-btn {
  width: 100%;
  padding: 18px;
  background: #f7fafd;
  border: none;
  cursor: pointer;
  font-weight: 600;
  color: #003b77;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.accordion-btn:hover {
  background: #e53333;
  color: #fff;
}

.accordion-btn.active {
  background: #e53333;
  color: #fff;
}

.accordion-btn i {
  transition: transform 0.3s ease;
}

.accordion-content {
  display: none;
  padding: 20px;
  background: #fff;
  border-top: 1px solid #e8e8e8;
}

.accordion-content.active {
  display: block;
}

.topic-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.topic-list li {
  padding: 12px;
  margin-bottom: 8px;
  background: #f9f9f9;
  border-left: 3px solid #e53333;
  border-radius: 4px;
  color: #555;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.topic-list li:hover {
  background: #f0f0f0;
  padding-left: 18px;
}