
@font-face {
    font-family: 'ClashDisplay-variable';
    src: url('ClashDisplay-Variable.ttf') format('truetype');
    }

* {
    font-family: 'ClashDisplay-variable';
    font-optical-sizing: auto;
    margin: 0;
}

H1 {
    color: #0789FE;
    font-weight: 600;
    font-size: 48px;
}

p {
    font-weight: 300;
    font-size: 24px;
}

main {
    padding-top: 4rem;
    }

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    
    /* Logo */
    .logo{
    display: flex;
    align-items: center;
    gap: 15px;
    } 
    
    .logo a {
    text-decoration: none;
    font-size: 20px;
    color: black;
    font-weight: 500;
    }
    
    .logo img {
    height: 35px;
    }
    
    /* Navigazione */
    .nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    }
    
    .nav-links li {
    display: inline;
    }
    
    .nav-links a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
    }
    
    .nav-links a:hover {
    color: #0689FF;
    }
    
    .nav-links .active {
    color: #0689FF;
    }
    
    /* Pulsante */
    .button {
    display: inline-block;
    padding: 8px 15px;
    margin-right: 8rem;
    border: 2px solid #0689FF;
    border-radius: 30px;    
    color: #0789fe;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    }
    
    .button:hover {
    background-color: #0689FF;
    color: white;
    }
    
    .hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    padding-right: 4rem;
    }
    
    .hamburger .bar {
    height: 3px;
    width: 100%;
    background-color: #0689FF;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
    }
    
    /* Quando attivo, sovrappone il menu */
    .mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: #0689FF;
    padding: 30px;
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    }
    
    .mobile-menu.active {
    transform: translateX(0);
    }
    
    .mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
    }
    
    .mobile-menu a {
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    padding: 10px 0;
    }
    
    .mobile-menu .button {
    border: 2px solid white;
    color: white;
    width: fit-content;
    margin-top: 30px;
    padding: 10px 20px;
    }
    
    .mobile-menu .button:hover {
    background-color: white;
    color: #0789fe;
    }
    
    /* Animazioni per l'hamburger quando attivo */
    .hamburger.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(2) {
    opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    }

.titleContainer {
    padding-top: 60px;
    width: vh;
    text-align: center;
    padding-bottom: 50px;
}

.blueSub {
    color: #0789FE;
    font-weight: 800;
}

.blackSub{
    font-weight: 800;
}

.cardContainer{
    padding-top: 50px;
}

.cardsBackground {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.WHITEcard {
    gap: 10px;
    display: flex;
    flex-direction: row;
    background: #F5F5F5;
    padding: 50px;
    margin: 20px 0;
    border-radius: 20px;
    width: 60%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
   justify-content: space-between;
}

.contacts {
    display: flex;
    flex-direction: row;
}

.contactLines {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.logos {
    display: flex;
    gap: 10px;
}

.description {
    padding-bottom: 50px;
    padding-left: 50px;
    padding-right: 50px;
    text-align: center;
}

.logo-container {
    position: relative;
    display: inline-block;
    width: 150px; /* Modifica la dimensione in base alle necessità */
    height: 150px;
}

.circle {
    width: 100%;
    height: 100%;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
}

.logo-container .logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; 
    height: auto;
}

.blueBackground {
    background-color: #0789FE; 
    width: 100%;
    height: 50px;
    padding-bottom: 200px;
    margin-top: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

@media screen and (max-width: 760px) {
    H1 { 
        font-size: 32px;
    }

    p {
        font-size: 20px;
    }

    h2 {
        font-size: 20px;
    }

    .WHITEcard {
        gap: 20px;
        display: flex;
        flex-direction: column;
        background: #F5F5F5;
        padding: 40px;
        margin: 20px 0;
        border-radius: 20px;
        width: 70%;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
       justify-content: space-between;
    }

    .contacts {
        display: flex;
        flex-direction: column;
    }
    
}

.footer {
    background-color: #fff;
    padding: 40px 0;
    border-top: 1px solid #eaeaea;
    }
    
    .footer ul{
    padding: 0;
    }
    
    .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    }
    
    .footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
    }
    
    .footer-logo {
    margin-bottom: 20px;
    }
    
    .footer-logo-icon img{
        color: #2b7ef5;
        height: 30px;
        margin-right: 10px;
        }
    
    .footer-logo-text {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    }
    
    .footer-description {
    max-width: 400px;
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
    }
    
    .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 60px;
    }
    
    .footer-column {
    min-width: 120px;
    }
    
    .footer-column h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    }
    
    .footer-column ul {
    list-style: none;
    }
    
    .footer-column ul li {
    margin-bottom: 10px;
    }
    
    .footer-column ul li a {
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    }
    
    .footer-column ul li a:hover {
    color: #2b7ef5;
    }
    
    .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
    }
    
    .footer-copyright {
    color: #888;
    font-size: 14px;
    }
    
    .footer-social {
    display: flex;
    gap: 20px;
    }

    .footer-social img {
        height: 30px;
    }

    
    .footer-social a {
    color: #666;
    font-size: 20px;
    transition: color 0.3s ease;
    }
    
    .footer-social a:hover {
    color: #2b7ef5;
    }
    
    /* Icone di social media stilizzate */
    .social-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    }
    

/* Media queries per responsive design */
@media (max-width: 768px) {
    .nav-links, 
.cta {
    display: none;
}

.hamburger {
    display: flex;
}

.mobile-menu {
    display: block;
}

.navbar {
    padding: 15px 40px;
}

.footer-top {
    flex-direction: column;
}

.footer-links {
    justify-content: flex-start;
    margin-top: 30px;
    gap: 40px;
}

.footer-bottom {
    flex-direction: column;
    gap: 20px;
}

.footer-social {
    margin-top: 10px;
}
}

@media (max-width: 576px) {
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}