.prefooter-cta {
  height: 404px;
  background: url("/wp-content/themes/legends-of-learning/assets/img/new/bg-why-choose-us.png"), linear-gradient(180deg, #BE88EB 0%, #7671CE 100%);
  background-position: bottom;
  padding-top: 175px;
  position: relative;
  color: #fff;
}
.prefooter-curved{
  top: 0;
  transform: translateY(-306px) translateX(-50%);
  position: absolute;
  margin: 0 auto;
  left: 50%;
  right: 0;
  min-width: 1920px;
  width: 100%;
}

.prefooter-curved path{
  fill: #E6E8F0;
}

.prefooter-cta h3, .prefooter-cta h2{
  font-family: 'Montserrat';
}

.prefooter-cta h3 {
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 1.08px;
  text-transform: uppercase;
}

.prefooter-cta h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -2.88px;
}

.prefooter .prefooter-avatar {
  width: 180px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  transform: translateX(590px);
}

.prefooter-cta-button{
  position: absolute;
  z-index: 990;
  left: 0;
  right: 0;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  background-color: transparent;
  bottom: -23px;
}

.prefooter-cta-button a {
  width: 147px;
  height: 64px;
  background: linear-gradient(141.82deg, #FF0000 -52.55%, #FF7700 70.34%);
  box-shadow: 0px 2px 0px rgba(12, 14, 25, 0.16);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-family: 'Inter';
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}
.prefooter-cta-button a:hover{
  color: white;
    filter: brightness(1.3);
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.prefooter-cta .prefooter-avatar {
  width: 225px;
  position: absolute;
  right: 50px;
  background: url('/wp-content/themes/legends-of-learning/assets/img/prefooter-cta-avatar.png') no-repeat;
  height: 250px;
  background-size: cover;
  z-index: 10;
  bottom: -17px;
}


@media (min-width: 991px) and (max-width: 1260px) {
  .prefooter-cta .prefooter-avatar {
    right: 0;
    width: 200px;
    height: 225px;
    bottom:-40px;
  }
}

@media (max-width: 991px) {
  .prefooter-avatar {
    display: none;
   }
}

@media (max-width: 767px) {
  .prefooter-curved{
    min-width: 100%;
    transform: translateY(-172px) translateX(-50%);
  }
  .prefooter-cta {
    padding-top: 123px;
    height: 285px;
  }
  .prefooter-cta h3 {
  font-size: 14px;
    line-height: 20px; 
    letter-spacing: 0.84px;
  }

  .prefooter-cta h2 {
    font-size: 24px;
    letter-spacing: -0.96px;  
  }
  .prefooter-cta-button a{
    width: 111px;
    height: 48px;
    font-size: 16px;
    line-height: 20px;
  }
}