@media only screen and (min-width: 1024px) {
  .section.d-1 .bg__wrap {
    max-height: 42rem;
  }
  .section.d-1 .search__wrap {
    margin-top: 9.2rem;
  }
  .section.d-1 .bg-1 {
    top: 15.6rem;
    left: 12%;
  }
  .section.d-1 .bg-2 {
    left: 18%;
    bottom: 8.9rem;
  }
  .section.d-1 .bg-5 {
    top: auto;
    bottom: 8.9rem;
    left: 3.25%;
  }
  .section.d-1 .bg-6 {
    bottom: -6.89rem;
  }
  .section.d-1 .bg-7 {
    bottom: -7rem;
    right: -10rem;
  }
  .section.d-1 .bg-8 {
    width: 24rem;
    height: 17rem;
    border: 0.2rem solid #fff;
    border-radius: 5rem;
    bottom: -14rem;
    left: -5rem;
  }
  .section.d-1 .bg-9 {
    width: 3.3rem;
    height: 2.9rem;
    left: 4.4rem;
    bottom: -0.5rem;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 0;
  }
}
@media only screen and (min-width: 1024px) {
  .section.d-2 {
    padding-top: 7.2rem;
  }
  .section.d-2 .title__wrap {
    align-items: flex-start;
  }
  .section.d-2 .title__wrap .title {
    width: auto;
  }
  .section.d-2 .content {
    padding-top: 3rem;
    gap: 2rem 1.8rem;
  }
  .section.d-2 .category__card {
    margin-top: 0;
    display: grid;
    grid-template-rows: auto 1fr;
  }
  .section.d-2 .category__card:nth-of-type(-n+3) {
    display: grid;
  }
  .section.d-2 .category__content {
    padding: 3.5rem 4rem 4rem;
    display: grid;
    grid-template-rows: auto auto 1fr;
    justify-content: flex-start;
    align-items: flex-end;
  }
  .section.d-2 .category__content-center {
    padding-top: 2.2rem;
  }
  .section.d-2 .category__content-bottom {
    margin-top: 2.8rem;
    display: flex;
    align-items: flex-end;
    flex: 1 0 auto;
  }
  .section.d-2 .btn__wrap {
    margin-top: 4.8rem;
  }
  .section.d-2 .category__card-link {
    line-height: 2.2rem;
    font-size: 1.8rem;
    transition: all 0.3s linear;
    border-bottom: 1.5px solid transparent;
  }
  .section.d-2 .category__card-link:hover {
    border-bottom-color: #4940B2;
    color: #4940B2;
  }
}
@media only screen and (min-width: 1280px) {
  .section.d-2 .category__card {
    width: 31.8%;
  }
  .section.d-2 .content {
    padding-top: 4rem;
    gap: 3rem 2.3rem;
  }
}
@media only screen and (min-width: 1440px) {
  .section.d-2 .content {
    gap: 3rem 2.9rem;
  }
}
@media only screen and (min-width: 1024px) {
  .section.d-3 {
    padding-top: 15rem;
  }
  .section.d-3 .d-3__container {
    max-width: none;
    padding: 0;
    margin-left: 2.8rem;
    overflow: hidden;
  }
  .section.d-3 .bg {
    top: 7rem;
    right: unset;
    left: -11.7rem;
    border-width: 2.8rem;
  }
  .section.d-3 .content {
    padding-top: 8.4rem;
  }
  .section.d-3 .school__card {
    padding-left: 3.2rem;
    padding-right: 3.2rem;
  }
  .section.d-3 .btn__wrap {
    max-width: 144rem;
    padding: 0 5.6rem 0 0;
    margin: 4.8rem auto 0;
    flex-direction: row-reverse;
    justify-content: space-between;
  }
  .section.d-3 .btn__wrap .btn {
    margin-top: 0;
  }
}
@media only screen and (min-width: 1280px) {
  .section.d-3 .d-3__container {
    margin-left: 8rem;
  }
  .section.d-3 .btn__wrap {
    padding: 0 16rem 0 0;
  }
}
@media only screen and (min-width: 1440px) {
  .section.d-3 .d-3__container {
    margin-left: 6%;
  }
  .section.d-3 .btn__wrap {
    padding: 0 18rem 0 0;
  }
}
@media only screen and (min-width: 1560px) {
  .section.d-3 .d-3__container {
    margin-left: 9%;
  }
  .section.d-3 .btn__wrap {
    margin-left: 0;
  }
}
@media only screen and (min-width: 1620px) {
  .section.d-3 .d-3__container {
    margin-left: 11%;
  }
}
@media only screen and (min-width: 1900px) {
  .section.d-3 .d-3__container {
    margin-left: 16%;
  }
}
@media only screen and (min-width: 1024px) {
  .section.d-4 {
    padding-top: 15rem;
  }
  .section.d-4 .bg {
    border-width: 2.4rem;
    bottom: -1rem;
    left: -11.9rem;
  }
  .section.d-4 .content {
    padding-top: 1.5rem;
  }
  .section.d-4 .card__school {
    margin-top: 2.5rem;
    padding: 4rem;
    flex-direction: row;
  }
  .section.d-4 .card__school .card__description {
    opacity: 0.7;
  }
  .section.d-4 .info__wrap {
    margin-top: 0;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .section.d-4 .grade__wrap {
    justify-content: flex-start;
  }
  .section.d-4 .rating__wrap {
    margin-right: 2.8rem;
  }
  .section.d-4 .info__wrap {
    margin-top: 1.2rem;
  }
  .section.d-4 .info__wrap.more-width .location {
    margin-bottom: 0.5rem;
    border-right: none;
    padding-right: 2.15rem;
  }
  .section.d-4 .location,
.section.d-4 .category {
    margin-top: 0;
  }
  .section.d-4 .location {
    padding-right: 1rem;
    margin-right: 1rem;
    border-right: 0.12rem solid rgba(44, 41, 75, 0.2);
  }
  .section.d-4 .card__body {
    margin-top: 0.4rem;
    margin-left: 3.2rem;
  }
  .section.d-4 .card__footer {
    margin-top: auto;
    margin-left: 4rem;
    width: auto;
  }
  .section.d-4 .card__footer .btn__wrap {
    margin-left: 2.4rem;
  }
  .section.d-4 .btn__wrap {
    margin-top: 4.8rem;
  }
}
@media only screen and (min-width: 1280px) {
  .section.d-4 .location {
    padding-right: 2rem;
    margin-right: 2rem;
  }
  .section.d-4 .card__footer {
    margin-left: 9rem;
  }
}
@media only screen and (min-width: 1024px) {
  .section.d-5 {
    padding-top: 15rem;
  }
  .section.d-5 .content {
    padding-top: 3.6rem;
  }
  .section.d-5 .card__footer {
    padding-top: 3.6rem;
  }
  .section.d-5 .arrow__wrap {
    width: 2rem;
  }
  .section.d-5 .news__date {
    line-height: 1.7rem;
    font-size: 1.4rem;
  }
  .section.d-5 .swiper.swiper__d-5 .swiper-wrapper {
    gap: 3rem;
  }
  .section.d-5 .card__header .img__wrap {
    height: 22.8rem;
  }
}
@media only screen and (min-width: 1280px) {
  .section.d-5 .swiper.swiper__d-5 .swiper-slide {
    width: 31.5%;
  }
}
@media only screen and (min-width: 1440px) {
  .section.d-5 .swiper.swiper__d-5 .swiper-slide {
    width: 31.75%;
  }
}
@media only screen and (min-width: 1024px) {
  .section.d-6 {
    padding-top: 15rem;
    overflow: visible;
  }
  .section.d-6 .bg.bg-1 {
    top: 15rem;
    right: -6.8rem;
    border-width: 3.5rem;
    border-style: solid;
  }
  .section.d-6 .bg.bg-2, .section.d-6 .bg.bg-3 {
    border-width: 0.4rem;
    border-style: solid;
  }
  .section.d-6 .bg.bg-2 {
    top: 15rem;
    right: 20.8rem;
  }
  .section.d-6 .bg.bg-3 {
    top: 24.1rem;
    right: 30.7rem;
  }
  .section.d-6 .bg.bg-4 {
    background: url("../../img/home-d-6-bg.svg") no-repeat center/contain;
    width: 45.5rem;
    height: 77.7rem;
    top: 10rem;
    left: 0;
    border-radius: 0;
  }
  .section.d-6 .title__wrap {
    align-items: flex-start;
    justify-content: flex-start;
  }
  .section.d-6 .title__wrap .title {
    text-align: left;
  }
  .section.d-6 .content {
    flex-direction: row;
    margin-top: 3rem;
    justify-content: space-between;
    align-items: flex-start;
  }
  .section.d-6 .reviews__wrapper {
    margin-bottom: 2.4rem;
  }
  .section.d-6 .review__bg {
    width: 50%;
  }
  .section.d-6 .reviews__info {
    min-height: 16.4rem;
    margin-bottom: 1rem;
  }
  .section.d-6 .reviews__info:nth-last-of-type(-n+2) {
    margin-bottom: 0;
  }
  .section.d-6 .reviews__num {
    font-size: 3.2rem;
  }
  .section.d-6 .reviews__info-text {
    margin-top: 1.5rem;
    font-size: 1.4rem;
  }
  .section.d-6 .reviews__info-wrap {
    margin-bottom: 0;
    position: sticky;
    top: 10rem;
    left: 0;
    padding-top: 0;
    width: 44%;
    height: 100%;
  }
  .section.d-6 .wrap {
    width: 54%;
  }
  .section.d-6 .grade__wrap {
    position: absolute;
    right: 3.2rem;
  }
}
@media only screen and (min-width: 1024px) {
  .section.d-6 .reviews__info {
    padding: 2.5rem 2.5rem 3.4rem;
  }
}