:root {
    --primary-color: #01613F;
    --accent1-color: #00A86B;
    --accent2-color: #F7C948;
    --secondary-color: #1C2D3F;
    --background-color: #F9F9F9;
    --highlight-color: #E3EEEB;
    --supportive-color: #F4F1DE;
    --placeholder-color: #9C9AA5;
    --footer-color: #1F1F39;
    --font-family: 'Inter';
    --font-family-sup: 'Open Sans';
    --font-family-cta: 'Source Sans 3';
}

body,
main {
    margin: 0px;
    padding: 0px;
}

body {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.loaded {
    opacity: 1;
}

p,
li {
    font-family: var(--font-family);
    color: var(--secondary-color);
    font-size: 24px;
    opacity: 0.7;
    line-height: 35px;
}

h1 {
    font-family: var(--font-family);
    color: var(--secondary-color);
    font-size: 60px;
    font-weight: bold;
    line-height: 74px;
    margin-bottom: auto;
}

h2 {
    font-family: var(--font-family);
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 60px;
    margin-top: auto;
}

h3 {
    font-family: var(--font-family);
    color: var(--secondary-color);
    font-weight: 300;
    font-size: 30px;
    font-weight: bold;
    line-height: 40px;
}

.sup {
    font-family: var(--font-family-sup);
    color: var(--secondary-color);
    font-size: 20px;
    font-weight: 500;
    line-height: 44px;
    text-transform: uppercase;
    opacity: 1;
}

.hidden-sm {
    display: none !important;
}

.negative h1,
.negative h2,
.negative h3,
.negative p {
    color: #FFFFFF !important;
}

button {
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 10px;
    font-family: var(--font-family-cta);
    font-weight: bold;
}

button.cta {
    background-color: var(--accent2-color);
    color: var(--secondary-color);
    font-size: 22px;
    border: solid 2px var(--accent2-color);
    padding: 0.8rem 2rem;
}

button.cta-outlined {
    color: var(--secondary-color);
    border: solid 2px var(--secondary-color);
    font-size: 22px;
    background-color: transparent;
    padding: 0.8rem 2rem;
}

button.cta2 {
    background-color: var(--primary-color);
    border: solid 1px var(--primary-color);
    color: #FFFFFF;
    font-size: 18px;
    padding: 0.6rem 2rem;
}

button.cta2-outlined {
    color: var(--primary-color);
    border: solid 1px var(--primary-color);
    font-size: 18px;
    background-color: transparent;
    padding: 0.6rem 2rem;
}

.help.icon,
button.icon {
    display: flex;
    align-items: center;
    gap: 25px;
}

.margin-h {
    margin: 0 10rem;
}

.margin-h-strict {
    margin: 0 6rem;
}

.mr {
    margin-right: 1.5rem;
}

.ml {
    margin-left: 1.5rem;
}

.mb {
    margin-bottom: 5.5rem;
}

.mt {
    margin-top: 5.5rem;
}

.stretch {
    align-items: stretch !important;
}

.top {
    align-items: flex-start !important;
}

.hidden {
    display: none;
}

.background {
    background-color: var(--highlight-color);
}

.background-text {
    background-color: #FFF;
    padding: 2rem 2.5rem !important;
}

.background-image {
    background-color: var(--supportive-color);
}

.image img {
    max-width: 500px;
    height: auto;
}

.background-image img {
    max-width: 100%;
    height: auto;
}

.backgroud-primary {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent1-color) 100%);
    padding: 7rem 0rem;
}

.card {
    border-radius: 1em;
    padding: 4rem 2.5em;    
}

.card h3 {
    margin-top: 0;
}

.separator {
    background-color: var(--accent1-color);
    height: 60px;
    width: 9px;
    margin: 2rem auto;
    border-radius: 14px;
}

.half {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}

.half div {
    flex: 1;
}

.center {
    text-align: center;
}

.end {
    text-align: right;
}

.icon {
    background-color: var(--accent2-color);
    padding: 0.4rem;
    border-radius: 7.5px;
    cursor: pointer;
}

section {
    padding: 5em 0;
}

header {
    position: fixed;
    width: 100%;    
    padding: 1.5rem 0rem;
}

header div:first-child {
    display: flex;
    justify-content: space-between;
}

.header-fixed-scrolled {
    background-color: #FFFFFF;
    top: 0px;
    left: 0px;
    z-index: 1;
}

header div {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

section.header {
    background: linear-gradient(135deg, var(--highlight-color) 0%, var(--supportive-color) 100%);
    padding: 0;
}

.second-title {
    margin-top: 120px;
}

.faq-section h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
}

.faq-section p {
    font-size: 18px;
    line-height: 30px;
}

.faq-container {
    display: flex;
    position: relative;
    overflow: hidden;
    height: 575px;
}

div.faq {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #FFFFFF;
    transition: transform 0.5s ease-in-out;
    /* Effetto di transizione */
}

div.faq.active {
    transform: translateX(0%);
}

div.faq.hidden-right {
    transform: translateX(-100%);
    z-index: 0;
}

div.faq.hidden-left {
    transform: translateX(100%);
    z-index: 0;
}

.logo {
    height: 83px;
    cursor: pointer;
}

section.header section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

section.header h1 {
    padding-top: 50px;
}

.paginate-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.paginate {
    width: 27px;
    height: 9px;
    border-radius: 14px;
    background-color: #DADADA;
    cursor: pointer;
    transition: width 0.3s linear;
}

.paginate.active {
    background-color: var(--primary-color);
    width: 60px;
    transition: width 0.3s linear;
}

footer {
    align-items: center;
    background-color: #FFFFFF;
}

footer div:first-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer div div:first-child {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;

}

footer ul {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    /* Opzionale: Permette agli item di andare a capo se lo spazio si riduce */
    flex-wrap: wrap;
    gap: 5px;
    /* Puoi usare gap o margin sugli li */
}

footer ul li {
    flex: 0 0 auto;
}

footer p,
footer ul li a {
    font-family: var(--font-family);
    color: var(--footer-color);
    opacity: 0.5;
    font-size: 18px;
}

footer ul li::before {
    content: "";
    color: inherit;
}

.social {
    display: flex;
    gap: 1rem;
}

.menu-mobile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    margin-top: -225px;
    height: 160px;
    transition: margin-top 0.5s ease-in-out;
}

.menu-mobile h3 {
    margin: 0;
}

.menu-mobile.active {
    margin-top: 0;
}

.menu-icon {
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    cursor: pointer;
    gap: 0.4rem;
}

.menu-icon .bar {
    width: 100%;
    min-height: 3px;
    background-color: #333;
    transition: all 0.3s ease-in-out;
    border-radius: 1px;
}

.menu-icon.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(8.5px, 8.5px);    
}

.menu-icon.open .bar:nth-child(2) {
    opacity: 0;
}

.menu-icon.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(8.5px, -8.5px);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99;
    display: none;
}

.number {
    display: block;
    color: var(--accent2-color);
    font-size: 140px;
    margin: 0 !important;
    font-family: var(--font-family);
    font-weight: bold;
}

.background .half :nth-child(1) .number {
    text-align: end;
}