* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #18334b;
    line-height: 1.6;
    background: #fff
}

a {
    text-decoration: none;
    color: #1169b2
}

button, input, textarea {
    font: inherit
}

.container {
    width: min(1200px, calc(100% - 32px));
    margin: auto
}

.top {
    border-bottom: 1px solid #dce8ef;
    background: #fff
}

.topin {
    min-height: 92px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px
}

.brand {
    display: flex;
    gap: 12px;
    align-items: center;
    color: #07477e
}

.logo {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0874c9, #59c9a6);
    display: grid;
    place-items: center;
    color: white;
    font-weight: 900;
    font-size: 24px
}

.brand b {
    display: block;
    font-size: 21px;
    line-height: 1.1
}

.brand small {
    color: #688095
}

.contact {
    display: flex;
    gap: 22px;
    font-size: 13px
}

.contact strong {
    display: block;
    color: #07477e
}

.nav {
    background: #07477e;
    position: sticky;
    top: 0;
    z-index: 50
}

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

.links {
    display: flex
}

.links a {
    color: #fff;
    padding: 14px 12px;
    font-weight: 700;
    font-size: 13px
}

.links a:hover, .links a.active {
    background: #1169b2
}

.langs button, .mobile {
    border: 1px solid rgba(255, 255, 255, .3);
    background: transparent;
    color: #fff;
    border-radius: 8px;
    padding: 6px 9px;
    cursor: pointer
}

.mobile {
    display: none
}

.hero {
    background: linear-gradient(110deg, #eaf8ff, #fff 50%, #eafaf4)
}

.heroGrid {
    display: grid;
    grid-template-columns:1fr 1fr;
    align-items: center;
    gap: 25px;
    min-height: 550px
}

.hero h1 {
    font-size: 52px;
    line-height: 1.03;
    color: #07477e;
    margin: 16px 0
}

.hero h1 span {
    color: #17977e
}

.hero p {
    font-size: 18px;
    color: #657b8f;
    max-width: 600px
}

.pill, .kicker {
    color: #15977e;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 12px
}

.btn {
    display: inline-block;
    background: #1169b2;
    color: white;
    padding: 12px 19px;
    border-radius: 11px;
    font-weight: 800;
    border: 0;
    cursor: pointer
}

.btn.alt {
    background: white;
    color: #1169b2;
    border: 1px solid #dce8ef
}

.actions {
    display: flex;
    gap: 10px;
    margin-top: 22px;
    flex-wrap: wrap
}

.heroImg {
    height: 440px;
    border-radius: 32px 32px 90px 32px;
    background: url("/images/1.jpeg?auto=format&fit=crop&fm=jpg&q=85&w=1800") center/cover;
    box-shadow: 0 15px 40px #164c6d22
}

.stats {
    margin-top: -35px;
    position: relative
}

.statsGrid {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    background: #fff;
    border: 1px solid #dce8ef;
    border-radius: 18px;
    box-shadow: 0 12px 35px #164c6d18;
    overflow: hidden
}

.stat {
    text-align: center;
    padding: 20px;
    border-right: 1px solid #dce8ef
}

.stat:last-child {
    border: 0
}

.stat b {
    display: block;
    color: #07477e;
    font-size: 29px
}

.stat span {
    color: #657b8f;
    font-size: 13px
}

.section {
    padding: 70px 0
}

.soft {
    background: #f6fbfd
}

.head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 25px
}

.head h2, .page h1 {
    color: #07477e;
    font-size: 35px;
    line-height: 1.15;
    margin: 5px 0
}

.cards {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 16px
}

.card {
    background: white;
    border: 1px solid #dce8ef;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 5px 18px #164c6d09
}

.card h3 {
    margin: 10px 0 5px
}

.card p {
    color: #657b8f;
    margin: 0
}

.icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #e8f6ff;
    display: grid;
    place-items: center;
    font-size: 23px
}

.photos {
    display: grid;
    grid-template-columns:1.35fr 1fr 1fr;
    grid-auto-rows: 220px;
    gap: 12px
}

.photo {
    overflow: hidden;
    border-radius: 17px;
    position: relative;
    cursor: pointer
}

.photo:first-child {
    grid-row: span 2
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .25s
}

.photo:hover img {
    transform: scale(1.04)
}

.photo figcaption {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background: #07304dcc;
    color: #fff;
    padding: 7px 9px;
    border-radius: 8px;
    font-size: 8px
}

.news {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 16px
}

.newsCard {
    border: 1px solid #dce8ef;
    border-radius: 17px;
    overflow: hidden
}

.newsCard img {
    height: 190px;
    width: 100%;
    object-fit: cover
}

.newsBody {
    padding: 18px
}

.date {
    color: #15977e;
    font-weight: 800;
    font-size: 12px
}

.newsBody h3 {
    margin: 5px 0
}

.newsBody p {
    color: #657b8f;
    font-size: 14px
}

.cta {
    background: linear-gradient(120deg, #0b69b2, #159b83);
    color: white;
    border-radius: 25px;
    padding: 40px
}

.cta h2 {
    margin: 0;
    font-size: 32px
}

.cta p {
    opacity: .9
}

.cta .btn {
    background: #fff;
    color: #07477e
}

.pageHero {
    background: linear-gradient(120deg, #eaf8ff, #f0fbf6);
    padding: 58px 0
}

.crumb {
    color: #71879a;
    font-size: 13px
}

.page {
    padding: 65px 0
}

.list {
    display: grid;
    gap: 11px
}

.doc {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 15px;
    border: 1px solid #dce8ef;
    border-radius: 13px
}

.docIcon {
    width: 44px;
    height: 48px;
    border-radius: 9px;
    background: #eaf5ff;
    display: grid;
    place-items: center;
    font-weight: 900;
    color: #1169b2
}

.doc small {
    display: block;
    color: #71879a
}

.teachers {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 16px
}

.teacher {
    border: 1px solid #dce8ef;
    border-radius: 18px;
    overflow: hidden
}

.teacher img {
    width: 100%;
    height: 210px;
    object-fit: cover
}

.teacher div {
    padding: 15px
}

.teacher p {
    color: #71879a;
    font-size: 13px;
    margin: 3px 0
}

.gallery {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 15px
}

.gallery figure {
    margin: 0;
    cursor: pointer;
    border-radius: 17px;
    overflow: hidden
}

.gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover
}

.contactGrid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 25px
}

.form {
    display: grid;
    gap: 11px
}

.form label {
    display: grid;
    gap: 5px;
    font-weight: 700
}

.form input, .form textarea {
    padding: 10px;
    border: 1px solid #dce8ef;
    border-radius: 9px
}

.map {
    height: 330px;
    background: linear-gradient(135deg, #e2f5ff, #e4faef);
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: #618096
}

.footer {
    background: #082f52;
    color: #cde2ef;
    padding: 45px 0 18px
}

.footGrid {
    display: grid;
    grid-template-columns:2fr 1fr 1fr;
    gap: 25px
}

.footer h3 {
    color: white
}

.footer a {
    color: #cde2ef;
    display: block;
    margin: 4px 0
}

.copy {
    border-top: 1px solid #ffffff22;
    margin-top: 25px;
    padding-top: 14px;
    font-size: 12px
}

.modal {
    position: fixed;
    inset: 0;
    background: #001b2ed9;
    z-index: 1000;
    display: none;
    place-items: center;
    padding: 20px
}

.modal.show {
    display: grid
}

.modal img {
    max-width: 92vw;
    max-height: 88vh;
    border-radius: 14px
}

.close {
    position: fixed;
    right: 20px;
    top: 15px;
    font-size: 25px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    cursor: pointer
}

@media (max-width: 900px) {
    .contact {
        display: none
    }

    .heroGrid {
        grid-template-columns:1fr
    }

    .hero h1 {
        font-size: 43px
    }

    .heroImg {
        height: 330px
    }

    .teachers {
        grid-template-columns:1fr 1fr
    }

    .links a {
        padding: 14px 7px
    }

    .gallery {
        grid-template-columns:1fr 1fr
    }
}

@media (max-width: 680px) {
    .container {
        width: calc(100% - 22px)
    }

    .mobile {
        display: block
    }

    .links {
        display: none;
        position: absolute;
        top: 54px;
        left: 0;
        right: 0;
        background: #07477e;
        flex-direction: column
    }

    .links.open {
        display: flex
    }

    .hero h1 {
        font-size: 36px
    }

    .stats {
        margin-top: 0;
        padding-top: 10px
    }

    .statsGrid {
        grid-template-columns:1fr 1fr
    }

    .stat {
        border-bottom: 1px solid #dce8ef
    }

    .cards, .news, .contactGrid, .footGrid {
        grid-template-columns:1fr
    }

    .photos {
        grid-template-columns:1fr 1fr;
        grid-auto-rows: 170px
    }

    .photo:first-child {
        grid-row: span 1
    }

    .section {
        padding: 52px 0
    }

    .head {
        align-items: start;
        flex-direction: column
    }

    .head h2, .page h1 {
        font-size: 29px
    }
}
