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

:root {
    --primary: #4A90E2; /* Синий для инноваций и технологий */
    --accent: #F5A623; /* Оранжевый для энергии и креативности */
    --text: #2C3E50; /* Темно-синий для текста */
    --background: #FFFFFF; /* Белый фон */
    --secondary-bg: #F8F9FA; /* Светло-серый для второстепенных блоков */
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Хедер */
.header {
    background-color: var(--secondary-bg);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

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

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__nav-list {
    display: flex;
    list-style: none;
    gap: 20px;
}

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

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

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

.hero__content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--text);
    opacity: 0;
    transform: translateY(20px);
}

.hero__subtitle {
    font-size: 18px;
    margin: 20px 0;
    max-width: 500px;
    opacity: 0;
    transform: translateY(20px);
}

.hero__cta {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--accent);
    color: var(--background);
    text-decoration: none;
    font-weight: 500;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.hero__cta:hover {
    background-color: #E6951A;
    transform: scale(1.05);
}

.hero__image {
    max-width: 400px;
    width: 100%;
    opacity: 0;
    transform: translateX(20px);
}

/* Courses секция */
.courses {
    padding: 60px 0;
}

.courses__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.courses__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

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

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

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

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

.courses__card-description {
    font-size: 16px;
    margin-bottom: 15px;
}

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

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

/* Materials секция */
.materials {
    padding: 60px 0;
    background-color: var(--background);
}

.materials__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.materials__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.materials__item {
    background-color: var(--secondary-bg);
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.materials__item-icon {
    width: 40px;
    height: 40px;
    color: var(--primary);
    margin-bottom: 15px;
}

.materials__item-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.materials__item-description {
    font-size: 16px;
    margin-bottom: 15px;
}

.materials__item-cta {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--accent);
    color: var(--background);
    text-decoration: none;
    font-weight: 500;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.materials__item-cta:hover {
    background-color: #E6951A;
}

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

.experts__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.experts__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

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

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

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

.experts__card-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

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

.experts__card-description {
    font-size: 16px;
}

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

.footer .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

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

.footer__nav-list,
.footer__legal-list {
    list-style: none;
}

.footer__nav-item,
.footer__legal-item {
    margin-bottom: 10px;
}

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

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

.footer__contact-item {
    margin-bottom: 10px;
}

/* Адаптивность (mobile-first) */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .header__nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .hero__content {
        flex-direction: column;
        text-align: center;
    }

    .hero__image {
        max-width: 300px;
    }

    .footer .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 28px;
    }

    .hero__subtitle {
        font-size: 16px;
    }

    .footer .container {
        grid-template-columns: 1fr;
    }
}
/* Community секция */
.community {
    padding: 60px 0;
    background-color: var(--background);
    text-align: center;
}

.community__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.community__description {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 20px;
}

.community__cta {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--accent);
    color: var(--background);
    text-decoration: none;
    font-weight: 500;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.community__cta:hover {
    background-color: #E6951A;
    transform: scale(1.05);
}

/* Адаптивность */
@media (max-width: 768px) {
    .community__title {
        font-size: 28px;
    }

    .community__description {
        font-size: 16px;
    }
}
/* Contact секция */
.contact {
    padding: 60px 0;
    background-color: var(--secondary-bg);
}

.contact__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.contact__form {
    max-width: 500px;
    margin: 0 auto;
}

.contact__form-group {
    margin-bottom: 20px;
}

.contact__form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.contact__form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--text);
    border-radius: 5px;
    font-size: 16px;
}

.contact__form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 5px rgba(74, 144, 226, 0.3);
}

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

.contact__form-checkbox {
    width: 20px;
    height: 20px;
}

.contact__form-submit {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: var(--accent);
    color: var(--background);
    border: none;
    border-radius: 5px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact__form-submit:hover {
    background-color: #E6951A;
    transform: scale(1.02);
}

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

/* Адаптивность */
@media (max-width: 768px) {
    .contact__title {
        font-size: 28px;
    }

    .contact__form {
        max-width: 100%;
    }
}

/* Cookie Pop-up */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: var(--secondary-bg);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    z-index: 100;
    opacity: 0;
    transform: translateY(20px);
}

.cookie-popup__content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-popup__text {
    font-size: 14px;
}

.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(--accent);
    color: var(--background);
    border: none;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

/* Стили для страниц политик */
.pages .container {
    max-width: 800px;
    padding: 40px 15px;
}

.pages h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.pages h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin: 20px 0 10px;
}

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

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

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

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

.pages a:hover {
    text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 768px) {
    .cookie-popup {
        max-width: 90%;
        left: 5%;
    }

    .pages h1 {
        font-size: 24px;
    }

    .pages h2 {
        font-size: 20px;
    }
}