body {
    margin: 0;
    padding: 0;
    background-color: #04003F; /* Виправлено значення кольору */
    font-family: "Noah Regular", sans-serif;
    max-width: 100%; /* Максимальна ширина сторінки */
    margin: auto; /* Центрування сторінки по горизонталі */
    overflow-x: hidden; /* Забороняє горизонтальний скрол */
}
.section {
    width: 100%;
    margin: 0 auto;
}
a{
    text-decoration: none;  /* Видаляє підкреслення */
    color: inherit; 
}
 header {
    height: 650px; 
    width: 100%; 
    background-image: url('images/image%202163.png');
    background-size: cover; 
    background-position: top center; /* Позиція зображення — зверху по центру */
    display: flex;
    justify-content: left;
    align-items: center;
    text-align: left;
}
.navigation {
    width: 100%;
    height: 48px;
    background-color: white;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000; /* Високий пріоритет */
}
/* Styling for the hamburger menu icon */
.hamburger {
    display: none;
    font-size: 1.3em;
    user-select: none;
}
.burger-menu{justify-content: space-between;
width: 85%;}
.burger-menu .nav-box{
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 75%;
    display: flex;
}
.burger-menu a{
    display: flex;
    list-style: none;
    grid-gap: 20px;
    justify-content: space-between;
    padding: 15px 15px;
 }
#checkbox_toggle {
    display: none; /* Сховати checkbox */
}
.checkbox-toggle {
        display: none;
    }
.navigation .logo {
    width: 122px;
    height: 28px;
    background-image: url('images/logo.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 20px;
}

.navigation .call-us {
    display: flex; /* Робимо контейнер флексбоксом */
    align-items: center; /* Центруємо текст по вертикалі */
    justify-content: center; /* Центруємо по горизонталі (не обов'язково) */
    background-color: #04003F;
    color: white;
    width: 154px;
    height: 48px;
    text-align: center;
    cursor: pointer;
}
.navigation .call-us a {
  text-decoration: none;  /* Видаляє підкреслення */
  color: inherit; 
    font-size: 16px;
    font-weight: bold;
    align-content: center;
    margin: auto;
    padding: 0;
}
.dropdown {
    position: relative;
    cursor: pointer;
    padding: 5px 5px;
    border-radius: 5px;
    display: inline-block;
     color: black;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 10%;
    background-color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    padding: 5px;
    min-width: 60px;
    color: black;
}
.dropdown:hover .dropdown-menu, 
.dropdown:focus-within .dropdown-menu {
    display: block;
}
    .burger-menu {
    display: flex;
    list-style: none;
    grid-gap: 20px;
    justify-content: space-between;
 }
.hamburger {
    display: none;
    font-size: 1.5em;
    cursor: pointer;
    background-color: #04003F;
    color: white;
    padding: 8px 16px;
    border-radius: 24px;
    text-align: left;
}
.header-content {
    color: white;
    height: 100px;
    justify-content: space-between;
    width: 468px;
    margin-left: 20px;
    margin-top: 40px;
    }
.header-content h1 {
    font-size: 76px;
    font-weight: auto;
    background: linear-gradient(to right, #FFFFFF, #0056b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.header-content p {
    font-size: 16px;
}
h1, p {
    margin: 0;  /* Прибирає відступи з усіх боків */
    padding: 0; /* Прибирає внутрішні відступи */
}
h1{
    text-transform: uppercase; 
    letter-spacing: [2px];
}
/*------------BLOCK1---------------------*/
.block1{
    margin:10px 20%;
    height: 500px;
    max-width: 1024px;;
    display: flex;
    color: white;
    font-family: "Noah Regular", sans-serif;
    align-items: center;
}
.row{
    width: 50%; /* Ширина кожного блоку */
    height: 354px; /* Висота кожного блоку */
    display: flex;
    justify-content: flex-start;
    align-items: top;
    font-style: 16px; 
    text-align: left;
   
}
.row p{width: 248px;
 }
.row img{
    height: auto;
    width: 100%;
}
/*---------Block2--------*/
.block2{
    background-color: white;
    display: block;
    max-width: 100%;
    height: 600px;
    margin-bottom: 40px;
    padding: 20px;
}
.top{
    justify-content: space-between;
    display: flex; 
    flex-wrap: wrap;
    height: 35%;
}
.block2 .header-left span:nth-child(2) {
    color: #0056b3;  
}
h2{
    font-size: 64px;
    text-transform: uppercase;
}
 .materials-heading span {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid transparent;
}
.left p {
    opacity: 0;
}
.right div {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.header-left {
    flex: 1;
    width: 50%
}
.header-right {
    flex: 1;
    text-align: left;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
    padding-top: 45px;
}
.bottom{
    justify-content: space-between;
    display: flex; 
    flex-wrap: wrap;
    height: 65%;   
}
.left{
    margin-top: 100px;
    flex: 1;
    width: 50%;
    justify-content: space-between;
    font-weight: bold; /* Жирний шрифт */
    font-size: 24px;
    line-height: 1.5;
}
.right{
    flex: 1; 
    font-weight: bold; /* Жирний шрифт */
    font-size: 24px;
    margin-bottom: 30px;
}
hr{
    border-top: 2px solid #04003F;
}
hr:hover{
    border-top: 6px solid #5074F7; 
}
h2:hover, p:hover, h3:hover{
    text-decoration: underline; /* Додає підкреслення */
    text-decoration-color: #5074F7; /* Колір підкреслення */
}
.right{
    flex: 1;
    display: flex; /* Виправлено */
    position: relative;
    margin: 20px 10px;
}
.right h3{
    color: #5074F7;
    font-size: 48px;
    font-weight: bold;
    line-height: 0;
    
}
.right .tl, .right .tr, .right .bl, .right .br {
    width: 45%;
    height: 45%;
    position: absolute;
    z-index: 1;
}
.right .tl {
    top: 0;
    left: 40px;
}
.right .tr {
    top: 0;
    right: 0;
}
.right .bl {
    bottom: 0;
    left: 40px;
}
.right .br {
    bottom: 0;
    right: 0;
}
/*----------------Етапи співпраці------------------*/
.block3{
    margin-left: 20%;
    max-width: 1024px;
    height: 684px;
    justify-content: space-between;
}
.block3 h2{
    color: #5074F7;
    font-size: 64px;
}
.block3 h2:hover{
    text-decoration: underline; /* Додає підкреслення */
    text-decoration-color: #5074F7; /* Колір підкреслення */  
}
.block3 .img1{
    height: 352px;
    width: 92.3%;
    margin: 50px 0;
    background-image: url('images/Group%20427321479.png');
}
/*----------------block4-----------*/
.block4 {
    position: relative;
    width: 100%;
    height: 570px;
    overflow: hidden;
    font-family: Noah;
}
.block4 .img {
    width: 100%;
    height: 398px;
    object-fit: cover;
    display: block;
    background: linear-gradient(to top, rgba(4, 0, 63, 1.8), rgba(4, 0, 63, 0)), 
                url('images/image.png');
    background-size: cover;
    background-position: center;
}
.content {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    height: 50%;
}
.content h3 {
    margin-bottom: 10px;
    color: #5074F7;
    font-size: 48px;
}
.content button {
    margin-top: 10px;
    width: 300px;
    background: #04003F;
    border: 2px solid white;
    color: white;
    padding: 10px 60px;
    font-size: 12px;
    transition: 0.3s;
    border-radius: 12px;
}
.content button:hover {
    background: white;
    color: black;
    border: black;
}
/*------------------Footer--------------------------*/
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background-color: white;
    color: black;
    padding: 20px;
}
.footer-block1 {
    flex: 1;
    text-align: left;
}
.footer-block1 p {
    margin: 5px 0;
    padding-left: 350px;
}
.footer-block1 a {
    color: black;
    text-decoration: none;
}
.footer-block2 {
    flex: 1;
    text-align: right;
}
.footer-block2 a {
    margin: 0 10px;
    font-size: 32px;
    color: black;
    text-decoration: none;
}
.footer-block2 i {
    height: 32px;
    width: 32px;
    display: inline-block;
}
.colortext {
    width: 100%;
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
}

/*-------------- Адаптація для телефонів------------- */
@media screen and (min-device-width: 0px) and (max-device-width: 430px){
* {
    max-width: 100%;
    box-sizing: border-box;
}
    html{
    max-width: 100%;
}
body{ 
    max-width: 100%;
    margin: 0;
    padding: 0;
}
.section {
    width: 100%;
    margin: 0;
    padding: 0;
 }
header {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 460px;
    background-size: cover;
}
.header-content{
    text-align: left;
    margin-left: 15px;
}
.header-content h1{
    font-size: 36px;
    line-height: 1.2;
} 
.navigation {
    width: 100%;
     padding: 0;
    margin: 0;
    
}
.navigation .logo {
    width: 57px;
    height: 16px;
}
.hamburger {
    display: block;
    margin: 0;
    border-radius: 0;
    width: 70px;
    justify-content: center;
    text-align: center;
}
.burger-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 48px; /* або 100%, якщо menu всередині .navigation */
    left: 0;
    width: 100%;
    background-color: #04003F;
    z-index: 999;
}

.checkbox-toggle:checked + .hamburger + .burger-menu {
    display: flex; /* З flex, щоб працював flex-direction */
}

.burger-menu a,
.burger-menu #lin,
.burger-menu .dropdown,
.burger-menu .dropdown-menu,
.burger-menu .call-us{
   padding: 16px;
    color: white;
    width: 100%;
    text-align: center;
    border-top: 1px solid #ffffff22;
    background-color: #04003F;
    text-decoration: none;
    font-size: 16px;
}
/*-------------block1-----------*/
.block1 {
    height: auto;
    width: 100%;
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    color: white; 
    font-family: Noah;
    margin: 0;
}
 .block1 .row {
    width: 100%; 
    height: auto; /* Висота кожного блоку */
    display: flex;
    justify-content: center;
    align-items: flex-start; 
    font-size: 16px; 
     text-align: left;
    margin: 10px 0;
    padding: 0;
}
.row img {
    height: 55%;
    width: 80%;
    padding: 0;
}
/*----------block2----------*/
.block2 {
    background-color: white;
    display: block;
    max-width: 100%;
    height: auto; /*Висота автоматична для коректного відображення*/
}
.top {
    display: block;
    flex-wrap: wrap;
    justify-content: space-between;
    height: auto; /* Висота адаптується до контенту */
   
}
.block2 .header-left {
    width: 100%; /* Зменшено ширину для вирівнювання */
    
}
.block2 .header-right {
    text-align: left;
    font-size: 16px;
    line-height: 1.5;
    padding-top: 45px;
    width: 100%; /* Зменшено ширину для вирівнювання */
}
.bottom {
    display: flex;
    flex-direction: column; /* Всі елементи йдуть вертикально */
    align-items: stretch; /* Розтягує блоки на повну ширину */
    width: 100%;
    height: 740px; /* Автоматична висота */
    margin-bottom: 20px;
   
}
.left, .right {
    width: 100%; /* Повна ширина */
    height: auto; /* Автоматична висота */
    flex-grow: 1; 
    font-size: 24px;
    line-height: 1.5;   
}
.left {
    font-weight: bold;
}
.right {
    width: 100%;
    position: relative; /* Додатковий фон */
    font-weight: bold;
}
.right h3 {
    color: #5074F7;
    font-size: 48px;
    font-weight: bold;
}
.right .tl, .right .tr, .right .bl, .right .br {
    position: absolute;
    z-index: 1;
}
hr {
    border-top: 2px solid #04003F;
}
.right h3 {
    color: #5074F7;
    font-size: 36px;
    font-weight: bold;
}
.right .tl, .right .tr, .right .bl, .right .br {
    width: 45%;
    height: 40%;
    position: absolute;
    z-index: 1;
    padding-bottom: 20px;
}
.right .tl,
 .right .bl   {
    left: 10px;
}
hr {
    border-top: 2px solid #04003F;
}
hr:hover {
    border-top: 6px solid #5074F7;
}
h2:hover, p:hover, h3:hover {
    text-decoration: underline;
    text-decoration-color: #5074F7;
}
    /*-----------block4-----------*/
.block3{
    max-width: 100%;
    height: auto;
    justify-content: space-between;
    margin-bottom: 40px;
    margin-left: 0;
}
.block3 h2{
    color: #5074F7;
    font-size: 36px;
    margin: 40px 20px;
}
.block3 h2:hover{
    text-decoration: underline; /* Додає підкреслення */
    text-decoration-color: #5074F7; /* Колір підкреслення */  
}
.block3 .img1{
    height: 926px;
    width: 328px;
    margin: auto auto;
    background-image: url('images/Group%20427321493.png');
}
    /*-----------block4------------*/
.block4 {
    position: relative;
    width: 100%;
    height: 370px;
    overflow: hidden;
    font-family: Noah;
}
.block4 .img {
    width: 420px;
    height: 200px;
    object-fit: cover;
    display: block;
    background: linear-gradient(to top, rgba(4, 0, 63, 1.8), rgba(4, 0, 63, 0)), 
                url('images/image.png');
    background-size: cover;
    background-position: center;
}
.content {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    height: 50%;
}
.content h3 {
    margin-bottom: 10px;
    color: #5074F7;
    font-size: 36px;
}
.content button {
    margin-top: 10px;
    width: 300px;
    background: #04003F;
    border: 2px solid white;
    color: white;
    padding: 10px 60px;
    font-size: 12px;
    transition: 0.3s;
    border-radius: 12px;
}
.content button:hover {
    background: white;
    color: black;
    border: black;
}
    /*-------footer--------*/
.footer-block1{
    justify-content: flex-start;
}  
footer {
    width: 100%;
    height: auto;
    display: block;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 20px;
}
.footer-block1 {
    margin: 40px auto;
    text-align: left;
}
.footer-block1 p {
    margin: 15px 0;
    padding-left: 20px;
}
.footer-block2 {
    text-align: left;
    width: 100%;
    justify-content: space-between;
}
.footer-block2 a {
    margin: 0 20px;
    font-size: 24px;
    padding: 0 2px;
}
.footer-block2 i {
    height: 32px;
    width: 32px;    
}
.colortext {
    padding-top: 40px;
    text-align: left;
    margin-top: 10px;
    font-size: 14px;
}
}
   