@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anonymous+Pro:wght@400;700&display=swap');




body {
    font-family: 'Ubuntu', sans-serif;
    background-color: #e6e6ec; /* Colore di fallback */
}

h1, h2, h3, h4, h5, h6, p {
    font-family: 'Ubuntu', sans-serif;
    color: #06064a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: default;
}

/*
-----------------------------------------------------------------
Header section
-----------------------------------------------------------------
*/

.header {
    display: flex;
    height: 10dvh;
    width: 100%;
    background-color: #06064a;
    align-items: center;
    justify-content: center;
}

.side-header-left {
    display: flex;
    height: 100%;
    width: 15%;
    align-items: center;
    justify-content: center;
    padding-left: 250px;
}

.side-header-right {
    display: flex;
    height: 100%;
    width: 15%;
    align-items: center;
    justify-content: center;
    padding-left: 10%;
}

.side-header-right img {
    width: 40%;
    height: auto;
    transform: rotate(180deg);
    cursor: pointer;
    z-index: 1;
}

@keyframes wiggle {
    0% { transform: translateX(0); }
    50% { transform: translateX(-15px); }
    100% { transform: translateX(0); }
}

.side-header-right:hover {
    animation: wiggle 1s ease-in-out infinite;
}

.center-header {
    display: flex;
    height: 100%;
    width: 70%;
    align-items: center;
    justify-content: center;
}

.center-header img {
    width: 12%;
    height: auto;
}

/*
-----------------------------------------------------------------
Overview section
-----------------------------------------------------------------
*/

#consulting-overview {
    display: flex;
    height: 90dvh;
    width: 100%;
}

.overview-section{
    display: flex;
    height: 100%;
    width: 50%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.image-wrapper{
    display: flex;
    width: 95%;
    height: 50%;
}

.image-wrapper img{
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.consulting-title {
    display: flex;
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.consulting-title h1 {
    text-align: center;
    line-height: 1.5;
    font-size: clamp(1.2rem, 2vw, 5rem);
}

.consulting-title p {
    text-align: justify;
    line-height: 1.5;
    font-size: clamp(0.9rem, 1.2vw, 1.5rem);
    padding: 0 100px;
    margin-bottom: 50px;
}

.contact-us{
    display: flex;
    margin-top: 50px;
    cursor: pointer;
    background-color: #06064a;
    border: none;
    padding: 20px 40px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Animazione fluida */
}

.contact-us:hover{
    transform: scale(1.10); /* Ingrandisce */
    box-shadow: 0px 0px 20px 5px #01b99f
}

.contact-us p{
    font-size: clamp(0.9rem, 1.2vw, 2rem);
    font-weight: 500;
    color: white;
    cursor: pointer;
}

/*
-----------------------------------------------------------------
Descriprion section
-----------------------------------------------------------------
*/

#description {
    display: flex;
    min-height: 85dvh;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.description-overview{
    display: flex;
    height: 20dvh;
    width: 50%;
    align-items: center;
    justify-content: center;
}

.description-overview h1 {
    font-size: clamp(1.2rem, 2vw, 2.5rem);
    text-align: center;
    font-weight: 400;
}

.subdiv-container {
    display: flex;
    flex-direction: row;
    height: 65dvh;
    width: 100%;
    align-items: center;
    justify-content: space-evenly;
}

.description-subdiv {
    display: flex;
    flex-direction: column;
    width: 22%;
    height: 50%;
    align-items: center;
    justify-content: center;
    background-color: #cdcdda;
    border-radius: 10px;
    border: 5px solid #9b9bb6;
    box-shadow: 10px 10px 15px 3px #505080;
}

.description-subdiv h1 {
    font-size: clamp(1.2rem, 2vw, 5rem);
    text-align: center;
    line-height: 1.5;
}

.description-subdiv p {
    text-align: justify;
    line-height: 1.5;
    font-size: clamp(0.9rem, 1.2vw, 1.5rem);
    padding: 0 15px;
}
/*
-----------------------------------------------------------------
footer section
-----------------------------------------------------------------
*/

#footer {
    display: flex;
    width: 100%;
    min-height: 15dvh;
    align-items: center;
    justify-content: center;
    background-color: #06064a;
}

.footer-container {
    display: flex;
    height: 100%;
    width: 100%;
    align-items: center;
}

.footer-general-info {
    display: flex;
    height: 100%;
    width: 33%;
    color: white !important;
    align-items: center;
    justify-content: flex-start;
    line-height: 2;
    font-size: clamp(0.8rem, 1.2vw, 1.2rem);
    font-weight: 500;
    padding-left: 20px;
}

.footer-general-info p {
    color: white !important;
}

.footer-social {
    display: flex;
    height: 100%;
    width: 34%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 1%;
    background-color: #06064a;
}

.footer-social img {
    width: 25%;
}

.footer-social p {
    color: white;
    font-size: clamp(0.8rem, 1.2vw, 1.2rem);
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: #01b99f;
    text-decoration-thickness: 4px; /* Spessore della sottolineatura */
    text-underline-offset: 5px;
}

.social-img {
    display: flex;
    width: 20%;
    height: auto;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

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

.social-img img {
    width: 40%;
    height: auto;
    cursor: pointer;
}

.footer-policies {
    display: flex;
    height: 100%;
    width: 33%;
    align-items: flex-end;
    justify-content: center;
    padding-right: 20px;
    flex-direction: column;
    gap: 20px;
    background-color: #06064a;
}

.footer-policies p {
    color: white;
    font-size: clamp(0.8rem, 1.2vw, 1.2rem);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: #01b99f;
    text-decoration-thickness: 4px; /* Spessore della sottolineatura */
    text-underline-offset: 5px;
    cursor: pointer;
}


@media (max-width: 768px) {

    /*
    -----------------------------------------------------------------
    Header settings
    -----------------------------------------------------------------
    */

    .side-header-right {
        padding-left: 0px;
    }

    .side-header-left {
        padding-left: 0px;
    }

    .center-header img {
        width: 100px;
        height: auto;
    }    

    .side-header-right img {
        width: 30px;
        height: auto;
        transform: rotate(180deg);
        cursor: pointer;
    }

    /*
    -----------------------------------------------------------------
    Overview settings
    -----------------------------------------------------------------
    */

    #consulting-overview {
        flex-direction: column;
    }
    
    .overview-section{
        width: 100%;
        height: 45%;
        flex-direction: column;
    }

    .image-wrapper {
        height: 70%;
        padding-bottom: 50px;
    }

    .consulting-title p {
        padding: 0 30px;
        margin-bottom: 10px;
    }

    .contact-us {
        margin-top: 30px;
    }

    /*
    -----------------------------------------------------------------
    Description settings
    -----------------------------------------------------------------
    */

    #description {
        justify-content: flex-start;
    }

    .description-overview{
        width: 90%;
    }

    .subdiv-container {
        display: flex;
        flex-direction: column;
        height: 150dvh;
        width: 100%;
        align-items: center;
        justify-content: flex-start;
        margin-bottom: 20px;
        gap: 20px;
    }

    .description-subdiv {
        width: 90%;
        height: 60%;
        border: 5px solid #9b9bb6;
        padding: 10px;
        box-shadow: 10px 10px 10px 2px #505080;
    }

    /*
    -----------------------------------------------------------------
    Footer settings
    -----------------------------------------------------------------
    */

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-general-info {
        width: 100%;
        padding: 20px;
    }

    .footer-social {
        width: 100%;
        align-items: flex-start;
        padding: 20px;
    }

    .footer-social img {
        width: 80px;
    }

    .social-img {
        display: flex;
        width: 80px;
        height: auto;
        flex-direction: row;
        justify-content: flex-start;
        gap: 20px;
    }
    
    .social-img img {
        width: 20px;
        height: auto;
        cursor: pointer;
    }

    .footer-policies {
        align-items: flex-start;
        padding: 20px;
        width: 100%;
    }

}