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

.about-hero-left {
  display: flex;    
  max-width: 773px;
  flex-direction: column;
  padding-left: 175px;
  padding-top: 152px;
}

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

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

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

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


.about-hero-button:hover {
  color: white;
}
.about-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) {
  .about-hero-section {
    width: 100%;
    flex-direction: column;
    gap: 1rem;
    margin: 0;
  }

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

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

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

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


.philosophy-section-area{
  height: 576px;
  background-color: #f6f8ff;
  margin-top: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  
}

.about-philosophy-section {
  display: flex;
  flex-direction: row;
  gap: 58px;
  justify-content: center;
}

.about-philosophy-section p {
  width: 722px;
  height: 229px;
  font-family: Raleway;
  font-size: 16px;
  font-weight: 400;
  line-height: 23px;
  letter-spacing: 0.4px;
  text-align: justify;
}

.about-philosophy-section h5 {
  font-family: Rubik;
  font-size: 28px;
  font-weight: 400;
  line-height: 29px;
  text-align: left;
  color: #8056f6;
}

.about-philosophy-section h4 {
  font-family: Rubik;
  font-size: 40px;
  font-weight: 600;
  line-height: 50px;
  text-align: left;
  color: #443476;
  width: 414px;
  height: 150px;
}

@media (max-width: 998px) {
  .about-philosophy-section {
    flex-direction: column;
    margin: 6rem 1rem 2rem 1rem;
  }

  .about-philosophy-section h4 {
    font-size: 35px;
    line-height: 45px;
    width: 100%;
  }

  .about-philosophy-section p {
    width: 100%;
    height: auto;
  }

  .philosophy-section-area{
    height: auto;
	margin-top: 0px;
  }
}

.counter-section {
  width: 100%;
  height: 457px;
  background: rgba(128, 86, 246, 0.9);
  margin-bottom: 131px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 40px;
  align-items: center;
}

.counter-text {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 400;
  font-size: 81px;
  line-height: 85px;
  text-transform: uppercase;
  color: #f9f9f9;
}

#year-count {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 700;
  font-size: 238px;
  line-height: 177px;
  text-transform: uppercase;
  color: #f9f9f9;
}

@media (max-width: 998px) {
  .counter-section {
    gap: 15px;
  }

  #year-count {
    font-size: 80px;
  }

  .counter-text {
    font-size: 35px;
    line-height: 45px;
  }
}

/* 4th */

.about-who-we-are-section {
  display: flex;
  flex-direction: row;
  gap: 58px;
  justify-content: center;
}

.about-who-we-are-section h5 {
  font-family: Rubik;
  font-size: 28px;
  font-weight: 400;
  line-height: 29px;
  text-align: left;
  color: #8056f6;
}

.about-who-we-are-section h4 {
  font-family: Rubik;
  font-size: 40px;
  font-weight: 600;
  line-height: 50px;
  text-align: left;
  color: #443476;
}

.about-who-we-are-section p {
  font-family: Raleway;
  font-size: 16px;
  font-weight: 400;
  line-height: 23px;
  letter-spacing: 0.4px;
  text-align: justify;
  color: #6d6488;
}
.about-who-we-are-section-text {
  width: 493px;
  height: 475px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-who-we-are-section-headings {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-who-we-are-section-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.about-who-we-are-button {
  width: 164px;
  height: 40px;
  padding: 8px 26px 8px 26px;
  gap: 4px;
  border-radius: 34px;
  border: 2px solid var(--Purple, #8056f6);
  color: #8056f6;
  font-family: Rubik;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  text-align: center;
  background-color: transparent;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

@media (max-width: 998px) {
  .about-who-we-are-section {
    flex-direction: column;
    margin: 6rem 1rem 2rem 1rem;
    gap: 0;
  }

  .about-who-we-are-section h4 {
    font-size: 35px;
    line-height: 45px;
  }

  .about-who-we-are-section p {
    width: 100%;
    height: auto;
    margin-bottom: 0;
  }

  .about-who-we-are-section img {
    max-width: 100%;
  }

  .about-who-we-are-section-text {
    width: 100%;
  }
}


/* Teaching Staff Section */

.about-teaching-staff-section {
  display: flex;
  flex-direction: row;
  gap: 58px;
  justify-content: center;
  margin-top: 168px;
}

.about-teaching-staff-section h5 {
  font-family: Rubik;
  font-size: 28px;
  font-weight: 400;
  line-height: 29px;
  text-align: left;
  color: #8056f6;
}

.about-teaching-staff-section h4 {
  font-family: Rubik;
  font-size: 40px;
  font-weight: 600;
  line-height: 50px;
  text-align: left;
  color: #443476;
}

.about-teaching-staff-section p {
  font-family: Raleway;
  font-size: 16px;
  font-weight: 400;
  line-height: 23px;
  letter-spacing: 0.4px;
  text-align: justify;
  color: #6d6488;
}

.about-teaching-staff-section-text {
  width: 493px;
  height: 475px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-teaching-staff-section-headings {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-teaching-staff-section-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (max-width: 998px) {
  .about-teaching-staff-section {
    flex-direction: column;
    margin: 6rem 1rem 2rem 1rem;
    gap: 65px;
  }

  .about-teaching-staff-section h4 {
    font-size: 35px;
    line-height: 45px;
  }

  .about-teaching-staff-section p {
    width: 100%;
    height: auto;
    margin-bottom: 0;
  }

  .about-teaching-staff-section-text {
    width: 100%;
    height: auto;
  }
}

