

@import 'normalize.css';
@import 'fonts.css';
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Unbounded;
    -webkit-tap-highlight-color: transparent!important; /* Для сенсорных экранов */
    outline: none!important; /* Убирает фокус */
}

*:active {
    filter: none;
    opacity: 1;
    box-shadow: none;
    background: inherit; /* Убираем стандартное изменение фона */
}
:root {
    --color--Prpl: #8247CF;
    --color--Prpl-transparent: rgba(130, 71, 207, 0.4); /* Прозрачный фиолетовый */
    --active-red: #F64554;
    --color--blue: #3370F5;
    --color--blue-transparent: rgba(51, 112, 245, 0.4);
    --text-color: #333;
    --color--white: #fff;
    --dark--black: #17161F;
    --color--grey: #DFDFDF;
    --color--lightgrey: #0000004c;
    --color--yellow: #FCB75E;
    --color--yellow-transparent: rgba(252, 183, 94, 0.4); /* Прозрачный желтый */
    --color--beige-form: #F7F7F7;
    outline: 1px solid green!important;
}

body {
    background-color: var(--color--white);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main {
    flex: 1;
}
p {
    font-family: 'DM-Sans', sans-serif;
}

.logo {
    display: flex;
    flex-wrap: wrap;
    width: 105px;
    gap: 0.5rem;
    color: var(--color--Prpl);
    text-decoration: none;
    order: 1;
}
.logo-icon {
    width: 76.2px;
    height: 60.82px;
}
header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.20);
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 86px;
}

header .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 10px;
    padding-top: 10px;
}
.header__title {
    opacity: 1;
    visibility: visible;
    text-align: left;
    font-family: Nunito;
    font-size: 25px;
    width: 77px;
    color: var(--color--Prpl);
    margin: 0;
    margin-right: auto;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.container {
    padding: 20px;
}
.header.scrolled .language-container {
    display: none;
}
.header.scrolled .header-btn-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 150px;
    margin-left: auto;
    /* order: 2; */
    padding-top: 7px;
}
.header.scrolled .header__title {
    opacity: 0;
    display: none;
    pointer-events: none;  /* Убираем возможность клика по невидимому элементу */
}
.header.scrolled .logout-container {
    top: 25px;
}
.btn-blocks {
    display: flex;
    justify-items: right;
    order: 2;
}
.header-btn-block {
    display: none;
    list-style: none;
}
.header-btn-block li {
    display: flex;
    justify-items: end;
}

.language-container {
    position: relative;
    display: block;
    order: 3;
    margin-left: auto;
    margin-bottom: 25px;
    margin-right: 15px;
    align-self: flex-end;
}
.language-button {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 12px;
    font-family: 'DM-Sans', sans-serif;
}
.language-button span { 
    font-family: 'DM-Sans', sans-serif;
    padding-left: 1px;
    color: var(--text-color);
    text-decoration: none;
}
.language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border: 1px solid #DFDBDB;
    padding: 4px;
    
    list-style: none;
    margin: 8px 0 2px 5px;
    border-radius: 10px;
    z-index: 1000;
    min-width: 103px;
}

.language-dropdown li {
    padding: 5px 0;
    text-decoration: none;
    color: black;
}
.language-option {
    color: #000; /* Черный текст */
    background-color: #fff; /* Белый фон */
    border: none; /* Убераем рамку */
    background: none;
    border: none;
    display: flex;
    align-items: center;
    font-size: 12px;
    font-family: 'DM-Sans', sans-serif;
    cursor: pointer;
    width: 100%;
    text-align: left;
    padding: 5px 5px;
    text-decoration: none;
}

.language-option:hover {
    background-color: #f0f0f0;
}
.flag-icon {
    width: 20px;
    height: auto;
    margin-right: 5px;
}

.arrow {
    margin-left: 13px;
}
/*------------- Logout button for dashboard -------------------*/
.hidden {
    display: none;
}
.logout-container {
    position: fixed;
    top: 39px;
    right: 10px;
    z-index: 1000; /* Убедитесь, что кнопка поверх других элементов */
}
.logout img {
    vertical-align: middle;
    margin-right: 5px;
    width: 22px; 
    height: 22px;
}

.logout {
    display: block;
    padding: 10px;
    background-color: #fff;
    color: var(--text-color);
    text-decoration: none;
    font-family: "DM-Sans", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    border: none;
    
}

/*------------- Final of logout button for dashboard -------------------*/
.cta-button, .secondary-button, .to-parent-button {
    display: flex;
    justify-content: center;
    justify-self: flex-end;
    padding: 7px 15px;
    cursor: pointer;
    border-radius: 28.299px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 7px;  
    line-height: normal;
    margin-left: auto;
    width: 90.652px;
    height: 23.23px;
}
.cta-button {
    background: var(--active-red);
    color: white;
    border: none;
    font-weight: 500;
    justify-self: flex-end;
    align-items: center;
}
.secondary-button, .to-parent-button {
    background: white;
    color: var(--color--blue);
    border: 1.213px solid var(--color--blue);
    font-weight: 600;
    margin-bottom: 7px;
    align-items: center;
}

.big-btn {
    border-radius: 70px;
    font-size: 18px;
    width: 335px;
    height: 50px;
    padding: 20px 18px;
    gap: 10px;
    margin: 0 auto;
}
.secondary-button .big-btn {
    border: 3px solid var(--color--blue);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: 
        "title"
        "image"
        "subtitle"
        "buttons";
    gap: 0;
    padding: 2rem 0;
    min-height: auto;
    max-width: 375px;
    color: var(--color--Prpl);
    margin: 0 auto;
}
.hero__image {
    grid-area: image;
    justify-self: center;
    object-fit: contain;
    width: 100%;
    max-width: 280px;
    height: auto;
    margin: 0 auto;
    aspect-ratio: 280/380;
}

.hero-title {
    color: var(--text-color);
    font-weight: 600;
    grid-area: title;
    font-size: 1.8rem;
    padding: 0px 20px 20px 20px;
    width: 345px;
    margin: 0 auto;
}
.hero-subtitle {
    text-align: left;
    font-family: "DM-Sans", sans-serif;
    color: var(--color--Prpl);
    font-weight: 700;
    grid-area: subtitle;
    font-size: 1.7rem;
    line-height: 32.9px; 
    letter-spacing: -0.876px;
    margin: 30px auto;
    padding: 20px;
    width: 345px;
    max-width: 425px;
}

.hero-buttons {
    grid-area: buttons;
    display: flex;
    gap: 1rem;
    margin: 0 auto;
    margin-top: 1rem;
    max-width: 100%;
    flex-direction: column;
    width: 100%;
}


.category-icon {
    background-color: var(--color--Prpl);
    width: 106px;
    height: 106px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}
.category-icon img {
    width: 46px;
    height: 46px;

}
.benefits {
    display: none;
}
/*----Testimonials Section------*/
.testimonials {
    padding-top: 40px;
    padding-bottom: 40px;
    position: relative;
}
.testimonials h2 {
    font-size: 1.45rem;
    margin: 0;
    font-weight: 600;
    padding-left: 6%;
    max-width: 320px;
    display: inline-block;
    background-color: transparent;
}

/* Основные стили для слайдера */

.slider-container {
    max-width: 100%;
    padding: 0 10px;
    position: relative;
    overflow: hidden;

}
.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.slide {
    display: flex;
    width: 322px; 
    margin-right: 10px; 
    flex-shrink: 0;
}
.slide:last-child {
    margin-right: 0;
}
/* Стили для карточек */
.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    margin: 1rem auto;

    background-color: #f8f8f8;
    padding: 40px 20px 70px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: left;
    width: 100%; 
}

.testimonials .slider {
    padding-left: 5%;
}

.testimonial-card.active {
    background-color: #8a2be2; 
    color: white;
}
.testimonial-card.active .testimonial-info p,
.testimonial-card.active .testimonial-text {
    color: white; 
}
.training {
    background-image: url('../images/training.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    width: 355px;
    margin: 1rem auto;
    color: var(--color--white);
    padding: 4rem 1rem;
} 
.training h2 {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    width: 350px;
    margin-bottom: 2rem;
    padding: 10px;
}
.training .register-button {
    display: block;
    margin: 3px auto;
    line-height: normal;
    font-weight: 500;
    min-width: 224px;
    font-size: 1.125rem;
    text-align: center;
    width: 305px;
    height: 54px;
    padding: 1.125rem 1.3rem;
    cursor: pointer;
    border-radius: 70px;
    background-color: var(--color--yellow);
    color: var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
}

.testimonial-info {
    font-family: 'DM-Sans', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.testimonial-header {
        display: flex;
        align-items: center;
        margin-bottom: 1rem;
}
.testimonial-avatar {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem; 
    order: -1;
}
.testimonial-info h3 {
    font-size: 1.3rem;
    max-width: 140px;
    margin: 0;
    font-weight: 700;
    line-height: normal;
}

.testimonial-info p {
    font-size: 1.3rem;
    font-weight: 500;
    padding-top: 10px;
    margin: 0;
    color: var(--text-color);
}

.testimonial-text {
    font-family: 'DM-Sans', sans-serif;
    font-size: 1.1rem;
    line-height: 1.4;
    
    margin-top: 1rem;
}


.slider-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    padding: 2.5rem 0;
}

.nav-button {
    width: 85px;
    height:85px;
    border-radius: 50%;
    border: none;
    background: #f0f0f0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    line-height: 2rem;
    color: var(--color--lightgrey)
}
.nav-button.next {
    background: #8a2be2;
    color: white;
}

/*----Features Section------*/
.demo {
    padding: 20px 0;
    }
.demo-container {
    display: flex;
    flex-direction: column;
    margin: 0px;
    transition: transform 0.3s ease;
    }
.demo-card {
    padding: 1rem 0;
    padding-bottom: 2rem;
    border-radius: 1rem;
    margin-bottom: 1rem;
    max-width: 375px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0.5rem auto;
    height: auto;
}
.demo-card picture {
    order: -1;
}
.demo img {
    max-width: 100%;
    width: 360px;
    height: auto;
}
.demo-card h3 {
    font-size: 1.45rem;
    width: 335px;
    height: auto;
    margin-bottom: 1.5rem;
    padding-left: 10px;
}
.demo-card p {
    font-size: 1.3125rem;
    font-weight: 400;
    width: 335px;
    height: auto;
    margin: 0.5rem 0;
    padding-left: 10px;
}

section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: left;
}

.slider-buttons {
    display: flex;
    /* gap: 1rem;*/
    justify-content: space-between;
    width: 100%;
    margin-top: 1rem;
}

.slider-btn {
    background: #6c63ff;
    color: white;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.5rem;
}
.prev-btn {
    background: var(--color--grey);
    color: var(--color--lightgrey);

}

/* Стили для секции шагов */
.steps {
    margin: 3rem auto;
    padding-bottom: 1rem;
}

.steps h2 {
    margin-bottom: 30px;
    max-width: 300px;
    padding-left: 30px;
}

.steps-text {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-left: 20px;
}

/* Стили для списка шагов */
.steps ul {
    max-width: 375px;
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 2rem 0;
    margin: 1rem auto;
    gap: 44px;
}

.step {
    width: 225px;
    height: 165px;

    border-radius: 136.485px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: bold;
}

.number {
    color: var(--color--blue);
    font-size: 1.5rem;
    font-size: 55px;
    font-weight: 600;
    word-wrap: break-word;
}

.step p {
    font-family: 'DM-Sans', sans-serif;
    font-size: 1.46rem;
    font-weight: 600;
    width: 179px;
    flex-shrink: 0;
    margin: 0;
    text-align: center;
    font-weight: 600;
    line-height: normal;
}

/* Кнопка регистрации */
.register-button {
    display: block;
    margin: 3px auto;
    line-height: normal;
    font-weight: 500;
    font-size: 1.125rem;
    text-align: center;
    width: 335px;
    height: 64px;
    padding: 20px 24px;
    border-radius: 70px;
    background-color: var(--color--blue);
    color: var(--color--white);
    text-decoration: none;
    text-transform: uppercase;
}
.one {
    background: var(--color--blue-transparent); 
}
.two {
    background: var(--color--Prpl-transparent);
}
.three {
    background: var(--color--yellow-transparent);
}

.faq-contact {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 20px 20px 40px 20px;   
}

/* ------- Стили для блока FAQ --------*/
.faq {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}
.faq-question {
    line-height: 36px;
    font-weight: 700;
    font-size: 1.325rem;
    margin: 0;
    width: 280px;
    word-wrap: break-word;
    padding-left: 20px;
}
.faq h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.faq-item {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #ccc;
    padding: 2rem 0;
    padding-right: 20px;
}
.faq-question-container {
    display: flex;
    align-items: center; 
    justify-content: space-between; 
}
.faq-answer {
    width: 288px;
    padding-left: 20px;
    display: none;
    padding-top: 1rem;
    color: var(--text-color);
    transition: max-height 0.3s ease;
}
.faq-item.active .faq-answer {
    display: block;
}
.faq-toggle {
    font-family: 'DM-Sans', sans-serif;
    font-size: 1.35rem;
    line-height: 1.55rem;
    width: 30px; 
    height: 30px;
    cursor: pointer;
    background-color: var(--color--blue);
    border-radius: 50px;
    border: none;
    color: var(--color--white);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    display: flex;
    align-items: center;
    justify-content: center; 
}


/* Стили для блока контакта */
.contact-help {
    text-align: left;
    max-width: 464px;
    padding: 2rem 0;
}

.contact-help h2 {
    font-size: 1.45rem;
    font-weight: bold;
    margin-bottom: 1rem;
    max-width: 350px;
    padding-left: 20px;
}

.contact-help p {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 400;
    line-height: 33px;
    word-wrap: break-word;
    max-width: 360px;
    padding-left: 20px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-left: 20px;
    margin-right: auto;
    width: 335px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    width: 325px;
    padding: 20px;
    border-radius: 70px;
    font-size: 1rem;
    border: 1px rgba(0, 0, 0, 0.20) solid; 
    display: flex;
    justify-content: center; 
    align-items: center; 
    gap: 10px; 
    font-family: 'DM-Sans', sans-serif;
    font-weight: 400;
    margin-right: 3px auto;
}

.newsletter-form .btn-primary {
    display: block;
    border: none;
    margin-right: 3px auto;
    line-height: normal;
    font-weight: 500;
    min-width: 224px;
    font-size: 16px;
    text-align: center;
    width: 325px;
    height: 54px;
    padding: 0.75rem 1.3rem;
    cursor: pointer;
    border-radius: 70px;
    background-color: var(--color--blue);
    color: var(--color--white);
    text-decoration: none;
}

.faq-link {
    display: inline-block;
    font-size: 1rem;
    color: #007bff;
    text-decoration: none;
    padding-left: 20px;
    padding-top: 30px;
}

.faq-link:hover {
    text-decoration: underline;
}

/* ------ Login form , register form, verify, create-student --------  */
.register, .login-form, .create-student {
    background: var(--color--beige-form);
    max-width: 500px;
    border-radius: 30px;
    box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 0.25);
    width: calc(100% - 20px);
    padding: 20px;
    margin: 45px auto;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap; 
    align-items: center;
}
.register p {
    width: 100%;
    max-width: 384px;
    padding: 14px;
    color: #646464;
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 17px; /* 121.429% */
}
/*---------------Login form--------------------*/
.login-form {
    margin-top: 80px;
    margin-bottom: 120px;
}
.login-form h2, .register h2, .verify-code h2, .create-student h2 {
    font-family: 'DM-Sans', sans-serif; 
    font-size: 1.8rem;
    text-align: center;
    line-height: 32px; 
    margin: 10px auto;
    width: 300px;
    padding-top: 16px;
    padding-bottom: 25px;
}
.login-form form p {
    display: flex;
    justify-content: end;
}
.login-form a {
    display: block; 
    margin: 0 auto; 
    font-size: 15px;
    color: #8C8C8C;
    font-family: Unbounded; 
    font-weight: 500;
    text-align: center;
    text-decoration-style: solid;
    text-transform: uppercase;
}
/*-------------Forgot password------------------*/
.reset-message {
    position: relative;
    margin: 0 auto 20px;
    padding: 15px;
    border-radius: 30px;
    border-radius: 10px;
    text-align: center;
    font-size: 14px;
    color: #333;
    max-width: 600px;
}
.forgot-password {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    max-width: 382px;
}
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 400px;
    align-items: center;
}

form label {
    color: #000; 
    font-family: 'DM-Sans', sans-serif; 
    font-weight: 400;
    width: 100%;
    max-width: 382px;
    font-size: 12px;
    text-align: left;
}
.register-wrapper label {
    margin-left: 21px;
}
/* .register .visually-hidden, */
.login-form .visually-hidden, .registration-form .visually-hidden, .register label.visually-hidden, .verify-code .visually-hidden, .create-student .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="number"],
form input[type="date"],
form select {
    font-family: 'DM-Sans', sans-serif;
    width: 100%;
    max-width: 382px;
    padding: 14px;
    border: 0.5px solid #ccc;
    border-radius: 42px;
    text-align: left;
    font-size: 12px;
}

.iti {
    width: 100%;
    max-width: 382px;  /* Подгоняем под дизайн формы */
}

.iti__selected-flag {
    background: #f1f1f1;  /* Цвет фона для флага */
    border-radius: 42px 0 0 42px;
    padding: 0 14px;
    border-right: 0.5px solid #ccc;
}

.iti--allow-dropdown input {
    font-family: 'DM-Sans', sans-serif;
    width: 100%;
    padding: 14px;
    padding-left: 120px;  /* Учитываем флаг и код */
    border: 0.5px solid #ccc;
    border-radius: 42px;
    font-size: 12px;
    box-sizing: border-box;
    text-align: left;
}

/* Сдвигаем только плейсхолдер */
.iti--allow-dropdown input::placeholder {
    text-indent: 20px;  /* Подвинуть текст плейсхолдера */
    color: #ccc;
}

.iti__country-list {
    width: 100%;  
    min-width: 382px; 
    max-width: 400px; 
    border-radius: 8px;
    font-size: 14px; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden; 
}

/* Элемент страны */
.iti__country {
    padding: 10px 15px;
    line-height: 1.6;
}

/* Шрифт для текста страны */
.iti__country span {
    font-size: 13px;
}

/* Размер кода страны */
.iti__dial-code {
    font-size: 12px;
    color: #666;
}

/* Ховер на страну */
.iti__country:hover {
    background-color: #f0f0f0;
}

/* Подсветка выбранной страны */
.iti__country.iti__highlight {
    background-color: #e6e6e6;
    font-weight: 500;
}

/* Фокус на input */
.iti--allow-dropdown input:focus {
    border-color: #007bff;
    outline: none;
}

.create-student, .form-container {
    width: 100%;
    max-width: 100%; /* Гарантирует, что контейнер не будет сужаться */
}
.select-container {
    position: relative;
    display: inline-block;
    max-width: 382px;
    width: 100%; /* Устанавливаем ширину контейнера */
}
/* ----------------- */
/* appearance: none;:

Убирает нативное оформление элемента во всех современных браузерах, позволяя применять кастомные стили.
-webkit-appearance: none;:

Специфично для браузеров на движке WebKit (например, Chrome, Safari). Обеспечивает поддержку отключения стандартного оформления в этих браузерах.
-moz-appearance: none;:

Специфично для браузера Firefox. Обеспечивает отключение стандартного оформления элемента. */
/* ----------------- */
.select-container select {
    display: block; 
    margin: 0 auto;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    padding-right: 20px; 
    box-sizing: border-box;
    background-color: transparent; 
    border: 1px solid #ccc; 
}
.select-container::after {
    content: '▼'; 
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none; 
    font-size: 12px; 
    color: #000; 
}
.create-student option {
    padding-right: 15px;
    color: #AAA!important;
    font-family: 'DM-Sans', sans-serif; 
    font-size:  12px;
}
.select-container select:focus {
    outline: none;
    box-shadow: 0 0 1px 1px #007BFF;
}
.select-container select option:disabled {
    color: #8da1cb !important;; 
    opacity: 1; /* Firefox */
}
.login-form .cta-button, 
.register .cta-button, 
.verify-code .cta-button, 
.create-student .cta-button {
    background: var(--active-red);
    color: white;
    padding: 0 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
    border-radius: 70px;
    font-size: 14px;  
    width: 164px;
    height: 42px;
    line-height: normal;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    margin: 10px auto;
}
.register .cta-button, .create-student .cta-button {
    width: 190px;
    
}
.verify-code {
    background: var(--color--beige-form);
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    width: calc(100% - 20px);
    padding: 20px;
    margin: 45px auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.verify-code .cta-button {
    width: 158px;
} 
.verify-code h2 {
    max-width: 400px;
    text-align: center;
}
#verify-form label {
    padding-left: 12px;
    padding-bottom: 12px;
}
#verify-form {
    max-width: 500px;
}
.verify-inputs {
    display: flex;
    justify-content: center;
    align-items: center; 
    max-width: 300px; 
    margin: 40px auto;
}

#verify-form .verify-inputs input {
    width: 45px !important; 
    height: 45px;
    margin: 3px;
    text-align: center;
    font-size: 24px;
    border: 1px solid #AAA;
    border-radius: 10px;
    box-shadow: -2px 2px 0px 0px rgba(0, 0, 0, 0.25) inset;
}

*::placeholder {
    color: #AAA;
    opacity: 1; /* Firefox */
    font-family: 'DM-Sans', sans-serif; 
    font-size:  12px;
}
/* -------- Error message style ----------*/
.error-message {
    color: #ff0000; 
    font-weight: bold;
    background-color: #f8d7da; /* Фон ошибки */
    border: 1px solid #f5c6cb;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}


/* ----------------------  */
footer {
    background-color: var(--dark--black);
    min-height: 255px;
    color: #fff;
    flex-shrink: 0; 
}
.footer-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0.2rem 5%;
    color: var(--color--white);
    gap: 1rem;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding-top: 10px;
}
.footer-logo svg {
    width: 65px;
    height: 60.82px;
}
.footer__title {
    margin: 0;
    font-family: Nunito;
    font-size: 25px;
    color: var(--color--white);
}
.footer-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    justify-content: flex-start; 
    margin-bottom: 1rem;
}
.footer-mail {
    margin: 0;
    font-weight: 400;
    font-family: 'DM-Sans', sans-serif;
}

.footer-email, .whatsapp-link {
    color: var(--color--blue);
    text-decoration: none;
    font-weight: 400;
    font-family: 'DM-Sans', sans-serif;
}
.whatsapp-icon {
    width: 47px;
    max-width: 48px;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color--white);
    border-radius: 50%;
    padding: 0.5rem;
    margin-left: auto;
}
.whatsapp-icon img {
    max-width: none;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: flex-start;
    width: 40%; 
    margin-bottom: 1rem;
}
.footer-link {
    font-weight: 400;
    font-family: 'DM-Sans', sans-serif;
    color: var(--color--white);
    text-decoration: none;
    font-size: 0.875rem;
}
.footer-copyright {
    display: flex;
    justify-items: flex-end;
    width: 28%; 
    margin-bottom: 1rem;
    font-weight: 400;
    font-family: 'DM-Sans', sans-serif;
    font-size: 0.875rem;
}


@media (min-width: 480px) {
    .cta-button, .secondary-button, .to-parent-button {
        display: flex;
        padding: 9.5px 12.057px;
        border-radius: 35.167px;
        font-size: 8.5px;
        line-height: 8.5px;  
        width: 112px;
        height: 28px;
        gap: 3px;
    }
    .header.scrolled .header-btn-block {
        flex-direction: row;
        justify-content: end;
        margin-left: auto;
        width: 255px;
        padding-top: 7px;
        padding-bottom: 14px;
    }

    .secondary-button, .to-parent-button {
        margin-bottom: 0;
    }
    .cta-button {
        margin-left: 8px;
    }
    .big-btn {
        border-radius: 70px;
        font-size: 18px;
        width: 335px;
        height: 50px;
        padding: 20px 20px;
        gap: 10px;
        margin: 0 auto;
    }
    .hero-content {
        max-width: 460px;
    }
    .faq-question, .faq-answer {
        width: 380px;
    }
    .steps h2 {
        text-align: center;
        max-width: 680px;
        margin: 4rem auto;
        padding-top: 20px;
    }
    /*--------- Register form -----------*/
    .register p {
        max-width: 365px; 
        padding: 14px;
    }
    /*--------- Verify form -----------*/
    .verify-code {
        margin: 60px auto;
    }
    .verify-inputs {
        gap: 10px;
    }
    #verify-form .verify-inputs input {
        width: 50px !important; 
        height: 50px;
        margin: 5px;
    }
}
@media (min-width: 768px) {
    header .container {
        flex-wrap: nowrap;
    }
    header {
        padding-bottom: 4px;
    }
    .logout {
        font-size: 16px;
    }
    section h2 {
        font-size: 1.8rem;
    }
    .hero-content {
        display: grid;
        grid-template-columns: 240px 1fr; 
        grid-template-rows: auto auto; 
        gap: 0.4rem 3.5rem; 
        align-items: start; 
        max-width: 700px; 
        margin: 0 auto; 
        padding: 2rem 4%;
    }
    .demo-container {
        margin: 2rem auto;
    }
    .demo-card {
        padding: 1rem 0;
        border-radius: 1rem;
        margin-bottom: 1rem;
        max-width: 680px;
        margin: 0.5rem auto;
        height: auto;
    }
      
    .demo img {
        max-width: 100%;
        width: 360px;
        height: auto;

    }
    .demo-card h3 {
        font-size: 1.5rem;
        width: 680px;
        height: auto;
        margin-bottom: 1.5rem;
    }
    .demo-card p {
        /* font-size: 1.3rem; */
        font-weight: 400;
        width: 680px;
        height: auto;
        margin: 0.5rem 0;
    }
    .hero__image {
        grid-column: 1 / 2; 
        grid-row: 1 / 3;
        width: 240px;
        height: 340px;
        align-self: center; 
        margin: 0; 
    }

    .hero-title {
        grid-column: 2 / 3; 
        grid-row: 1 / 2; 
        font-size: 2rem;
        width: 385px;
        line-height: 1.2;
        margin: 0;
        padding-top: 20px;
        padding-left: 0;
    }
    .hero-subtitle {
        grid-column: 2 / 3; 
        grid-row: 2 / 3; 
        font-size: 1.6rem;
        line-height: normal;
        width: 375px;
        padding: 20px 20px 20px 0px;
        margin: 0;
    }

    .hero-buttons {
        grid-column: 2 / 3; 
        grid-row: 3 / 4; 
        display: flex;
        flex-direction: column; 
        align-items: flex-start;
        gap: 1rem;
        margin: 0;
        justify-self: flex-start;
    }
    .slide {
        width: 335px; 
        margin-right: 18px; 
    }
    .slide:last-child {
        margin-right: 0;
    }
    .steps {
        padding-left: 0;
        justify-content: center;
        width: 700px;
    }
    .steps h2 {
        max-width: 680px;
    }
    .steps p {
        text-align: center;
        margin-bottom: 20px;
    }
    .steps ul {
        max-width: 700px;
        display: flex;
        flex-direction: row;
        list-style: none;
        padding: 2rem 0;
        margin: 1rem auto;
        gap: 10px;
    }
    .step {
        width: 220px;
        height: 165px;
    }
    .training {
        background-image: url('../images/training_tablet.png');
        width: 680px;
    }
    .training h2 {
        font-size: 35px;
        width: 340px;
        margin-bottom: 3rem;
    }
    .testimonials {
        padding-left: 2rem;
    }
    .testimonials h2 {
        position: absolute;
        font-size: 1.8rem;
        padding-left: 1.5rem;
        top: 4rem;
        max-width: 400px;
        margin-top: 0;
    }
    .testimonial-card {
        margin-right: 10px;
    }
    .testimonials .slider-container {
        padding-top: 8.5rem;
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }
    .testimonials .slider {
        padding-left: 1.5rem;
    }
    .testimonials .slider-nav {
        position: absolute;
        top: -2.8rem;
        right: 3rem;
    }
    .how-to {
        padding-left: 1rem;
    }
    /* -------  Benefits section   ---------- */
    .benefits {
        display: block;
        padding-bottom: 1.5rem;
        width: 680px;
        margin: 1rem auto;
    }
    .benefits-container {
        width: 680px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin: 2rem auto;
        gap: 5rem;
    }
    .benefits-head {
        max-width: 500px;
    }
    .benefits-head h2 {
        margin-bottom: 1.475rem;
    }
    .benefits-head p {
        font-size: 1.3rem;
        font-weight: 400px;
        margin: 1rem 0;
        padding-bottom: 1rem;
        
    }
    .benefits-head img {
        width: 420px;
        height: 649px;
    }
    .benefits-list {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    .benefit {
        display: flex;
        gap: 2rem;
        margin-bottom: 2rem;
    }
    .benefit h3 {
        padding-bottom: 1rem;
        font-size: 1.5rem;
    }
    .benefit .text {
        width: 320px;
        font-size: 1rem;
    }
    /* Стили для десктопной версии FAQ*/
    .faq {
        width: 360px;
    }
    .faq-contact {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        padding-left: 20px;
    }
    .faq-question {
        width: 320px;
    }
    .faq, .contact-help {
        flex: 1;
    }

    .faq h2, .contact-help h2 {
        font-size: 1.5rem;
    }
    .contact-help {
        width: 310px;
    }
    
    .contact-help h2 {
        max-width: 300px;
    }
    
    .contact-help p {
        max-width: 300px;
    }
    .newsletter-form {
        margin-top: 2.5rem;
        padding-right: 20px;
    }
    .newsletter-form input[type="email"] {
        width: 300px;
    }
    
    .newsletter-form .btn-primary {
        width: 300px;
    }
    /*--------- Login form -----------*/
    .register, .login-form, .create-student {
        width: 583px;
    }
    /* ----------------Footer-----------*/

    footer {
        min-height: 200px;
    }

    .footer-logo {
        width: 40%;
    }
    .footer-contact {
        display: flex;
        justify-content: flex-end;
        gap: 1rem;
        width: 34%; 
        max-width: 240px;
        padding-top: 30px;
    }

    .footer-links {
        display: flex;
        flex-direction: row;
        justify-content:right;
        order: 4;
        width: 30%; 
        margin-left: auto;
    }
    .footer-link {
        display: inline-block;
        margin-left: 15px;
    }
    .footer-copyright {
        display: flex;
        justify-content: left;
        width: 37%; 
        order: 3;
    }
}
@media (min-width: 1024px) { 
    .language-container {
        margin-bottom: 10px;
    }
    .language-select {
        min-width: 140px;
    }
    .header-btn-block {
        flex-direction: row;
        padding: 12px;
        justify-content: flex-end;
        align-items: center;
        margin-right: 25px;
    }
    .header.scrolled .header__title {
        display: block;
        height: 1px;
    }
    .header.scrolled .header-btn-block {
        flex-direction: row;
        width: 560px;
    }
    .header-btn-block .cta-button {
        margin: 0;
        order: 2;
        margin-left: 15px;
    }
    header .secondary-button {
        justify-self: flex-end;
        width: 133px;
        margin-left: 10px;
    }
    .logout-container {
        right: 39px;
        top: 49px;
    }
    section h2 {
        font-size: 2rem;
    }
    .logo {
        width: 220px;
        flex-wrap: wrap;
        align-items: center;
        padding-left: 45px;
    }
    .header__title {
        margin-top: 9px;
        font-size: 32px;
        width: 97px;
    }
    .language-dropdown {

        margin-right: 45px;

    }
    .hero-title {
        font-size: 2.4rem;
        line-height: normal;
        padding-top: 40px;
        max-width: 640px;
        width: 480px;
    }
    .hero-subtitle {
        font-size: 1.8rem;
        padding-top: 1rem;
        padding-left: 0;
        padding-bottom: 35px;
        width: 480px;
    }
    .hero-content {
        display: grid;
        grid-template-columns: 360px 1fr; 
        grid-template-rows: auto auto; 
        gap: 0.4rem 3.7rem; 
        align-items: start; 
        max-width: 1020px; 
        margin: 0 auto; 
        padding: 2rem 4%;
    }
    .hero__image {
        display: block;
        margin-right: 35px;
        max-width: 100%; 
    }
    .hero__image img {
        width: auto; 
        height: auto;
    }
    .hero-buttons {
        flex-direction: row; 
        justify-content: flex-start;
        gap: 1rem;
    }
    .big-btn {
        width: 160px;
        height: 41px;
        font-size: 12px;
        margin: 0;
    }

    .slider-container {
        flex-direction: column-reverse; 
        position: relative;
    }
    .slide {
        width: 400px; 
        margin-right: 20px; 
    }
    .slide:last-child {
        margin-right: 0;
    }
    .demo-card {
        flex-direction: row;
        max-width: 1120px;
    }
    .demo-card div {
        width: 480px;
    }
    .demo-card picture {
        width: 100%;
        padding: 1.5rem;
    }
    .demo img {
        width: 406px;
        height: auto;
    }
    .demo-card.odd picture {
        order: 1;
    }
    .demo-card.even div {
        text-align: right;
    }
    .demo-card h3 {
        font-size: 1.6rem;
        width: 470px;
    }
    .demo-card p {
        width: 480px;
    }
    .benefits-container {
        width: 984px;
        gap: 1rem;
    }
    .benefit h3 {
        padding-bottom: 1.3rem;
        font-size: 1.6rem;
    }
    .benefit .text {
        width: 270px;
    }
    .benefits {
        margin-top: 4rem;
        padding-top: 2rem;
        width: 984px;
    }
    .training {
        background-image: url('../images/training-med.png');
        width: 950px;
    }
    .training h2 {
        font-size: 35px;
        width: 540px;
        margin-bottom: 3rem;
    }
    .training .register-button {
        width: 160px;
        height: 45px;
        font-size: 0.9rem;
        line-height: 0.9rem;
    }
    .steps .register-button {
        width: 222px;
        height: 41px;
        font-size: 0.9rem;
        line-height: 0.9rem;
        padding: 12px 12px;
    }
    .steps {
        width: 960px;
    }
    .steps h2 {
        max-width: 800px;
    }
    .steps ul {
        max-width: 960px;
    }
    .step {
        width: 306px;
        height: 248px;
        border-radius: 155px;
    }
    .newsletter-form {
        flex-direction: row; 
        gap: 1rem;
    }
    .contact-help h2 {
        font-size: 1.9rem;
        max-width: 450px;
    }
    .faq {
        max-width: 530px;
    }

    .faq-question {
        font-size: 1.325rem;
        width: 470px;
    }
    .newsletter-form .btn-primary {
        width: 144px;
        min-width: 144px;
        height: 64px;
        font-size: 12px;
    }
    .faq-contact {
        margin: 0 auto;
        justify-content: center;
    }
    footer {
        padding-top: 10px;
    }
    .footer-container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap; 
        /* align-items: center; */
        justify-content: space-between;
        padding: 1rem 4%;
        min-width: 1020px;
        margin: 0 auto;
    }
    .footer-container div {
        min-width: 200px;
    }
    .footer-logo {
        order: 1;
        display: flex;
        min-width: 400px;
        align-self: flex-start;
    }
    .footer-contact  {
        display: flex;
        order: 2;
        /* min-width: 400px; */
        margin-left: 25px;
        align-self: flex-end;
    }
    .footer-mail, .footer-email {
        display: inline-block;
    }
    .footer-links {
        display: flex;
        order: 4;
        min-width: 250px;
        margin-left: auto;
        justify-self: flex-end;
        text-align: right;
    }
    .footer-link {
        display: inline-block;
        padding-left: 15px;
        margin-left: auto;
    }
    .footer-copyright  {
        order: 3;
        min-width: 400px;
        justify-content: flex-start;
    }
}   

@media (min-width: 1360px) {
    .language-container {
        margin-right: 25px;
    }
    .header-btn-block {
        margin-right: 53px;
    }
    .logo {
        width: 270px;
        padding-left: 70px;
    }
    .header__title {
        margin-top: 10px;
    }
    .logout-container {
        right: 75px;
    }
    section h2 {
        font-size: 2.3rem;
    }
    .hero-content {
        gap: 1.5rem 4.5rem; 
        margin: 0 auto;
        max-width: 1200px; 
    } 
    .footer-container {
        min-width: 1320px;
    }
    .hero-title {
        font-size: 2.8rem;
        max-width: 760px;
        width: 650px;
    }
    .hero-subtitle {
        font-size: 2.05rem;
        width: 650px;
        max-width: 650px;
    }
    .hero__image {
        margin-right: 55px;
    }
    .demo img {
        width: 446px;
        height: auto;
    }
    .demo-card {
        max-width: 1320px;
    }
    .demo-card div {
        display: flex;
        flex-direction: column;
        width: 670px;
    }
    .demo-card p {
        padding-left: 0;
        display: flex;
        width: 633px;
    }
    .demo-card h3 {
        font-size: 2.265rem;
        padding-left: 0;
        width: 675px;
    }
    .demo-card picture {
        padding: 1.5rem 0.8rem;
    }
    .even div {
        display: flex;
        justify-content: end;
    }
    .even p {
        margin-left: auto;
    }

    .benefits-container {
        width: 1200px;
        gap: 6.5rem;
    }
    .benefits {
        width: 1200px;
    }
    /* */
    .benefits-head h2 {
        font-size: 2.3rem;
    }
    .benefits-head p {
        font-size: 1.3rem;
        margin: 1rem 0;
        padding-bottom: 1rem;
        
    }
    .benefit h3 {
        padding-bottom: 1.45rem;
        font-size: 1.8rem;
    }
    .benefit .text {
        width: 450px;
        font-size: 1rem;
    }
    .training {
        background-image: url('../images/training-1360.png');
        width: 1200px;
    }

    .steps {
        width: 1200px;
    }
    .steps h2 {
        max-width: 900px;
    }
    .steps-text {
        padding-bottom: 2rem;
    }
    .steps ul {
        max-width: 1200px;
        padding-bottom: 5rem;
    }
    .step {
        width: 383px;
        height: 310px;
    }
    .testimonials  {
        padding-left: 3.5rem;
    }

    .faq {
        max-width: 820px;
        padding: 2rem 4rem;
    }
    .faq-contact{
        justify-content: center;
        margin: 0 auto;

    }
    .faq-question {
        font-size: 1.325rem;
        width: 500px;
    }
    .contact-help {
        width: 670px;
        max-width: 600px;
    }
    .contact-help h2 {
        max-width: 600px;
    }
    .contact-help p {

        max-width: 500px;
    }
    .footer-logo {
        width: 50%;
    }
}
@media (min-width: 1440px)  {
    .logo {
        width: 270px;
        padding-left: 90px;
        margin-left: 30px;
    }
    .language-container {
        margin-right: 60px;
    }
    .header-btn-block {
        margin-right: 95px;
    }
    .hero-content {
        max-width: 1160px;
        padding-top: 4rem;
    }
    .hero-title {
        max-width: 660px;
    }
    .logout-container {
        right: 105px;
    }
    .benefits-container {
        gap: 7rem;
    }
    .testimonials  {
        padding-left: 5.5rem;
    }
    .slide {
        width: 500px;
        margin-right: 25px;
    }
    .slide:last-child {
        margin-right: 0;
    }
    .training {
        
        background-image: url('../images/training-big.png');
    }
}
@media (min-width: 1640px)  {
    .testimonials h2 {
        padding-left: 4.5rem;
    }
}

/* Оставляем ширину и стили input'ов, но добавляем padding для глазика */
form input[type="password"] {
    padding-right: 45px; /* Чтобы текст не наезжал на глазик */
}

/* Обёртка для поля пароля */
.password-container {
    position: relative;
    width: 100%;
    max-width: 382px; /* Делаем ширину такой же, как у input */
}

/* Глазик фиксируем внутри input */
.toggle-password {
    position: absolute;
    right: 15px; /* Отступ от правого края */
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    user-select: none;
    opacity: 0.7;
}

.toggle-password:hover {
    opacity: 1;
}

