html {
    box-sizing: border-box;
}
*,
*::before,
*::after {
    box-sizing: inherit;
}

/* Прибиваем к низу фото */
.header {
    position: relative;
    height: 100lvh;
}

.header__content-picture {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-size: cover;
    max-height: 88vh;
}
.header__content-img {
    position: absolute;
    left: 55%;
    transform: translateX(-45%);
    bottom: -60px;
    width: 100%;
    max-width: 600px;
    background-size: cover;
    max-height: 90vh;
}
.sun-container {
    position: relative;
    width: 100%; /* Задайте нужную ширину контейнера */
    height: 100vh; /* Задайте высоту контейнера */
}

.sun-image {
    position: absolute;
    right: 60px;
    bottom: 500px;
    width: 100%;
    max-width: 380px;
    height: auto;
}

/* End Прибиваем к низу фото */

/* Button Menu Burger Mobile */
.menu__btn {
    display: none;
    width: 40px;
    height: 26px;
    flex-direction: column;
    justify-content: space-between;
}
.menu__btn span {
    height: 2px;
    background-color: #121212;
    width: 100%;
    border-radius: 10px;
}
/* End Button Menu Burger Mobile */
.mobile-nav,
.menu__close,
.footer__top-text--mob,
.mob__teachers,
.mob__phone,
.mob__lessons {
    display: none;
}
body {
    color: #121212;
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.5px;
}
.container {
    max-width: 1220px;
    padding: 0 10px;
    margin: 0 auto;
}
.header__top {
    display: flex;
    justify-content: space-between;
    align-items: first baseline;
    padding-top: 20px;
}
/* .header__top:last-child {
    align-items: flex-end;
} */
.header__content-btn {
    padding-bottom: 20px;
}
.logo__text {
    color: #121212;
    font-size: 24px;
    font-weight: 700;
    line-height: 130%;
}
.menu {
    display: flex;
}
.menu__list {
    display: flex;
    font-weight: 500;
    gap: 0 40px;
}
.menu__list-link,
.telegram__chanel {
    color: #121212;
}
.menu__list-link:hover,
.telegram__chanel:hover {
    color: #2a2a2a;
}
.menu__list-link.active {
    /* color: #121212; */
    font-weight: 600;
    position: relative;
}
.menu__list-link.active::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #c44451;
}
.menu__lang {
    display: flex;
    gap: 0 12px;
}
.menu__lang-btn.active .menu__link-uk,
.menu__lang-btn.active .menu__link-ru {
    color: #c54552;
    font-weight: 600;
}
.menu__link-uk,
.menu__link-ru {
    color: #121212;
    font-weight: 300;
}
.phone__text {
    font-size: 12px;
    color: #121212;
}
.phone__telegram {
    color: #121212;
    font-size: 20px;
    font-weight: 500;
    position: relative;
}
.phone__telegram::before {
    position: absolute;
    content: "";
    background-image: url(../images/telegram.svg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 32px;
    height: 26px;
    left: -48px;
    top: -3px;
}
.telegram__chanel {
    color: #121212;
    font-size: 12px;
    font-weight: 500;
    display: block;
    margin-top: 2px;
    position: relative;
}
.telegram__chanel::before {
    position: absolute;
    content: "";
    background-image: url(../images/arrow-header-right.svg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 30px;
    height: 30px;
    left: 220px;
    top: -21px;
    color: #121212;
}
.header__content-descr {
    position: absolute;
    z-index: 5;
    width: 680px;
    margin-top: 236px;
    color: #121212;
}
.header__content-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
}
.header__content-title span {
    display: block;
}
.header__content-text {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    margin-top: 18px;
    max-width: 440px;
}
.header__content-button {
    padding: 18px 92px;
    color: #ffffff;
    background: radial-gradient(circle, #f35464, #c44451);
    font-size: 22px;
    font-weight: 400;
    margin-top: 80px;
    border-radius: 5px;
    margin-bottom: 10px;
    display: inline-block;
}
.header__content-button:hover {
    color: #ffffff;
    background-color: #b06dcf;
}
.header__content-discount {
    font-size: 22px;
    font-weight: 300;
}
.about {
    padding-top: 80px;
    padding-bottom: 300px;
    background-color: #121212;
    color: #fff1d2;
    position: relative;
}
.about__inner-section {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.about__simbol {
    cursor: pointer;
    font-size: 260px;
    line-height: 1.1;
    background: linear-gradient(to right, #d24d5a, #ff9ea6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Альтернативные стили для браузеров, которые не поддерживают webkit-свойства */
    color: #d75361; /* Стандартный цвет текста (будет использоваться в других браузерах) */
    user-select: none; /* Предотвращает выделение текста в других браузерах */
    outline: none;
}

.about__simbol-span {
    font-size: 16px;
    text-align: center;
    position: relative;
    margin-bottom: 10px;
}
.about__simbol-span::before {
    content: "\2193"; /* Unicode символ стрелки вниз */
    font-size: 30px; /* Размер стрелки */
    color: #ffffff; /* Цвет стрелки */
    margin-right: 6px; /* Отступ между текстом и стрелкой */
    position: absolute; /* Абсолютное позиционирование */
    left: 50%; /* Расположение стрелки справа от текста */
    top: 10px;
}

/* Начальное состояние для описания: скрыто */
.about__simbol-desc {
    display: none; /* Скрыть текст по умолчанию */
    margin-top: 10px; /* Добавить отступ для отделения текста от символа */
}

/* Показывать текст при добавлении класса 'active' */
.about__simbol.active + .about__simbol-desc {
    display: block;
    font-size: 16px;
    width: 244px;
    text-align: justify;
}
.about__svg-bottom {
    position: absolute;
    bottom: 0;
    left: 17%;
    transform: translateX(-83%);
    width: 350px;
    height: auto;
}
.about__svg-bottom--1 {
    position: absolute;
    bottom: 0;
    left: 82%;
    transform: translateX(-18%);
    width: 350px;
    height: auto;
}
.about__svg-bottom--2 {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1400px;
    height: auto;
}
.about__descr {
    width: 660px;
    margin-bottom: 50px;
}
.about__descr span {
    font-weight: 700;
}
.about__title {
    font-size: 46px;
    font-weight: 500;
    margin-bottom: 46px;
}
.about__achiev {
    display: flex;
    justify-content: space-between;
    gap: 40px 20px;
}
.about__achiev-numb {
    font-size: 50px;
    font-weight: 600;
    margin-bottom: 10px;
}
.about__achiev-item {
    width: 300px;
}
.advant {
    padding-top: 80px;
    padding-bottom: 80px;
    color: #121212;
}
.advant__title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 80px;
}
/* Grid */
.advant__items {
    display: grid;
    grid-template-columns: repeat(3, 360px);
    grid-template-rows: repeat(2, auto);
    gap: 40px;
    justify-content: space-between;
}
.advant__item {
    margin-bottom: 20px;
}
/* End Grid */
.advant__item-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}
.advant__item-text {
    font-size: 18px;
    font-weight: 400;
}

.teachers,
.mob__teachers {
    margin-bottom: 100px;
    color: #121212;
}
.teachers__title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
}

.teachers__content,
.mob__teachers-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 80px 20px;
}
.teachers__item {
    height: 700px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}
.teachers__item,
.mob__teachers-item {
    width: 260px;
    text-align: center;
}
.teachers__item-title {
    font-size: 22px;
    margin-bottom: 14px;
}
.teachers__item-img {
    margin-bottom: 20px;
    width: 260px;
    height: 362px;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
}
.teachers__item-text {
    font-size: 16px;
    margin-bottom: 30px;
    overflow-y: auto;
    height: 300px;
    width: 260px;
}

.teachers__actions {
    margin-top: auto;
}

.teachers__item-button {
    display: inline-block;
    padding: 18px 80px;
    background-color: #1f1f1f;
    color: #ffffff;
    border-radius: 5px;
    font-size: 16px;
}

.teachers__item-video {
    display: inline-block;
    color: #121212;
    font-size: 16px;
    margin-bottom: 20px;
}

.teachers__item-video-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.teachers__item-video-icon {
    width: 24px;
    height: 24px;
    fill: #f45968;
    flex-shrink: 0;
}

.teachers__btn-wrapper {
    text-align: center;
    margin-top: 80px;
}

.teachers__show-all-btn {
    display: inline-block;
    padding: 18px 40px;
    background-color: #ff6e7c;
    color: #fff;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.lessons {
    position: relative;
}
.lessons,
.mob__lessons {
    padding: 50px 0;
    background-color: #141414;
}
.lessons__inner {
    padding-bottom: 200px;
}
.lessons__title {
    font-size: 48px;
    font-weight: 500;
    color: #ffffff;
    text-align: center;
    margin-bottom: 70px;
}

.lessons__content,
.mob__lessons-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding-bottom: 100px;
}
.lessons__item,
.mob__lessons-item {
    cursor: pointer;
    width: 360px;
    position: relative;
    display: inline-block;
}
.lessons__item-title {
    position: absolute;
    bottom: 7px;
    left: 0;
    margin: 0;
    padding: 20px 10px;
    background-color: #fff0de;
    color: #121212;
    font-size: 14px;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    cursor: pointer;
}
.lessons__item-title--2 {
    background-color: #fff0de;
    color: #121212;
}
.lessons__item-img {
    width: 100%;
    height: auto;
}
.lessons__svg-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 350px;
    height: auto;
}
.lessons__svg-bottom--1 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: auto;
}
.lessons__svg-bottom--2 {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1400px;
    height: auto;
}

.lessons__play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgb(255 188 171);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.lessons__play-button::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    margin-left: 6px;
    border-left: 20px solid #121212;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.courses {
    margin-top: 80px;
    margin-bottom: 80px;
}
.courses__inner {
    color: #121212;
}
.courses__title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}
.courses__descr {
    font-size: 20px;
    text-align: center;
    margin-bottom: 100px;
}
.courses__content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 100px;
    gap: 20px;
}
.courses__item {
    width: 360px;
    height: 650px;
    background-color: #121212;
    color: #fff1d2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    align-items: center;
    padding: 40px 20px;
    border-radius: 20px;
    gap: 40px;
}
.courses__item-title {
    font-size: 30px;
    font-weight: 500;
}
.courses__item-descr {
    width: 320px;
}
.courses__item-price {
    font-size: 48px;
    font-weight: 500;
}
.courses__item-btn {
    width: 240px;
    font-size: 20px;
    margin: 0 auto;
    padding: 20px 40px;
    background-color: #fff1d2;
    color: #121212;
    border-radius: 4px;
}
.courses__item-btn:hover {
    background-color: #ffe6b1;
}
.courses__end {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
}
.additional-services {
    margin-bottom: 50px;
}
.additional-services h3 {
    font-size: 26px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}
.additional-services li {
    color: #121212;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    position: relative;
    padding-left: 30px;
}
.additional-services li:before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    background-color: #212121;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 18px;
}
.footer {
    background-color: #121212;
    padding-top: 80px;
    padding-bottom: 400px;
    color: #ffffff;
    position: relative;
}

.footer__svg-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 450px;
    height: auto;
}
.footer__svg-bottom-0 {
    position: absolute;
    bottom: 0;
    left: 35%;
    transform: translateX(-65%);
    width: 500px;
    height: auto;
}
.footer__svg-bottom--1 {
    position: absolute;
    bottom: 0;
    right: 20%;
    transform: translateX(80%);
    width: 400px;
    height: auto;
}
.footer__svg-bottom--2 {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1400px;
    height: auto;
}

.footer__top-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 30px 20px;
    position: sticky;
    top: 0;
    z-index: 2;
}

.footer__top-contacts {
    max-width: 500px;
    font-size: 18px;
}

.footer__top-text {
    margin-bottom: 24px;
}

.footer__phone-text {
    margin-bottom: 20px;
    font-weight: 300;
}

.footer__contact-info {
    margin-left: 38px;
}

.footer__phone-telegram,
.footer__phone,
.footer__email {
    display: block;
    color: #fff;
    margin-bottom: 32px;
}

.footer__phone-telegram {
    position: relative;
}
.footer__phone-telegram::before {
    position: absolute;
    content: "";
    background-image: url(../images/telegram.svg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 30px;
    height: 30px;
    left: -40px;
    top: -3px;
}

.footer__phone {
    position: relative;
}
.footer__phone::before {
    position: absolute;
    content: "";
    background-image: url(../images/phone.svg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 24px;
    height: 24px;
    left: -36px;
    top: 5px;
}

.footer__email {
    position: relative;
}
.footer__email::before {
    position: absolute;
    content: "";
    background-image: url(../images/mail.svg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 22px;
    height: 22px;
    left: -36px;
    top: 4px;
}

.footer__phone-telegram {
    color: #ffffff;
    position: relative;
}
.footer__phone-telegram::before {
    position: absolute;
    content: "";
    background-image: url(../images/telegram-footer.svg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 28px;
    height: 20px;
    left: -42px;
    top: 4px;
}

/* Form */
.form-container {
    width: 500px;
}

.form-container input[type="text"] {
    width: 100%;
    padding: 16px;
    margin-bottom: 14px;
    background-color: #fff;
    border-radius: 5px;
    font-size: 16px;
    color: #9b9b9b;
}

/* Checkbox*/
/* Стилизация нативного чекбокса (скрываем его) */
.form-container input[type="checkbox"] {
    display: none;
}

/* Стилизация кастомного фона чекбокса */
.form-container input[type="checkbox"] + label::before {
    content: "";
    display: inline-block;
    width: 17px;
    height: 17px;
    background-color: #ffffff; /* Цвет фона по умолчанию */
    border-radius: 2px;
    margin-right: 10px;
    vertical-align: middle;
}

/* Стилизация кастомного фона чекбокса при нажатии */
input[type="checkbox"]:checked + label::before {
    background-color: #d44e5b; /* Новый цвет фона при нажатии */
    content: "\2713"; /* Unicode-символ для белой галочки */
    font-size: 14px; /* Размер галочки */
    line-height: 18px; /* Высота контейнера для галочки */
    color: #fff; /* Цвет галочки (белый) */
    text-align: center;
}
/* End checkbox*/

.form__messenger,
.form__lessons {
    color: #fff;
    margin-bottom: 30px;
    font-size: 16px;
}

.form__lessons .form__lessons-check {
    margin-bottom: 20px;
}

.form__messenger-text,
.form__lessons-text {
    margin-bottom: 10px;
}

.form__messenger label {
    margin-right: 30px;
}

/* Отключение выделения текста синим цветом при двойном клике */
input[type="checkbox"],
label {
    user-select: none;
}

.form-container button {
    width: 100%;
    padding: 20px 0;
    border: none;
    border-radius: 5px;
    background: radial-gradient(circle, #fe6776, #c44451);
    color: #ffffff;
    cursor: pointer;
    font-size: 20px;
    margin-bottom: 10px;
}

.discount-10 {
    color: #ffffff;
    font-size: 18px;
}

.form-container button:hover {
    background: radial-gradient(circle, #ff808c, #d75361);
}

.form-container select {
    margin-bottom: 20px;
}

.form__personal {
    font-size: 14px;
    color: #fff;
    margin-bottom: 10px;
}

.form__parent-text {
    display: inline-block;
    font-size: 16px;
    margin-bottom: 6px;
}
.form__parent-block {
    margin-bottom: 40px;
}
/* End Form */

.footer__bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 38px;
    background-color: #121212;
}
.footer__bottom-text {
    font-size: 12px;
    font-weight: 200;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    padding: 10px 0;
}

.footer__telegram-chanel {
    color: #ffffff;
    position: relative;
}
.footer__telegram-chanel::before {
    position: absolute;
    content: "";
    background-image: url(../images/arrow-footer-right.svg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 21px;
    height: 18px;
    left: -34px;
    top: 3px;
    color: #ffffff;
}

/* Scroll to Top Button */
#scrollToTopButton {
    display: none;
    font-size: 24px; /* задаем размер стрелки */
    font-weight: 100;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 15;
    background-color: #121212;
    color: #fff;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 0 1px #ffffff;
}

#scrollToTopButton:hover {
    background-color: #232323;
}

.header-inner {
    height: 90px;
    margin-bottom: 80px;
}

/* ------------ FAQ ----------- */
.faq {
    margin-top: 100px;
    margin-bottom: 100px;
}
.faq-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 40px;
    font-weight: 600;
}
.faq-item {
    margin-bottom: 20px;
    border-radius: 5px;
}
.faq-question {
    width: 100%;
    background-color: #eeeeee;
    color: #131313;
    padding: 15px 40px 15px 15px;
    text-align: left;
    font-size: 18px;
    cursor: pointer;
    outline: none;
    position: relative;
    transition: all 0.5s;
    line-height: 1.5;
    border-radius: 10px;
}
.faq-question .faq-toggle {
    position: absolute;
    right: 20px;
    top: 28px;
    font-size: 26px;
    line-height: 0;
}
.faq-answer {
    display: none;
    padding: 15px;
    background-color: #eeeeee;
    border-radius: 10px;
}
.faq-answer p {
    margin-bottom: 10px;
    color: #292929;
    font-size: 18px;
}
.faq-answer h4 {
    margin-bottom: 10px;
}
.faq-answer__list {
    list-style-type: disc;
    padding-left: 20px;
}
.faq-answer__list--item {
    margin-bottom: 12px;
}
.faq-answer__list p {
    font-weight: 600;
    margin-bottom: 10px;
}

/* THNAK YOU PAGE */
.thank-you-section {
    margin-top: 200px;
    margin-bottom: 200px;
    text-align: center;
}

.thank-you-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.thank-you-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
}

.thank-you-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}