* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    font-family: Arial, sans-serif;

    background:
        radial-gradient(circle at top,
            #5697d3,
            #99a5ba,
            #2a5fbb);

    color: #222;
}

/* хэдер */

header {
    position: sticky;
    top: 0;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 8%;

    background: #0f172a;

    z-index: 1000;
}

.logo h2 {
    color: white;
}



nav {
    display: flex;
    gap: 25px;
}

nav a {
    color: white;
    text-decoration: none;
    transition: .3s;
}

nav a:hover {
    color: #60a5fa;
}

/* херо */

.hero {

    min-height: 90vh;

    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;

    padding: 40px;

    color: white;

    background:
        linear-gradient(rgba(0, 0, 0, .55),
            rgba(0, 0, 0, .55)),
        url("english.jpg");

    background-size: cover;

    background-position: center;
}

.hero-stats {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 15px;

    margin-bottom: 35px;
}

.stat {

    background: white;

    color: #1e3a8a;

    padding: 12px 18px;

    border-radius: 12px;

    font-weight: 600;

    box-shadow: 0 5px 15px rgba(0, 0, 0, .15);
}

.hero-content {
    max-width: 900px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 35px;
}

/* кнопка */

.btn {
    display: inline-block;

    padding: 18px 45px;

    background: white;

    color: #1e3a8a;

    text-decoration: none;

    border-radius: 12px;

    font-weight: 700px;

    transition: .3s;

    font-size: 18px;


}

.btn:hover {

    transform: translateY(-4px);

    box-shadow: 0 10px 25px rgba(255, 255, 255, .2);

}

/* секция */

.section {
    padding: 100px 8%;
}

.section h2 {
    text-align: center;

    margin-bottom: 40px;

    font-size: 2.4rem;
}

/* карточки */

.cards {
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

    gap: 25px;
}

.card {

    background: #eff6ff;

    border-left: 5px solid #2563eb;

    padding: 30px;

    border-radius: 15px;

    box-shadow: 0 5px 15px rgba(0, 0, 0, .08);

    transition: .3s;
}

.card h3 {

    color: #2563eb;
}

.card:hover {
    transform: translateY(-8px);

    box-shadow: 0 15px 30px rgba(37, 99, 235, .15);
}



/* информация */

.info-box {

    max-width: 900px;

    margin: auto;

    padding: 40px;

    background: linear-gradient(135deg,
            #eff6ff,
            #dbeafe);

    border-left: 6px solid #2563eb;

    border-radius: 20px;

    box-shadow: 0 10px 25px rgba(37, 99, 235, .12);

    transition: .4s ease;
}

.info-box p {
    margin-bottom: 15px;

    line-height: 1.8;

    transition: .3s;
}

.info-box:hover {

    transform: translateY(-6px);

    box-shadow: 0 18px 35px rgba(37, 99, 235, .18);

}

.info-box:hover p {

    transform: scale(1.01);

}

.students-box {

    max-width: 900px;

    margin: auto;

    padding: 40px;

    background: linear-gradient(135deg,
            #2563eb,
            #1d4ed8);

    color: white;

    border-radius: 20px;

    box-shadow: 0 10px 25px rgba(37, 99, 235, .2);

    transition: .4s;
}

.students-box:hover {

    transform: translateY(-6px);

}

/* ========================= */
/* CTA */
/* ========================= */

.cta-box {
    max-width: 900px;

    margin: auto;

    padding: 45px;

    text-align: center;

    color: white;

    background: linear-gradient(135deg,
            #2563eb,
            #1e3a8a);

    border-radius: 25px;
}

.cta-box h2 {
    margin-bottom: 20px;
}

.cta-box p {
    margin-bottom: 25px;

    line-height: 1.8;
}

.phone {
    font-size: 28px;
    font-weight: 700;
}

/* футер */

footer {
    background: #0f172a;

    color: white;

    text-align: center;

    padding: 30px;
}

/* анимация */

.reveal {
    opacity: 0;

    transform: translateY(40px);

    transition: 1s;
}

.reveal.active {
    opacity: 1;

    transform: translateY(0);
}

.stat {
    transition: .3s;
}

.stat:hover {
    transform: translateY(-5px);

    background: rgba(255, 255, 255, .25);
}

/* планшет */

@media (max-width: 992px) {

    .hero h1 {
        font-size: 3rem;
    }

}

/* обычный телефон */

@media (max-width: 768px) {

    header {
        flex-direction: column;

        gap: 15px;
    }

    nav {
        flex-wrap: wrap;

        justify-content: center;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section {
        padding: 70px 20px;
    }

    .info-box,
    .cta-box {
        padding: 25px;
    }

    .hero {

        flex-direction: column;

        text-align: center;

        padding: 30px 20px;
    }

    .hero-content {

        width: 100%;
    }

    .hero h1 {

        font-size: 2.2rem;
    }

    .hero-stats {

        justify-content: center;

        margin-top: 20px;
    }

    .hero-stats {

        display: flex;

        flex-direction: column;

        align-items: center;

        gap: 12px;
    }

    .stat {

        width: 100%;

        max-width: 320px;
    }

    body {
        font-size: 18px;
    }

    .section h2 {
        font-size: 2.3rem;
    }

    .card h3 {
        font-size: 1.3rem;
    }

    .card p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .info-box p {
        font-size: 1rem;
        line-height: 1.8;
    }

    nav a {
        font-size: 1rem;
    }

    .cta-box p {
        font-size: 1rem;
    }

    .phone {
        font-size: 2rem;
    }


}

/* маленький теелфон */

@media (max-width: 480px) {

    .hero h1 {
        font-size: 1.9rem;
    }

    .section h2 {
        font-size: 1.8rem;
    }

    .card {
        padding: 20px;
    }

    body {
        font-size: 18px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .card h3 {
        font-size: 1.2rem;
    }

    .card p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .info-box p {
        font-size: 1rem;
        line-height: 1.8;
    }

    .section h2 {
        font-size: 2rem;
    }

    .phone {
        font-size: 1.8rem;
    }




}