h1 {
  font-size: 1.125rem;
  line-height: 1.75rem;
  background-color: var(--primary-color3);
  color: var(--primary-color1);
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  border-radius: 50px;
  font-weight: 700;
  padding: 0.5rem 1.5rem;
}
h1::before {
  content: "";
  background-color: var(--secondary-color);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#ff9a5e), to(var(--secondary-color)));
  background-image: -o-linear-gradient(top, #ff9a5e, var(--secondary-color));
  background-image: linear-gradient(to bottom, #ff9a5e, var(--secondary-color));
  line-height: 0;
  -webkit-box-shadow: 0 8px 12px rgb(241 113 36 / 39%);
          box-shadow: 0 8px 12px rgb(241 113 36 / 39%);
  display: inline-block;
  height: 0.875rem;
  margin-left: 10px;
  width: 0.875rem;
  border-radius: 9999px;
}
h2 {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 900;
  margin-top: 0.25rem;
}
.description-h2 {
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-image: -webkit-gradient(
    linear,
    left top, right top,
    from(var(--secondary-color)),
    to(var(--primary-color1))
  );
  background-image: -o-linear-gradient(
    left,
    var(--secondary-color),
    var(--primary-color1)
  );
  background-image: linear-gradient(
    to right,
    var(--secondary-color),
    var(--primary-color1)
  );
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-bottom: 0;
}
section {
  margin-top: 5rem !important;
}
.slider-description {
  color: var(--text-color);
  text-align: justify;
  line-height: 1.9;
}
.header-swiper .button2 {
  display: inline-block;
  margin-top: 40px;
}
.blob-img {
  position: relative;
  padding-top: 50px;
}
.blob-img::before {
  content: "";
  position: absolute;
  width: 20vw;
  height: 20vw;
  background-color: var(--primary-color1);
  left: 0;
  top: 4px;
  border-radius: 1000px;
  z-index: -1;
  -webkit-filter: blur(2px);
          filter: blur(2px);
}
.blob-img::after {
  content: "";
  position: absolute;
  width: 15vw;
  height: 15vw;
  background-color: var(--secondary-color);
  right: 0;
  bottom: 0;
  border-radius: 1000px;
  z-index: -1;
  -webkit-filter: blur(2px);
          filter: blur(2px);
}
.blob-img img {
  width: 80%;
  margin: auto;
  border-radius: 20px;
}
.languege-swiper img,
.summary-section img {
  width: 120px;
  max-width: 100%;
  border-radius: 10px;
}
.languege-swiper span,
.summary-section span {
  margin-top: 1rem;
  color: var(--primary-color1);
  font-weight: 700;
  font-size: 0.9rem;
}
.languege-swiper .swiper-slide {
  width: 250px;
}

.teacher-swiper .swiper-slide {
  width: 350px;
  border: dashed 5px #e0effb;
}
.teacher-swiper img {
  padding: 1rem;
  border-radius: 25px;
}
.teacher-swiper .border-card {
  padding-bottom: 2.25rem;
  padding-top: 0;
  cursor: pointer;
}

.flip-card-wrapper {
  -webkit-perspective: 900px;
          perspective: 900px;
  width: 100%;
}
.flip-card {
  text-align: center;
  -webkit-transition: all 1.5s cubic-bezier(0.7, -0.5, 0.3, 1.8);
  -o-transition: all 1.5s cubic-bezier(0.7, -0.5, 0.3, 1.8);
  transition: all 1.5s cubic-bezier(0.7, -0.5, 0.3, 1.8);
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
}
.flip-card-wrapper:hover .flip-card {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
}
.front-card,
.back-card {
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}
.front-card {
  position: relative;
}
.flip-card span{
  color: var(--secondary-color);
}
.back-card {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 10px 25px;
  top: 0;
  left: 0;
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
}
.back-card p {
  text-align: justify;
  line-height: 28px;
  font-size: 0.9rem;
  margin: 10px 0 0;
}

.flow-section > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 2.75rem 0;
}
.flow-section > div div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 20px;
}
.flow-section > div div img {
  max-width: 100%;
  width: 100px;
}
.line {
  --s: 12px;
  background: radial-gradient(
        circle closest-side,
        var(--primary-color3) 98%,
        transparent
      )
      0 0/12px 100%,
    -webkit-gradient(linear, left top, right top, color-stop(50%, var(--primary-color3)), color-stop(0, transparent))
      calc(12px / 2) 0 / calc(12px * 2) 100%;
  background: -o-radial-gradient(
        circle closest-side,
        var(--primary-color3) 98%,
        transparent
      )
      0 0/12px 100%,
    -o-linear-gradient(left, var(--primary-color3) 50%, transparent 0)
      calc(12px / 2) 0 / calc(12px * 2) 100%;
  background: radial-gradient(
        circle closest-side,
        var(--primary-color3) 98%,
        transparent
      )
      0 0/12px 100%,
    linear-gradient(90deg, var(--primary-color3) 50%, transparent 0)
      calc(12px / 2) 0 / calc(12px * 2) 100%;
  border-radius: 0.25rem;
  display: block;
  height: 5px;
  margin: 1.5rem auto;
  position: relative;
  width: 12.75rem;
}
.line:after {
  content: "";
  position: absolute;
  background-color: var(--primary-color1);
  border: solid 2px #fff;
  border-radius: 2.5rem;
  -webkit-box-shadow: 0 4px 8px var(--primary-color3);
          box-shadow: 0 4px 8px var(--primary-color3);
  height: 1rem;
  right: 50%;
  top: 50%;
  -webkit-transform: translate(50%, -50%);
      -ms-transform: translate(50%, -50%);
          transform: translate(50%, -50%);
  width: 1rem;
}
.flow-section a,
input[type="submit"] {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: auto;
  font-size: 1rem !important;
}
.summary-section strong {
  margin-top: 1rem;
  color: var(--primary-color1);
  font-size: 2rem;
  font-weight: 900;
}

@media screen and (max-width: 1200px) {
  .header-section {
    margin-top: 3rem !important;
  }
}
@media screen and (min-width: 992px) {
  
  .all-ages-section .blob-img img{
    width: 65%;
  }
}
@media screen and (max-width: 992px) {
  h1 {
    font-size: 1rem;
  }
  .all-ages-section{
    row-gap: 40px;
  }
}
@media screen and (max-width: 770px) {
  .blob-img::before {
    width: 50vw;
    height: 50vw;
  }
  h1 {
    margin-bottom: 30px;
  }
  h2 {
    font-size: 1.5rem;
    line-height: 46px;
  }
}