/* Глобальные стили и сброс */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0A84FF; /* Основной синий для акцентов */
    --secondary: #FFD700; /* Золотистый акцент */
    --text-dark: #2D2D2D; /* Темный текст */
    --text-light: #FFFFFF; /* Светлый текст */
    --background: #FFFFFF; /* Основной фон */
    --light-bg: #F0F4F8; /* Светлый фон для секций */
    --border: #E0E0E0; /* Границы и разделители */
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--background);
    font-size: 16px;
    line-height: 1.5;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Хедер */
.header {
    background-color: var(--light-bg);
    padding: 20px 0;
    position: relative;
}

.header__logo {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.header__nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.header__nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s ease;
}

.header__nav-link:hover {
    color: var(--primary);
}

/* Hero секция */
.hero {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.hero__content {
    text-align: center;
}

.hero__title {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: 18px;
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 30px;
}

.hero__cta {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary);
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.hero__cta:hover {
    background-color: #005BC7;
    transform: translateY(-2px);
}

.hero__image img {
    width: 100%;
    max-width: 500px;
    margin: 20px auto 0;
    display: block;
}

/* Футер */
.footer {
    background-color: var(--light-bg);
    padding: 40px 0;
    margin-top: 40px;
}

.footer__column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer__logo {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.footer__nav-list,
.footer__legal-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__nav-link,
.footer__legal-link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer__nav-link:hover,
.footer__legal-link:hover {
    color: var(--primary);
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.footer__contact-item i {
    color: var(--primary);
    width: 20px;
    height: 20px;
}

/* Адаптивность */
@media (min-width: 768px) {
    .header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .header__nav-list {
        flex-direction: row;
        gap: 30px;
        margin-top: 0;
    }

    .hero .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 40px;
    }

    .hero__content {
        text-align: left;
    }

    .hero__image img {
        margin: 0;
    }

    .footer .container {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }
}
/* Добавить в конец style.css */
/* Courses секция */
.courses {
    padding: 60px 0;
}

.courses__title {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.courses__subtitle {
    font-size: 16px;
    text-align: center;
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 40px;
}

.courses__grid {
    display: grid;
    gap: 20px;
}

.courses__card {
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.courses__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.courses__card-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.courses__card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.courses__card-description {
    font-size: 14px;
    color: var(--text-dark);
    opacity: 0.7;
    margin-bottom: 20px;
}

.courses__card-cta {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary);
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.courses__card-cta:hover {
    background-color: #005BC7;
}

@media (min-width: 768px) {
    .courses__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .courses__title {
        font-size: 32px;
    }

    .courses__subtitle {
        font-size: 18px;
    }
}
/* Добавить в конец style.css */
.teachers {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.teachers__title {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.teachers__subtitle {
    font-size: 16px;
    text-align: center;
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 40px;
}

.teachers__grid {
    display: grid;
    gap: 20px;
}

.teachers__card {
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.teachers__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.teachers__card-image {
    width: 100%;
    max-width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
}

.teachers__card-name {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.teachers__card-role {
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 10px;
}

.teachers__card-description {
    font-size: 14px;
    color: var(--text-dark);
    opacity: 0.7;
}

.teachers__cta {
    display: block;
    width: fit-content;
    margin: 40px auto 0;
    padding: 12px 24px;
    background-color: var(--primary);
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.teachers__cta:hover {
    background-color: #005BC7;
    transform: translateY(-2px);
}

@media (min-width: 768px) {
    .teachers__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .teachers__title {
        font-size: 32px;
    }

    .teachers__subtitle {
        font-size: 18px;
    }
}
/* Добавить в конец style.css */
.reviews {
    padding: 60px 0;
}

.reviews__title {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.reviews__subtitle {
    font-size: 16px;
    text-align: center;
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 40px;
}

.reviews__slider {
    display: grid;
    gap: 20px;
    overflow: hidden;
}

.reviews__slide {
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.5s ease;
}

.reviews__slide-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 15px;
}

.reviews__slide-text {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.reviews__slide-author {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.reviews__nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.reviews__nav-btn {
    background: none;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.reviews__nav-btn:hover {
    background-color: var(--primary);
}

.reviews__nav-btn:hover i {
    color: var(--text-light);
}

.reviews__nav-btn i {
    color: var(--primary);
    width: 24px;
    height: 24px;
}

@media (min-width: 768px) {
    .reviews__slider {
        grid-template-columns: repeat(3, 1fr);
    }

    .reviews__title {
        font-size: 32px;
    }

    .reviews__subtitle {
        font-size: 18px;
    }
}
/* Добавить в конец style.css */
.faq {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.faq__title {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.faq__subtitle {
    font-size: 16px;
    text-align: center;
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 40px;
}

.faq__list {
    display: grid;
    gap: 20px;
}

.faq__item {
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.faq__item:hover {
    border-color: var(--primary);
}

.faq__item-question {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.faq__item-answer {
    font-size: 14px;
    color: var(--text-dark);
    opacity: 0.7;
}

.faq__cta {
    display: block;
    width: fit-content;
    margin: 40px auto 0;
    padding: 12px 24px;
    background-color: var(--primary);
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.faq__cta:hover {
    background-color: #005BC7;
    transform: translateY(-2px);
}

@media (min-width: 768px) {
    .faq__list {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq__title {
        font-size: 32px;
    }

    .faq__subtitle {
        font-size: 18px;
    }
}
/* Добавить в style.css после стилей для .faq__item-answer */
.faq__item-answer {
    font-size: 14px;
    color: var(--text-dark);
    opacity: 0.7;
    display: none;
}

.faq__item--active .faq__item-answer {
    display: block;
}
/* Добавить в конец style.css */
.contact {
    padding: 60px 0;
}

.contact__title {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.contact__subtitle {
    font-size: 16px;
    text-align: center;
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 40px;
}

.contact__form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact__form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact__form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.contact__form-input {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.contact__form-input:focus {
    outline: none;
    border-color: var(--primary);
}

.contact__form-group--captcha input {
    max-width: 100px;
}

.contact__form-group--checkbox {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.contact__form-checkbox-label {
    font-size: 12px;
    color: var(--text-dark);
}

.contact__form-checkbox-label a {
    color: var(--primary);
    text-decoration: none;
}

.contact__form-checkbox-label a:hover {
    text-decoration: underline;
}

.contact__form-submit {
    padding: 12px 24px;
    background-color: var(--primary);
    color: var(--text-light);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact__form-submit:hover {
    background-color: #005BC7;
    transform: translateY(-2px);
}

.contact__message {
    text-align: center;
    font-size: 14px;
    color: var(--primary);
    margin-top: 20px;
}

@media (min-width: 768px) {
    .contact__title {
        font-size: 32px;
    }

    .contact__subtitle {
        font-size: 18px;
    }
}

/* Добавить в конец style.css */
/* Cookie Pop-up */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 80%;
    z-index: 1000;
    display: none;
}

.cookie-popup__content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    text-align: center;
}

.cookie-popup__text {
    font-size: 14px;
    color: var(--text-dark);
}

.cookie-popup__text a {
    color: var(--primary);
    text-decoration: none;
}

.cookie-popup__text a:hover {
    text-decoration: underline;
}

.cookie-popup__btn {
    padding: 10px 20px;
    background-color: var(--primary);
    color: var(--text-light);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cookie-popup__btn:hover {
    background-color: #005BC7;
}

@media (min-width: 768px) {
    .cookie-popup {
        flex-direction: row;
        gap: 20px;
        text-align: left;
        max-width: 600px;
    }

    .cookie-popup__content {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Стили для страниц политик */
.pages {
    padding: 60px 0;
}

.pages .container {
    max-width: 800px;
}

.pages h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
}

.pages p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.pages h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 15px;
}

.pages ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.pages li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.pages li strong {
    font-weight: 600;
}

.pages a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.pages a:hover {
    color: #005BC7;
    text-decoration: underline;
}