@font-face {
    font-family: Geist;
    src: url("../fonts/Geist-VariableFont_wght.ttf") format("truetype");
}

@font-face {
    font-family: Impact;
    src: url("../fonts/ofont.ru_Impact.ttf") format("truetype");
}

@font-face {
    font-family: Montserrat;
    src: url("../fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
}

@font-face {
    font-family: Onest;
    src: url("../fonts/Onest-VariableFont_wght.ttf") format("truetype");
}

:root {
    --scrollbar-track: #0E2432;
    --scrollbar-thumb: #4B81A3;
    --scrollbar-thumb-hover: #2D6283;
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

*::-webkit-scrollbar {
    width: 0.62rem;
    height: 0.62rem;
}

*::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
}

*::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--scrollbar-thumb) 0%, var(--scrollbar-thumb-hover) 100%);
    border: 2px solid var(--scrollbar-track);
    border-radius: 999px;
}

*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #5D92B3 0%, #366F91 100%);
}

*::-webkit-scrollbar-corner {
    background: var(--scrollbar-track);
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}


a,
button,
input,
select,
h1,
h2,
h3,
h4,
h5,
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: none;
    text-decoration: none;
    background: none;

    -webkit-font-smoothing: antialiased;
}

menu, ol, ul {
    list-style-type: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    color: #fff;
}



.home {
    background: #0E2432 url("../img/bg-simbols.webp") center / cover no-repeat;
    height: 100.7vh;
    border-radius: 0 0 5.25vw 5.25vw;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5vh 5vw 0 5vw;
}

.menu {
    display: flex;
    flex-direction: row;
    gap: 5.16vw;
    font-family: Geist;
    font-size: 1.25vw;
}

.menu-toggle {
    display: none;
}

.mobile-menu-overlay {
    display: none;
}

.logo {
    width: 5.16vw;
    height: 8.2vh;
}

.block-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 27.17vh;
    text-transform: uppercase;
}

.title {
    font-family: Impact;
    font-size: 9.06vw;
    font-weight: 400;
    color: #fff;
}

.subtitle {
    font-family: Geist;
    font-size: 1.875vw;
    font-weight: 400;
    color: #fff;
}

.block-title__button {
    margin-top: 13.17vh;
    padding: 2.54vh 3.125vw;
    font-family: Geist;
    font-size: 1.6vw;
    font-weight: bold;
    color: #0E2432;
    background-color: #fff;
    border-radius: 4.84vw;
    cursor: pointer;
    text-transform: uppercase;
}

main {
    padding: 0 1.77vw;
    margin: 0 auto;
}

.about {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.09vw;
    margin-top: 9.27vw;
}

.about h3 {
    font-family: Montserrat;
    font-size: 3.54vw;
    color: #0E2432;
    line-height: 1;
    margin-top: 4.88vh;
    margin-bottom: 7vh;
}

.about__block {
    display: flex;
    flex-direction: column;
    background-color: #2D6283;
    border-radius: 2.6vw;
}

.about__value {
    font-family: Arial;
    font-size: 4.2vw;
    color: #fff;
    line-height: 1;
    font-weight: 700;
}

.about__label {
    font-family: Arial;
    font-size: 2.34vw;
    color: #fff;
    font-weight: 700;
    line-height: 1; 
}

.about__description {
    font-family: Onest;
    font-size: 1.67vw;
    font-weight: 300;
    line-height: 1.4;
    color: #DAF0FF;
    width: 41.67vw;
}

.received__block {
    padding: 7.75vh 3.65vw 11.77vh 2.5vw;
}

.teachers__block {
    padding: 7.27vh 3.44vw 9.57vh 2.66vw;
}

.received__block > p:last-child {
    margin-top: 9.86vh;
    height: 25.93vh;
}

.teachers__block > p:last-child {
    margin-top: 5.93vh;
    height: 36.75vh;
}

.advantage {
    margin-top: 19.33vh;
    height: 36.56vh;
}

.advantage__title {
    font-family: Montserrat;
    font-size: 1.98vw;
    color: #0E2432;
    margin-bottom: 5.75vh;
    text-align: center;
}

.advantage__list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.advantage__item {
    display: grid;
    grid-template-rows: 1fr 1fr;
    justify-items: center;
    width: 18.3vw;
    height: 26.41vh;
    background-color: #fff;
    border-radius: 1.3vw;
    border: 1px solid #EBEBEB;
}

.advantage__item > img {
    align-self: end;
}

.advantage__item > p {
    align-self: start;
    margin-top: 2.87vh;
    font-family: Montserrat;
    font-weight: 500;
    font-size: 0.89vw;
    color: #4B81A3;
    text-align: center;
}

.more {
    margin-top: 21.14vh;
    height: 64.88vh;
}

.more__title {
    font-family: Montserrat;
    font-size: 3.125vw;
    color: #0B0A33;
    margin-bottom: 3.73vh;
    text-align: center;
}

.more__item {
    width: 100%;
    min-height: 16.46vh;
    padding: 3.44vh 2.5vw 3.44vh 2.08vw;
    border-radius: 1.5625vw;
    background-color: #F8F8FA;
    box-shadow: 0 0.77vh 1.5625vw 0 #4878971a;
    color: #0B0B33;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2.08vw;
}

.more__item--center {
    display: flex;
    flex-direction: row;
    margin-top: 2.87vh;
    gap: 1.5625vw;
}

.more__item--center .more__item {
    min-height: 25.45vh;
    flex: 1 1 0;
    align-items: center;
}

.more__item__title {
    font-size: 1.98vw;
    font-family: Geist;
    font-weight: 700;
}

.more__item__desc {
    margin-top: 1.72vh;
    font-size: 1.4vw;
    font-weight: 500;
    font-family: Montserrat;
    color: #7C7E9D;
    line-height: 1.35;
}

.more__item > div {
    display: flex;
    flex-direction: column;
}

.more__item img {
    display: block;
    width: 5.2vw;
    height: 9.57vh;
    padding: 1.91vh 0.9375vw;
    flex-shrink: 0;
    background-color: #CDE4F3;
    border-radius: 1.041vw;
    object-fit: contain;
    object-position: center;
}

.courses {
    margin-top: 24.6vh;
}

.courses__list {
    display: flex;
    flex-direction: row;
    gap: 0.625vw;
}

.courses__title {
    font-family: Montserrat;
    font-size: 3.54vw;
    color: #0F3349;
    margin-bottom: 5.07vh;
    text-align: center;
}

.courses__item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-color: #2D6283;
    height: 50.62vh;
    padding: 4.785vh 1.67vw 4.785vh 3.125vw;
    border-radius: 2.6vw;
}

.courses__item h2 {
    font-size: 2.5vw;
    font-weight: 700;
    font-family: Geist;
    color: #fff;
    margin: 0;
}

.courses__item a {
    margin-top: auto;
    align-self: flex-end;
    padding: 2.4vh 4.53vw;
    font-family: Geist;
    font-size: 1.5625vw;
    font-weight: bold;
    color: #2D6283;
    background-color: #fff;
    border-radius: 2.5vw;
    cursor: pointer;
    text-transform: uppercase;
}

footer {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    margin-top: 19.14vh;
    padding: 6.9vh 3.65vw;
    border-radius: 3.64vw 3.64vw 0 0;
    background-color: #0E2432;
    color: #F0F0F0;
    font-family: Geist;
    font-weight: 500;
    font-size: 2.3vw;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    row-gap: 2.6vw;
    letter-spacing: -0.06em;
}

footer::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, #A6DCFF 0%, #282A2B 100%);
    filter: blur(120px);
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

footer > * {
    position: relative;
    z-index: 1;
}

.footer__refs {
    display: flex;
    flex-direction: column;
    gap: 2.08vw;
    width: 23.49vw;
}

.footer-social {
    align-items: flex-end;
}

.footer-note {
    flex-basis: 100%;
    margin: 0;
    padding-top: 0.6vw;
    font-size: 0.8vw;
    line-height: 1.45;
    letter-spacing: normal;
    text-align: right;
    color: rgba(240, 240, 240, 0.8);
}

.footer-record {
    display: none;
}

footer img {
    height: 16.56vh;
    filter: drop-shadow(0 0 30px rgba(102, 189, 255, 0.28));
}

@media (max-width: 500px) {
    .home {
        position: relative;
        overflow: hidden;
        width: 91.795vw;
        height: 194.88vw;
        margin: 4.1vw auto 0;
        border-radius: 7.7vw 0 7.7vw 7.7vw;
        background:
            url("../img/bg-simbols.webp") center / cover no-repeat,
            url("../img/bg-adaptive-home.svg") center / cover no-repeat;
    }

    header {
        padding: 0;
        align-items: normal;
        transition: opacity 0.1s ease, visibility 0.1s ease;
    }

    main {
        padding: 0;
        margin: 0 4.1vw;
    }

    .logo {
        width: 10.77vw;
        height: 11.8vw;
        margin: 3.6vw 0 0 5.64vw;
    }

    .menu {
        display: none;
    }

    .menu-toggle {
        position: relative;
        z-index: 3;
        width: 12.82vw;
        height: 12.82vw;
        border-radius: 50%;
        background-color: #122D3E;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.282vw;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 5.13vw;
        height: 1px;
        background-color: #fff;
    }

    .block-title {
        position: relative;
        margin-top: 60%;
        padding: 4.1vw 4.1vw;
        z-index: 1;
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }

    .title {
        font-family: Impact;
        font-size: 17.18vw;
        font-weight: 400;
        line-height: 0.95;
        text-align: center;
    }

    .subtitle {
        margin-top: 2vw;
        font-family: Arial, sans-serif;
        font-size: 4.62vw;
        font-weight: 400;
        line-height: 1.1;
        text-align: center;
    }

    .block-title__button {
        display: none;
    }

    .mobile-menu-overlay {
        position: absolute;
        inset: 0;
        z-index: 10;
        display: flex;
        flex-direction: column;
        gap: 4.1vw;
        background: rgb(255, 255, 255);
        border-radius: inherit;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }

    .home.menu-open .mobile-menu-overlay {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .home.menu-open {
        background: #fff;
    }

    .home.menu-open > header,
    .home.menu-open > .block-title {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .home.menu-open ~ main,
    .home.menu-open ~ footer {
        filter: blur(6px);
    }

    .mobile-menu-close {
        width: 12.82vw;
        height: 12.82vw;
        border-radius: 50%;
        background-color: #122D3E;
        margin-left: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        cursor: pointer;
    }

    .mobile-menu-close span {
        position: absolute;
        width: 6.41vw;
        height: 2px;
        background-color: #fff;
    }

    .mobile-menu-close span:first-child {
        transform: rotate(45deg);
    }

    .mobile-menu-close span:last-child {
        transform: rotate(-45deg);
    }

    .mobile-menu-panel {
        flex: 0 0 auto;
        border-radius: 7.69vw;
        background: linear-gradient(140deg, #163C58 0%, #0E2432 100%);
        padding: 6.41vw;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 10.513vw;
    }

    .mobile-menu-links,
    .mobile-menu-social {
        display: flex;
        flex-direction: column;
        gap: 3.08vw;
    }

    .mobile-menu-social {
        align-items: flex-end;
    }

    .mobile-menu-links a,
    .mobile-menu-social a {
        font-family: Geist;
        font-size: 6.15vw;
        font-weight: 400;
        color: #F0F0F0;
        line-height: 1.1;
    }

    .mobile-menu-brand {
        position: relative;
        width: fit-content;
        margin: 4.86vh auto;
        padding: 1.56vw 3.08vw;
        font-family: Impact;
        font-size: 5.64vw;
        font-weight: 400;
        text-transform: uppercase;
        color: #0E2432;
        -webkit-text-stroke: 1px #3C6681;
        z-index: 0;
    }

    .mobile-menu-brand::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 350px;
        height: 115.384vw;
        transform: translate(-50%, -50%);
        border-radius: 999px;
        background: radial-gradient(circle, #9EADFF 0%, #282A2B 100%);
        opacity: 0.1;
        filter: blur(6px);
        z-index: -1;
        pointer-events: none;
    }

    .about,
    .advantage,
    .more,
    .courses {
        margin-top: 5.92vh;
    }

    .about {
        display: flex;
        flex-direction: column;
        gap: 4.36vw;
    }
    
    .received h3 {
        font-family: Montserrat;
        font-size: 5.64vw;
        line-height: 1.15;
        margin: 0;
        text-align: center;
        color: #102A3C;
    }
    
    .about__block {
        margin-top: 2vh;
        width: 100%;
        height: auto;
        border-radius: 8.975vw;
        background-color: #336D93;
        padding: 2.37vh 3.08vw 2.96vh 4.615vw;
    }

    .received__block,
    .teachers__block {
        padding: 2.37vh 3.08vw 2.96vh 4.615vw;
    }

    .about__value {
        font-size: 9.23vw;
        line-height: 1;
        text-align: center;
    }

    .about__label {
        margin-top: 2px;
        margin-bottom: 2.96vh;
        font-size: 4.1vw;
        line-height: 1;
        text-align: center;
    }

    .about__description {
        width: 100%;
        height: auto;
        margin-top: 0;
        font-size: 3.59vw;
        line-height: 1.35;
        color: #BFE1F4;
    }

    .received__block > p:last-child,
    .teachers__block > p:last-child {
        margin-top: 0;
        height: auto;
    }

    .advantage {
        height: auto;
    }

    .advantage__title {
        font-size: 5.64vw;
        line-height: 1.2;
        margin-bottom: 2vh;
    }

    .advantage__list {
        flex-direction: column;
        gap: 4.36vw;
    }

    .advantage__item {
        width: 100%;
        height: 33.175vh;
        border-radius: 8.975vw;
        grid-template-rows: 1fr auto;
        padding: 2.13vh 4.1vw 3.32vh;
    }

    .advantage__item > img {
        width: 35%;
        height: auto;
        max-width: none !important;
        max-height: none !important;
        align-self: center;
        justify-self: center;
    }

    .advantage__item > p {
        margin-top: 0;
        font-size: 4.1vw;
        max-width: 70.77vw;
        line-height: 1.2;
    }

    .more {
        height: auto;
    }

    .more__title {
        font-size: 5.64vw;
        line-height: 1.2;
        margin-bottom: 2vh;
    }

    .more__item {
        min-height: auto;
        padding: 2.37vh 3.59vw;
        border-radius: 5.13vw;
        gap: 3.08vw;
    }

    .more__item--center {
        flex-direction: column;
        margin-top: 2vh;
        gap: 4.36vw;
    }

    .more__item--center .more__item {
        min-height: auto;
    }

    .more__item img {
        width: 7.69vw;
        height: 3.6vh;
        padding: 0.6vh 1.28vw;
        border-radius: 2.05vw;
    }

    .more__item__title {
        font-size: 3.59vw;
        line-height: 1.2;
    }

    .more__item__desc {
        margin-top: 0.95vh;
        font-size: 3.08vw;
        line-height: 1.35;
    }

    .courses {
        margin-top: 6vh;
    }

    .courses__title {
        font-size: 5.64vw;
        line-height: 1.2;
        margin-bottom: 2vh;
    }

    .courses__list {
        flex-direction: column;
        gap: 3.08vw;
    }

    .courses__item {
        height: 24.4vh;
        border-radius: 7.7vw;
        padding: 2.37vh 4.1vw 1.185vh 5.13vw;
    }

    .courses__item h2 {
        font-size: 3.85vw;
        line-height: 1.2;
    }

    .courses__item a {
        padding: 1.07vh 8.46vw;
        font-size: 3.08vw;
        border-radius: 999px;
        line-height: 1;
    }

    footer {
        margin-top: 6vh;
        padding: 2.37vh 4.36vw 2.05vh 4.36vw;
        border-radius: 0;
        display: grid;
        grid-template-columns: 25.64vw 1fr;
        grid-template-areas:
            "logo info"
            "social social"
            "record record"
            "note note";
        align-items: start;
        letter-spacing: normal;
        background-color: #142C3C;
    }

    footer img,
    .footer-logo {
        grid-area: logo;
        width: 25.64vw;
        height: 12.7vh;
        justify-self: start;
        align-self: start;
    }

    .footer__refs {
        width: 91.28vw;
        max-width: 100%;
        gap: 3.59vw;
    }

    .footer-info {
        grid-area: info;
        width: 51.28vw;
        align-items: flex-end;
        justify-self: end;
    }

    .footer-social {
        display: none;
        grid-area: social;
        width: 91.28vw;
        max-width: 100%;
        margin: 6.1vh 0 0;
        align-items: flex-end;
    }

    .footer-record {
        display: block;
        grid-area: record;
        width: 91.28vw;
        max-width: 100%;
        margin: 4vh 0 auto;
    }

    .footer-note {
        grid-area: note;
        padding-top: 5vw;
        font-size: 3.1vw;
        line-height: 1.35;
        text-align: right;
    }

    .footer-record .record__title {
        text-align: center;
        font-family: Geist;
        font-size: 5.384vw;
        font-weight: 500;
        color: #E0F3FF;
        line-height: 1.2;
        margin-bottom: 1.65vh;
    }

    .footer-record .record__switch {
        width: 91.28vw;
        max-width: 100%;
        height: 3.08vh;
        margin: 0 auto;
        border-radius: 999px;
        background-color: #F8FBFD;
        box-shadow: none;
        display: grid;
        grid-template-columns: 1fr 1fr;
        overflow: hidden;
    }

    .footer-record .record__switch-item {
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: Geist;
        font-size: 2.564vw;
        line-height: 1;
        color: #17374A;
        text-transform: uppercase;
    }

    .footer-record .record__switch-item + .record__switch-item {
        border-left: 1px solid #7E99AB;
    }

    footer a {
        display: block;
        font-size: 6.154vw;
        line-height: 1;
        text-align: right;
        letter-spacing: normal;
        white-space: nowrap;
    }
    
    .footer-info a {
        letter-spacing: -0.06em;
        font-weight: 400;
        text-align: right;
    }

}

@media (min-width: 1920px) {
.home {
    height: 1052px;
    border-radius: 0 0 100px 100px;
}

header {
    padding: 52px 36px 0 95px;
}

.menu {
    gap: 99px;
    font-size: 24px;
}

.logo {
    width: 100px;
    height: 86px;
}

.block-title {
    margin-top: 284px;
}

.title {
    font-size: 174px;
}

.subtitle {
    font-size: 36px;
}

.block-title__button {
    margin-top: 137px;
    padding: 26.5px 60px;
    font-size: 31px;
    border-radius: 93px;
}

main {
    max-width: 1920px;
    padding: 0 34px;
}

.about {
    gap: 21px;
    margin-top: 178px;
}

.about h3 {
    font-size: 68px;
    line-height: 37px;
    margin-top: 30px;
    margin-bottom: 73px;
}

.about__block {
    border-radius: 50px;
}

.about__value {
    font-size: 81px;
}

.about__label {
    font-size: 45px;
}

.about__description {
    font-size: 32px;
    width: 800px;
}

.received__block {
    padding: 81px 70px 123px 48px;
}

.teachers__block {
    padding: 76px 66px 100px 51px;
}

.received__block > p:last-child {
    margin-top: 103px;
    height: 271px;
}

.teachers__block > p:last-child {
    margin-top: 62px;
    height: 384px;
}

.advantage {
    margin-top: 202px;
    height: 382px;
}

.advantage__title {
    font-size: 38px;
    margin-bottom: 60px;
}

.advantage__item {
    width: 352px;
    height: 276px;
    border-radius: 25px;
}

.advantage__item > p {
    margin-top: 30px;
    font-size: 17px;
}

.more {
    margin-top: 221px;
    height: 678px;
}

.more__title {
    font-size: 60px;
    margin-bottom: 39px;
}

.more__item {
    width: 100%;
    min-height: 172px;
    padding: 36px 48px 36px 40px;
    border-radius: 30px;
    gap: 40px;
}

.more__item--center {
    margin-top: 30px;
    gap: 30px;
}

.more__item--center .more__item {
    min-height: 266px;
}

.more__item__title {
    font-size: 38px;
}

.more__item__desc {
    margin-top: 18px;
    font-size: 27px;
}


.more__item img {
    width: 100px;
    height: 100px;
    padding: 18px;
    border-radius: 20px;
}

.courses {
    margin-top: 257px;
}

.courses__title {
    font-size: 68px;
    margin-bottom: 53px;
}

.courses__item {
    height: 529px;
    padding: 50px 30px 50px 60px;
    border-radius: 50px;
}

.courses__item h2 {
    font-size: 48px;
}

.courses__item a {
    padding: 25px 87px;
    font-size: 30px;
    border-radius: 48px;
}

footer {
    margin-top: 200px;
    padding: 72px 70px;
    border-radius: 70px 70px 0 0;
    font-size: 44px;
    letter-spacing: -0.06em;
}

footer::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    border-radius: 50%;}

.footer__refs {
    gap: 40px;
    width: 451px;
}

footer img {
    height: 173px;
}
}




