.page-wrapper {
  width: 100%;

  display: flex;            /* enable flexbox */
  align-items: center;      /* vertical centering */
  justify-content: center;  /* horizontal centering */
    background: linear-gradient(180deg, rgb(217, 223, 235) 0%, rgba(243,246,254,1) 100%);

}

.syllabus-band {
    background: linear-gradient(180deg, rgb(217, 223, 235) 0%, rgba(243,246,254,1) 100%);
  border-radius: 8px;
  padding: 30px;
  max-width: 1200px;
  width: 100%;
    text-align: center;

}

.course-heading {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  color: #11182b;
  margin-bottom: 20px;
  border-bottom: 3px solid #f5b800;
  display: inline-block;
  padding-bottom: 5px;
    text-align: center; /* <-- centers the title */

}

.Mobile-course-content-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

/* Accordion container */
.accordion {
  background: #1c2740;
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  background: #2a3c60;
  color: #fff;
  padding: 14px 18px;
  font-weight: 600;
  text-align: left;
  border: none;
  cursor: pointer;
  position: relative;
  font-size: 15px;
  transition: background 0.3s;
}

.accordion-header::after {
  content: "▼";
  position: absolute;
  right: 15px;
  transition: transform 0.3s ease;
}

.accordion-header.active {
  background: #f5b800;
  color: #11182b;
}

.accordion-header.active::after {
  transform: rotate(-180deg);
}

/* Accordion body */
.accordion-body {
  max-height: 0;
  overflow: hidden;
  background: #253554;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.accordion-body ul {
  list-style: none;
  padding: 12px 18px;
}

.accordion-body li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  color: #ddd;
  font-size: 14px;
  line-height: 1.4;
}

.accordion-body li:last-child {
  margin-bottom: 0;
}

/* Icon style */
/* .icon-img {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  flex-shrink: 0;
} */

.icon-img {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  flex-shrink: 0;
  filter: brightness(0) invert(1); /* makes the icon white */
}


/* When expanded */
.accordion-body.open {
  max-height: 500px;
  padding: 12px 0;
}

/* ---------------- */
/* Responsive */
/* ---------------- */
@media (max-width: 899px) {
  .Mobile-course-content-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 599px) {
  .syllabus-band {
    padding: 20px;
  }
  .course-heading {
    font-size: 22px;
  }
  .accordion-header {
    font-size: 14px;
    padding: 12px 14px;
  }
  .accordion-body li {
    font-size: 13px;
  }
  .icon-img {
    width: 16px;
    height: 16px;
    margin-right: 8px;
  }
}

@media (max-width: 400px) {
  .syllabus-band {
    padding: 15px;
  }
  .course-heading {
    font-size: 20px;
  }
  .accordion-header {
    font-size: 13px;
    padding: 10px 12px;
  }
  .accordion-body li {
    font-size: 12px;
  }
  .icon-img {
    width: 14px;
    height: 14px;
    margin-right: 6px;
  }
}

/* ---------------------------
   Bonus Topics — subtle, readable style for white container
   Paste in CS_Course_Syllabus.css (replace previous bonus block)
   --------------------------- */
/* Bonus Topics styling */
.bonus-section .accordion-header {
  background: #3a4c7a;
}

.bonus-section .accordion-header.active {
  background: #00c896; /* green highlight */
  color: #111;
}

.bonus-section .accordion-body {
  background: #2d3e63;
}
