:root {
            --primary-blue: #7cd253	;
            --secondary-orange: #FF5C00;
            --light-green: #E8F7EB;
            --dark-green: #4CAF50;
            --light-yellow: #FFF8E0;
            --dark-yellow: #FFC107;
            --light-pink: #FEE7F2;
            --dark-pink: #E91E63;
            --soft-purple: #D7E0FF;
            --text-dark: #333;
            --text-light: #666;
            --border-light: #E0E0E0;
            --white: #fff;
            --gray-bg: #F8F8F8;
            --gradient-start: #FFD200;
            --gradient-end: #FF8F00;
        }

        body {
            font-family: 'Poppins', sans-serif;
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            color: var(--text-dark);
            line-height: 1.6;
        }

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

        header {
            background-color: var(--white);
            padding: 15px 0;
            border-bottom: 1px solid var(--border-light);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        }

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

        .logo {
            font-size: 16px;
            font-weight: 500;
            color: #262626;
            text-decoration: none;
        }
        .logo span{
            font-size: 24px;
            font-weight: 700;
            color: var(--primary-blue);
            text-decoration: none;
        }

        .nav-links {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            align-items: center;
        }

        .nav-links li {
            margin-left: 30px;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--text-light);
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .nav-links a:hover {
            color: var(--primary-blue);
        }

        .dropdown {
            position: relative;
            display: inline-block;
        }

        .dropdown-content {
            display: none;
            position: absolute;
            background-color: var(--white);
            min-width: 160px;
            box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
            z-index: 1;
            border-radius: 8px;
            padding: 10px 0;
        }

        .dropdown-content a {
            color: var(--text-dark);
            padding: 12px 16px;
            text-decoration: none;
            display: block;
            text-align: left;
        }

        .dropdown-content a:hover {
            background-color: var(--gray-bg);
        }

        .dropdown:hover .dropdown-content {
            display: block;
        }

        .btn {
            display: inline-block;
            padding: 12px 25px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            transition: background-color 0.3s ease, transform 0.2s ease;
            white-space: nowrap;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));;
            color: var(--white);
        }

        .btn-primary:hover {
            background-color: #7cd253;
            transform: translateY(-2px);
        }

        .btn-secondary {
            background-color: var(--dark-yellow);
            color: var(--white);
        }

        .btn-secondary:hover {
            background-color: #E6B000;
            transform: translateY(-2px);
        }

        .hero {
            background-color: #FAF4E9; /* Цвет фона из образца */
            padding: 80px 0 0;
            text-align: center;
            position: relative;
            overflow: hidden;
            border-bottom-left-radius: 100px 30px;
            border-bottom-right-radius: 100px 30px;
            height: 80vh; /* Увеличиваем высоту для размещения всех элементов */
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: center;
        }

        .hero .container {
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100%; /* Занимает всю доступную высоту контейнера hero */
            padding-bottom: 100px; /* Отступ снизу, чтобы не перекрывать детей */
        }

        .hero h1 {
            font-size: 50px; /* Увеличил размер шрифта */
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 20px;
            line-height: 1.2;
        }
        .hero h1 span {
            color: #7cd253;
        }

        .hero .buttons {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 30px;
            flex-wrap: wrap;
        }

        .hero .button-link {
            display: flex;
            align-items: center;
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 500;
            font-size: 14px;
            margin: 0 10px;
        }

        .hero .button-link img {
            margin-right: 8px;
            width: 20px;
            height: 20px;
        }

        .hero .tagline {
            font-size: 18px;
            color: var(--text-light);
            margin-top: 40px;
            margin-bottom: 20px;
        }

        .hero-children-container {
            position: absolute;
            bottom: 120px;
            gap: 50%;
            left: 54%;
            transform: translateX(-50%);
            display: flex;
            align-items: flex-start;
            width: 100%;
            justify-content: center;
            z-index: 0;
        }

        .hero-children-container img {
            object-fit: contain;
            filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
            position: relative;
        }

        .hero-children-container img.child-left {
            width: 250px; /* Уменьшил размер */
            height: auto;
            transform: translateX(0px); /* Сдвиг влево */
            z-index: 1;
        }

        .hero-children-container img.main-child {
            width: 350px;
            height: 350px;
            z-index: 2;
        }

        .hero-children-container img.child-right {
            width: 250px; /* Уменьшил размер */
            height: auto;
            transform: translateX(-100px); /* Сдвиг вправо */
            z-index: 1;
        }

        .hero-decoration-elements {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            pointer-events: none;
            overflow: hidden;
            z-index: 1;
        }

        .hero-decoration-elements img {
            position: absolute;
            animation: float 6s ease-in-out infinite;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
        }

        .hero-decoration-elements .balloon { top: 15%; left: 10%; width: 100px; animation-delay: 0s; }
        .hero-decoration-elements .tennis-ball { top: 20%; right: 12%; width: 50px; animation-delay: 1s; }
        .hero-decoration-elements .computer-icon { bottom: 5%; left: 35%; width: 120px; animation-delay: 2s; }
        .hero-decoration-elements .target-with-arrow { bottom: 10%; left: 15%; width: 100px; animation-delay: 3s; }
        .hero-decoration-elements .backpack { bottom: 15%; right: 18%; width: 80px; animation-delay: 4s; }


        @keyframes float {
            0% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-10px) rotate(5deg); }
            100% { transform: translateY(0px) rotate(0deg); }
        }

        .features-grid {
            background-color: var(--primary-blue);
            color: var(--white);
            padding: 50px 0;
            position: relative;
            margin-top: -50px; /* Overlap with hero bottom curve */
            z-index: 3;
            /* Убрал clip-path, чтобы не конфликтовал с border-radius */
            border-top-left-radius: 0; /* Острый угол */
            border-top-right-radius: 0; /* Острый угол */
            border-bottom-left-radius: 0;
            border-bottom-right-radius: 0;
        }

        .features-grid .container {
            display: flex;
            justify-content: space-around;
            text-align: center;
            flex-wrap: wrap;
        }

        .feature-item {
            flex: 1;
            min-width: 250px;
            margin: 20px;
        }

        .feature-item img {
            width: 100px;
            height: 100px;
            margin-bottom: 1px;
            filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
        }

        .feature-item h3 {
            font-size: 36px;
            margin: 5px 0;
            font-weight: 700;
        }

        .feature-item p {
            font-size: 16px;
            color: rgba(255, 255, 255, 0.8);
        }

        .section-heading {
            font-size: 36px;
            font-weight: 700;
            text-align: center;
            margin-top: 80px;
            margin-bottom: 40px;
            color: var(--text-dark);
        }

        .intro-text {
            font-size: 18px;
            text-align: center;
            color: var(--text-light);
            margin-bottom: 40px;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }

        .call-to-action-card {
            background-color: var(--light-green);
            border-radius: 20px; /* Скругленные углы */
            padding: 30px;
            margin-bottom: 60px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 30px;
            flex-wrap: wrap;
        }

        .call-to-action-card h2 {
            font-size: 28px;
            font-weight: 700;
            color: var(--dark-green);
            margin: 0;
            flex: 1;
            min-width: 300px;
        }

        .call-to-action-card p {
            font-size: 16px;
            color: var(--text-light);
            margin: 0;
            flex: 2;
            min-width: 300px;
        }

        .call-to-action-card .btn {
            background-color: var(--dark-green);
            color: var(--white);
            flex-shrink: 0;
        }

        .courses-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            margin-bottom: 80px;
        }

        .course-card {
            background-color: var(--white);
            border-radius: 20px; /* Скругленные углы */
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
            overflow: hidden;
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative;
        }

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

        .course-card .thumbnail {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }

        .course-card .content {
            padding: 25px;
        }

        .course-card .tag {
            display: inline-block;
            background-color: var(--light-yellow);
            color: var(--dark-yellow);
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 15px;
        }

        .course-card h3 {
            font-size: 22px;
            font-weight: 600;
            margin-top: 0;
            margin-bottom: 10px;
            color: var(--text-dark);
        }

        .course-card p {
            font-size: 15px;
            color: var(--text-light);
            margin-bottom: 20px;
        }

        .course-card .learn-more {
            color: var(--primary-blue);
            text-decoration: none;
            font-weight: 600;
            font-size: 15px;
            transition: color 0.3s ease;
        }

        .course-card .learn-more:hover {
            color: #087BE0;
        }

        .floating-icon {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 40px;
            height: 40px;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
        }

        .floating-icon.top-left {
            top: 15px;
            left: 15px;
        }

        .impact-section {
            background-color: var(--gray-bg);
            padding: 80px 0;
            text-align: center;
        }

        .impact-section h2 {
            font-size: 36px;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .impact-section p {
            font-size: 18px;
            color: var(--text-light);
            margin-bottom: 60px;
        }

        .impact-cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .impact-card {
            color: #fff;
            background-color: var(--white);
            border-radius: 20px; /* Скругленные углы */
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
            padding: 40px;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            text-align: left;
        }

        .impact-card.bg-orange { background-color: #f79c65; }
        .impact-card.bg-blue { background-color: #6698ba; }
        .impact-card.bg-green { background-color: #58db72; }

        .impact-card h3 {
            font-size: 28px;
            font-weight: 700;
            margin-top: 0;
            margin-bottom: 15px;
            line-height: 1.2;
            z-index: 1;
        }

        .impact-card p {
            color: #fff;
            font-size: 16px;
            margin-bottom: 30px;
            flex-grow: 1;
            z-index: 1;
        }

        .impact-card .btn {
            background-color: var(--primary-blue);
            color: var(--white);
            z-index: 1;
        }
        .impact-card.bg-orange .btn { background-color: var(--secondary-orange); }
        .impact-card.bg-green .btn { background-color: var(--dark-green); }

        .impact-card .child-img {
            position: absolute;
            bottom: 0;
            right: 0;
            height: 100%;
            object-fit: cover;
            width: 100%;
            max-width: 250px;
            transform: translateX(20%) translateY(20%);
            filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
        }

        .impact-card .floating-element {
            position: absolute;
            z-index: 0;
            opacity: 0.2;
        }
        .impact-card.bg-orange .floating-element { top: 20px; right: 20px; width: 80px; }
        .impact-card.bg-blue .floating-element { bottom: 20px; left: 20px; width: 60px; }
        .impact-card.bg-green .floating-element { top: 20px; left: 20px; width: 70px; }

        .shaping-future-section {
            padding: 80px 0;
            text-align: center;
        }

        .shaping-future-section h2 {
            font-size: 36px;
            font-weight: 700;
            margin-bottom: 60px;
        }

        .category-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 30px;
        }

        .category-card {
            background-color: var(--white);
            border-radius: 20px; /* Скругленные углы */
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
            padding: 30px;
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

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

        .category-card img {
            width: 250px;
            height: auto;
            margin-bottom: 20px;
        }

        .category-card h3 {
            font-size: 20px;
            font-weight: 600;
            margin-top: 0;
            margin-bottom: 10px;
        }

        .category-card p {
            font-size: 14px;
            color: var(--text-light);
        }

        .confidence-section {
            background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
            border-radius: 20px; /* Скругленные углы */
            padding: 50px 0;
            margin: 80px auto;
            max-width: 1200px;
            display: flex;
            align-items: center;
            justify-content: space-around;
            gap: 40px;
            position: relative;
            overflow: hidden;
        }
        
        .confidence-content {
            flex: 1;
            min-width: 300px;
            padding-left: 50px;
            color: var(--white);
            text-align: left;
            z-index: 1;
        }

        .confidence-content h2 {
            font-size: 38px;
            font-weight: 700;
            margin-bottom: 20px;
            line-height: 1.2;
        }

        .confidence-content p {
            font-size: 18px;
            margin-bottom: 30px;
        }

        .confidence-content .btn {
            background-color: var(--white);
            color: var(--primary-blue);
        }
        .confidence-content .btn:hover {
            background-color: var(--gray-bg);
            color: var(--primary-blue);
        }

        .confidence-image {
            flex: 1;
            min-width: 300px;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            padding-right: 50px;
            z-index: 1;
        }

        .confidence-image img {
            max-width: 100%;
            height: auto;
            border-radius: 15px; /* Скругленные углы */
            box-shadow: 0 15px 30px rgba(0,0,0,0.2);
            position: relative;
            z-index: 2;
        }

        .confidence-bg-shape {
            position: absolute;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            pointer-events: none;
        }
        .confidence-bg-shape.small { width: 100px; height: 100px; top: 10%; right: 10%; }
        .confidence-bg-shape.large { width: 200px; height: 200px; bottom: -50px; left: -50px; }


        .testimonials-section {
            padding: 80px 0;
            background-color: var(--gray-bg);
            text-align: center;
        }

        .testimonials-section h2 {
            font-size: 36px;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .testimonials-section p {
            font-size: 18px;
            color: var(--text-light);
            margin-bottom: 60px;
        }

        .testimonial-card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .testimonial-card {
            background-color: var(--white);
            border-radius: 20px; /* Скругленные углы */
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
            padding: 40px;
            text-align: left;
            position: relative;
            overflow: hidden;
        }

        .testimonial-card.variant-1 { background-color: var(--light-pink); }
        .testimonial-card.variant-2 { background-color: var(--soft-purple); }

        .testimonial-card .quote-icon {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            opacity: 0.1;
        }

        .testimonial-card h3 {
            font-size: 24px;
            font-weight: 700;
            margin-top: 0;
            margin-bottom: 15px;
        }

        .testimonial-card .rating {
            color: var(--dark-yellow);
            margin-bottom: 15px;
        }

        .testimonial-card .review-text {
            font-size: 16px;
            color: var(--text-dark);
            margin-bottom: 20px;
            line-height: 1.7;
        }

        .testimonial-card .author {
            display: flex;
            align-items: center;
            margin-top: 20px;
        }

        .testimonial-card .author img {
            width: 50px;
            height: 50px;
            border-radius: 50%; /* Круглые изображения */
            object-fit: cover;
            margin-right: 15px;
        }

        .testimonial-card .author-info strong {
            display: block;
            font-weight: 600;
            color: var(--text-dark);
        }

        .testimonial-card .author-info span {
            font-size: 14px;
            color: var(--text-light);
        }

        .cta-section {
            padding: 80px 0;
            text-align: center;
        }

        .cta-section h2 {
            font-size: 36px;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .cta-section p {
            font-size: 18px;
            color: var(--text-light);
            margin-bottom: 40px;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-section .btn {
            background-color: var(--primary-blue);
            color: var(--white);
        }

        .global-presence {
            background-color: var(--white);
            padding: 50px 0;
            margin-top: 60px;
            margin-bottom: 80px;
        }

        .global-presence .container {
            display: flex;
            align-items: center;
            justify-content: space-around;
            flex-wrap: wrap;
            gap: 30px;
        }

        .global-presence-item {
            text-align: center;
        }

        .global-presence-item h3 {
            font-size: 48px;
            font-weight: 700;
            color: var(--primary-blue);
            margin-bottom: 5px;
        }

        .global-presence-item p {
            font-size: 16px;
            color: var(--text-light);
        }

        .global-presence-item img {
            margin-right: 10px;
            width: 40px;
            height: 40px;
        }

        .blog-section {
            background-color: var(--light-yellow);
            padding: 80px 0;
            border-top-left-radius: 100px 30px; /* Эллиптический радиус */
            border-top-right-radius: 100px 30px; /* Эллиптический радиус */
            margin-top: -50px;
            position: relative;
            z-index: 1;
        }

        .blog-content {
            display: flex;
            gap: 40px;
            align-items: center;
            flex-wrap: wrap;
            padding: 0 20px;
        }

        .blog-left {
            flex: 1;
            min-width: 400px;
        }

        .blog-left img {
            width: 100%;
            border-radius: 20px; /* Скругленные углы */
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }

        .blog-right {
            flex: 1;
            min-width: 400px;
            padding-left: 30px;
            position: relative;
        }

        .blog-right .tag {
            background-color: var(--white);
            color: var(--secondary-orange);
            font-weight: 600;
            padding: 8px 20px;
            border-radius: 20px; /* Скругленные углы */
            display: inline-block;
            margin-bottom: 20px;
        }

        .blog-right h2 {
            font-size: 42px;
            font-weight: 700;
            margin-bottom: 20px;
            line-height: 1.2;
        }

        .blog-right .date {
            font-size: 16px;
            color: var(--text-light);
            margin-bottom: 30px;
            display: block;
        }

        .blog-right .graphic {
            position: absolute;
            right: 0;
            bottom: 0;
            width: 150px;
            height: 150px;
            object-fit: contain;
            transform: translateX(30%) translateY(30%);
            opacity: 0.8;
            filter: drop_shadow(0 5px 10px rgba(0,0,0,0.1));
        }

        footer {
            background-color: var(--text-dark);
            color: var(--white);
            padding: 60px 0;
            font-size: 14px;
        }

        footer .container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        footer .footer-col h3 {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 20px;
            color: var(--white);
        }

        footer .footer-col ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        footer .footer-col ul li {
            margin-bottom: 10px;
        }

        footer .footer-col ul li a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        footer .footer-col ul li a:hover {
            color: var(--primary-blue);
        }

        footer .footer-col .social-icons {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        footer .footer-col .social-icons img {
            width: 24px;
            height: 24px;
            filter: invert(1);
            opacity: 0.7;
            transition: opacity 0.3s ease;
        }
        footer .footer-col .social-icons img:hover {
            opacity: 1;
        }

        footer .footer-col .app-stores {
            display: flex;
            gap: 15px;
            margin-top: 20px;
            flex-wrap: wrap;
        }

        footer .footer-col .app-stores img {
            width: 120px;
            height: auto;
        }

        footer .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 30px;
            text-align: center;
            color: rgba(255, 255, 255, 0.5);
        }

        .footer-logo {
            font-size: 28px;
            font-weight: 700;
            color: var(--primary-blue);
            margin-bottom: 20px;
            display: block;
        }

        .footer-logo-col {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .footer-logo-col .address {
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 10px;
        }

        .footer-logo-col .links {
            display: flex;
            gap: 20px;
            margin-top: 10px;
        }
        .footer-logo-col .links a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
        }
        .footer-logo-col .links a:hover {
            color: var(--primary-blue);
        }

        @media (max-width: 992px) {
            .hero h1 {
                font-size: 38px;
            }
            .hero-children-container img.main-child {
                width: 40%;
            }
            .nav-links {
                display: none; /* Hide for smaller screens, implement hamburger menu if needed */
            }
            .navbar {
                justify-content: center;
            }
            .btn-get-started {
                display: none;
            }
            .call-to-action-card {
                flex-direction: column;
                text-align: center;
            }
            .call-to-action-card p {
                text-align: center;
            }
            .confidence-section {
                flex-direction: column;
                text-align: center;
                padding-left: 20px;
                padding-right: 20px;
            }
            .confidence-content {
                padding-left: 0;
                padding-right: 0;
            }
            .confidence-image {
                padding-right: 0;
            }
            .blog-content {
                flex-direction: column;
            }
            .blog-right {
                padding-left: 0;
            }
        }

        @media (max-width: 768px) {
            .hero {
                padding: 60px 0 0;
                height: auto; /* Адаптивная высота */
            }
            .hero h1 {
                font-size: 32px;
            }
            .hero .container {
                padding-bottom: 50px; /* Меньший отступ снизу */
            }
            .hero-children-container {
                position: static; 
                display: block;
                transform: translateX(0);
                flex-direction: column;
                align-items: center;
                margin-bottom: 100px;
            }
            .hero-children-container img.main-child {
                width: 50%;
                max-width: 250px;
            }
            .hero-children-container img.child-left, .hero-children-container img.child-right {
                width: 35%; /* Адаптивный размер */
                max-width: 180px;
                transform: translateX(0); /* Сброс сдвига */
                margin-top: 20px;
            }
            .hero-decoration-elements {
                display: none; /* Скрываем мелкие элементы на маленьких экранах */
            }
            .feature-item {
                min-width: 150px;
            }
            .section-heading {
                font-size: 30px;
            }
            .intro-text {
                font-size: 16px;
            }
            .course-card .thumbnail {
                height: 150px;
            }
            .impact-cards-grid {
                grid-template-columns: 1fr;
            }
            .impact-card .child-img {
                height: 50%;
                max-width: 150px;
            }
            .category-grid {
                grid-template-columns: 1fr;
            }
            .confidence-content h2 {
                font-size: 32px;
            }
            .testimonial-card-grid {
                grid-template-columns: 1fr;
            }
            .blog-right h2 {
                font-size: 32px;
            }
            footer .container {
                grid-template-columns: 1fr;
            }
        }
        /* === AI-Виджет === */
#ai-widget-container-8 #chat-toggle {
  overflow: hidden; /* обрезаем всё лишнее */
  background-color: #FFD200;
  background-image: url('/img/vosp.png');
  background-size: 42px 42px;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 25px 25px 5px 25px;
  width: 64px;
  height: 64px;
  box-shadow: 0 6px 18px rgba(46,139,255,0.25);
  transition: all 0.3s ease;
}

/* Переливающийся луч */
#ai-widget-container-8 #chat-toggle::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;  /* старт слева полностью за пределами кнопки */
  width: 50%;   /* ширина полосы */
  height: 100%; 
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.6) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-20deg);
  animation: shimmer 2.5s infinite linear;
  pointer-events: none;
  mix-blend-mode: overlay;
}

@keyframes shimmer {
  0% { left: -100%; }   /* полностью слева */
  100% { left: 100%; }  /* полностью справа */
}

/* Шапка виджета */
#ai-widget-container-8 #chat-header {
  background: -webkit-linear-gradient(45deg, rgb(124, 210, 83), rgb(4, 255, 0));
background: -moz-linear-gradient(45deg, rgb(124, 210, 83), rgb(4, 255, 0));
background: linear-gradient(45deg, rgb(124, 210, 83), rgb(4, 255, 0));
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Сообщения пользователя */
#ai-widget-container-8 .ai-widget-message.ai-widget-user {
  background: linear-gradient(135deg, #2E8BFF 0%, #60A5FA 100%) !important;
  color: #fff;
  border-radius: 16px 16px 4px 16px; /* квадратный нижний правый угол */
  align-self: flex-end;
  box-shadow: 0 2px 8px rgba(46, 139, 255, 0.2);
}

/* Сообщения бота */
#ai-widget-container-8 .ai-widget-message.ai-widget-bot {
  background-color: #F4F7FB !important;
  color: #2C2C2C;
  border-radius: 16px 16px 16px 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

/* Кнопка отправки */
#ai-widget-container-8 #send-btn {
  background: linear-gradient(135deg, #2E8BFF 0%, #38BDF8 100%);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 18px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}
#ai-widget-container-8 #send-btn:hover {
  background: linear-gradient(135deg, #1C6EDB 0%, #2E8BFF 100%);
  box-shadow: 0 0 14px rgba(46, 139, 255, 0.5);
}

/* Общее окно */
#ai-widget-container-8 {
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(46, 139, 255, 0.15);
  border: 1px solid #E5E9F0;
}

 #chat-credit {
        text-align: center;
        font-size: 11px;
        padding: 6px 0;
        color: #888;
        background: #f9f9f9;
        border-top: 1px solid #ddd;
    }
    #chat-credit a {
        color: #888;
        text-decoration: none;
    }
    #chat-credit a:hover {
        text-decoration: underline;
        color: #555;
    }
    /* --- Стили для иконки мобильного меню (бургер) --- */
.menu-toggle {
    display: none; /* Скрываем по умолчанию на десктопе */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1000; /* Убедимся, что бургер поверх всего */
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-dark); /* Цвет полосок бургера */
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* Анимация бургера в крестик при открытии */
.menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- Адаптация навигации для мобильных --- */
@media (max-width: 992px) {
    .navbar {
        justify-content: space-between; /* Теперь бургер и лого будут по краям */
    }

    .menu-toggle {
        display: flex; /* Показываем бургер на мобильных */
    }

    .nav-links {
        display: none; /* Скрываем меню по умолчанию */
        flex-direction: column;
        width: 100%;
        background-color: var(--white); /* Фон для мобильного меню */
        position: absolute;
        top: 70px; /* Ниже хедера */
        left: 0;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        overflow: hidden; /* Важно для скрытия контента */
    }

    .nav-links.is-active {
        display: flex; /* Показываем меню при активации */
        max-height: 500px; /* Примерная высота, чтобы анимация сработала */
        transition: max-height 0.5s ease-in-out;
    }

    .nav-links li {
        margin: 10px 20px; /* Отступы для пунктов меню */
        text-align: center;
    }

    .nav-links a {
        padding: 10px;
        display: block; /* Занимает всю ширину */
        color: var(--text-dark);
    }

    .nav-links .btn {
        margin-top: 20px;
        width: fit-content;
        align-self: center; /* Центрируем кнопку */
    }

    .dropdown-content {
        position: static; /* Статично внутри мобильного меню */
        box-shadow: none;
        background-color: var(--gray-bg); /* Более темный фон для выпадающего */
        padding: 0;
        margin-top: 10px;
        border-radius: 5px;
    }
    .dropdown-content a {
        padding: 10px 20px;
        text-align: center;
    }

    /* Скрываем кнопку "Записаться" навигации, если она уже есть в бургере */
    .btn-get-started {
        display: none; /* Показываем ее в мобильном меню */
        margin-left: 0;
    }


@media (max-width: 768px) {
    .hero .buttons {
        flex-direction: column;
    }
}
/* Базовые стили меню */
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

/* На мобильных меню скрыто */
@media (max-width: 992px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px; /* высота шапки */
        left: 0;
        width: 100%;
        background-color: white;
        text-align: center;
        padding: 20px 0;
        z-index: 1000;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

    /* При активации показываем меню */
    .nav-links.is-active {
        display: flex;
    }

    /* Стилизуем сам бургер */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 25px;
        height: 20px;
        cursor: pointer;
    }

    .menu-toggle .bar {
        height: 3px;
        width: 100%;
        background-color: #333;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    /* Анимация бургера при активации */
    .menu-toggle.is-active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.is-active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}
html, body {
    overflow-x: hidden;
}