/* 2.2 Benefits Section */
.benefits-section {
  background-color: rgba(216, 185, 255, 0.4);

  margin-top: 100px;
  margin-bottom: 100px;
  width: 100%;
}

.benefits-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 100px 0;
}

.benefits-title {
  color: #4b0082;
}

.benefits-container {
  display: flex;
  gap: 5rem;
  justify-content: space-around;
}

.benefits-list {
  display: flex;
  flex-direction: column;

  margin-top: 50px;
  width: 45%;
  gap: 2rem;
}

/* Individual Item */
.benefit-item {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  align-items: center;
}

.benefit-indicator {
  border-radius: 2px;
  background-color: #4b0082;
  width: 14px;
  height: 93px;

  flex-grow: 0;
  flex-shrink: 0;
}

.benefit-text {
  font-size: 18px;
}

@media (max-width: 768px) {
  .benefits-container {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }

  .benefits-list {
    width: 70%;
  }
  .second-benefits-list {
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  .benefit-text {
    font-size: 16px;
  }
}

/* #3.2 Benefit, for Credit Program */
.allow-section {
  background-color: rgba(216, 185, 255, 0.4);

  margin-top: 100px;
  width: 100%;
  padding: 100px 0;
}

.allow-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.allow-title {
  text-align: center;
}

.allow-content {
  display: flex;
  margin-top: 50px;
  width: 100%;
}

/* Left, image */
.allow-image-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50%;
  margin: 0 5%;
}

.allow-image {
  aspect-ratio: 1.49;
  object-fit: auto;
  object-position: center;
  width: 100%;
}

/* Right, Text */
.allow-list-column {
  display: flex;
  flex-direction: column;
  width: 50%;
  justify-content: center;
}

.allow-list {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  gap: 1.75rem;

  font-size: 18px;
  color: #000;
  font-weight: 600;
  line-height: 1.3;
  margin: auto 0;
}

.allow-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.allow-icon {
  aspect-ratio: 1;
  object-fit: auto;
  object-position: center;
  width: 40px;
}

@media (max-width: 1000px) {
  .allow-list {
    padding-left: 0;
  }

  .allow-image-column {
    align-items: start;
    margin: 0 0;
    margin-right: 5%;
  }
}

@media (max-width: 768px) {
  .allow-content {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }

  .allow-list-column {
    width: 80%;
    padding-left: 5%;
  }
}

@media (max-width: 480px) {
  .allow-icon {
    width: 30px;
  }

  .allow-text {
    font-size: 16px;
  }

  .allow-list-column {
    padding-left: 0;
  }
}

/* Ideal for Section, Credits Program Special from other two sections */
.ideal-for-summary {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
  gap: 20px;
  justify-content: space-between;

  padding: 0 5%;
}

.ideal-left {
  flex-grow: 0;
}

.ideal-summary-label {
  width: 250px;
  margin-top: 0;
  text-align: center;
}

.ideal-summary-description {
  font-size: 20px;
  font-weight: 500px;
  line-height: 1.1;
  margin-top: 0;
}

@media (max-width: 1000px) {
  .ideal-for-summary {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Credit recognition Section */
.credit-recognition-section {
  margin-top: 0;
}

/* 5.0 Program Advantage */
.program-advantages-section {
  background-color: rgba(216, 185, 255, 0.4);
  margin-top: 100px;
  margin-bottom: 100px;
  padding: 100px 0;
  width: 100%;
}

.program-advantages-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.program-advantages-content {
  margin-top: 50px;

  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.program-advantages-title {
  text-align: center;
}

/* Small Layout */

.program-advantages-row {
  display: flex;
  gap: 20px;
}

.program-advantage-item {
  background-color: #4b0082;
  border-radius: 10px;

  flex-grow: 1;
  color: #fff;

  width: 100%;
  padding: 1.5rem 4rem;
  display: flex;
}

.program-advantage-content {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.program-advantage-icon {
  aspect-ratio: 1;
  object-fit: auto;
  object-position: center;
  width: 72px;
}

.program-advantage-text {
  font-size: 18px;
}

@media (max-width: 1000px) {
  .program-advantage-item {
    padding: 1.5rem 2rem;
  }
}

@media (max-width: 768px) {
  .program-advantage-content {
    gap: 1rem;
  }
}

@media (max-width: 700px) {
  .program-advantages-content {
    padding: 0 5%;
  }

  .program-advantage-content {
    flex-direction: column;
    gap: 1rem;
  }

  .program-advantage-icon {
    width: 60px;
  }

  .program-advantage-text {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .program-advantages-content {
    gap: 1rem;
  }

  .program-advantages-row {
    flex-direction: column;
    gap: 1rem;
  }

  .program-advantage-text {
    font-size: 16px;
  }
}

/* #6, Enrollment Steps */
.enrollment-steps-section {
  background-color: #4b0082;
  margin-top: 100px;
  margin-bottom: 100px;

  padding: 100px 0;

  display: flex;
  align-items: center;
  justify-content: center;
}

.enrollment-steps-container {
  display: flex;
  flex-direction: column;
}

.enrollment-steps-title {
  color: #fff;
  text-align: center;
}

/*The Content Layout Section */
.enrollment-steps-content {
  margin-top: 50px;
  padding: 0 2%;

  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.enrollment-step-column {
  display: flex;
  flex-direction: column;
  gap: 3rem;

  width: 30%;
  margin-left: 0;
}

/* The Each Step */
.enrollment-step-item {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;

  color: #fff;
}

.enrollment-step-header {
  display: flex;
  gap: 20px;

  align-items: center;
}

.enrollment-step-icon {
  aspect-ratio: 1;
  object-fit: auto;
  object-position: center;

  width: 40px;
  margin: auto 0;
}

.enrollment-step-title {
  font-weight: bold;
  line-height: 1.2;
}

.enrollment-step-description {
  letter-spacing: -0.18px;
  margin-top: 1rem;
  font: 400 18px/26px Inter, sans-serif;
}

/* Individual Items */
.enrollment-step-image {
  align-self: center;

  aspect-ratio: 1;
  object-fit: auto;
  object-position: center;
  width: 162px;
  margin: 30px 0;
}

.apply-button {
  margin-top: 30px;
}

/* Academic Calender */
.academic-calendar-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 3rem;

  width: 30%;
  border-radius: 5px;
  background-color: #ebd5ff;
  color: #4b0082;
  padding: 50px 2rem;
}

.academic-calendar-title {
  font-weight: bold;
  line-height: 1.2;
}

.academic-calendar-term {
  font-weight: bold;
  margin: 0 0;
}

@media (max-width: 1000px) {
  .enrollment-steps-content {
    padding: 0 0;
  }

  .enrollment-step-title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .enrollment-steps-content {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .enrollment-step-column {
    width: 80%;
    gap: 2rem;
  }
  .academic-calendar-column {
    width: 80%;
    gap: 2rem;
    margin-top: 20px;
  }
  .apply-now {
    align-self: center;
  }
}

/* #7, Tuition Section */

.tuition-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 100px 0;
}

.tuition-title {
  text-align: center;
}

table {
  margin-top: 50px;
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

thead {
  background-color: #f0e6fa;
}

th,
td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px dotted #ccc;
}

th {
  font-weight: bold;
  color: #4b0082;
}

tr > td:first-child {
  font-weight: bold;
  font-size: 18px;
  line-height: 1.1;
  color: #4b0082;
}

/* .tuition-circle {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: #4b0082;
  border-radius: 50%;
  margin-right: 10px;
} */

@media (max-width: 500px) {
  table {
    width: 90%;
    border-collapse: collapse;
  }

  thead {
    display: none;
  }

  tr {
    display: block;
    margin-bottom: 1em;
    border: 1px solid #ddd;
  }

  tr > td:first-child {
    background-color: #f0e6fa;
  }

  td,
  th {
    display: block;
    text-align: left;
    padding: 0.5em;
  }

  td::before,
  th::before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
  }
}
