:root {
    --primary-color: #2596be;
    --secondary-color: #1e7bb8;
    --background-color: #002c47;
    --text-color: #333;
    --button-bg-color: #f7931e;
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
}
header {
    background-color: #002c47;
    color: #fff;
    padding: 10px 20px;
    display:flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
nav ul li {
    display: inline;
    margin-right: 10px;
    cursor: pointer;
    transition: 0.3s;
    padding: 5px 10px;
    border-radius: 5px;
}

nav ul li:hover {
    background-color: var(--secondary-color);
    padding: 5px 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

main {
    padding: 20px;
    min-height: 80vh;
    max-width: 1000px;
    margin: 0 auto;
}



.contact-info {
    padding: 10px 25px;
    margin: 0 auto;
    max-width: 900px;
}

.project-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.project-section h2 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.project-content {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.project-image {
    flex-shrink: 0;
}

.project-logo {
    max-width: 150px;
    height: auto;
    border-radius: 4px;
}

.project-pamphlet {
    max-width: 120px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.project-description {
    flex: 1;
    min-width: 300px;
}

.project-description p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-description ul {
    margin-left: 1.5rem;
    line-height: 1.6;
}

.project-description li {
    margin-bottom: 0.5rem;
}

.card-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.card-list li {
    background: #0b2e4a;
    border: 1px solid #123b5a;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
    line-height: 1.5;
    color: #ffffff;
}

.partner-list {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.mission-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: 0.5rem;
}

.mission-list li {
    line-height: 1.6;
}

.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
    color: #ffffff;
}

.partner-logo {
    width: 100%;
    max-width: 180px;
    height: 110px;
    object-fit: contain;
    background: transparent;
    border-radius: 8px;
    padding: 0.5rem;
    border: none;
}

@media (max-width: 768px) {
    .project-content {
        flex-direction: column;
    }
    
    .project-image {
        align-self: center;
    }
}

@media (max-width: 600px) {
    .media-content iframe {
        width: 100% !important;
        height: auto;
        aspect-ratio: 16 / 9;
    }
}

.news-item {
    border-bottom: 1px solid #ccc;
    padding: 15px 0;
}

.news-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer {
    text-align: center;
    margin-top: auto;
    padding: 1.5rem;
    background: var(--background-color);
}

.footer p {
    color: white;
    font-size: 0.75rem;
    margin: 0;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.logo-container img {
    filter: drop-shadow(1px 1px 0  rgba(0, 0, 0, 1));
}

.logo-big {
    max-height: 40px;
    margin: 0 10px;
}

.logo-small {
    max-height: 70px;
    margin: 0 10px;
}

.media-item{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.media-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}