body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f9f9f9;
}



.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    
}        /* ==== Cookie banner FocusOnStudy ==== */
        .cookie-banner {
            position: fixed;
            left: 1.5rem;
            right: 1.5rem;
            bottom: 1.5rem;
            margin: 0 auto;
            max-width: 1100px;
            background: #111827; /* темный фон */
            color: #F9FAFB;
            padding: 1rem 1.25rem;
            border-radius: 12px;
            box-shadow: 0 12px 30px rgba(15, 23, 42, 0.7);
            font-size: 0.9rem;
            z-index: 9999;
            display: none; /* по умолчанию скрыт */
        }

        .cookie-banner.show {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .cookie-banner__text {
            max-width: 720px;
            line-height: 1.5;
        }

        .cookie-banner__title {
            font-weight: 600;
            margin-bottom: 0.25rem;
        }

        .cookie-banner__more {
            color: #93C5FD;
            text-decoration: underline;
        }

        .cookie-banner__more:hover {
            color: #BFDBFE;
        }

        .cookie-banner__buttons {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
            align-items: center;
        }

        .cookie-banner__btn {
            border-radius: 999px;
            padding: 0.5rem 1rem;
            border: 1px solid transparent;
            cursor: pointer;
            font-size: 0.85rem;
            font-weight: 500;
            transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
        }

        .cookie-banner__btn:active {
            transform: scale(0.97);
        }

        .cookie-banner__btn--secondary {
            background: transparent;
            color: #E5E7EB;
            border-color: #4B5563;
        }

        .cookie-banner__btn--secondary:hover {
            background: #1F2937;
        }

        .cookie-banner__btn--primary {
            background: #3B82F6;
            color: #F9FAFB;
            border-color: #2563EB;
        }

        .cookie-banner__btn--primary:hover {
            background: #2563EB;
        }

        @media (max-width: 640px) {
            .cookie-banner {
                left: 1rem;
                right: 1rem;
                bottom: 1rem;
                padding: 0.9rem 1rem;
            }

            .cookie-banner__buttons {
                width: 100%;
                justify-content: flex-start;
            }

            .cookie-banner__btn {
                width: 100%;
                text-align: center;
            }
        }

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 0;
    background-color: #fff;
}

.hero-content {
    max-width: 50%;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #333;
}

.hero-content p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}

.hero-buttons .btn {
    padding: 15px 25px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    margin-right: 15px;
}

.get-started-btn {
    background-color: #6a1b9a;
    color: #fff;
}

.learn-more-btn {
    background-color: #fff;
    color: #6a1b9a;
    border: 2px solid #6a1b9a;
}

.get-started-btn:hover,
.learn-more-btn:hover {
    opacity: 0.9;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
    border-top: 5px solid #ff5722;
}
/* Trusted Companies Section */
.trusted-companies {
    padding: 50px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.trusted-text {
    font-size: 1.5rem;
    color: #555;
    margin-bottom: 30px;
}

.logos {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}


/* Categories Section */
.categories-section {
    padding: 50px 0;
    background-color: #fff;
    text-align: center;
}

.categories-header {
    margin-bottom: 30px;
}

.courses-details {
    font-size: 1rem;
    color: #ff5722;
    font-weight: 700;
    margin-bottom: 10px;
}

.categories-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
}

.categories-description {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
}

.all-categories-btn {
    padding: 10px 20px;
    background-color: #6a1b9a;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
}
.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.categories-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.category-item {
    width: calc(30% - 20px);
    text-align: center;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
    border-top: 5px solid #ff5722;
}

.category-item:hover {
    transform: scale(1.05);
}

.category-item img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 10px;
}
.logo-item {
    width: 20%;
}
.logo-item img {
    width: 100%;
}
.category-item p {
    font-size: 1.6rem;
    color: #333;
    font-weight: 600;
}
button a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
}
@media (max-width: 768px) {
    .category-item {
        width: calc(50% - 20px);
    }
    .hero-section .container {
        flex-direction: column;
    }
    .category-item, .advantage-item {
        padding: 20px 0px!important;
    }
    .hero-content, .hero-image {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .category-item {
        width: 100%;
    }
}
/* About Section */
.about-section {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.about-text {
    flex: 1;
    text-align: left;
}

.about-label {
    font-size: 1rem;
    color: #ff5722;
    font-weight: 700;
    margin-bottom: 10px;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.about-description {
    font-size: 1rem;
    color: #555;
    margin-bottom: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-item h3 {
    font-size: 1.2rem;
    color: #333;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 1rem;
    color: #555;
}

.learn-more-btn {
    padding: 10px 20px;
    background-color: #6a1b9a;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .about-text {
        text-align: center;
    }
}


.logo img {
    width: 120px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

.nav-buttons .register-btn {
    padding: 10px 20px;
    background-color: #6a1b9a;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.mobile-menu .mobile-nav-links {
    list-style: none;
    padding: 0;
}

.mobile-menu .mobile-nav-links li {
    margin-bottom: 20px;
}

.mobile-menu .mobile-nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Футер */
.footer {
    background-color: #6a1b9a;
    color: #fff;
    padding: 40px 0;
    text-align: left;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .about-content,
    .categories-grid,
    .advantages-grid,
    .gallery-grid,
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .category-item,
    .advantage-item,
    .gallery-item,
    .footer-column {
        width: 100%;
    }
}

@media (max-width: 768px) {
    
    .about-content,
    .categories-grid,
    .advantages-grid,
    .gallery-grid,
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .category-item,
    .advantage-item,
    .gallery-item,
    .footer-column {
        width: 100%;
    }
}
/* Навигация */
.navbar {
    background-color: rgba(255, 255, 255, 0.9); /* Полупрозрачный фон */
    padding: 10px 0px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed; /* Фиксируем меню */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Устанавливаем высокий z-index, чтобы меню было поверх всех элементов */
}

.navbar.scrolled {
    background-color: #fff; /* Меняем фон на непрозрачный при прокрутке */
    padding: 10px 0px; /* Уменьшаем отступы для компактности */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Усиленный box-shadow для акцента */
}

.logo img {
    width: 40px;
}
.logo {
    display: flex;
    align-items: center;
    font-size: 20px;
    text-decoration: none;
    font-weight: 900;
    color: #e64a19;
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
} 
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    position: relative;
}

.nav-buttons .register-btn {
    padding: 10px 20px;
    background-color: #6a1b9a;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}



/* Мобильное меню */
.mobile-menu {
    display: none;
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    padding: 80px 20px; /* Добавлен отступ сверху, чтобы элементы не скрывались под фиксированным меню */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
/* Стили для кнопки гамбургера */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    position: relative;
    z-index: 1001; /* Поверх мобильного меню */
}

.mobile-menu .mobile-nav-links {
    list-style: none;
    padding: 0;
}

.mobile-menu .mobile-nav-links li {
    margin-bottom: 20px;
}

.mobile-menu .mobile-nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .achievement-item, .review-item {
        padding: 0!important;
    }
    .hamburger-menu {
        display: block;
    }

    .mobile-menu.show {
        display: block;
    }
}
/* Мобильное меню */
.mobile-menu {
    display: none; /* По умолчанию скрыто */
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    padding: 80px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.mobile-menu.show {
    display: block;
}
.terms-content, .cookie-policy-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 7% 5%;
}
.privacy-policy-content {
    margin-top: 100px;
}
/**** Основной контент ****/
.faq-content {
    margin-top: 100px;
    padding-bottom: 40px;
}

.faq-section h2 {
    margin-top: 20px;
    color: #6a1b9a;
}

.contact-form-section {
    margin-top: 40px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    border-left: 5px solid #ff5722; /* Добавлен акцентный цвет */
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form .form-group label {
    margin-bottom: 5px;
    font-weight: 600;
    color: #ff5722; /* Добавлен акцентный цвет для меток формы */
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form .submit-btn {
    padding: 10px 20px;
    background-color: #ff5722; /* Добавлен акцентный цвет */
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

.contact-form .submit-btn:hover {
    background-color: #e64a19; /* Темнее нажатый вариант акцентного цвета */
}
/**** Основной контент ****/
.about-us-content {
    margin-top: 100px;
    padding-bottom: 40px;
}

.about-us-content h1, .about-us-content h2 {
    color: #6a1b9a;
}

.about-us-content p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #555;
}

/**** Команда ****/
.team-section {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
    background: #fff;
    padding: 20px;
}

.team-member {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: calc(30% - 20px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: scale(1.05);
}

.team-member img {
    width: 200px;
    height: auto;
    border-radius: 50%;
    margin-bottom: 15px;
}

.team-member h3 {
    color: #ff5722;
    margin-bottom: 10px;
}

.team-member p {
    color: #555;
}

/**** Партнеры ****/
.partners-section {
    margin-top: 50px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    text-align: center;
}

.partners-section h2 {
    color: #6a1b9a;
    margin-bottom: 20px;
}

.partners-logos {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.partner-logo {
    width: calc(20% - 20px);
    padding: 10px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.05);
}

.partner-logo img {
    max-width: 100%;
    height: auto;
}

/**** Мобильная версия ****/
@media (max-width: 768px) {
    .team-section, .partners-logos {
        flex-direction: column;
        align-items: center;
    }
    .service-item, .team-member {
        padding: 20px 0px!important;
    }
    .team-member, .partner-logo {
        width: 100%;
    }
}
/**** Основной контент ****/
.services-content {
    margin-top: 100px;
    padding-bottom: 40px;
}

.services-content h1 {
    color: #6a1b9a;
    text-align: center;
    margin-bottom: 30px;
}

.services-content p {
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: center;
    color: #555;
}

/**** Пакеты услуг ****/
.services-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

/* Базовый пакет */
.service-item:nth-child(1) {
    background-color: #ffecb3; /* Светло-оранжевый */
    border-top: 5px solid #ff5722; /* Основной акцентный цвет */
}

/* Продвинутый пакет */
.service-item:nth-child(2) {
    background-color: #e1bee7; /* Светло-фиолетовый */
    border-top: 5px solid #6a1b9a; /* Основной акцентный цвет */
}

/* Премиум пакет */
.service-item:nth-child(3) {
    background-color: #b3e5fc; /* Светло-голубой */
    border-top: 5px solid #0288d1; /* Дополнительный акцентный цвет */
}

.service-item {
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    width: calc(30% - 20px);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: scale(1.05);
}

.service-item img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.service-item h2 {
    margin-bottom: 15px;
    color: #333; /* Более нейтральный цвет для заголовков пакетов */
}

.service-item p {
    color: #555;
    margin-bottom: 20px;
}

.start-btn {
    padding: 10px 20px;
    background-color: #6a1b9a;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.start-btn:hover {
    background-color: #ff5722;
}

/**** Мобильная версия ****/
@media (max-width: 768px) {
    .services-section {
        flex-direction: column;
    }

    .service-item {
        width: 100%;
    }
}
/**** Основной контент ****/
.reviews-content {
    margin-top: 100px;
    padding-bottom: 40px;
}

.reviews-content h1 {
    color: #6a1b9a;
    text-align: center;
    margin-bottom: 30px;
}

.reviews-content p {
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: center;
    color: #555;
}

/**** Отзывы ****/
.reviews-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

/* Отзывы с верхней границей */
.review-item {
    border-top: 5px solid #6a1b9a; /* Основной акцентный цвет для верхней границы */
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    width: calc(30% - 20px);
    transition: transform 0.3s ease;
    background-color: transparent; /* Убрано фоновое выделение */
}

.review-item:hover {
    transform: scale(1.05);
}

.review-item img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.review-item blockquote {
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
}

.review-item h3 {
    color: #333; /* Более нейтральный цвет для имен */
}

/**** Блок "Наши достижения" ****/
.achievements-content {
    margin-top: 50px;
    padding-bottom: 40px;
    text-align: center;
}

.achievements-content h2 {
    color: #6a1b9a;
    margin-bottom: 30px;
}

.achievements-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.achievement-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    width: calc(19% - 20px);
    transition: transform 0.3s ease;
}

.achievement-item:hover {
    transform: scale(1.05);
}

.achievement-item h3 {
    font-size: 3rem;
    color: #ff5722; /* Основной акцентный цвет */
    margin-bottom: 15px;
}

.achievement-item p {
    color: #555;
    font-size: 1.1rem;
}

/**** Мобильная версия ****/
@media (max-width: 768px) {
    .reviews-section,
    .achievements-section {
        flex-direction: column;
        align-items: center;
    }

    .review-item,
    .achievement-item {
        width: 100%;
    }
}
/**** Контент страницы контактов ****/
.contacts-content {
    margin-top: 100px;
    padding-bottom: 40px;
}

.contacts-content h1,
.contacts-content h2 {
    color: #6a1b9a;
    text-align: center;
    margin-bottom: 30px;
}

.contacts-content p {
    text-align: center;
    margin-bottom: 20px;
    color: #555;
}

/**** Карта Google ****/
.map-container {
    margin-bottom: 40px;
}

/**** Контактная форма ****/
.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    color: #333;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.submit-btn {
    padding: 10px 20px;
    background-color: #6a1b9a;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #ff5722;
}

/**** Мобильная версия ****/
@media (max-width: 768px) {
    .contact-form-container,
    .contact-info {
        text-align: center;
    }

    .form-group input,
    .form-group textarea {
        width: 95%;
    }
}
/**** Блок "Наши Преимущества" ****/
.advantages-section {
    padding: 50px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.advantages-section h2 {
    color: #6a1b9a;
    margin-bottom: 30px;
}

.advantages-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.advantage-item {
    background-color: #ffffff;
    border: 2px solid #ff5722;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: calc(33.333% - 20px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.advantage-item h3 {
    color: #6a1b9a;
    margin-bottom: 10px;
}

.advantage-item p {
    color: #555;
    line-height: 1.6;
}

/**** Блок "Галерея" ****/
.gallery-section {
    padding: 50px 0;
    background-color: #ffffff;
    text-align: center;
}

.gallery-section h2 {
    color: #6a1b9a;
    margin-bottom: 30px;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.gallery-item {
    background-color: #f9f9f9;
    border: 2px solid #6a1b9a;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: calc(25% - 20px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/**** Мобильная версия ****/
@media (max-width: 768px) {
    .advantages-grid, .gallery-grid {
        flex-direction: column;
        gap: 15px;
    }

    .advantage-item, .gallery-item {
        width: 100%;
    }
}
/**** Блок "Спасибо" ****/
.thank-you-content {
    text-align: center;
    padding: 100px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-content h1 {
    color: #6a1b9a;
    font-size: 3rem;
    margin-bottom: 20px;
}

.thank-you-content p {
    color: #555;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.back-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #6a1b9a;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.back-btn:hover {
    background-color: #ff5722;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f5f7fb;
    color: #1d2433;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 0;
    background-color: #fff;
}

.hero-content {
    max-width: 50%;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #1b3b5f;
}

.hero-content p {
    font-size: 1.2rem;
    color: #4b5565;
    margin-bottom: 30px;
}

.hero-buttons .btn {
    padding: 15px 25px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    margin-right: 15px;
}

.get-started-btn {
    background-color: #1b3b5f;
    color: #fff;
}

.learn-more-btn {
    background-color: #fff;
    color: #1b3b5f;
    border: 2px solid #1b3b5f;
}

.get-started-btn:hover,
.learn-more-btn:hover {
    opacity: 0.9;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
    border-top: 5px solid #f4b41a;
}

/* Trusted Companies Section */
.trusted-companies {
    padding: 50px 0;
    background-color: #f5f7fb;
    text-align: center;
}

.trusted-text {
    font-size: 1.5rem;
    color: #4b5565;
    margin-bottom: 30px;
}

.logos {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

/* Categories Section */
.categories-section {
    padding: 50px 0;
    background-color: #fff;
    text-align: center;
}

.categories-header {
    margin-bottom: 30px;
}

.courses-details {
    font-size: 1rem;
    color: #f4b41a;
    font-weight: 700;
    margin-bottom: 10px;
}

.categories-header h2 {
    font-size: 2.5rem;
    color: #1b3b5f;
    margin-bottom: 10px;
}

.categories-description {
    font-size: 1rem;
    color: #4b5565;
    margin-bottom: 20px;
}

.all-categories-btn {
    padding: 10px 20px;
    background-color: #1b3b5f;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.categories-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.category-item {
    width: calc(30% - 20px);
    text-align: center;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
    border-top: 5px solid #f4b41a;
}

.category-item:hover {
    transform: scale(1.05);
}

.category-item img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 10px;
}

.logo-item {
    width: 20%;
}

.logo-item img {
    width: 100%;
}

.category-item p {
    font-size: 1.6rem;
    color: #1b3b5f;
    font-weight: 600;
}

button a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .category-item {
        width: calc(50% - 20px);
    }
    .hero-section .container {
        flex-direction: column;
    }
    .category-item, .advantage-item {
        padding: 20px 0px!important;
    }
    .hero-content, .hero-image {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .category-item {
        width: 100%;
    }
}

/* About Section */
.about-section {
    padding: 50px 0;
    background-color: #f5f7fb;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.about-text {
    flex: 1;
    text-align: left;
}

.about-label {
    font-size: 1rem;
    color: #f4b41a;
    font-weight: 700;
    margin-bottom: 10px;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #1b3b5f;
    margin-bottom: 20px;
}

.about-description {
    font-size: 1rem;
    color: #4b5565;
    margin-bottom: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-item h3 {
    font-size: 1.2rem;
    color: #1b3b5f;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 1rem;
    color: #4b5565;
}

.learn-more-btn {
    padding: 10px 20px;
    background-color: #1b3b5f;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .about-text {
        text-align: center;
    }
}

.logo img {
    width: 40px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #1b3b5f;
    font-weight: 600;
}

.nav-buttons .register-btn {
    padding: 10px 20px;
    background-color: #1b3b5f;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.mobile-menu .mobile-nav-links {
    list-style: none;
    padding: 0;
}

.mobile-menu .mobile-nav-links li {
    margin-bottom: 20px;
}

.mobile-menu .mobile-nav-links a {
    text-decoration: none;
    color: #1b3b5f;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Футер */
.footer {
    background-color: #1b3b5f;
    color: #fff;
    padding: 40px 0;
    text-align: left;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .about-content,
    .categories-grid,
    .advantages-grid,
    .gallery-grid,
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .category-item,
    .advantage-item,
    .gallery-item,
    .footer-column {
        width: 100%;
    }
}

/* Навигация */
.navbar {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px 0px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.navbar.scrolled {
    background-color: #fff;
    padding: 10px 0px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 20px;
    text-decoration: none;
    font-weight: 900;
    color: #1b3b5f;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
} 

.nav-buttons .register-btn {
    padding: 10px 20px;
    background-color: #1b3b5f;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Мобильное меню */
.mobile-menu {
    display: none;
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    padding: 80px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.mobile-menu .mobile-nav-links {
    list-style: none;
    padding: 0;
}

.mobile-menu .mobile-nav-links li {
    margin-bottom: 20px;
}

.mobile-menu .mobile-nav-links a {
    text-decoration: none;
    color: #1b3b5f;
    font-size: 1.5rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .achievement-item, .review-item {
        padding: 0!important;
    }
    .hamburger-menu {
        display: block;
    }

    .mobile-menu.show {
        display: block;
    }
}

.mobile-menu {
    display: none;
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    padding: 80px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.mobile-menu.show {
    display: block;
}

.terms-content, .cookie-policy-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 7% 5%;
}

.privacy-policy-content {
    margin-top: 100px;
}

/**** Основной контент FAQ ****/
.faq-content {
    margin-top: 100px;
    padding-bottom: 40px;
}

.faq-section h2 {
    margin-top: 20px;
    color: #1b3b5f;
}

.contact-form-section {
    margin-top: 40px;
    background-color: #f5f7fb;
    padding: 20px;
    border-radius: 10px;
    border-left: 5px solid #f4b41a;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form .form-group label {
    margin-bottom: 5px;
    font-weight: 600;
    color: #1b3b5f;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form .submit-btn {
    padding: 10px 20px;
    background-color: #f4b41a;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

.contact-form .submit-btn:hover {
    background-color: #d9980f;
}

/**** About page ****/
.about-us-content {
    margin-top: 100px;
    padding-bottom: 40px;
}

.about-us-content h1, .about-us-content h2 {
    color: #1b3b5f;
}

.about-us-content p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #4b5565;
}

/**** Команда ****/
.team-section {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
    background: #fff;
    padding: 20px;
}

.team-member {
    background-color: #f5f7fb;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: calc(30% - 20px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: scale(1.05);
}

.team-member img {
    width: 200px;
    height: auto;
    border-radius: 50%;
    margin-bottom: 15px;
}

.team-member h3 {
    color: #f4b41a;
    margin-bottom: 10px;
}

.team-member p {
    color: #4b5565;
}

/**** Партнеры ****/
.partners-section {
    margin-top: 50px;
    padding: 20px;
    background-color: #f5f7fb;
    border-radius: 10px;
    text-align: center;
}

.partners-section h2 {
    color: #1b3b5f;
    margin-bottom: 20px;
}

.partners-logos {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.partner-logo {
    width: calc(20% - 20px);
    padding: 10px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.05);
}

.partner-logo img {
    max-width: 100%;
    height: auto;
}

/**** Мобильная версия ****/
@media (max-width: 768px) {
    .team-section, .partners-logos {
        flex-direction: column;
        align-items: center;
    }
    .service-item, .team-member {
        padding: 20px 0px!important;
    }
    .team-member, .partner-logo {
        width: 100%;
    }
}

/**** Services ****/
.services-content {
    margin-top: 100px;
    padding-bottom: 40px;
}

.services-content h1 {
    color: #1b3b5f;
    text-align: center;
    margin-bottom: 30px;
}

.services-content p {
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: center;
    color: #4b5565;
}

/**** Пакеты услуг ****/
.services-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

/* Базовый пакет */
.service-item:nth-child(1) {
    background-color: #e3edf9;
    border-top: 5px solid #1b3b5f;
}

/* Продвинутый пакет */
.service-item:nth-child(2) {
    background-color: #fdf3da;
    border-top: 5px solid #f4b41a;
}

/* Премиум пакет */
.service-item:nth-child(3) {
    background-color: #e6f4ea;
    border-top: 5px solid #1b3b5f;
}

.service-item {
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    width: calc(30% - 20px);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: scale(1.05);
}

.service-item img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.service-item h2 {
    margin-bottom: 15px;
    color: #1b3b5f;
}

.service-item p {
    color: #4b5565;
    margin-bottom: 20px;
}

.start-btn {
    padding: 10px 20px;
    background-color: #1b3b5f;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.start-btn:hover {
    background-color: #f4b41a;
}

/**** Мобильная версия ****/
@media (max-width: 768px) {
    .services-section {
        flex-direction: column;
    }

    .service-item {
        width: 100%;
    }
}

/**** Reviews ****/
.reviews-content {
    margin-top: 100px;
    padding-bottom: 40px;
}

.reviews-content h1 {
    color: #1b3b5f;
    text-align: center;
    margin-bottom: 30px;
}

.reviews-content p {
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: center;
    color: #4b5565;
}

.reviews-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.review-item {
    border-top: 5px solid #1b3b5f;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    width: calc(30% - 20px);
    transition: transform 0.3s ease;
    background-color: transparent;
}

.review-item:hover {
    transform: scale(1.05);
}

.review-item img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.review-item blockquote {
    font-style: italic;
    color: #4b5565;
    margin-bottom: 15px;
}

.review-item h3 {
    color: #1b3b5f;
}

/**** Achievements ****/
.achievements-content {
    margin-top: 50px;
    padding-bottom: 40px;
    text-align: center;
}

.achievements-content h2 {
    color: #1b3b5f;
    margin-bottom: 30px;
}

.achievements-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.achievement-item {
    background-color: #f5f7fb;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    width: calc(19% - 20px);
    transition: transform 0.3s ease;
}

.achievement-item:hover {
    transform: scale(1.05);
}

.achievement-item h3 {
    font-size: 3rem;
    color: #f4b41a;
    margin-bottom: 15px;
}

.achievement-item p {
    color: #4b5565;
    font-size: 1.1rem;
}

/**** Мобильная версия ****/
@media (max-width: 768px) {
    .reviews-section,
    .achievements-section {
        flex-direction: column;
        align-items: center;
    }

    .review-item,
    .achievement-item {
        width: 100%;
    }
}

/**** Contacts ****/
.contacts-content {
    margin-top: 100px;
    padding-bottom: 40px;
}

.contacts-content h1,
.contacts-content h2 {
    color: #1b3b5f;
    text-align: center;
    margin-bottom: 30px;
}

.contacts-content p {
    text-align: center;
    margin-bottom: 20px;
    color: #4b5565;
}

.map-container {
    margin-bottom: 40px;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    color: #1b3b5f;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 1rem;
}

.submit-btn {
    padding: 10px 20px;
    background-color: #1b3b5f;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #f4b41a;
}

/**** Мобильная версия ****/
@media (max-width: 768px) {
    .contact-form-container,
    .contact-info {
        text-align: center;
    }

    .form-group input,
    .form-group textarea {
        width: 95%;
    }
}

/**** Advantages ****/
.advantages-section {
    padding: 50px 0;
    background-color: #f5f7fb;
    text-align: center;
}

.advantages-section h2 {
    color: #1b3b5f;
    margin-bottom: 30px;
}

.advantages-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.advantage-item {
    background-color: #ffffff;
    border: 2px solid #f4b41a;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: calc(33.333% - 20px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.advantage-item h3 {
    color: #1b3b5f;
    margin-bottom: 10px;
}

.advantage-item p {
    color: #4b5565;
    line-height: 1.6;
}

/**** Gallery ****/
.gallery-section {
    padding: 50px 0;
    background-color: #ffffff;
    text-align: center;
}

.gallery-section h2 {
    color: #1b3b5f;
    margin-bottom: 30px;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.gallery-item {
    background-color: #f5f7fb;
    border: 2px solid #1b3b5f;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: calc(25% - 20px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/**** Мобильная версия ****/
@media (max-width: 768px) {
    .advantages-grid, .gallery-grid {
        flex-direction: column;
        gap: 15px;
    }

    .advantage-item, .gallery-item {
        width: 100%;
    }
}

/**** Блок "Спасибо" ****/
.thank-you-content {
    text-align: center;
    padding: 100px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-content h1 {
    color: #1b3b5f;
    font-size: 3rem;
    margin-bottom: 20px;
}

.thank-you-content p {
    color: #4b5565;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.back-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1b3b5f;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.back-btn:hover {
    background-color: #f4b41a;
}
/* ==== TESTIMONIANZE / RECENSIONI ==== */

.reviews-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fb 0%, #ffffff 100%);
}

.reviews-content {
    margin-top: 100px; /* под фиксированное меню */
    text-align: center;
}

.reviews-content h2 {
    font-size: 2.2rem;
    color: #1b3b5f;
    margin-bottom: 10px;
}

.reviews-content > h3 {
    font-size: 1.1rem;
    font-weight: 400;
    color: #4b5565;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Сетка карточек отзывов */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

/* Карточка отзыва */
.review-item {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 24px 20px 26px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    border-top: 4px solid #f4b41a;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.review-item::before {
    content: "“";
    position: absolute;
    top: -20px;
    right: 15px;
    font-size: 5rem;
    color: rgba(244, 180, 26, 0.15);
    font-family: Georgia, "Times New Roman", serif;
    pointer-events: none;
}

.review-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.16);
}

/* Аватар студента */
.review-item img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    border: 3px solid #1b3b5f;
}

/* Текст отзыва */
.review-item blockquote {
    font-style: italic;
    font-size: 0.98rem;
    line-height: 1.6;
    color: #4b5565;
    margin: 0 0 16px;
}

/* Имя */
.review-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1b3b5f;
}

/* Адаптив */

@media (max-width: 992px) {
    .reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .reviews-content {
        margin-top: 80px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .review-item {
        padding: 20px 18px 22px;
    }
}
