html, body {
    height: 100%;
 }
body {
    height: 100%;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    background-color:#fafafa;;

 }
 .mob-header {
    margin: 0;
    padding: 0;
    width: 100vw; 
    box-sizing: border-box; 
}
.wrapper {
    display: flex;
    overflow: hidden;
    flex-direction: column;
}
.container {
    max-width: 1200px;
    margin: 0px auto;
    padding: 0px 15px;
    background-color:#fafafa;
}
a {
    text-decoration: none;
}
/* Стили для модальной формы */
        #contactForm {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            justify-content: center;
            align-items: center;
            z-index: 9999;
        }

        #cvForm {
            background: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0,0,0,0.3);
            width: 300px;
        }

        #cvForm h2 {
            margin-top: 0;
        }

        #cvForm input[type="file"] {
            margin-bottom: 15px;
        }

        #cvForm button {
            margin-right: 10px;
        }
/* MOB */

.header-main {
    display: flex;    
    column-gap: 100px;
}

.header-burger {
    display: none;
}
.mob-logo-header {
    display: none;
}
.mob-header-social{
    display: none;
}

.mob-logo {
    display: none;
}
.title-header-bottom {
    display: none;
}
.mob-header-bottom-img {
    display: none;
}
.nav-button {
    display: none;
}

.nav-button-img {
    display: none;
}
.mob-nav-list {
    display: none;
}

.header {
    padding-top: 25px;
    background-color:#fafafa;
}
.content-left {
    background-color:#fafafa;
    position: relative;
}
.content-right {
    background-image: url('images/assets/main.png'); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    width: 100%; 
    border-radius: 15px;
}

.content-right-main {
    display: flex;
    justify-content:  space-between; 
    margin-top: 50PX;
    position: relative; 
    width: 100%;    
}
.logo-main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50vh;
}
.logo-main-img {
    max-width: 100%;
    
}
.social-main {
    position: absolute;
    bottom: 0; 
    left: 0; 
    margin: 20px; 
    max-width: 50%;
    height: auto;
}
.nav {   
    top: 20px;
    z-index: 2; 
}
.nav-list {
    display: flex;
    column-gap: 30px;
    color: #0368F9;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight:400;
    font-size: 16px;
    transition: color 0.3s ease;
    padding-left: 10px
}
.nav-item {
    list-style-type: none;
    
}
.nav-link-main {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 18px;
    transition: color 0.3s ease;
    font-weight: bold;
}
.nav-link-main:hover {
    color: #2EC2F3;
    
}
.nav-link-main {    
    text-decoration: none;
}
.button-container {
    max-width: 327px;    
    margin: 0 auto 15px auto; /* Center the button container */
    text-align: center; /* Center the buttons inside the container */
}
.button-container .button_main {
    display: block;
    width: 100%;
    height: 110px;
    margin-bottom: 15px;
    background-color: #0368F9;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button-container .button_main:hover {
    background-color: #2EC2F3;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
}

.img-main, .woman-main {
    position: absolute;
    right: -25px; 
    bottom: 0; 
}
.img-main {
    width: 100%;
    max-width: 448px;
    margin-bottom: 0; 
    margin-right: -10%;
    align-items: flex-end; 
}
.woman-main {
    width: 80%;
    max-width: 448px; 
    align-self: flex-end;
    margin-bottom: 0;    
}

/* +++++++++++++++++++++++++++++++++ */

.img-main {
    opacity: 0; 
    transform: translateY(20px); 
    transition: opacity 0.5s ease, transform 0.5s ease; 
}

.img-main.fade-in {
    opacity: 1; 
    transform: translateY(0); 
}

/* +++++++++++++++++++++++++++++++++ */

/* ДРУГИЕ СТРАНИЦЫ */
.header {
    padding-top: 23px;
    background-color:#fafafa;;
}

.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.header-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    max-width: 288px;

}
.header-img-technology  img{
    width: 100%;
}

.dynamic-title-container {
    margin-top: 0.5em;
    display: inline-block;
    color: #0368F9;
    font-size: 80px;    
    font-family: 'Montserrat', sans-serif;
    text-align: left;
    line-height: 0.9; 
    white-space: normal; 
    word-wrap: break-word; 
    font-weight: 400;
    max-width: 100%;
    width: 580px;
    overflow-wrap: break-word;
}

.social-links-header {
    width: 48px;
    height: 48px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
    display: flex;
    column-gap: 10px;
    margin-left: 0px;
    margin-bottom: 0px;
}
.social-links-header img:hover {
    transform: scale(1.1);
    border-radius: 50%;
}

.facebook-link {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-container {
    position: relative;
    width: 100%;
    max-width: 748px;
    height: 700px;
    border-radius: 30px;
    overflow: hidden;
}

.nav {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2; 
}

.nav-list {
    display: flex;
    column-gap: 35px;
}

.nav-item {
    list-style-type: none;
}

.nav-link {
    color: #005ADC;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #2EC2F3;
    
}

.nav-button {
    display: block;
}

.nav-btn-img {
    display: block;     
    width: 100%;        
    height: auto;       
}
#nav-btn {
    display: none;     
    background: none;   
    border: none;       
    padding: 0;         
    cursor: pointer;    
}

/* CHI SIAMO */

.content-chi-siamo-1 {
    position: relative;
    width: 973px; 
    height: auto;
    margin-bottom: 100px;
    margin-top: 100px;
}

.image-chi-siamo {
    width: 70%;
    height: auto;
    border-radius: 30px;
}

.content-chi-siamo-text {
    background-color: #ffffff;
    color: #103364;
    width: 60%;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    position: absolute;
    right: -100px; 
    bottom:90px; 
    z-index: 1;
}

.content-chi-siamo-text-mob {
    display: none;
}

.scopri-cosa {
    width: 100%;    
}

.content-chi-siamo-4 p {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 62px;
    color: #103364;
    margin-bottom: 1.5em;
}

.content-chi-siamo-4 p b {
    font-family: 'Nudla', sans-serif;
    font-weight: 100;
    font-size: 62px;
    color: #27AAE1;
}

.content-chi-siamo-wrapper-3 {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #0368F9;
    border-radius: 15px;
    padding-top: 15px;
    padding-bottom: 15px;    
    padding-left: 60px;
    overflow: visible;
    top: 100px;
    max-height: 300px;
    margin-bottom: 160px;
}

.text-content-chi-siamo-3 {
    color: #ffffff;
    font-size: 1rem;
    max-width: 60%; 
    z-index: 1; 
}

.image-earth {
    margin-top: -10%;
    margin-left: 50px;
    z-index: 0; 
   
}
.content-image-earth-mob {
    display: none;
}

/* +++++++++++++++++++++++++++++++++ */


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.content-chi-siamo-text {
    animation: fadeInRight 1s ease-out forwards;
    opacity: 0; 
}

.text-content-chi-siamo-3 {
    animation: fadeInUp 1s ease-out 0.3s forwards;
    opacity: 0;
}

.content-chi-siamo-4 p {
    animation: fadeInUp 1s ease-out 0.5s forwards;
    opacity: 0;
}

.image-chi-siamo {
    animation: fadeInLeft 1s ease-out forwards;
    opacity: 0;
}

.image-earth {
    animation: fadeInUp 1s ease-out 0.4s forwards;
    opacity: 0;
}

/* +++++++++++++++++++++++++++++++++ */

/* TECNOLOGIE */

.tec-container {
    display: flex;
    width: 100%;
    min-height: 400px;
    align-items: center;    
    border-radius: 15px;
    margin: 110px auto 0 auto; 
}

.tec-container-white {
    background-color: #ffffff;
}

.tec-container-acqua {
    background-color: #A2E3F8;;
}

.tec-image-wrapper {
    width: 40%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tec-img {
    width: 80%;
    height: auto;
    transform: translateY(-15%);
}

.tec-text-wrapper {
    width: 60%;
    text-align: left;
    padding: 0 20px;
}

.tec-title {
    color: #0368F9;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 62px;
}

.tec-title-2 {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 62px;
}

.tec-sub-title {
    color: #000;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 20px;
    margin-top: 10px;
}

.tec-text {
    color: #103364;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    margin-top: 20px;
}
.tec-text-2 {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    margin-top: 20px;
}
.tec-container-acqua {
    background-color: #0368F9;;
}

/* +++++++++++++++++++++++++++++++++ */


.tec-container, .tec-img, .tec-title, .tec-sub-title, .tec-text {
    opacity: 0;
    transform: translateY(20px); 
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Ключевые кадры анимаций */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.tec-container {
    animation: fadeIn 1s ease-out forwards;
    opacity: 0; 
}


.tec-img {
    animation: fadeInLeft 1s ease-out 0.3s forwards;
    opacity: 0; 
}


.tec-title {
    animation: fadeInRight 1s ease-out 0.5s forwards;
    opacity: 0;
}

.tec-sub-title {
    animation: fadeInRight 1s ease-out 0.7s forwards;
    opacity: 0;
}

.tec-text {
    animation: fadeInRight 1s ease-out 0.9s forwards;
    opacity: 0;
}

/* +++++++++++++++++++++++++++++++++ */

/* DICONDO DI NOI */

.form-container-1 {
    display: flex;
    width: 100%;
    height: 470px;
    align-items: flex-end;
    background-color: #fff;
    border-radius: 20px;
    padding: 0px;
    margin-top: 50px;
    overflow: visible;
    margin: 180px auto 0 auto;
    
}

.form-image-wrapper-dicondo {
    flex: 1;
    position: relative;
}

.form-image-dicondo {
    position: absolute;
    width: 65%;
    object-fit: cover;
    height: auto;
    bottom: 0;
}

.form-content-dicondo {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-text-dicondo {
    color: #103364;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.user-form label {
    color: #103364;
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.user-form input {
    width: 80%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.user-form button {
    width: 100px;
    padding: 10px;
    background-color: #ffffff00;
    color:  #103364;
    border-color: #103364;
    border-radius: 5px;
    cursor: pointer;
}

/* LAVORA CON NOI */


.form-container-2 {
    display: flex;
    width: 100%;
    height: 500px;
    align-items: flex-end;
    background-color: #0368F9;
    border-radius: 20px;
    padding: 0px;
    margin-top: 50px;
    overflow: visible;
    margin: 100px auto 0 auto;
    
}

.form-image-wrapper-lavora {
    flex: 1;
    position: relative;
}

.form-image-lavora {
    position: absolute;
    width: 95%;
    object-fit: cover;
    height: auto;
    bottom: 0; 
}

.form-content-lavora {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.form-text-lavora {
    color:  #103364;
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.form-text-lavora-1 {
    color:  #ffffff;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.user-form-1 label {
    color: #ffffff;
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.user-form-1 input {
    width: 80%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.user-form-1 button {
    width: 100px;
    padding: 10px;
    background-color: #ffffff00;
    color:  #ffffff;
    border-color: #ffffff;
    border-radius: 5px;
    cursor: pointer;
}

/* CONTATTI */

.contakt-container {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
}
.contakt {
    margin: auto 0;  
}

.tel-container {
    color: #103364;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 20px;
}

.email-container {
    color: #103364;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 20px;
    margin-top: 15px;
}
.adr-container {
    color: #103364;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 20px;
    margin-top: 15px;
}

.contakt {
    width: 90%; /* Occupies 40% of the space */
    margin: auto 0;
}
.map-container {
    width: 60%; /* Occupies 60% of the space */
    height: auto;
}

/* FOOTER */

footer {
    background-color: #ffffff;
    text-align: center;
    margin-top: 50px; /* Автоматически перемещает футер к низу */
}
.footer-container {
    max-width: 1200px;
    margin: 0px auto;
    padding: 0px 15px;
    background-color:#ffffff;
}
.footer-top {
    display: flex;
    background-color: #ffffff;
    justify-content: space-between;
    align-items: center;
}
.footer-nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    column-gap: 32px;    
}
.footer-nav-link {
    color: #0368F9;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: bold;
}
.footer-nav-link:hover {
    color: #2EC2F3;
}
.footer-logo {
    max-width: 80px;
}
.footer-logo-img {
    width: 100%;
}
.footer-social img {
    max-width: 100px;
    text-decoration: none;
    
}
.social-footer-img {
    width: 25%;
    text-decoration: none;
}

.footer-nav-bottom {
    display: flex;
    justify-content: center;
    column-gap: 25px;
    padding-bottom: 20px;      
}
.footer-bottom {
    background-color: #ffffff;
}

.footer-bottom-link {
    text-decoration: none;
    color: black;
    }
    .footer-bottom-link:hover {
        text-decoration: underline;
    }
.footer-nav-item {
    list-style-type: none;
}
