:root {
    --bg-100: 48 33.3% 97.1%;
    --tw-bg-opacity: 1;
    --accent-secondary-100: 210 70.9% 51.6%;
    --border-300: 30 3.3% 11.8%;
    --background: 0 0% 100%;
    --foreground: 224 71.4% 4.1%;
    --border: 220 13% 91%;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    /* border-color: hsl(var(--border));
    outline-color: hsl(var(--accent-secondary-100));
    scrollbar-width: thin;
    scrollbar-color: hsla(var(--border-300)/35%) transparent; */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #f5f6fa;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e3a5f;
    font-weight: 700;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cta-buttons {
        justify-content: center;
    }
}

.cta-primary {
    background: #dc2525;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-secondary {
    background: transparent;
    color: #1e3a5f;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    border: 2px solid #1e3a5f;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-primary:hover {
    background: #b91c1c;
    transform: translateY(-2px);
}

.cta-secondary:hover {
    background: #1e3a5f;
    color: white;
    transform: translateY(-2px);
}


@media (max-width: 768px) {
    .cta-primary, .cta-secondary {
        width: 100%;
        text-align: center;
    }
}


/*
        СЕКЦИЯ HERO (НАЧАЛО)
*/

.hero {
    background: linear-gradient(135deg, #f5f6fa 0%, #e5e7eb 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20100%20100'%3E%3Cpath%20d='M20,20%20L80,50%20L20,80%20Z'%20fill='%23dc2525'%20opacity='0.1'/%3E%3C/svg%3E");
    background-size: 200px;
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #1e3a5f;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
}

.hero-content .subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-image {
    text-align: center;
    position: relative;
}

.maple-leaf {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    background: #dc2525;
    clip-path: polygon(50% 0%, 60% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 40% 35%);
    opacity: 0.9;
}

@media (max-width: 768px) {
    .maple-leaf {
        width: 150px;
        height: 150px;
    }
}

/*
        СЕКЦИЯ HERO (ОКОНЧАНИЕ)
*/



/*
        СЕКЦИЯ STATS (НАЧАЛО)
*/

.stats {
    padding: 4rem 0;
    background: #f5f6fa;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #dc2525;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    color: #1e3a5f;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: #dc2525;
    text-decoration-thickness: 3px;
    margin-bottom: 1rem;
}

.stat-description {
    color: #64748b;
    font-size: 0.95rem;
}

/*
        СЕКЦИЯ STATS (ОКОНЧАНИЕ)
*/



/*
        СЕКЦИЯ COURSES (НАЧАЛО)
*/

.courses {
    padding: 5rem 0;
    background: white;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.course-card {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

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

.course-icon {
    width: 80px;
    height: 80px;
    background: #dc2525;
    border-radius: 10px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.course-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1e3a8a;
    font-weight: 600;
}

.course-card p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #c41e3a;
    margin: 20px 0 10px 0;
}

.course-features {
    list-style: none;
    text-align: left;
}

.course-features li {
    padding: 0.7rem 0;
    color: #475569;
    position: relative;
    padding-left: 2rem;
    font-size: 0.95rem;
}

li {
    display: list-item;
    text-align: -webkit-match-parent;
    unicode-bidi: isolate;
}

.course-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #dc2525;
    font-weight: bold;
    font-size: 1.1rem;
}

/*
        СЕКЦИЯ COURSES (КОНЕЦ)
*/




/*
        СЕКЦИЯ FEATURES (НАЧАЛО)
*/

.features {
    padding: 5rem 0;
    background: white;
}

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

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: #dc2525;
    border-radius: 10px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.feature-item h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #1e3a5f;
    font-weight: 600;
}

.feature-item p {
    color: #64748b;
}

/*
        СЕКЦИЯ FEATURES (КОНЕЦ)
*/



/*
        СЕКЦИЯ CTA (НАЧАЛО)
*/

.cta-section {
    padding: 5rem 0;
    background: #1e3a5f;
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-secondary-new {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    border: 2px solid white;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-secondary-new:hover {
    background: #1e3a5f;
    color: white;
    transform: translateY(-2px);
}


@media (max-width: 768px) {
    .cta-secondary-new {
        width: 100%;
        text-align: center;
    }
}

/*
        СЕКЦИЯ CTA (КОНЕЦ)
*/



/*
        СЕКЦИЯ VIDEO (НАЧАЛО)
*/

.video-content {
    padding: 5rem 0;
    background: white;
}

    .video-wrapper {
      background: #000;
      padding: 8px;
      border-radius: 6px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
      max-width: 640px;
      width: 100%;
    }

    video {
      width: 100%;
      height: auto;
      display: block;
      border-radius: 4px;
    }

    .video-wrapper {
        position: relative; /* нужно для абсолютного позиционирования кнопки */
    }

    .play-btn-center {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: rgba(0, 0, 0, 0.3);
        border: 2px solid rgba(255, 255, 255, 0.6);
        border-radius: 50%;
        width: 64px;
        height: 64px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 2;
        transition: background 0.3s, border-color 0.3s;
    }

    .play-btn-center::before {
      content: '';
      display: block;
      width: 0;
      height: 0;
      border-left: 20px solid rgba(255, 255, 255, 0.6);
      border-top: 12px solid transparent;
      border-bottom: 12px solid transparent;
      margin-left: 5px;
      transition: border-left-color 0.3s;
    }

    .play-btn-center:hover {
      background: rgba(0, 0, 0, 0.6);
      border-color: rgba(255, 255, 255, 1);
    }

    .play-btn-center:hover::before {
      border-left-color: rgba(255, 255, 255, 1);
    }

    .video-title {
        text-align: center;
        font-size: 2rem;
        margin-bottom: 2rem;
        color: #1e3a5f;
        font-weight: 700;
    }

    .video-p {
        padding-bottom: 1rem;
    }

    .cta-video {
        background: transparent;
        color: #1e3a5f;
        padding: 1rem 4rem;
        text-decoration: none;
        border-radius: 5px;
        font-weight: 600;
        border: 2px solid #1e3a5f;
        transition: all 0.3s ease;
        display: inline-block;
    }

    .cta-video:hover {
        background: #1e3a5f;
        color: white;
        transform: translateY(-2px);
    }


    @media (max-width: 768px) {
        .cta-video {
            width: 100%;
            text-align: center;
        }
    }

/*
        СЕКЦИЯ VIDEO (КОНЕЦ)
*/


/*
        СЕКЦИЯ FOOTER (НАЧАЛО)
*/

.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 600;
}

.footer-section p {
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    width: 45px;
    height: 45px;
    background: #dc2525;
    color: white;
    text-align: center;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: #b91c1c;
    transform: translateY(-2px);
}

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #dc2525;
}

.logo-img-white {
    width: 190px;
}

.phone-img {
    width: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
}



/*
        СЕКЦИЯ FOOTER (КОНЕЦ)
*/