/* Curriculum Hero Section */

.curriculum-hero-section {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  position: relative;
}

.curriculum-hero-left {
  display: flex;    
  max-width: 578px;
  flex-direction: column;
  padding-left: 135px;
  padding-top: 152px;
}

.curriculum-hero-text {
  display: flex;
  flex-direction: column;
  gap: 19px;
}

.curriculum-hero-text p {
  width: 71%;
  font-family: "Raleway";
  font-style: normal;
  font-weight: 400;
  font-size: 21px;
  line-height: 27px;
  letter-spacing: 0.4px;
  color: #6d6488;
}

.curriculum-hero-image {
  max-width: 720px;
  height: auto;
  padding-top: 64px;
  left: 40%;
  position: absolute;
}

.curriculum-hero-text h1 {
  font-family: Rubik;
  font-size: 70px;
  font-weight: 500;
  line-height: 84px;
  text-align: left;
  color: #8056f6;
  margin: 0;
  padding: 0px;
  line-height: 105%;
}

.curriculum-hero-button:hover {
  color: white;
}
.curriculum-hero-button {
  width: 233px;
  display: flex;
  flex-direction: row;
  height: 56px;
  padding: 15.15px 38.97px 15.15px 38.97px;
  gap: 4.33px;
  border-radius: 36px;
  font-family: Rubik;
  font-size: 21px;
  font-weight: 600;
  line-height: 25.98px;
  text-align: center;
  border: none;
  background-color: #8056f6;
  cursor: pointer;
  color: #f9f9f9;
  text-decoration: none;
}
a.card-button:hover {
  background-color: #5a43c3;
  text-decoration: none;
  color: white;
  transform: scale(1.1);
}
@media (max-width: 998px) {
  .curriculum-hero-section {
    width: 100%;
    flex-direction: column;
    gap: 1rem;
    margin: 0;
  }

  .curriculum-hero-left {
    padding: 2rem;
    gap: 20px;
  }

  .curriculum-hero-image {
    width: 100%;
    height: auto;
    padding: 15px;
    position: static;
  }
  .curriculum-hero-text h1 {
    margin: 0;
    font-size: 60px;
  }

  .curriculum-hero-text p {
    margin: 0;
    width: 100%;
  }
}

@media (min-width: 1600px) {
  .curriculum-hero-section {
    justify-content: center;
    gap: 53rem;
  }
  .curriculum-hero-left {
    padding-left: 70px;
  }
  .curriculum-hero-text p {
    width: 60%;
  }
  .curriculum-hero-image {
    left: 48%;
    max-width: 742px;
  }
}



  .curriculum-section-area {
    height: 1081px;
    background-color: #f6f8ff;
    margin-top: 5rem;
  }
  
  
  /* curriculum-english-section */
  
  .curriculum-english-section {
    display: flex;
    flex-direction: row;
    gap: 58px;
    justify-content: center;
    padding-top: 200px;
  }
  
  .curriculum-english-section h4 {
    font-family: Rubik;
    font-size: 40px;
    font-weight: 600;
    line-height: 50px;
    text-align: left;
    color: #443476;
  }
  
  .curriculum-english-section p {
    font-family: Raleway;
    font-size: 16px;
    font-weight: 400;
    line-height: 23px;
    letter-spacing: 0.4px;
    text-align: justify;
    color: #6d6488;
  }
  .curriculum-english-section-text {
    width: 493px;
    height: 475px;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  
  .curriculum-english-section-headings {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .curriculum-english-section-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }


  /* curriculum-mathematices-section */

  .curriculum-mathematics-section {
    display: flex;
    flex-direction: row;
    gap: 58px;
    justify-content: center;
    padding-top: 200px;
    margin-bottom: 137px;
  }
  
  .curriculum-mathematics-section h4 {
    font-family: Rubik;
    font-size: 40px;
    font-weight: 600;
    line-height: 50px;
    text-align: left;
    color: #443476;
  }
  
  .curriculum-mathematics-section p {
    font-family: Raleway;
    font-size: 16px;
    font-weight: 400;
    line-height: 23px;
    letter-spacing: 0.4px;
    text-align: justify;
    color: #6d6488;
  }
  .curriculum-mathematics-section-text {
    width: 493px;
    height: 475px;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  
  .curriculum-mathematics-section-headings {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .curriculum-mathematics-section-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  

  /* NAPLAN curriculum */
  .curriculum-naplan-section {
    display: flex;
    flex-direction: row;
    gap: 58px;
    justify-content: center;
    padding-top: 68px;
    
  }
  
  .curriculum-naplan-section h4 {
    font-family: Rubik;
    font-size: 40px;
    font-weight: 600;
    line-height: 50px;
    text-align: left;
    color: #443476;
  }
  
  .curriculum-naplan-section p {
    font-family: Raleway;
    font-size: 16px;
    font-weight: 400;
    line-height: 23px;
    letter-spacing: 0.4px;
    text-align: justify;
    color: #6d6488;
  }
  .curriculum-naplan-section-text {
    width: 493px;
    height: 475px;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  
  .curriculum-naplan-section-headings {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .curriculum-naplan-section-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  @media (max-width: 998px) {
    .curriculum-english-section h4{
      padding-top: 20px;
    }
.curriculum-section-area{
  height: auto;
}

    .curriculum-english-section{
      flex-direction: column-reverse;
      padding: 0;
      margin: 6rem 1rem 2rem 1rem;
    }

    .curriculum-english-section-text{
      width: 100%;
      height: auto;
    }

    .curriculum-mathematics-section{
      flex-direction: column;
      margin: 6rem 1rem 2rem 1rem;
      padding: 0;
    }

    .curriculum-mathematics-section-text{
      width: 100%;
      height: auto;
    }

    .curriculum-naplan-section{
      flex-direction: column-reverse;
      margin: 6rem 1rem 2rem 1rem;
    }

    .curriculum-naplan-section-text{
      width: 100%;
      height: auto;
    }
  }
  

 