* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    font-family: "Google Sans Display", Roboto, Arial, sans-serif;
}

body {
    font-family: Roboto, sans-serif;
    line-height: 1.6;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.about_container {
    text-align: center;
}

.about_container p {
    margin-bottom: 20px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.content_title {
    font-size: 20px;
}

.content_text {
    font-size: 18px;
    margin: 20px;
}

.main_img {
    border-radius: 20px;
    box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.9);
    opacity: 0.9;
}

header {
    background-color: #2b657b;
    color: #fff;
    padding: 30px 0;

    background-image: url(./img/wave.svg);
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    height: 500px;
    position: relative;
}

.header_title {
    color: #fff;
    font-size: 20px;
}

@media screen and (min-width: 768px) {
    .header_title {
        font-size: 28px;
    }
}

.navigation {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
}

.menu-icon {
    display: none;
    font-size: 40px;
    cursor: pointer;
}

.title_link {
    font-size: 20px;
    transition: font-size 0.3s ease;
    text-decoration: none;
    color: #fff;
}

.title_link:hover {
    font-size: 21px;
}

@media screen and (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    .navigation {
        position: absolute;
        top: 100%;
        /* Размещаем меню под заголовком */
        left: 0;
        background-color: #2b657b;
        width: 100%;
        display: none;
        /* Начально скрываем меню */
    }

    .navigation.open {
        display: block;
    }

    .header_item {
        margin: 10px 0;
    }

    .container {
        padding: 0 5px;
    }

    .title_link {
        font-size: 17px;
    }

    .title_link:hover {
        font-size: 17px;
    }
}



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


.header_item {
    margin-left: 20px;
}


#hero {
    text-align: center;
    padding: 100px 0;
    background-color: #2b657b;
    color: #fff;
}

#hero h2 {
    margin-bottom: 20px;
}

#hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#hero .content {
    flex: 1;
}

#hero .image {
    flex: 1;
    margin-right: 20px;
    /* text-align: right; */
}

@media screen and (max-width: 768px) {

    #hero .container {
        flex-direction: column;
        align-items: center;

    }

    #hero .content {
        text-align: center;
    }

    #hero .image {
        margin-right: 0;
        margin-top: 20px;
    }
}

@media screen and (max-width: 768px) {

    #hero .content {
        text-align: center;
    }

    #hero .image {
        display: block;
        margin: 20px auto 0;
        /* Переносим изображение в центр */
    }
}

#hero img {
    max-width: 100%;
}

#mission {
    text-align: center;
    padding: 60px 0;
}

#mission .container {
    max-width: 1200px;
    margin: 0 auto;
}

#mission h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

#mission p {
    font-size: 16px;
    padding: 0 20px;

}

@media screen and (min-width: 768px) {
    #mission p {
        line-height: 1.6;
        font-size: 22px;
    }
}

.btn {
    font-size: 18px;
    font-weight: 600;
    display: inline-block;
    background-color: #fff;
    color: #007bff;
    padding: 15px 50px;
    text-decoration: none;
    border-radius: 10px;
    transition: background-color 0.3s ease;
    margin-top: 30px;
}

.btn:hover {
    background-color: #3e78b5;
    color: #fff;
}

section {
    padding: 60px 0;
}


.image-pair {
    text-align: center;
}

.image-pair img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.image-pair img:hover {
    transform: scale(1.1);
}

@media screen and (max-width: 768px) {
    .image-pair img {
        display: block;
        margin: 0 auto 10px;
    }
}

@media screen and (min-width: 768px) {
    .image-pair img {
        display: inline-block;
        margin: 0 10px;
        max-width: 80%;
        width: 400px;
        max-width: 33%;
    }
}

.image_text {
    margin: 20px;
    font-size: 16px;
}

@media screen and (min-width: 768px) {
    .image_text {
        font-size: 20px;
    }
}


.about_title {
    margin-top: 20px;
    font-size: 20px;
    text-align: center;
}

.icon-cascade {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.icon-cascade img {
    max-width: 100%;
    font-size: 36px;
    margin: 0 10px;
    transition: transform 0.3s ease;
}

.icon-cascade img:hover {
    transform: translateY(-5px);
}

.icon-container {
    text-align: center;
    margin: 20px;
    flex: 1 1 300px;
    max-width: 300px;
}

@media screen and (max-width: 768px) {
    .icon-container {
        flex-basis: 100%;
        max-width: none;
        margin: 20px 0;
    }
}



footer {
    background-color: #2b657b;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: auto;

}

.footer {
    background-image: url(./img/wave-footer.svg);
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    height: 200px;
    position: relative;
}

.footer_title {
    margin-top: 20px;
}

.footer_privacy {
    color: white;
}