@media (max-width: 1517.98px) {
    .hero-card__achivments {
        width: calc(100% - 18%);
    }
}

@media (max-width: 1420.98px) {
    .hero-card__achivments {
        width: calc(100% - 19%);
    }
}

@media (max-width: 1380.98px) {
    .hero-card__achivments {
        width: calc(100% - 20%);
    }

    .footer-logos .footer_box {
        display: flex;
        max-width: 33.3333%;
        width: 33.3333%;
    }
}

@media (max-width: 1379.98px) {
    .home-wrap {
        margin-top: 75px;
    }

    .cta,
    .reviews-card {
        padding: 40px 0;
        width: calc(100%);
    }

    .mainmenu_dropmenu-mobile .dropdown {
        align-items: center;
        height: auto;
        justify-content: flex-start;
    }

    .hero-card__achivments {
        display: grid;
        font-size: 26px;
        gap: 16px;
        grid-template-columns: auto auto;
        justify-content: space-around;
        line-height: 31.2px;
        min-width: auto;
        padding: 16px 32px;
        text-align: left;

        transform: translate(-50%, 85%);
    }

    .hero-card.hero-card_mainpage .hero-card__achivments {
        bottom: 89px !important;
    }

    .home-wrap {
        gap: 0;
        margin-top: 155px;
    }

    .numbers-card__up {
        justify-content: flex-start;
    }

    .numbers-card__down {
        justify-content: space-between;
    }

    .numbers-card {
        min-height: unset;
        padding: 30px 40px;
    }

    .c-menu {
        background: #d5cdab;
        justify-content: flex-start;
        top: 88px;
    }

    .mainmenu_dropmenu-mobile {
        gap: 20px;
    }

    .c-button {
        background: rgba(70, 30, 130, 1);
        height: 42px;
        min-width: 223px;
        padding: 0 16px;
    }

    .section-formats-card {
        margin-bottom: 45px;
        padding-top: 60px;
    }

    .formats-card__title {
        max-width: unset;
    }

    .formats-card__desc p {
        font-size: 18px;
        line-height: 24.6px;
        text-align: left;
    }

    .programs-card__name p {
        line-height: 24.6px;
    }

    .course__chips {
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .c-input {
        background: rgba(255, 255, 255, 0.8);
    }

    .c-footer {
        max-width: 100%;
    }

    h3 {
        font-size: 36px!important;
    }

}

@media (max-width: 1024.98px) {
    .mobileShow {
        margin-bottom: 50px;
    }
}

@media (max-width: 998.98px) {
    .exp-header-title {
        font-size: 37px;
    }

    .exp-header-left {
        font-size: 14px;
        gap: 12px;
    }

    .exp-header-right {
        font-size: 22px;
    }
}

@media (max-width: 992.98px) {
    .programs-card {
        margin: 40px 0;
        padding: 20px;
    }

    .d-card {
        padding: 32px 106px 32px 24px;
    }

    section {
        padding: 0 20px;
        width: calc(100% - 40px) !important;
    }

    .about-card_main {
        margin-top: 66px;
        padding: 65px 0px 60px 0px;
    }

    .about-card__title {
        font-size: 21px;
        text-align: left;
    }

    .about-card__title br {
        display: none;
    }

    .footer-logos .footer_box {
        display: flex;
        justify-content: center;
        max-width: 50%;
        width: 50%;
    }

    .footer-logos {
        align-items: center;
        justify-content: center;
    }
    .header-lk {
        display: none;
    }
}

@media (max-width: 768.98px) {
    .programs-card__title {
        margin-bottom: 25px;
        max-width: unset;
    }

    .programs-card__name p {
        font-size: 18px;
    }

    .d-card__title {
        font-size: 22px;
        max-width: calc(100% - 66px);
    }

    .d-card {
        padding: 30px;
    }

    .exp-header {
        flex-direction: column;
        gap: 30px;
    }

    .exp-header-left {
        font-size: 20px !important;
        text-align: center !important;
    }

    .exp-header-right {
        font-size: 20px !important;
        text-align: center !important;
    }
    h3 {
        font-size: 20px!important;
    }
}
@media (max-width: 768px) {
    .btn_open svg, .btn_close {
        width: 46px;
        height: 46px;
        /*right: 0;*/
    }
}
@media (max-width: 767.98px) {

    .text-body {
        font-size: 17px !important;
    }

    .text-body.expert-card__body__text {
        max-height: unset;
    }

    .numbers-card__down {
        flex-direction: row;
        text-align: left;
    }

    .experts-card__wrap .numbers-card__down__item span:first-child {
        font-size: 26px !important;
    }

    .experts-card__wrap .numbers-card__up span:first-child {
        font-size: 36px !important;
    }

    .numbers-card__up:first-child {
        flex-direction: row;
        font-size: 0.7rem !important;
        gap: 15px;
        line-height: 16.44px;
        text-align: left;
    }

    .numbers-card {
        padding: 20px;
    }

    .numbers-card__down__item {
        font-size: 0.7rem;
    }

    .numbers-card__down {
        margin-top: -22px;
    }

    .experts-card__text {
        margin-top: 0;
    }

    .programs-card__title {
        font-size: 21px;
    }

    .d-card__title {
        font-size: 21px;
        max-width: calc(100% - 66px);
    }

    .expert-card__body {
        border-radius: 0 0 24px 24px;
        padding: 24px 16px 75px 16px;
    }
    .experts-card .expert-card__body {
        padding: 24px 16px 24px 16px;
    }

    .c-swiper {
        margin-top: 60px;
    }

    .reviews-card h3 {
        font-size: 26px;
    }
}

@media (max-width: 670.98px) {
    .experience-card_academy-section {
        padding-bottom: 30px !important;
    }
}

@media (max-width: 640.98px) {
    .hero-card__achivments p {
        font-size: 14px !important;
        margin-top: 5px;
    }

    .footer-logos .footer_box {
        display: flex;
        justify-content: center;
        margin-bottom: 30px;
        max-width: 50%;
        width: 50%;
    }

    .footer-logos {
        /*gap: 15px;*/
    }

    .footer-logos .footer_box svg {
        width: 100%;
    }

    .sert_wrapper {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .hero-card.hero-card_mainpage .hero-card__achivments {
        bottom: 11px;
        position: absolute;
    }

    .c-menu {
        justify-content: flex-start !important;
    }

    .hero-card__achivments {
        display: flex;
        flex-direction: column;
    }

    #programs_card .text-button.d-card__link.text-link{
        margin-left: 0!important;
        width: 100%;
        display: flex;
    }
}
