.footer {
    background: #081C2C;
    color: var(--white);
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-yellow);
}

.footer-section p {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}


.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 1rem 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 1000;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #f8f9fa;
    color: var(--primary-green);
    padding-left: 25px;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

:root {
    --primary-green: #4C5561;
    --primary-yellow: #FFC107;
    --primary-blue: #2196F3;
    --text-dark: #333;
    --text-light: #666;
    --background-light: #f5f5f5;
    --white: #fff;
}

body {
    line-height: 1.6;
    color: var(--text-dark);
    /*font-size: 22px */
}

.container {
    max-width: 1700px;
            margin: 0 auto;
            padding: 0 20px;
}

.header {
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem; 
    gap: 4rem; 
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 2rem; 
}

.logo-img {
    width: 200px;
    height: auto;
    border-radius: 5px;
}

.about-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/api/placeholder/1200/400');
    background-size: cover;
    background-position: center;
    background: #101c2c;
    color: var(--white);
    padding: 8rem 0 4rem;
    margin-bottom: 4rem;
    text-align: center;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.about-content h2 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.value-card i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.team-section {
    background: var(--background-light);
    padding: 4rem 0;
    margin: 4rem 0;
    text-align: center;
}

.team-section h2 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.footer {


@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
    }

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

    .about-hero h1 {
        font-size: 2rem;
    }
}
}

/* Effetto Hover per i Box */
.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.5s ease-out, box-shadow 0.5s ease-out;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Animazione all'entrata */
.value-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Classe attivata con JS */
.value-card.show {
    opacity: 1;
    transform: translateY(0);
}


/* Hamburger menu */
.hamburger {
    display: none;
    font-size: 30px;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 1001;
}

/* Menu principale */
.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

/* Nascondi i link del menu in modalità mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px;  /* Spazio sotto la navbar */
        left: 0;
        background-color: var(--white);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
    }
    
    /* Hamburger diventa visibile */
    .hamburger {
        display: block;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 10px 20px;
        text-decoration: none;
        color: var(--text-dark);
        text-align: center;
    }

    /* Effetto hover per i link */
    .nav-links a:hover {
        background-color: #f1f1f1;
        color: var(--primary-green);
    }
}


body {
    background-color: #EAEAEA;
    color: #0C1A26;
    font-family: Arial, sans-serif;
}

h1, h2, h3 {
    color: #0C1A26;
}

button, .cta {
    background-color: #D38D27;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

button:hover, .cta:hover {
    background-color: #E9B122;
}

.navbar, .footer {
    background-color: #081C2C;
    color: white;
    padding: 15px;
    text-align: center;
}

.link {
    color: #3F6581;
    text-decoration: none;
}

.link:hover {
    color: #D38D27;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    text-align: center;
    background: linear-gradient(135deg, #4C6980, #0C1A26);
    padding: 3rem 0;
    border-radius: 15px;
    color: white;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: bold;
    color: #D38D27;
    text-shadow: 2px 2px 10px rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease-in-out;
}

.stat-item p {
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0.9;
}

.stat-item:hover h3 {
    transform: scale(1.1);
    text-shadow: 3px 3px 15px rgba(255, 255, 255, 0.6);
}

.hero h1 {
    color: #0C1A26 !important;
}


.about-hero h1 {
    color: var(--white); /* Imposta il colore del testo a bianco */
    font-size: 3rem;
    margin-bottom: 1rem;
}


.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    text-align: left; /* Allinea il testo a sinistra */
}

.footer-section h3, .footer-section p {
    text-align: left; /* Allinea anche i testi dei footer a sinistra */
}

.footer-section {
    padding-left: 1rem; /* Aggiungi un piccolo padding a sinistra per non essere troppo vicino al bordo */
}
