html {
    scroll-behavior: smooth;
}* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #1b1f2a;
    background: #ffffff;
    line-height: 1.6;
}

header {
    width: 100%;
    padding: 25px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border-bottom: 1px solid #e5e5e5;
}

.logo {
    font-size: 34px;
    font-weight: 800;
    color: #06265c;
    line-height: 1.1;
}

.logo span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-top: 8px;
}

nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: #06265c;
    font-weight: 600;
}

.btn {
    display: inline-block;
    margin-top: 35px;
    background: #06265c;
    color: white !important;
    padding: 13px 28px;
    border-radius: 30px;
}

.btn:hover {
    background: #0b438f;
}

.hero {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 50px 6%;
    background: #f5f8fc;
}

@media (min-width: 1400px) {

    .hero {
        min-height: 780px;
        padding: 80px 6%;
    }

}

.hero-text {
    width: 45%;
}

.hero-text h1 {
    font-size: 55px;
    line-height: 1.1;
    color: #06265c;
    margin-bottom: 25px;
}

.hero-text p {
    font-size: 20px;
    margin-bottom: 55px;
}

.hero-image {
    width: 55%;
}

.hero-image img {
    width: 100%;
    border-radius: 15px;
}

.btn-outline {
    display: inline-block;
    margin-left: 25px;
    margin-top: 35px;
    color: #06265c;
    font-size: 17px;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
}

.btn-outline:hover {
    color: #0b3f8f;
}

.about {
    padding: 150px 6%;
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.about h2 {
    font-size: 38px;
    color: #06265c;
}

.about p {
    max-width: 700px;
}

.stats {
    display: flex;
    gap: 35px;
}

.stats div {
    text-align: center;
}

.stats strong {
    display: block;
    font-size: 38px;
    color: #06265c;
}

.solutions {
    padding: 80px 6% 120px;
    background: #f5f8fc;
}

.solutions + .solutions {
    margin-top: 40px;
}
.solutions h2 {
    text-align: center;
    font-size: 40px;
    color: #06265c;
    margin-bottom: 50px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
}
.card {
    background: white;
    border-radius: 15px;
    overflow: hidden;

}

.card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
}

.card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
}

.card h3,
.card p {
    padding: 15px 20px;

}




.contact {
    background: #06265c;
    color: white;
    padding: 60px 6%;
}

.contact h2 {
    font-size: 38px;
}

footer {
    background: #031530;
    color: white;
    padding: 40px 6%;
}
.footer h4{
    color:#0B4F8A;
}

.footer a{
    color:#0B4F8A;
}

.footer a:hover{
    color:#ffffff;
}

@media(max-width:900px){

header,
.hero,
.about {
    flex-direction: column;
}

.hero-text,
.hero-image {
    width:100%;
}

.cards {
    grid-template-columns:1fr;
}

}


footer {
    background: #06265c;
    color: white;
    padding: 60px 6% 20px;
    margin-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-column:first-child {
    padding-left: 40px;
}
.footer-column p {
    line-height: 1.8;
}

.footer-column a {
    color: white;
    text-decoration: none;
}

.footer-column a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.3);
    font-size: 14px;
}

/* FORM RICHIESTA INFORMAZIONI */

.contact-form {
    max-width: 750px;
    margin: 40px auto;
}

.contact-form h3 {
    margin-top: 35px;
    margin-bottom: 15px;
    color: #06265c;
}

.contact-form label {
    display: block;
    margin-top: 22px;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    margin-top: 30px;
}
.footer-column h3{
    color:#0B4F8A;
}

.footer-column a{
    color:#0B4F8A;
    text-decoration:none;
}

.footer-column a:hover{
    color:#ffffff;
}
.visible-card-btn {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9999;
    background: #06265c;
    color: white;
    padding: 14px 22px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: 0.3s;
}

.visible-card-btn:hover {
    transform: translateY(-3px);
}

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

.logo span {
    margin-top: 5px;
}

#impianti {
    padding-top: 30px;
}

section#realizzazioni {
    margin-top: 0;
    padding-top: 40px;
}



.section-divider {
    height: 80px;
    background: white;
}


#realizzazioni {
    overflow: visible;
}

.realizzazioni-section {
    padding-top: 170px;
    padding-bottom: 80px;
}

.realizzazioni-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 0 auto;
}

.realizzazioni-image img {
    width: 95%;
    max-width: 1400px;
    height: auto;  
    object-fit: contain;
    border-radius: 30px;
}

.realizzazioni-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.contatti-content {
    display: flex;
    align-items: center;
    gap: 50px;
    width: 100%;
}


.contatti-text {
    width: 50%;
    padding-left: 40px;
    max-width: 650px;
}


.contatti-text h2 {
    font-size: clamp(32px, 3vw, 46px);
    line-height: 1.15;
    margin-bottom: 35px;
}


.contatti-image {
    width: 50%;
}


.contatti-image img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    object-fit: contain;
}


.contatti-dati {
    margin-top: 45px;
}

@media (min-width: 1400px) {

.solutions {
    padding-top: 70px;
    padding-bottom: 100px;
}

.about {
    padding-top: 80px;
    padding-bottom: 80px;
}

#contatti .contatti-content {
    padding-top: 80px;
}

#contatti .contatti-text h2 {
    font-size: 44px;
    max-width: 650px;
}

#contatti .contatti-image {
    padding-top: 60px;
}
}


@media (min-width: 769px) and (max-width: 1399px) {

    .solutions {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .about {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .hero {
        gap: 25px;
    }

    .hero-text {

    width: 45%;

}

.hero-image {

    width: 50%;

}

    .hero {

        padding-left: 5%;

        padding-right: 5%;

    }

        .about {

        gap: 25px;

    }

    .cards {

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 15px;

}

.card {

    min-width: 0;


}


    .contatti-content {
        gap: 30px;
    }

    .hero-text h1 {
        font-size: 48px;
    }

}

@media (max-width: 768px) {

    .solutions {
        padding: 45px 20px;
    }

    .about {
        padding: 45px 20px;
        display: block;
    }
    .contatti-content {
        flex-direction: column;
}
    .realizzazioni-image {

        flex-direction: column;

        gap: 25px;

    }

    .realizzazioni-image img {

        width: 100%;

        max-width: 100%;

    }

    .realizzazioni-buttons {

        width: 100%;

    }    

    .contatti-text,
    .contatti-image {
        width: 100%;
    }

    .contatti-text {
        padding-left: 20px;
        padding-right: 20px;
    }

    .contatti-text h2 {
        font-size: 34px;
}
.solutions {
        padding: 45px 20px;
    }
     
    .about {
        padding: 45px 20px;
        display: block;
    }
    .contatti-content {
        flex-direction: column;
    }
 
    .contatti-text,
    .contatti-image {
        width: 100%;
    }

    .contatti-text {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .contatti-text h2 {
        font-size: 34px;
}
    .hero {
        flex-direction: column;
        padding: 40px 20px;
    }

    .hero-text,
    .hero-image {
        width: 100%;
    }
    
    .hero-text h1 {
        font-size: 38px;
    }
    
    .realizzazioni-section img {
        width: 100%;   
        height: auto;
    }
        
    .btn {
        max-width: 100%;
}
    header {

        flex-direction: column;

        padding: 20px;

        align-items: center;

    }

    nav {

        flex-wrap: wrap;

        justify-content: center;

        gap: 15px;

        margin-top: 35px; 

    }

    nav a {

        font-size: 15px;

}

    .footer-container {

        grid-template-columns: 1fr;

        gap: 30px;

    }

    .footer-column:first-child {

    padding-left: 0;

}
    header {

    margin-bottom: 35px;

    position: relative;

}
    .menu-toggle {

    position: absolute;

    right: 20px;

    top: 25px;

    display: block !important;

    font-size: 12px !important;

    font-weight: 500;

}

    nav {

        display: none;

}
    
}

@media (min-width: 1200px) {
        
    #impianti {
        min-height: 850px;
    }
    
    #contatti {
        min-height: 650px;
        padding-bottom: 80px;  
    }
     
}
    
.realizzazioni-image img {

^G Get Help         ^O WriteOut         ^R Read File        ^Y Prev Pg          ^K Cut Text         ^C Cur Pos          
^X Exit             ^J Justify
    .hero {
        flex-direction: column;
        padding: 40px 20px;
    }

    .hero-text,
    .hero-image {
        width: 100%;
    }

    .hero-text h1 {
        font-size: 38px;
    }

    .realizzazioni-section img {
        width: 100%;
        height: auto;
    }

    .btn {
        max-width: 100%;
    }
    }

}

@media (min-width: 1200px) {

    #impianti {
        min-height: 850px;
    }

    #contatti {
        min-height: 650px;
        padding-bottom: 80px;
    }

}

.realizzazioni-image img {
    width: 75%;
    max-width: 900px;
    height: auto;
    object-fit: contain;
    border-radius: 30px;
}


@media (max-width: 768px) {

    .realizzazioni-image img {
        width: 100%;
    }

}

.realizzazioni-image {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.realizzazioni-image img {
    width: 90%;
    height: auto;
    max-height: none;
    object-fit: contain;
    border-radius: 30px;
}
.visible-card-hero img {
    width: 450px;
    max-width: 90%;
    height: auto;
    display: block;
    margin: 35px auto;
}

@media (max-width: 768px) {

    .visible-card-hero img {
        width: 100%;
    }

}
.visible-card-intro {
    display: flex;
    align-items: center;
    gap: 70px;
    padding: 90px 6%;
    background: #f5f8fc;
}

.visible-card-image {
    width: 45%;
    text-align: center;
}

.visible-card-image img {
    width: 450px;
    max-width: 100%;
    height: auto;
}

.visible-card-text {
    width: 55%;
}

.visible-card-text h2 {
    font-size: clamp(32px, 3vw, 46px);
    color: #06265c;
    line-height: 1.15;
    margin-bottom: 30px;
}

.visible-card-text h3 {
    color: #06265c;
    font-size: 28px;
    margin-top: 35px;
}


@media (max-width: 768px) {

    .visible-card-intro {
        flex-direction: column;
        padding: 50px 20px;
    }

    .visible-card-image,
    .visible-card-text {
        width: 100%;
    }

    .visible-card-image img {
        width: 320px;
    }

}
.visible-card-image p {
    font-size: 22px;
    line-height: 1.4;
    color: #06265c;
    text-align: center;
    max-width: 450px;
    margin: 30px auto 0;
}
.visible-card-request {
    display: flex;
    align-items: center;
    justify-content: center;
}
.menu-toggle {

    display: none;

    background: none;

    border: none;

    font-size: 32px;

    color: #06265c;

    cursor: pointer;

}
@media (max-width: 768px) {

    nav.open {

        display: flex;

        flex-direction: column;

        position: absolute;

        top: 80px;

        right: 20px;

        background: white;

        padding: 25px;

        border-radius: 15px;

        box-shadow: 0 10px 30px rgba(0,0,0,0.15);

        z-index: 100;

    }

}

/* ==========================================================
   NUOVA SEZIONE VISIONE VISIBLE
   ========================================================== */

#contatti .contatti-content {
    display: block;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

#contatti .contatti-text {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

#contatti .contatti-text h2 {
    text-align: center;
    font-size: clamp(32px, 3vw, 46px);
    margin-bottom: 15px;
}

#contatti .contatti-text > p:first-of-type {
    text-align: center;
    font-size: 20px;
    margin-bottom: 35px;
}

#contatti .contatti-text > p:nth-of-type(2) {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
}

.visible-vision-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    margin: 0 auto 40px;
}

.vision-card {
    padding: 25px 22px;
    border-radius: 18px;
    text-align: center;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.vision-card h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.25;
}

.vision-card p {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.4;
}

#contatti .contatti-dati {
    text-align: center;
    margin-top: 25px;
}

#contatti .contatti-buttons {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

@media (max-width: 900px) {
    .visible-vision-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .visible-vision-grid {
        grid-template-columns: 1fr;
    }

    #contatti .contatti-content {
        width: 100%;
    }

    #contatti .contatti-text {
        padding-left: 0;
        padding-right: 0;
    }
}


/* Titolo + pulsante I NOSTRI PROGETTI */
#contatti .contatti-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
    margin-bottom: 25px;
}

#contatti .contatti-title-row h2 {
    margin: 0;
    flex: 1;
}

#contatti .progetto-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 768px) {
    #contatti .contatti-title-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

