body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.header,
.footer {
    background-color: #f0f0f0;
    padding: 1em;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.header-content {
    flex: 1;
    position: relative;
}

.header-logo {
    height: 200px;
    width: auto;
    margin-left: 2em;
}

.navbar-burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: absolute;
    right: 0;
    top: 0.5rem;
    width: 3rem;
    height: 3rem;
    flex-direction: column;
    justify-content: space-around;
    align-items: stretch;
}

.navbar-burger span {
    display: block;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.navbar-burger.is-active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.navbar-burger.is-active span:nth-child(2) {
    opacity: 0;
}

.navbar-burger.is-active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.navbar-item {
    font-weight: bold;
}

.content {
    padding: 1em 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out, transform 0.5s ease-out;
}

.content.active {
    max-height: 1000px;
    opacity: 1;
    transform: translateY(0);
}

.content:first-of-type {
    max-height: 1000px;
    opacity: 1;
    transform: translateY(0);
}

/* Partners Section Styles */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2em;
    margin-top: 2em;
    align-items: center;
    justify-items: center;
}

.partner-logo {
    width: 100%;
    max-width: 200px;
    padding: 1em;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.partner-logo a {
    display: block;
    width: 100%;
    height: 100%;
}

.partner-logo img {
    width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    display: block;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;
    }
    
    .header-content {
        width: 100%;
        text-align: center;
    }
    
    .header-logo {
        margin-left: 0;
        margin-top: 1em;
        height: 80px;
    }
    
    .navbar-burger {
        display: flex;
    }
    
    .navbar {
        width: 100%;
    }
    
    .navbar-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 1em;
        background-color: #f9f9f9;
        border-radius: 8px;
        padding: 1em 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-menu.is-active {
        display: flex;
    }
    
    .navbar-item {
        display: block;
        padding: 0.75em 1.5em;
        text-align: center;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .navbar-item:last-child {
        border-bottom: none;
    }
    
    .navbar-item:hover {
        background-color: #f0f0f0;
    }
    
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5em;
    }
    
    .partner-logo {
        max-width: 150px;
    }
    
    .title {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 1.25rem;
    }
}

/* Infographic Modal Styles */
#infographic-modal .modal-content {
    max-width: 90%;
    max-height: 90vh;
    overflow: auto;
}

#infographic-modal .modal-content img {
    width: 100%;
    height: auto;
    display: block;
}

#infographic-link {
    margin-top: 1em;
}

@media (max-width: 480px) {
    .header-logo {
        height: 60px;
    }
    
    .title {
        font-size: 1.25rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 1em;
    }
    
    .partner-logo {
        max-width: 200px;
    }
    
    #infographic-modal .modal-content {
        max-width: 95%;
    }
}