* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Montserrat", serif;
}

body {
    margin: 0 auto;
}

/* HEADER */

.container-header {
    padding: 24px 20px;
    background-color: #ffffff;
    box-shadow: 0px 2px 12px 0px rgba(149, 149, 186, 0.15);
    position: sticky;
    top: 0;
    z-index: 2;
}

.header {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hamburger-menu, .menu {
    display: none;
}

.logo-header {
    height: 57px;
}

.container-items-menu {
    display: flex;
    gap: 32px;
}

.container-contatti {
    display: flex;
    align-items: center;
    gap: 44px;
}

.flag {
    height: 24px;
}

.item-menu {
    color: #1E1E1E;
    font-size: 16px;
    font-weight: 500;
    line-height: 140%;
    text-decoration: none;
}

.item-menu-contatti {
    color: #1E1E1E;
    font-size: 16px;
    font-weight: 600;
    line-height: 140%;
    text-decoration: none;
}

.item-menu-sito-omso {
    color: #009FC5;
    font-size: 16px;
    font-weight: 600;
    line-height: 140%;
    text-decoration: none;
}

.item-menu:hover, .item-menu-contatti:hover {
    color: #009FC5;
}

.divider {
    width: 2px;
    height: 28px;
    background-color: #DEDEDE;
}

.container-social {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* HERO */

.container-hero {
    display: flex;
    margin: 0 auto 0 auto;
}

.col1-hero {
    max-width: 540px;
    margin: 140px auto 0 auto;
}

.col1-hero, .col2-hero {
    width: 50%;
}

.labels {
    display: flex;
    justify-content: start;
    gap: 12px;
    margin-bottom: 32px;
}

.label {
    text-transform: uppercase;
    color: #1E1E1E;
    font-size: 16px;
    font-weight: 500;
    line-height: 140%;
    padding: 12px 24px;
    border: 1.5px solid #DEDEDE;
    border-radius: 999px !important;
}

.label span {
    color: #009FC5;
    font-weight: 700;
}

.title {
    color: #1E1E1E;
    font-size: 64px;
    font-weight: 600;
    line-height: 110%;
    margin-bottom: 8px;
}

.title span {
    color: #009FC5;
}

.subtitle {
    color: #4B4B4B;
    font-size: 24px;
    font-weight: 500;
    line-height: 140%;
    margin-bottom: 32px;
}

.txt-hero {
    font-size: 16px;
    font-weight: 400;
    line-height: 140%;
    color: #4B4B4B;
    margin-bottom: 32px;
}

.btn-hero {
    border-radius: 999px!important;
    background-color: #009FC5;
    padding: 12px 24px;
    box-shadow: 10px 127px 36px 0px rgba(10, 49, 61, 0.00), 7px 81px 33px 0px rgba(10, 49, 61, 0.01), 4px 46px 27px 0px rgba(10, 49, 61, 0.03), 2px 20px 20px 0px rgba(10, 49, 61, 0.05), 0px 5px 11px 0px rgba(10, 49, 61, 0.06);
    display: flex;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    width: 304px;
    transition: all 0.4s ease-in-out;
    transform: scale(1);
}

.btn-hero:hover {
    background-color: #007A9C;
    transform: scale(1.05);
}

.btn-hero span {
    color: #FFF;
    font-size: 20px;
    font-weight: 400;
    line-height: 140%;
}

.img-hero {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

/* TRAGUARDO */

.container-traguardo {
    padding: 120px;
    background: #1E1E1E;
}

.title-traguardo {
    color: #FFF;
    font-size: 48px;
    font-weight: 600;
    line-height: 110%;
    text-align: center;
    margin-bottom: 24px;
}

.title-traguardo span {
    color: #009FC5;
}

.subtitle-traguardo {
    max-width: 465px;
    margin-left: auto;
    margin-right: auto;
    color: #FFF;
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    line-height: 140%;
    margin-bottom: 160px;
}

.container-txt-img {
    max-width: 1200px;
    margin: 0 auto 120px auto;
    display: flex;
    gap: 40px;
    justify-content: space-between;
}

.container-img-txt {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    justify-content: space-between;
}

.container-txt, .container-img {
    width: 50%;
}

.container-img {
    position: relative;
}

.img-US {
    margin-bottom: 24px;
    width: 32px;
}

.title-US {
    max-width: 543px;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 140%;
    margin-bottom: 24px;
}

.txt-US {
    max-width: 543px;
    font-size: 24px;
    color: #9D9D9D;
    font-weight: 500;
    line-height: 150%;
}

.img-sede-US {
    border-radius: 12px;
    max-width: 575px;
    height: 330px;
    object-fit: cover;
}

.img-foto-persone {
    width: 100%;
    height: 330px;
    object-fit: cover;
    border-radius: 12px;
}

.logo-bianco {
    position: absolute;
    top: -45px;
    left: -15%;
}

/* MISSIONE */

.container-missione {
    background-color: #1E1E1E;
    padding: 120px 0 220px 0;
}

.title-missione {
    color: #fff;
    text-align: center;
    font-size: 48px;
    font-weight: 600;
    line-height: 110%;
    margin-bottom: 94px;
}

.container-3-points {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 32px;
}

.img-contact {
    margin: 0 auto 20px auto;
    display: flex;
}

.title-contact {
    color: #fff;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    line-height: 140%;
    margin-bottom: 20px;
}

.txt-contact {
    color: #9D9D9D;
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    line-height: 150%;
}

/* CAROSELLO */

.container-carosello-mobile {
    display: none;
}

.container-carosello {
    display: flex;
    gap: 76px;
    padding: 240px 0 120px 0;
    align-items: center;
    max-width: 100%;
}

.title-section {
    max-width: 330px;
    height: 680px;
    margin-left: 10%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.title-carosello {
    color: #1E1E1E;
    font-size: 48px;
    font-weight: 600;
    line-height: 110%;
}

.container-arrows {
    display: flex;
    gap: 20px;
    cursor: pointer;
}

.arrow {
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.arrow-left {
    background-image: url("img/arrow-left.svg");
}

.arrow-right {
    background-image: url("img/arrow-right.svg");
}

.arrow-left:hover {
    background-image: url("img/arrow-left-hover.svg");
}

.arrow-right:hover {
    background-image: url("img/arrow-right-hover.svg");
}

.container-carousels {
    display: flex;
    gap: 24px;
    overflow: hidden;
    width: 100%;
    flex-grow: 1;
}

.container-card:not(.active) .content, .container-card:not(.active) .img-carousel {
    background: rgba(219, 219, 219, 0.40);
    opacity: 0.5;
}

.container-card {
    width: 510px;
    height: 680px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.img-carousel {
    max-height: 270px;
    width: 100%;
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.content {
    height: 100%;
    padding: 32px 44px 44px 44px;
    background-color: #009FC5;
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 12px;
}

.container-card:not(.active) .title-content,
.container-card:not(.active) .txt-content {
    color: #9D9D9D;
}

.title-content {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 140%;
    margin-bottom: 20px;
}

.txt-content {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    line-height: 150%;
    margin-bottom: 12px;
}

/* FUTURO */

.container-futuro {
    padding: 120px 0;
    background-color: #F6F7F8;
}

.title-futuro {
    max-width: 788px;
    margin: 0 auto 24px auto;
    color: #1E1E1E;
    font-size: 48px;
    font-weight: 600;
    line-height: 110%;
    text-align: center;
}

.title-futuro span {
    color: #009FC5;
}

.txt-futuro {
    max-width: 700px;
    margin: 0 auto 72px auto;
    color: #4B4B4B;
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    line-height: 140%;
}

.container-tab {
    max-width: 1200px;
    margin: 0 auto;
	display: flex;
    flex-direction: column;
}

.tab {
    width: 100%;
    display: flex;
    align-items: start;
    margin-top: 64px;
}

.tab button {
    display: block;
    padding-top: 24px;
    width: 100%;
    cursor: pointer;
    transition: 0.3s;
    border-top: 5px solid #DEDEDE;
    border-bottom: none;
    border-left: none;
    border-right: none;
    background-color: transparent;
}

.tab button:hover {
	border-top: 5px solid #009FC5;
}

.tab button.active {
	border-top: 5px solid #009FC5;
}

.titolo-tab {
	color: #1E1E1E;
	font-size: 20px;
	font-weight: 700;
	line-height: 120%;
	margin-bottom: 16px;
}

.text-tab {
	color: #7A7A7A;
	font-size: 20px;
	font-weight: 500;
	line-height: 150%;
}

.img-tab {
	width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
}

/* CONTAINER FESTEGGIA CON NOI */

.container-festeggia-con-noi {
    padding: 120px 20px 164px 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    gap: 64px;
}

.label-festeggia-con-noi {
    text-transform: uppercase;
    color: #4B4B4B;
    font-size: 16px;
    font-weight: 600;
    line-height: 110%;
    margin-bottom: 44px;
}

.title-festeggia-con-noi {
    color: #1E1E1E;
    font-size: 40px;
    font-weight: 600;
    line-height: 120%;
    margin-bottom: 44px;
}

.title-festeggia-con-noi span {
    color: #009FC5;
}

.txt-festeggia-con-noi {
    color: #4B4B4B;
    font-size: 20px;
    font-weight: 500;
    line-height: 150%;
    margin-bottom: 44px;
}

.buttons {
    display: flex;
    gap: 16px;
}

.btn-call {
    width: 262px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background-color: #009FC5;
    padding: 12px 24px;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.4s ease-in-out;
}

.btn-call:hover {
    background-color: #007A9C;
    box-shadow: 10px 127px 36px 0px rgba(10, 49, 61, 0.00), 7px 81px 33px 0px rgba(10, 49, 61, 0.01), 4px 46px 27px 0px rgba(10, 49, 61, 0.03), 2px 20px 20px 0px rgba(10, 49, 61, 0.05), 0px 5px 11px 0px rgba(10, 49, 61, 0.06);
}

.icon-call {
    width: 24px;
}

.txt-button-call {
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    line-height: 140%;
}

.btn-info {
    width: 262px;
    color: #1E1E1E;
    font-size: 20px;
    text-align: center;
    font-weight: 400;
    line-height: 140%;
    padding: 12px 24px;
    border-radius: 999px;
    border: 2px solid #9D9D9D;
    box-shadow: 10px 127px 36px 0px rgba(10, 49, 61, 0.00), 7px 81px 33px 0px rgba(10, 49, 61, 0.01), 4px 46px 27px 0px rgba(10, 49, 61, 0.03), 2px 20px 20px 0px rgba(10, 49, 61, 0.05), 0px 5px 11px 0px rgba(10, 49, 61, 0.06);
    text-decoration: none;
}

.btn-info:hover {
    border: 2px solid #009FC5;
    color: #009FC5;
}

.img-party {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* FOOTER */

footer {
    background-color: #f5f8f8;
    padding: 87px 0;
}

.container-footer {
    max-width: 1440px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    justify-content: space-between;
}

.logo-footer {
    height: 100px;
}

.container-items-menu-footer {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 62px;
}

.item-menu-footer {
    text-transform: uppercase;
    text-decoration: none;
    font-size: 15px;
    font-style: 500;
    color: #000;
    letter-spacing: 1px;
}

.item-menu-footer:hover {
    color: #009FC5;
}

.txt-footer {
    font-size: 15px;
    line-height: 150%;
    color: #949494;
    text-align: center;
}

/* MOBILE/TABLET */
@media screen and (max-width: 991px) {

    /* HEADER */
    .container-header {
        padding: 20px;
    }

    .menu {
        display: none;
        width: 100%;
        background-color: #fff;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 10;
        height: 100vh;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 24px;
        opacity: 0; /* Inizia invisibile */
        visibility: hidden; /* Nascondi il menu */
    }

    .menu a {
        color: #1E1E1E;
        font-size: 16px;
        font-weight: 500;
        line-height: 140%;
        text-decoration: none;
    }

    .menu a:hover {
        color: #009FC5;
    }

    .menu.active {
        display: flex;
    }

    .hamburger-menu {
        display: block;
        cursor: pointer;
        z-index: 1000;
        position: relative;
        transition: transform 0.3s ease-in-out;
    }

    .hamburger-menu img {
        width: 32px;
        height: 32px;
    }

    /* HERO */

    .container-hero {
        flex-direction: column;
        margin: 0 20px 100px 20px;
        gap: 50px;
    }

    .labels {
        flex-direction: column;
        text-align: center;
    }

    .col1-hero {
        margin-top: 50px;
    }

    .col1-hero, .col2-hero, .container-txt, .container-img {
        width: 100%;
    }

    .img-hero {
        width: 100%;
        height: auto;
        border-radius: 12px;
    }

    .title {
        font-size: 35px;
    }

    /* TRAGUARDO */

    .subtitle, .subtitle-traguardo, .title-US, .txt-US, .title-contact, .title-content {
        font-size: 20px;
    }

    .txt-futuro {
        font-size: 18px;
    }

    .subtitle-traguardo {
        margin-bottom: 50px;
    }

    .txt-US {
        margin-bottom: 0;
    }

    .btn-hero span, .btn-info {
        font-size: 16px;
    }

    .logo-bianco {
        display: none;
    }

    .container-traguardo {
        padding: 50px 20px;
    }

    .title-traguardo, .title-missione {
        font-size: 35px;
    }

    .title-festeggia-con-noi, .title-futuro {
        font-size: 30px;
    }

    .container-txt {
        order: 1;
    }

    .container-img {
        order: 2;
    }

    .container-txt-img, .container-img-txt {
        flex-direction: column;
        margin-bottom: 100px;
    }

    .img-sede-US, .img-foto-persone {
        width: 100%;
        height: auto;
    }

    .container-missione {
        padding: 0 20px 50px 20px;
    }

    .container-3-points {
        flex-direction: column;
    }

    /* CAROSELLO MOBILE */

    .container-carosello {
        display: none;
    }

    .container-carosello-mobile {
        display: flex;
        flex-direction: column;
        padding: 100px 20px 50px 20px;
        width: 100%;
    }

    .container-carousels-mobile {
        display: flex;
        gap: 0;
        overflow: hidden;
        width: 100%;
        margin-bottom: 32px;
        transition: transform 0.5s ease-in-out;
    }

    .container-carousels-mobile > div {
        width: 100%;
    }    

    .title-carosello {
        font-size: 35px;
        margin-bottom: 20px;
    }

    .container-card-mobile,
    .container-card-mobile-2,
    .container-card-mobile-3 {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
        position: relative;
        width: 100%;
        height: 450px;
        box-sizing: border-box;
        opacity: 0;
        transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
        flex-shrink: 0;
    }

    .container-card-mobile.active {
        opacity: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
        position: relative;
        padding: 32px;
        border-radius: 12px;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 43.9%, rgba(0, 0, 0, 0.80) 90.02%), url('img/team.JPG') lightgray 50% / cover no-repeat;
    }

    .container-card-mobile-2.active {
        opacity: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
        position: relative;
        padding: 32px;
        border-radius: 12px;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 43.9%, rgba(0, 0, 0, 0.80) 90.02%), url('img/innovazione-crescita.jpg') lightgray 50% / cover no-repeat;
    }

    .container-card-mobile-3.active {
        opacity: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
        position: relative;
        padding: 32px;
        border-radius: 12px;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 43.9%, rgba(0, 0, 0, 0.80) 90.02%), url('img/formazione-assistenza.jpg') lightgray 50% / cover no-repeat;
    }

    .container-card-mobile.show .close-button, .container-card-mobile-2.show .close-button, .container-card-mobile-3.show .close-button {
        display: block;
    }

    .container-card-mobile.show, .container-card-mobile-2.show, .container-card-mobile-3.show {
        background: #009FC5; 
        transition: background 0.3s ease-in-out;
    }
    
    .container-card-mobile.show .leggi-di-piu-button, .container-card-mobile-2.show .leggi-di-piu-button, .container-card-mobile-3.show .leggi-di-piu-button {
        display: none;
    }

    .title-content-mobile {
        color: #fff;
        font-size: 20px;
        line-height: 110%;
        font-weight: 700;
        margin-bottom: 12px;
    }

    .txt-content {
        font-size: 16px;
    }

    .leggi-di-piu-button {
        display: flex;
        gap: 4px;
        color: #9D9D9D;
        font-size: 16px;
        font-weight: 500;
        line-height: 110%;
        text-decoration: none;
    }

    .close-button {
        position: absolute;
        top: 16px;
        right: 16px;
        font-size: 20px;
        color: #fff;
        cursor: pointer;
        display: none;
    }

    .container-points {
        list-style-position: inside;
        display: none;
    }

    .container-points.show {
        display: block;
    }

    .container-futuro {
        padding: 100px 20px;
    }

    .img-tab {
        height: 250px;
    }

    .tab {
        margin-top: 50px;
    }

    .titolo-tab, .text-tab {
        font-size: 14px;
    }

    .txt-button-call {
        font-size: 16px;
    }

    /* FESTEGGIA CON NOI */

    .container-festeggia-con-noi {
        padding: 100px 20px;
        flex-direction: column;
    }

    .container-testi-festeggia-con-noi {
        width: 100%;
    }

    .label-festeggia-con-noi, .title-festeggia-con-noi, .txt-festeggia-con-noi {
        margin-bottom: 30px;
    }

    .txt-festeggia-con-noi {
        font-size: 18px;
    }

    .buttons {
        flex-direction: column;
    }

    .btn-call, .btn-info {
        width: 100%;
    }

    .icon-call {
        width: 16px;
    }

    footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .container-footer {
        flex-direction: column;
        gap: 30px;
    }

    .container-items-menu-footer {
        text-align: center;
    }

    .container-social {
        justify-content: center;
    }

    .container-items-menu, .container-contatti {
        display: none;
    }
}

@media (min-width: 992px) and (max-width: 1250px) {

    /* HEADER */

    .logo-header {
        height: 35px;
    }

    .item-menu, .item-menu-contatti, .item-menu-sito-omso {
        font-size: 15px;
    }

    .flag, .container-social img {
        height: 20px;
    }

    /* HERO */

    .container-hero {
        padding-left: 20px;
        gap: 30px;
    }
    .container-traguardo, .container-missione, .container-futuro, .container-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .col1-hero {
        margin-top: 80px;
    }

    .title {
        font-size: 50px;
    }

    .img-sede-US {
        width: 100%;
    }

    /* CAROSELLO */

    .title-carosello {
        font-size: 40px;
    }
}