.hero{
  height: 300px;
}   

/* Admission*/
.section {
  padding: 0 8rem;
  background-color: #ffffff;
  border-radius: 8px;
}

.section h2 {
  margin-bottom: 1rem;
  color: #0a3d62;
}

.requirements {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2rem 30rem 1rem 0;
  text-align: justify;
}

.requirements-list{
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  text-align: justify;
  line-height: 1.6rem;

}

.requirements-list > div{
  li{
    list-style-type: square;
  }
}
.requirements > div {
  flex: 1;
  min-width: 200px;
}

table {
  /* width: 100%; */
  border-collapse: collapse;
  background-color: #ffffff;
  margin-bottom: 1rem;
}

th, td {
  border: 1px solid #ccc;
  padding: 3px;
  text-align: left;
}

th {
  background-color: #f2f2f2;
}


.fee-tables {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fee-tables > div {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

.fee-tables > div > div {
  display: flex;
  align-items: flex-start;
  width: 100%;
  gap: 1rem;
  border-radius: 8px;
}
.fee-tables > div > div table:nth-of-type(1) {
  width: 27%;
}
.fee-tables > div > div table:nth-of-type(2) {
  width: 27%;
}
.fee-tables > div > div table:nth-of-type(3) {
  width: 45%;
}

@media (min-width: 1025px) {
  .fee-tables > div:nth-of-type(1) {
    width: 40%;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive for phones and tablets */
/* Up to 900px width — same layout for phones and tablets */
@media (max-width: 900px) {
    .requirements {
    flex-direction: column;
    h2{
      text-align: left;
    }
  }

  .fee-tables > div:nth-of-type(1) {
    width: 100%;
  }

  .fee-tables > div > div {
    flex-direction: column; 
  }
  
  .fee-tables > div > div table {
    width: 100% !important;
  }

  .section {
  padding: 0 2rem;
  }

  .requirements {
    padding: 2rem 0 1rem 0;
  }

  .requirements-list{
    display: flex;
    flex-direction: column;
    gap: 15px;

  }

  
}

/* Tablet-specific styles: between 600px and 900px */
@media (min-width: 600px) and (max-width: 900px) {
 .requirements {
    padding: 2rem 0 1rem 0;
  }

    .section {
  padding: 0 5rem;
  }
}
