body {
    background-color: white;
    font-family: "Lato", sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    box-sizing: border-box;
}

* {
    box-sizing: border-box;
}

/* Scroll snap container */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Sezioni slide */
.slide {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0;
    overflow-x: hidden;
}

/* Sezione numeri chiave con altezza maggiore */
.slide-2 {
    min-height: 120vh;
}

/* Stili specifici per ogni slide */
.slide-1 {
    background-color: #F00000;
    color: white;
}

.slide-2 {
    background-color: white;
    color: #F00000;
}

.slide-3 {
    background-color: #F00000;
    color: white;
}

.slide-4, .slide-5, .slide-6, .slide-7, .slide-8, .slide-9 {
    background-color: white;
    color: #F00000;
}

h1{
    color: white;
    font-family: "Lato", sans-serif;
    font-weight: 900;
}

/* Stili per la prima sezione hero */
.hero-logo {
    max-width: 180px;
    height: auto;
    margin-top: 100px;
    margin-bottom: 2rem;
}

.hero-title {
    color: white;
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    line-height: 1.2;
}

.scroll-arrow {
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.scroll-arrow:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(5px);
}

.scroll-arrow svg {
    transition: transform 0.3s ease;
}

.scroll-arrow:hover svg {
    transform: translateY(3px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.hero {
    background-color: #F00000;
    height: 100vh;
}

.hero p {
    color: white;
}

.testata {
    background-color: #F00000;
    color: white;
    margin-bottom: 24px;
    padding: 16px;
    border-radius: 8px;
}

.testata h2 {
    color: white;
    margin-bottom: 0;
}

.titolo {
    color: #F00000;
    background-color: white;
    padding: 16px;
    border-radius: 8px;
    font-size: 2rem;
    font-weight: 700;
}

.numeri {
    background-color: white;
    color: #F00000;
    padding: 24px 0;
}

.numero h4 {
    font-size: 36px;
    font-weight: 400;
    border-bottom: 1px solid red;
    padding-bottom: 16px;
}

.numero p {
    font-size: 44px;
    font-weight: 900;
}

.numeri2 {
    background-color: white;
    color: #F00000;
    padding: 24px 0;
    border-bottom: 1px solid red;
    padding-bottom: 16px;
}

.numero2 h4 {
    font-size: 36px;
    line-height: 1;
    font-weight: 400;
}

.numero2 p {
    font-size: 44px;
    font-weight: 900;
    line-height: 34px;
}

/* Container per i numeri chiave */
.numeri-container {
    padding: 20px 0;
    width: 100%;
}

.numeri-container .numero {
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.numeri-container .numero:hover {
    transform: translateY(-5px);
}

.numeri-container .numero h4 {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 15px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Stili per la seconda sezione - numeri chiave full width */
.testata-full {
    background-color: #F00000;
    color: white;
    padding: 20px 16px;
    margin: 0;
    width: 100%;
    border-radius: 0;
    box-sizing: border-box;
}

.testata-title {
    color: white;
    margin-bottom: 0;
    font-weight: 900;
    font-size: 2rem;
}

.numeri-container-full {
    background-color: white;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    box-sizing: border-box;
    width: 100%;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.numero-item {
    text-align: center;
    color: #F00000;
    padding: 10px 0;
}

.numero-titolo {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 10px;
    border-bottom: 2px solid #F00000;
    padding-bottom: 10px;
    display: inline-block;
}

.numero-valore {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 15px 0;
    line-height: 1;
}

.icon-container-full {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

/* Stili per la terza sezione - organizzazione */
.organizzazione-container {
    background-color: white;
    padding: 30px 20px;
    color: #F00000;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.organizzazione-titolo {
    color: #F00000;
    font-size: 2.2rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #F00000;
    padding-bottom: 10px;
    display: inline-block;
    width: 100%;
}

.organizzazione-lista {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.organizzazione-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #F00000;
}

.organizzazione-item:last-child {
    border-bottom: none;
}

.organizzazione-icon {
    flex-shrink: 0;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.organizzazione-icon .logo-small {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.organizzazione-contenuto {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.organizzazione-numero {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 5px;
}

.organizzazione-testo {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.2;
}

.organizzazione-sottotesto {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(240, 0, 0, 0.7);
    margin-top: 5px;
    font-style: italic;
}

/* Stili per la quarta sezione - continente */
.testata-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testata-subtitle {
    color: white;
    margin: 0;
    font-weight: 700;
    font-size: 1.2rem;
}

.continente-container {
    background-color: white;
    padding: 30px 20px;
    color: #F00000;
    text-align: center;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.continente-titolo {
    color: #F00000;
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 10px;
    border-bottom: 2px solid #F00000;
    padding-bottom: 10px;
    display: inline-block;
}

.continente-lista {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 30px;
    font-weight: 500;
}

.continente-selected {
    color: #F00000;
    font-weight: 700;
}

.globe-container {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.globe-image {
    max-width: 300px;
    height: auto;
    border-radius: 10px;
}

/* Stili per la mappa dell'Europa */
.europe-map-container {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-image {
    max-width: 300px;
    height: auto;
    border-radius: 10px;
}

/* Stili per la mappa dell'Africa */
.africa-map-container {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}



.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-top: 30px;
}

.action-button {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border: 2px solid #F00000;
    border-radius: 25px;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 280px;
}

.action-button:hover {
    background-color: #F00000;
    color: white;
}

.action-button.active {
    background-color: #F00000;
    color: white;
    border-width: 3px;
}

.action-icon {
    width: 30px;
    height: 20px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-text {
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Stili per la settima sezione - timeline */
.timeline-container {
    background-color: white;
    padding: 30px 20px;
    color: #F00000;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    height: calc(100% - 200px); /* Interrompe la linea prima della fine */
    width: 2px;
    background-color: #F00000;
}

.timeline-entry {
    position: relative;
    margin-bottom: 40px;
}

.timeline-marker {
    position: absolute;
    left: -22px;
    top: 10px;
    width: 12px;
    height: 12px;
    background-color: #F00000;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #F00000;
}

.timeline-content {
    margin-left: 20px;
}

.timeline-year {
    font-size: 1.8rem;
    font-weight: 900;
    color: #333;
    margin-bottom: 5px;
}

.timeline-description {
    font-size: 1.1rem;
    font-weight: 700;
    color: #F00000;
    font-style: italic;
    margin-bottom: 15px;
}

.timeline-separator {
    height: 1px;
    background-color: #F00000;
    margin: 15px 0;
}

.timeline-images {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}


.timeline-text {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.5;
    text-align: justify;
}

.timeline-separator-main {
    height: 2px;
    background-color: #F00000;
    margin: 30px 0;
}

/* Stile per gli eventi dopo il 1834 - linea separata */
.timeline-entry.modern-era {
    position: relative;
}

.timeline-entry.modern-era::before {
    content: '';
    position: absolute;
    left: 15px;
    top: -50px;
    bottom: 50px;
    width: 2px;
    background-color: #F00000;
    z-index: 1;
}

.timeline-entry.modern-era .timeline-marker {
    z-index: 2;
}

/* Stili per jQuery Scrollify */
.section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0;
    overflow-x: hidden;
}

/* Testata fissa per timeline */




/* Stili per la sezione timeline moderna (slide-8) */
.timeline-container {
    background-color: white;
    padding: 30px 20px;
    color: #F00000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-modern {
    position: relative;
    width: 100%;
    max-width: 600px;
    padding-left: 30px;
}

.timeline-modern::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #F00000;
}

.timeline-modern-entry {
    position: relative;
    margin-bottom: 40px;
}



.timeline-modern-marker {
    position: absolute;
    left: -20px;
    top: 10px;
    width: 12px;
    height: 12px;
    background-color: #F00000;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #F00000;
}

.timeline-modern-year {
    font-size: 1.8rem;
    font-weight: 900;
    color: #333;
    margin-bottom: 5px;
}

.timeline-modern-description {
    font-size: 1.1rem;
    font-weight: 700;
    color: #F00000;
    font-style: italic;
    margin-bottom: 15px;
}

.timeline-continue {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    animation: bounce 2s infinite;
}

/* Stili per l'ottava sezione - breve */
.breve-container {
    background-color: white;
    padding: 40px 20px;
    color: #F00000;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 120px);
    overflow-y: auto;
    scroll-behavior: smooth;
}

.breve-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #F00000;
    margin-bottom: 30px;
}

.breve-text strong {
    font-weight: 900;
}

.breve-button {
    margin-bottom: 40px;
}

.btn-visita {
    display: inline-block;
    background-color: #F00000;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(240, 0, 0, 0.3);
}

.btn-visita:hover {
    background-color: #d00000;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(240, 0, 0, 0.4);
    color: white;
    text-decoration: none;
}

.social-icons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon img {
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}



.social-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Stili per la quinta sezione - presenza globale */
.presenza-container {
    background-color: white;
    padding: 30px 20px;
    color: #F00000;
    text-align: center;
}

.presenza-titolo h3 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    line-height: 1;
}

.presenza-titolo p {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #F00000;
}

.world-map-container {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.world-map {
    position: relative;
    width: 300px;
    height: 200px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #90caf9 100%);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.continent {
    position: absolute;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.continent.europe {
    top: 15%;
    left: 45%;
    width: 15%;
    height: 8%;
}

.continent.africa {
    top: 35%;
    left: 48%;
    width: 12%;
    height: 25%;
}

.continent.asia {
    top: 20%;
    left: 65%;
    width: 25%;
    height: 15%;
}

.continent.americas {
    top: 25%;
    left: 15%;
    width: 20%;
    height: 20%;
}

.continent.oceania {
    top: 70%;
    left: 75%;
    width: 8%;
    height: 5%;
}

.presence-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #F00000;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.presence-dot::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    width: 16px;
    height: 16px;
    background-color: rgba(240, 0, 0, 0.3);
    border-radius: 50%;
    animation: pulse 2s infinite 0.5s;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.presenza-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
    gap: 20px;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #F00000;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    font-weight: 700;
    color: #F00000;
    line-height: 1.2;
}

.icon-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-container svg {
    transition: transform 0.3s ease;
}

.numeri-container .numero:hover .icon-container svg {
    transform: scale(1.1);
}

/* Indicatori di navigazione */
/* Barra di navigazione fissa in basso */
.navigation-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(240, 0, 0, 0.2);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.navigation-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.indicator {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(240, 0, 0, 0.3);
    border: 3px solid rgba(240, 0, 0, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.indicator:hover {
    background-color: rgba(240, 0, 0, 0.6);
    border-color: rgba(240, 0, 0, 0.8);
    transform: scale(1.1);
}

.indicator.active {
    background-color: #F00000;
    border-color: #F00000;
    box-shadow: 0 0 10px rgba(240, 0, 0, 0.5);
}

/* Rimuovi i vecchi indicatori laterali */
.slide-indicators {
    display: none;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(240, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(240, 0, 0, 0.5);
}

.indicator.active {
    background-color: #F00000;
    transform: scale(1.2);
}

.indicator:hover {
    background-color: rgba(240, 0, 0, 0.7);
    transform: scale(1.1);
}

/* Responsive design */
@media (max-width: 768px) {

    
    .navigation-bar {
        padding: 12px 0;
    }
    
    .navigation-indicators {
        gap: 15px;
    }
    
    .indicator {
        width: 18px;
        height: 18px;
        border-width: 2px;
    }
    
    .hero-logo {
        max-width: 150px;
        margin-top: 80px;
        margin-bottom: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .scroll-arrow {
        padding: 12px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .testata {
        padding: 12px;
        margin-bottom: 16px;
    }
    
    .testata h2 {
        font-size: 1.5rem;
    }
    
    .titolo {
        font-size: 1.5rem;
        padding: 12px;
    }
    
    .numero h4 {
        font-size: 28px;
    }
    
    .numero p {
        font-size: 36px;
    }
    
    .numero2 h4 {
        font-size: 28px;
    }
    
    .numero2 p {
        font-size: 36px;
    }
    
    .numeri-container .numero {
        margin-bottom: 30px;
    }
    
    .numeri-container .numero h4 {
        font-size: 1.4rem;
        min-height: 50px;
    }
    
    .icon-container svg {
        width: 60px;
        height: 60px;
    }
    
    /* Responsive per numeri chiave full width */
    .testata-title {
        font-size: 1.6rem;
    }
    
    .numeri-container-full {
        padding: 30px 15px;
        gap: 25px;
    }
    
    .numero-titolo {
        font-size: 1.8rem;
    }
    
    .numero-valore {
        font-size: 2.8rem;
    }
    
    .icon-container-full svg {
        width: 90px;
        height: 90px;
    }
    
    /* Responsive per organizzazione */
    .organizzazione-titolo {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .organizzazione-numero {
        font-size: 2rem;
    }
    
    .organizzazione-testo {
        font-size: 1.1rem;
    }
    
    .organizzazione-item {
        padding: 12px 0;
    }
    
    .organizzazione-icon {
        margin-right: 15px;
        width: 80px;
    }
    
    .organizzazione-icon svg {
        width: 50px;
        height: 50px;
    }
    
    /* Responsive per continente */
    .continente-titolo {
        font-size: 1.8rem;
    }
    
    .continente-lista {
        font-size: 1rem;
    }
    
    .globe {
        width: 160px;
        height: 160px;
    }
    
    .action-button {
        min-width: 240px;
        padding: 10px 15px;
    }
    
    .action-text {
        font-size: 0.8rem;
    }
    
    /* Responsive per immagini mappe */
    .globe-image, .map-image {
        max-width: 240px;
    }
    .presenza-titolo h3 {
        font-size: 2.8rem;
    }
    
    .presenza-titolo p {
        font-size: 1.3rem;
    }
    
    .world-map {
        width: 240px;
        height: 160px;
    }
    
    .presenza-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {

    
    .navigation-bar {
        padding: 10px 0;
    }
    
    .navigation-indicators {
        gap: 12px;
    }
    
    .indicator {
        width: 16px;
        height: 16px;
        border-width: 2px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
    
    .testata h2 {
        font-size: 1.25rem;
    }
    
    .titolo {
        font-size: 1.25rem;
    }
    
    .numero h4 {
        font-size: 24px;
    }
    
    .numero p {
        font-size: 32px;
    }
    
    .numero2 h4 {
        font-size: 24px;
    }
    
    .numero2 p {
        font-size: 32px;
    }
    
    .numeri-container .numero h4 {
        font-size: 1.2rem;
        min-height: 40px;
    }
    
    .hero-logo {
        max-width: 120px;
        margin-top: 60px;
        margin-bottom: 1rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .scroll-arrow {
        padding: 10px;
    }
    
    /* Responsive mobile per numeri chiave full width */
    .testata-title {
        font-size: 1.4rem;
    }
    
    .numeri-container-full {
        padding: 20px 10px;
        gap: 20px;
    }
    
    .numero-titolo {
        font-size: 1.5rem;
    }
    
    .numero-valore {
        font-size: 2.2rem;
    }
    
    .icon-container-full svg {
        width: 70px;
        height: 70px;
    }
    
    /* Responsive mobile per organizzazione */
    .organizzazione-titolo {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .organizzazione-numero {
        font-size: 1.8rem;
    }
    
    .organizzazione-testo {
        font-size: 1rem;
    }
    
    .organizzazione-sottotesto {
        font-size: 0.9rem;
    }
    
    .organizzazione-item {
        padding: 10px 0;
    }
    
    .organizzazione-icon {
        margin-right: 10px;
        width: 80px;
    }
    
    .organizzazione-icon svg {
        width: 40px;
        height: 40px;
    }
    
    /* Responsive mobile per continente */
    .continente-titolo {
        font-size: 1.5rem;
    }
    
    .continente-lista {
        font-size: 0.9rem;
    }
    
    .globe {
        width: 120px;
        height: 120px;
    }
    
    .globe-label {
        font-size: 0.6rem;
        padding: 2px 6px;
    }
    
    .action-button {
        min-width: 200px;
        padding: 8px 12px;
    }
    
    .action-text {
        font-size: 0.7rem;
    }
    
    .action-icon {
        width: 25px;
        height: 15px;
        margin-right: 10px;
    }
    
    /* Responsive per timeline e breve */
    .timeline-year {
        font-size: 1.5rem;
    }
    
    .timeline-description {
        font-size: 1rem;
    }
    
    .timeline-images {
        flex-direction: column;
        gap: 10px;
    }
    
    .timeline-image {
        width: 100%;
        height: 60px;
    }
    
    .breve-text {
        font-size: 1.3rem;
    }
    
    .btn-visita {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .social-icons {
        gap: 15px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
    }
    
    .social-icon img {
        width: 35px;
        height: 35px;
    }
    
    /* Responsive per timeline moderna */
    .timeline-modern-year {
        font-size: 1.5rem;
    }
    
    .timeline-modern-description {
        font-size: 1rem;
    }
    
    /* Responsive mobile per immagini mappe */
    .globe-image, .map-image {
        max-width: 180px;
    }
    .presenza-titolo h3 {
        font-size: 2.2rem;
    }
    
    .presenza-titolo p {
        font-size: 1.1rem;
    }
    
    .world-map {
        width: 180px;
        height: 120px;
    }
    
    .presence-dot {
        width: 6px;
        height: 6px;
    }
    
    .presence-dot::before {
        width: 12px;
        height: 12px;
        top: -3px;
        left: -3px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Responsive mobile per timeline e breve */
    .timeline-year {
        font-size: 1.3rem;
    }
    
    .timeline-description {
        font-size: 0.9rem;
    }
    
    .timeline-text {
        font-size: 0.8rem;
    }
    
    .breve-text {
        font-size: 1.1rem;
    }
    
    .btn-visita {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .social-icons {
        gap: 10px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-icon img {
        width: 30px;
        height: 30px;
    }
    
    /* Responsive mobile per timeline moderna */
    .timeline-modern-year {
        font-size: 1.3rem;
    }
    
    .timeline-modern-description {
        font-size: 0.9rem;
    }
}

/* Animazioni per slide-2 e slide-3 */
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Classi per animazioni */
.animate-slide-left {
    animation: slideInFromLeft 0.8s ease-out forwards;
}

.animate-slide-right {
    animation: slideInFromRight 0.8s ease-out forwards;
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Stati iniziali per elementi da animare */
.slide-2 .numero-titolo,
.slide-3 .organizzazione-testo {
    opacity: 0;
    transform: translateX(-100%);
}

.slide-2 .icon-image,
.slide-3 .organizzazione-icon {
    opacity: 0;
    transform: translateX(100%);
}

.slide-2 .numero-valore,
.slide-3 .organizzazione-numero {
    opacity: 0;
    transform: translateY(30px);
}

/* Animazione numeri con count */
@keyframes numberCount {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    50% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.numero-valore.animating,
.organizzazione-numero.animating {
    animation: numberCount 0.5s ease-out forwards;
}

.numero-valore,
.organizzazione-numero {
    opacity: 0;
    transform: translateY(30px);
}

/* Timeline toggle e box espandibili */
.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    margin-right: 4px;
}



/* Sistema Interattivo Globo */
.globe-interactive-container {
    padding: 20px;
    padding-bottom: 40px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.globe-titolo {
    font-size: 24px;
    font-weight: bold;
    color: #F00000;
    margin-bottom: 10px;
    text-align: center;
}

.globe-subtitle {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-bottom: 20px;
    font-style: italic;
}

/* Filtri Continenti */
.continent-filters {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 30px;
    flex-wrap: wrap;
    color: #666;
    font-size:14px;
    flex-shrink: 0;
}

.continent-filter {
    background: none;
    border: none;
    color: #666;
    padding: 0;
    font-size: 1.1rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline;
}

.continent-filter:hover {
    background-color: transparent;
    color: #F00000;
    transform: none;
    text-decoration: none;
}

.continent-filter.active {
    background-color: transparent;
    color: #F00000;
    font-weight: 700;
    text-decoration: none;
}

/* Container Globo */
.globe-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    min-height: 0;
    overflow: hidden;
}

.globe-image {
    max-width: 100%;
    max-height: 50vh;
    height: auto;
    transition: all 0.5s ease;
    object-fit: contain;
    background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 50%, #bbdefb 100%);
    border-radius: 8px;
    padding: 10px;
}

/* Pulsanti Relazioni */
.relation-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top:4px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.relation-button {
    background: none;
    border: 2px solid #F00000;
    color: #F00000;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
}

.relation-button:hover {
    background-color: #F00000;
    color: white;
    transform: scale(1.05);
}

.relation-button.active {
    background-color: aliceblue;
    color: #111;
    border: 2px solid aliceblue;
}

.relation-icon {
    width: 30px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.relation-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.relation-text {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive per sistema interattivo */
@media (max-width: 768px) {
    .globe-interactive-container {
        padding: 15px;
        height: calc(100vh - 100px);
    }
    
    .globe-titolo {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .continent-filters {
        gap: 10px;
        margin-bottom: 4px;
    }
    
    .continent-filter {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .relation-buttons {
        gap: 15px;
    }
    
    .relation-button {
        padding: 10px 15px;
        min-width: 160px;
    }
    
    .relation-text {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .continent-filters {
        gap: 0px;
    }
    
    .continent-filter {
        padding: 3px 6px;
        font-size: 11px;
    }
    
    .relation-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .relation-button {
        min-width: 200px;
        padding: 8px 12px;
    }
}

/* Bottone Modal Globo */
.globe-modal-button-container {
    text-align: center;
    margin: 20px 0;
    display: none;
}

.globe-modal-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.globe-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Modal Fullscreen Globo */
.globe-modal-container {
    width: 100%;
    height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    cursor: grab;
}

.modal-body {
    position: relative;
    padding: 0;
}

.globe-modal-container:active {
    cursor: grabbing;
}

.globe-modal-image {
    width: 600%;
    height: 600%;
    object-fit: contain;
    transition: transform 0.3s ease;
    user-select: none;
    -webkit-user-drag: none;
    transform-origin: center center;
}

/* Controlli Zoom */
.zoom-controls {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 16px;
    border-radius: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
}

.zoom-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #e9ecef;
}

.zoom-btn:hover {
    background: #ffffff;
    border-color: #F00000;
    transform: translateY(-2px);
}

.zoom-btn:hover svg {
    color: #F00000;
}

.zoom-btn:active {
    transform: translateY(-1px);
    background: #f8f9fa;
}

.zoom-btn:active svg {
    color: #F00000;
}

.zoom-btn svg {
    pointer-events: none;
    width: 18px;
    height: 18px;
    color: #6c757d;
    transition: color 0.3s ease;
}

.zoom-btn:focus {
    box-shadow: none;
    outline: none;
}

/* Responsive per il modal */
@media (max-width: 768px) {
    .globe-modal-container {
        height: calc(100vh - 100px);
    }
    
    .globe-modal-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .zoom-controls {
        top: 70px;
        gap: 8px;
        padding: 10px 14px;
    }
    
    .zoom-btn {
        width: 38px;
        height: 38px;
    }
    
    .zoom-btn svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .zoom-controls {
        top: 70px;
        gap: 6px;
        padding: 8px 12px;
    }
    
    .zoom-btn {
        width: 32px;
        height: 32px;
    }
    
    .zoom-btn svg {
        width: 14px;
        height: 14px;
    }
}

/* Bandierine per cambio lingua */
.language-flags {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding: 20px 0;
}

.flag-link {
    display: inline-block;
    transition: transform 0.3s ease;
    border-radius: 4px;
    overflow: hidden;
}

.flag-link:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.flag-icon {
    width: 40px;
    height: 30px;
    object-fit: cover;
    border-radius: 4px;
}

/* Responsive per bandierine */
@media (max-width: 768px) {
    .language-flags {
        gap: 10px;
        margin-top: 20px;
    }
    
    .flag-icon {
        width: 35px;
        height: 26px;
    }
}

@media (max-width: 480px) {
    .language-flags {
        gap: 8px;
        margin-top: 15px;
    }
    
    .flag-icon {
        width: 30px;
        height: 22px;
    }
}




