body { font-family: Outfit, sans-serif; }

/*HEADER*/

body.scroll { padding-top: 70px; }
header { width: 100%; height: 70px; background: #000; }
header.scroll { position: fixed; top: 0; z-index: 10; }
.header__container { max-width: 1250px; display: flex; color: #fff; justify-content: space-between; align-items: center;
    margin: 0 auto; position: relative; z-index: 1; height: 70px; padding: 0 20px; }

.header__logo { width: 140px; }
.header__logo img { transition: .3s; width: 122px; height: auto; margin-top: 75px; }
.scroll .header__logo img { width: 60px; transition: .3s; margin-top: 0; }

.header__test-lesson { width: 140px; }

.menu--lvl-0 { display: flex; padding: 0; margin: 0; gap: 50px; }
.menu--item-0 { list-style: none; }
.menu__link { transition: .3s; font-size: 17px; line-height: 24px; font-weight: 700; border-bottom: 1px solid transparent;
    padding: 5px 0; }
.menu__link:hover,
.menu__link.is-active { color: #155DFC; transition: .3s; border-color: #155DFC; }

#block-test-lesson a { padding: 6px 20px; background: #fff; border-radius: 8px; color: #1148C4; font-size: 14px;
    font-weight: 600; transition: .3s;}
#block-test-lesson a:hover { background: #1148C4; color: #fff; transition: .3s; }

@media (max-width: 920px) {
    .header__logo { width: 80px; }
    .header__logo img { margin-top: 35px; width: 100%; height: auto; }

    .menu--lvl-0 { gap: 20px; }
}

@media (max-width: 768px) {
    .header__logo { width: 60px; }
    .header__logo img { margin-top: 0; }
    .header__menu { order: 2; }

    .menu--lvl-0 { display: none; background: #000; position: fixed; top: 70px; right: 0; width: 100%; max-width: 300px;
        height: calc(100vh - 70px); }
    .menu__link { padding: 15px 15px; font-size: 20px; display: block; }

    .nav-icon { width: 35px; height: 27px; position: relative; cursor: pointer; display: block; transform: rotate(0deg);
        transition: .5s ease-in-out; }
    .nav-icon span { display: block; position: absolute; height: 5px; width: 100%; background: #fff; opacity: 1; left: 0;
        transform: rotate(0deg); transition: .25s ease-in-out; }
    .nav-icon span:nth-child(1) { top: 0; }
    .nav-icon span:nth-child(2),
    .nav-icon span:nth-child(3) { top: 10px; }
    .nav-icon span:nth-child(4) { top: 20px; }
    .nav-icon.open span:nth-child(2) { transform: rotate(45deg); }
    .nav-icon.open span:nth-child(3) { transform: rotate(-45deg); }
    .nav-icon.open span:nth-child(1),
    .nav-icon.open span:nth-child(4) { top: 18px; width: 0; left: 50%; }
}

/*HEADER*/

/*FOOTER*/

footer { background: #112F86; padding: 50px 0; overflow: hidden; }
.footer__container { max-width: 1050px; margin: 0 auto; padding: 0 24px; }
.footer__logo { display: flex; justify-content: center; margin-bottom: 30px; }
.footer__title { color: #fff; text-align: center; }
.footer__title h2 { font-size: 35px; line-height: 44px; margin-bottom: 20px; }
.footer__title p { font-size: 18px; line-height: 28px; color: #DBEAFE; margin-bottom: 30px;}
.footer__contact { color: #fff; background: #155DFC; border-radius: 10px; padding: 35px; }
.footer__contact div { display: flex; gap: 10px; }
.footer__contact div:first-child img { margin-top: 4px; }
.footer__contact div:nth-child(2) img { margin-top: 8px; }
.footer__contact > p:last-child { margin-bottom: 0; }

.footer__content { display: flex; gap: 25px; }
.footer__left { flex: 1; width: 50%; display: flex; flex-direction: column; gap: 25px; }
.footer__right { flex: 1; width: 50%; background: #FFFFFF; border-radius: 10px;  }

.footer__map p { margin-bottom: 0; }
.footer__map iframe { width: 100%; height: 340px; border-radius: 10px; display: block; }

.footer__form { padding: 32px; }

.form__title { font-size: 20px; line-height: 27px; color: #101828; font-weight: 700; }
.form__description { font-size: 18px; line-height: 1.2; color: #101828; margin-bottom: 20px; }

.form--row { margin-bottom: 10px; }
.form__label { font-size: 14px; line-height: 20px; color: #4a5565; }
.form__input,
.form__textarea { background: #eee; border: 1px solid #d1d5dc; border-radius: 8px; width: 100%; padding: 4px; }

.form__button { width: 100%; color: #fff; font-size: 17px; padding: 10px 0; background: #155dfc; margin-bottom: 15px;
    border-radius: 8px; border: 1px solid #155dfc; transition: .3s; }
.form__button:hover { color: #155dfc; background: #fff; transition: .3s; }

.form__clause { font-size: 12px; line-height: 1.2; }
.form__clause a { text-decoration: underline; transition: .3s; }
.form__clause a:hover { opacity: .7; transition: .3s; }

.footer__clauses { display: flex; font-size: 14px; line-height: 27px; color: #dbeafe; margin-top: 30px;
    justify-content: center; flex-wrap: wrap; text-align: center; }
.clause:not(:last-child):after { content: '|'; margin: 0 10px; }
.clause { opacity: .6; transition: .3s; }
.clause:hover { opacity: 1; transition: .3s; }

@media (max-width: 1050px) {
    .form__title { font-size: 18px; }
    .form__description { font-size: 16px; margin-bottom: 10px; }
}

@media (max-width: 1000px) {
    .form__clause { font-size: 11px; }
}

@media (max-width: 750px) {
    .footer__content { flex-wrap: wrap; }
    .footer__left { width: 100%; flex: initial; }
    .footer__right { width: 100%; flex: initial; }
}

/*FOOTER*/

.front-page { overflow: hidden; }
.front-page__section { position: relative; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container:not(.exams__container) { overflow: hidden; }

/*TOP*/

.hero { position: relative; }

.front-page__hero { background: linear-gradient(-13deg, #00216b 0%, #2e6dfa 100%); color: #fff; }
.front-page__hero:before { content: ''; display: block; position: absolute; width: 100%; height: 100%; background: rgba(0, 0, 0, .35); }

.for-business__hero { background: #000; color: #155DFC; }


.front-page__hero .hero__container,
.for-business__hero .hero__container { padding: 60px 24px 80px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; position: relative; }

.hero__title { margin: 0 0 20px; font-size: 38px; font-weight: 700; line-height: 44px; }
.hero__description { margin: 0 0 24px; font-size: 24px; line-height: 36px; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__media { position: relative; }

.offer__hero { background: #047BC5; color: #fff; text-align: center; }
.offer__hero .hero__content { margin: 0 auto; padding: 60px 0 50px; }
.offer__hero .hero__title { max-width: 650px; margin: 0 auto 20px; }
.offer__hero .hero__description { font-size: 20px; line-height: 24px; }

.about-us__hero { background: #E5E7EB; color: #000; padding: 60px 0 80px; }
.about-us__hero .hero__title { max-width: 638px; font-size: 35px; margin: 0 auto 50px; text-align: center; }
.about-us__hero .hero__content { display: flex; gap: 40px; }
.about-us__hero .hero__left { width: 50%; }
.about-us__hero .hero__description { font-size: 18px; line-height: 1.1; }
.about-us__hero .hero__description .blue { color: #155DFC; font-size: 20px; }
.about-us__hero .hero__description ul { line-height: 1.54; }
.about-us__hero .hero__right { width: 50%; }

.hero-button a { font-size: 18px; display: inline-flex; align-items: center; justify-content: center;
    padding: 8px 24px; border-radius: 8px; text-decoration: none; transition: .3s; }
.hero-button--primary a { background: #fff; color: #0739A8; font-weight: 600; }
.hero-button--secondary a { background: #000; color: #fff; font-weight: 500; }
.hero-button--primary:hover a { background: #0739A8; color: #fff; transition: .3s; }
.hero-button--secondary:hover a { color: #000; background: #fff; transition: .3s; }

.hero__button a { display: inline-flex; align-items: center; justify-content: center;
    padding: 8px 24px; border-radius: 8px; text-decoration: none; transition: .3s; margin-top: 40px; }
.for-business__hero .hero__button a { font-size: 16px; color: #fff; background: #0739A8; transition: .3s; }
.for-business__hero .hero__button a:hover { color: #0739A8; background: #fff; transition: .3s; }
.about-us__hero .hero__button a,
.offer__hero .hero__button a { font-size: 18px; line-height: 28px; background: #fff; color: #0739a8; font-weight: 600;
    transition: .3s; }
.about-us__hero .hero__button a:hover,
.offer__hero .hero__button a:hover { background: #0739a8; color: #fff; transition: .3s; }

.hero-image-item { position: relative; }
.hero-image-item__image img { display: block; width: 100%; height: auto; border-radius: 20px; }

@media (max-width: 990px) {
    .front-page__hero .hero__title { font-size: 30px; line-height: 36px; }
    .front-page__hero .hero__description { font-size: 20px; line-height: 30px; }
}

@media (max-width: 950px) {
    .front-page__hero .hero__container { padding-top: 80px; }
}

@media (max-width: 850px) {
    .for-business__hero .hero__container { padding-top: 80px; grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
    .about-us__hero .hero__content { flex-wrap: wrap; }
    .about-us__hero .hero__left,
    .about-us__hero .hero__right { width: 100%; }

}

@media (max-width: 680px) {
    .front-page__hero .hero__container { grid-template-columns: 1fr; }
}

/*TOP*/

/*FEATURES*/

.features { padding: 88px 0; background: #f2f2f2; }
.front-page__features { background: #DFE0E2; }
.for-business__features { background: #E5E7EB; }
.features__title { margin: 0 0 16px; text-align: center; font-size: 35px; line-height: 44px; color: #0A0A0A; }
.for-business__features .features__title { max-width: 850px; margin: 0 auto 50px; }

.front-page__features .features__description { max-width: 820px; margin: 0 auto 40px; text-align: center; font-size: 20px; color: #121212; line-height: 1.2; }
.front-page__features .features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.for-business__features .features__content { display: flex; gap: 20px; }
.for-business__features .features__description p:last-child { display: flex; align-items: center; gap: 10px; }
.for-business__features .features__left { width: 50%; font-size: 20px; color: #000; line-height: 27px; }
.for-business__features .features__right { width: 50%; }
.for-business__features .features__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; grid-template-rows: 1fr 1fr; }

.feature-card { height: 100%; padding: 24px; border-radius: 16px; background: #fff; }
.feature-card__icon { margin-bottom: 16px; }
.feature-card__icon img { width: 48px; height: auto; }
.feature-card__title { margin: 0 0 12px; font-size: 20px; line-height: 27px; font-weight: 700; }
.feature-card__description { font-size: 17px; line-height: 1.1; color: #4A5565; }

@media (max-width: 1100px) {
    .front-page__features .features__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 950px) {
    .for-business__features .features__content { flex-wrap: wrap; }
    .for-business__features .features__left,
    .for-business__features .features__right { width: 100%; }
}

@media (max-width: 570px) {
    .for-business__features .features__grid,
    .front-page__features .features__grid { grid-template-columns: repeat(1, 1fr); }
}

/*FEATURES*/

/*BUSINESS*/

.business { padding: 88px 0; background: #000; color: #fff; }
.business__container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.business__title { margin: 0 0 16px; font-size: 35px; line-height: 44px; }
.business--blue { color: #155DFC; display: block; }
.business__description { margin-bottom: 24px; color: #DBEAFE; font-size: 18px; line-height: 28px; }
.business__benefits { display: grid; gap: 16px; margin-bottom: 50px; }
.business__media img { display: block; width: 100%; height: auto; border-radius: 20px; max-width: 552px; margin: 0 auto; }
.business__button { }
.business__button a { padding: 6px 20px; background: #155dfc; border-radius: 8px; display: inline-flex; }

.icon-text-item { display: flex; align-items: flex-start; gap: 12px; }
.icon-text-item__icon { flex: 0 0 auto; }
.icon-text-item__text { line-height: 24px; font-size: 16px; }

@media (max-width: 900px) {
    .business__container { grid-template-columns: 1fr; }
    .business__media img { }
}

/*BUSINESS*/

/*PARTNERS*/

.logos { padding: 88px 0; background: #fff; }
.logos__title { margin: 0 0 16px; text-align: center; font-size: 35px; line-height: 44px; color: #0A0A0A; }
.logos__description { max-width: 760px; margin: 0 auto 40px; text-align: center; font-size: 20px; line-height: 24px; color: #121212; }
.logos__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; align-items: center; }

.logo-item { display: flex; align-items: center; justify-content: center; min-height: 74px; transition: .3s;
    border: 1px solid #E5E7EBe5; border-radius: 10px; background: #fff; }
.logo-item__link { display: flex; align-items: center; justify-content: center; width: 100%; }
.logo-item__image img { display: block; max-width: 100%; height: auto; }
.logo-item:hover { transform: scale(1.1); transition: .3s; }

@media (max-width: 1240px) {
    .logos__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 450px) {
    .logos__grid { grid-template-columns: repeat(1, 1fr); }
    .logo-item { max-width: 220px; margin: 0 auto; }
}

/*PARTNERS*/

/*EXAMS*/

.front-page__exams { padding: 88px 0 0; background: #002E77; color: #fff; }
.offer__exams { padding: 88px 0 0; background: #E5E7EB; color: #000; }

.exams__title { margin: 0 0 16px; text-align: center; font-size: 35px; line-height: 44px; }
.exams__description { max-width: 760px; margin: 0 auto 40px; text-align: center; font-size: 20px; line-height: 24px; }
.offer__exams .exams__description { max-width: 850px; font-size: 20px; line-height: 1.1; }
.exams__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 50px; }
.offer__exams .exams__grid { margin-bottom: 0; }
.exams__button { text-align: center; margin-bottom: 50px; font-size: 18px; text-decoration: underline; }
.exams__wrapper { overflow: hidden; }
.exams__media img { display: block; width: 100%; height: auto; border-radius: 20px; margin-bottom: -80px; }

.exam-card { padding: 24px; border-radius: 10px; background: #EFF6FF; }
.offer__exams .exam-card { background: #fff; }
.exam-card__icon { margin-bottom: 16px; }
.exam-card__title { margin: 0 0 12px; font-size: 20px; line-height: 27px; color: #0A0A0A; }
.exam-card__description { line-height: 1.1; color: #364153; font-size: 17px; }
.offer__exams .exam-card__description { line-height: 24px; font-size: 16px; }

.button--with-arrow { display: flex; gap: 10px; justify-content: center; align-items: center; }
.button--with-arrow a { transition: .3s; }
.button--with-arrow:hover img { animation: arrowMove 0.8s ease-in-out infinite; }
.button--with-arrow:hover a { opacity: .7; transition: .3s; }

@keyframes arrowMove {
    0%   { transform: translateX(0); }
    50%  { transform: translateX(6px); }
    100% { transform: translateX(0); }
}

@media (max-width: 800px) {
    .exams__grid { grid-template-columns: repeat(2, 1fr); }
    .exam-card:last-child { grid-column: 1 / -1; justify-self: center; width: 50%; }
}

@media (max-width: 630px) {
    .exams__grid { grid-template-columns: repeat(1, 1fr); }
    .exam-card:last-child { grid-column: initial; justify-self: initial; width: initial; }
}

/*EXAMS*/

/*INDIVIDUAL*/

.individual { padding: 50px 0 88px; background: #E5E7EB; color: #000; }
.individual__title { margin: 0 0 40px; text-align: center; font-size: 35px; line-height: 44px; }
.individual__content { display: flex; gap: 40px; }
.individual__left { width: 50%; }
.individual__left .blue { color: #155DFC; }
.individual__right { width: 50%; }
.individual__right img { display: block; width: 100%; height: auto; border-radius: 20px; }

@media (max-width: 800px) {
    .individual__content { flex-wrap: wrap; }
    .individual__left,
    .individual__right { width: 100%; }
}

/*INDIVIDUAL*/

/*METHODS*/

.front-page__methods { padding: 120px 0 50px; background: #047BC5; color: #fff; }
.about-us__methods { padding: 60px 0 80px; color: #000 }

.methods__media { margin-bottom: 40px; }
.methods__media img { display: block; width: 100%; height: auto; border-radius: 20px; }
.methods__title { margin: 0 0 16px; text-align: center; font-size: 35px; line-height: 44px; }
.methods__description { max-width: 760px; margin: 0 auto 40px; text-align: center; color: #EAEAEA; font-size: 20px; line-height: 24px; }
.methods__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 32px; }
.methods__button { text-align: center; }
.methods__button a { padding: 6px 20px; background: #FFFFFF; border-radius: 8px; color: #0739A8; display: inline-flex;
    font-weight: 600; transition: .3s; }

.methods__button a:hover { background: #0739A8; color: #fff; transition: .3s; }

.methods__content { display: flex; font-size: 18px; line-height: 1.2; gap: 40px; }
.methods__content strong { font-size: 20px; line-height: 1.2; }
.methods__left { width: 50%; }
.methods__right { width: 50%; }

.method-card { text-align: center; }
.method-card__icon { display: flex; justify-content: center; margin-bottom: 16px; }
.method-card__title { margin: 0 0 12px; font-size: 20px; line-height: 27px; }
.method-card__description { line-height: 1.1; font-size: 17px; color: #dbeafe; }

.charity { margin-top: 50px; }
.charity__banner img { border-radius: 10px; display: block; width: 100%; height: auto; }
.charity__description { margin-top: 20px; font-size: 18px; }

@media (max-width: 900px) {
    .methods__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
    .methods__grid { grid-template-columns: repeat(1, 1fr); }

    .about-us__methods .methods__content { flex-wrap: wrap; }
    .about-us__methods .methods__left,
    .about-us__methods .methods__right { width: 100%; }
}

/*METHODS*/

/*REVIEWS*/

.reviews { padding: 88px 0 50px; }
.reviews__title { margin: 0 0 5px; text-align: center; font-size: 36px; line-height: 1.2; color: #0A0A0A; }
.reviews__score { text-align: center; font-size: 24px; line-height: 32px; color: #0A0A0A; display: flex;
    justify-content: center; align-items: center; gap: 20px; margin-bottom: 20px; }
.reviews__description { color: #4A5565; font-size: 16px; line-height: 24px; text-align: center; }
.reviews__button { color: #155DFC; text-align: center; }

.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 32px; }
.review { background: #f9fafb; border-radius: 10px; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); padding: 25px; }
.review__header { display: flex; justify-content: space-between; color: #101828; line-height: 24px; }
.review__date { font-size: 14px; line-height: 20px; margin-bottom: 20px; }
.review__body { color: #364153; }
.review__stars { width: 80px; height: auto; }

@media (max-width: 950px) {
    .reviews__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
    .reviews__grid { grid-template-columns: repeat(1, 1fr); }
}

/*REVIEWS*/

/*COMPETITIONS*/

.competitions { padding-bottom: 80px; overflow: hidden; }
.for-business__competitions { background: #E5E7EB; }
.competitions__title { text-align: center; font-size: 35px; line-height: 44px; margin-bottom: 50px; }

.competitions__table table { background: #002E77; border-radius: 10px; }
.competitions__table thead th { color: #a0c5ea; font-size: 18px; line-height: 25px; font-weight: 400; }
.competitions__table tbody { color: #fff; font-size: 20px; line-height: 25px; }
.competitions__table th,
.competitions__table td { padding: 20px 25px; border-right: 1px solid rgba(219, 237, 255, .2); }
.competitions__table th:last-child,
.competitions__table td:last-child { border-right: none; }
.competitions__table tr { border-bottom: 1px solid rgba(219, 237, 255, .2); }
.competitions__table tbody tr:last-child { border-bottom: none; }

@media (max-width: 600px) {
    .competitions__table { overflow: scroll; }
    .competitions__table table { min-width: 500px; }
    .competitions__table tbody { font-size: 16px; line-height: 20px; }

    .competitions__table th,
    .competitions__table td { padding: 10px 5px; }
}

/*COMPETITIONS*/

/*RECOMMENDATIONS*/

.recommendation { background: #F6F6F6; padding: 60px 0; }
.recommendation__title { text-align: center; font-size: 35px; line-height: 44px; color: #0A0A0A; }
.recommendation__description { text-align: center; font-size: 18px; line-height: 1.2; margin-bottom: 30px; color: #4A5565; }

.recommendation__item { display: flex; align-items: center; flex-direction: column; }
.recommendation__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.recommendation__name { color: #002E77; font-size: 18px; line-height: 1.2; text-align: center; }
.recommendation__link { box-shadow: 0 0 11px rgba(0, 0, 0, .15); border-radius: 10px; margin-bottom: 5px; overflow: hidden;}
.recommendation__link img { max-width: 100%; height: auto; }

@media (max-width: 1240px) {
    .recommendation__list { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 920px) {
    .recommendation__list { grid-template-columns: repeat(2, 1fr); }
}


@media (max-width: 440px) {
    .recommendation__list { grid-template-columns: repeat(1, 1fr); }
}

/*RECOMMENDATIONS*/

/*LOGIN FORM*/

#user-login-form .login-form { margin-top: 50px; padding: 0 30px; }
#user-login-form .logo { text-align: center; }
#user-login-form .logo img { width: 120px; height: auto; margin-bottom: 50px; }
#user-login-form .logo h2 { color: #666666; font-family: 'Outfit', sans-serif; font-size: 16px;
    margin-bottom: 50px; }

#user-login-form #edit-name--description,
#user-login-form #edit-pass--description { display: none; }

#user-login-form .login-fields label { display: none; }
#user-login-form .login-fields .form-text { width: 500px; margin-bottom: 30px; height: 25px; border-radius: 5px;
    border: 2px solid #6666; background-color: #F3F4EE; padding-left: 5px; font-size: 14px; }
#user-login-form .login-fields .form-text:focus { border: 2px solid #0085D0; }
#user-login-form .login-fields .field { display: flex; margin: 0 auto; }
#user-login-form .login-fields { max-width: max-content; margin: 0 auto; }
#user-login-form .login-fields p { line-height: 20px; width: 150px; color: #333;  font-size: 16px;
    font-family: 'Outfit', sans-serif; font-weight: normal; }
#user-login-form .login-submit { max-width: max-content; margin: 0 0 0 auto; }
#user-login-form #edit-submit { padding: 10px 50px; border-radius: 5px; border: 0; background-color: #0085D0;
    color: white; font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: normal; }
#user-login-form #edit-submit:hover { opacity: 0.85; }


@media (max-width: 700px) {
    #user-login-form .login-fields .form-text { width: 100%; }
}

@media (max-width: 450px) {
    #user-login-form .login-fields .field { display: block; }
    #user-login-form .login-fields p { margin: 0; }
    #user-login-form .login-submit { margin: 0 auto; }

    #user-login-form .logo img { width: 100%; }
}

/*END LOGIN FORM*/