* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #4e565A;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus {
    outline: 2px dashed #2A9AA5;
    outline-offset: 2px;
}

/* Header */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    background-color: #FFFFFF;
    border-bottom: 1px solid #2A9AA5;
    z-index: 1000;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 60px;
    padding: 0 20px;
    justify-content: space-between;
}

.left-header {
    display: flex;
    align-items: center;
}

.login-button {
    color: #FFFFFF;
    background-color: #4e565A;
    padding: 8px 12px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    font-size: 0.9em;
}

.right-header {
    display: flex;
    align-items: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: #2A9AA5;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
}

.nav-link {
    color: #2A9AA5;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background-color 0.3s, color 0.3s;
    font-size: 0.9em;
}

.nav-link:hover,
.nav-link.active {
    background-color: #2A9AA5;
    color: #FFFFFF;
    border-radius: 4px;
}

#home, #info, #vantaggi, #contatti {
    scroll-margin-top: 80px;
}

/* Altezza dinamica per la sezione home */
.intro {
    min-height: 100vh; /* Altezza al 100% del viewport */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.separator {
    margin: 60px auto 40px;
    width: 60px;
    height: 1px;
    background-color: #2A9AA5;
}

.logo img {
    max-width: 300px;
    width: 100%;
    margin-bottom: 20px;
}

.intro h1 {
    color: #4e565A;
    font-size: 2em;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.3;
    letter-spacing: 0.05em;
}

.video-section {
    display: flex;
    justify-content: center;
    padding: 20px;
    background-color: #e6f3f2;
}

.video-section video {
    width: 100%;
    max-width: 1000px;
}

.second-slogan,
.third-slogan {
    padding: 20px;
    text-align: center;
}

.second-slogan h2,
.third-slogan h2 {
    color: #2A9AA5;
    font-size: 1.5em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 20px 0;
    line-height: 1.3;
}

.about-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 40px 20px;
    gap: 20px;
    background-color: #e6f3f2;
    margin-bottom: 40px;
}

.about-item {
    background-color: #FFFFFF;
    border: 1px solid #cccccc;
    border-radius: 8px;
    padding: 20px;
    flex: 1 1 250px;
    max-width: 300px;
    text-align: center;
}

.about-title-img {
    max-width: 150px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 15px;
}

.about-item p,
.about-item ul {
    font-size: 0.95em;
    line-height: 1.5;
    color: #4e565A;
    text-align: left;
}

.about-item ul {
    list-style-type: disc;
    padding-left: 20px;
}

.about-item ul li {
    margin-bottom: 10px;
}

.white-separator {
    background-color: #FFFFFF;
    height: 20px;
}

.additional-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 40px 20px;
    background-color: #e6f3f2;
    gap: 20px;
    margin-bottom: 40px;
}

.content-item {
    flex: 1 1 300px;
    max-width: 600px;
    padding: 20px;
    background-color: #FFFFFF;
    border: 1px solid #2A9AA5;
    border-radius: 8px;
    text-align: left;
}

.content-item h3 {
    font-size: 1.5em;
    font-weight: 600;
    color: #2A9AA5;
    margin-bottom: 15px;
}

.content-item p {
    font-size: 1em;
    line-height: 1.5;
    color: #4e565A;
    margin-bottom: 15px;
}

.content-item ul {
    list-style-type: none;
    padding: 0;
}

.content-item li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 1em;
    color: #4e565A;
    line-height: 1.5;
}

.content-item li img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    margin-top: 5px;
}

.bullets-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 40px 20px;
    gap: 20px;
}

.bullet {
    flex: 1 1 250px;
    max-width: 300px;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.bullet.light {
    background-color: #FFFFFF;
    color: #2A9AA5;
    border: 2px solid #2A9AA5;
}

.bullet.dark {
    background-color: #4e565A;
    color: #FFFFFF;
    border: 2px solid #4e565A;
}

.bullet-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.bullet img {
    width: 40px;
    height: 40px;
}

.bullet h3 {
    font-size: 1.2em;
    font-weight: 600;
    margin: 0;
    color: inherit;
}

.bullet p {
    font-size: 0.95em;
    line-height: 1.5;
    color: inherit;
    text-align: center;
}

.contatti-section {
    padding: 40px 20px;
    text-align: center;
    background-color: #e6f3f2;
    font-family: 'Open Sans', sans-serif;
}

.contatti-logo-large {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-bottom: 10px;
}

.contatti-slogan {
    font-size: 1em;
    font-weight: 600;
    color: #2A9AA5;
    text-transform: uppercase;
    margin-top: 0px;
    margin-bottom: 25px;
}

.contatti-logo-small {
    width: 80%;
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.company-details {
    margin-top: 20px;
    color: #4e565A;
    font-size: 1em;
    line-height: 1.6;
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 40px;
}

.company-details p {
    margin: 5px 0;
}

.contact-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 5px;
}

.footer {
    padding: 20px;
    text-align: center;
    background-color: #4e565A;
    color: white;
}

.footer p {
    font-size: 0.9em;
}

/* Media Queries */
@media (max-width: 992px) {
    .nav-links {
        gap: 10px;
    }

    .about-item {
        max-width: 45%;
    }

    .additional-content {
        flex-direction: column;
        align-items: center;
    }

    .content-item {
        max-width: 100%;
    }

    .bullets-section {
        justify-content: center;
    }

    .bullet {
        max-width: 45%;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        flex-direction: row;
        justify-content: space-between;
        height: auto;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        display: none;
        background-color: #FFFFFF;
        width: 100%;
        padding: 10px 20px;
        position: absolute;
        top: 60px;
        left: 0;
        border-bottom: 1px solid #2A9AA5;
    }

    .nav-links.active {
        display: flex;
    }

    .about-item,
    .bullet {
        max-width: 100%;
    }

    .about-section,
    .bullets-section {
        flex-direction: column;
        align-items: center;
    }

    .second-slogan h2,
    .third-slogan h2 {
        font-size: 1.3em;
    }

    .content-item h3 {
        font-size: 1.3em;
    }

    .content-item {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .login-button,
    .nav-link {
        font-size: 0.8em;
        padding: 6px 10px;
    }

    .intro h1 {
        font-size: 1.5em;
    }

    .second-slogan h2,
    .third-slogan h2 {
        font-size: 1.1em;
    }

    .about-item {
        text-align: center;
    }

    .about-item p,
    .about-item ul {
        text-align: center;
    }

    .content-item h3 {
        font-size: 1.2em;
    }

    .content-item p,
    .content-item ul {
        font-size: 0.9em;
    }

    .bullet h3 {
        font-size: 1em;
    }

    .bullet p {
        font-size: 0.9em;
    }

    .company-details {
        font-size: 0.9em;
    }
}
