body {
    background-color: #2c3e50;
    color: #ecf0f1;
    margin: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background-color: #34495e;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav .logo-container img {
    width: 180px;
    height: auto;
}
.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: #ecf0f1;
}

.nav .nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}


.nav .email-info {
    font-size: 1rem;
    color: #ecf0f1;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
    height: auto;
}

.nav .email-info a {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: bold;
}

  
.nav .contact-button {
    background-color: #3d566e;
    color: #ecf0f1;
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.nav .contact-button:hover {
    background-color: #4a6b87;
}


    
.language-switch {
    font-size: 1rem;
    color: #ecf0f1;
}

.language-switch a {
    text-decoration: none;
    color: #ecf0f1;
    font-weight: normal;
    margin: 0 5px;
    transition: font-weight 0.3s ease;
}


.language-switch .active-lang {
    font-weight: bold;
    text-decoration: underline;
}


    
.about-section {
    padding: 40px 20px;
    text-align: center;
    background-color: #1e2f3d;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    max-width: 800px;
    margin: 40px auto;
}

.about-section--wide { max-width: 900px; }

.about-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #ecf0f1;
    font-weight: bold;
}

.about-section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background-color: #ecf0f1;
    margin: 10px auto 0;
    border-radius: 5px;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
    color: #bdc3c7;
}

.highlight-container {
    background-color: #1e2f3d;
    padding: 60px 20px;
}

.highlight {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}

.highlight img { 
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    
}

.highlight .text {
    max-width: 450px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #bdc3c7;
    text-align: center;
    padding: 20px;
}

.highlight .text h3 {
    color: #ecf0f1;
    font-size: 1.7rem;
    margin-bottom: 5px;
}

.highlight .text h3::after {
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    background-color: #ecf0f1;
    margin: 5px auto 0;
    border-radius: 5px;
}

.contact-section {
    width: 90%;
    max-width: 400px;
    margin: 30px auto;
    padding: 20px;
    background-color: #34495e;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
    
.contact-title {
    text-align: center;
    font-size: 1.5rem;
    color: #ecf0f1;
    margin-bottom: 5px;
}
.form-group {
    margin-bottom: 15px;
}
.form-label {
    font-size: 0.9rem;
    color: #bdc3c7;
    margin-bottom: 5px;
    display: block;
}
.form-input, .form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #7f8c8d;
    border-radius: 5px;
    font-size: 0.95rem;
    font-family: Arial, sans-serif;
    background-color: #2c3e50;
    color: #ecf0f1;
    line-height: 1.4;
    box-sizing: border-box;
    resize: none;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: #1abc9c;
}
.form-textarea {
    min-height: 140px;
}
.form-submit {
    width: 100%;
    background-color: #3d566e;
    color: #ecf0f1;
    border: none;
    padding: 12px;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease;
}
.form-submit:hover {
    background-color: #4a6b87;
}
.form-submit:active {
    background-color: #365470;
}

/* Generic button styles for use outside the nav (e.g., 404 pages) */
.btn {
    background-color: #3d566e;
    color: #ecf0f1;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.btn:hover { background-color: #4a6b87; }
.btn:active { background-color: #365470; }
.commitment-section {
    background-color: #2c3e50;
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.commitment-content {
    max-width: 800px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}
.commitment-image {
    width: 100%;
    max-width: 350px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.commitment-text {
    flex: 1;
    text-align: left;
    color: #bdc3c7;
}
.commitment-text h3 {
    font-size: 1.8rem;
    color: #ecf0f1;
    margin-bottom: 10px;
    position: relative;
}
.commitment-text h3::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background-color: #ecf0f1;
    margin: 10px 0;
    border-radius: 5px;
}
.commitment-text p {
    font-size: 1rem;
    line-height: 1.8;
}
@media (max-width: 768px) {
    .hamburger {
        display: block;
        position: absolute;
        top: 30px;
        right: 25px;
        font-size: 1.8rem;
        cursor: pointer;
        background: none;
        border: none;
        color: #ecf0f1;
    }

    .nav {
        flex-direction: column;
        align-items: flex-start;
        position: sticky;
        top: 0;
        z-index: 1000;
        padding: 20px;
    }

    .nav-right .contact-button,
    .nav-right .email-info,
    .nav-right .language-switch {
        display: none;
    }

    .nav-right.active {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding-top: 20px;
        gap: 20px;
    }

    .nav-right.active .contact-button,
    .nav-right.active .email-info,
    .nav-right.active .language-switch {
        display: flex;
    }
}


    
.email-contact a {
    color: #1abc9c;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.email-contact a:hover {
    text-decoration: underline;
    color: #16a085; 
}

.email-contact {
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px 0;
}

/* Utilities */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }

/* Funding components */
.funding-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
.funding-logos img {
    height: 48px;
    width: auto;
    object-fit: contain;
}
.funding-logos--small img { height: 28px; }

/* Footer badge (kept for compatibility) */
.footer-funding {
    padding: 20px;
    text-align: center;
}

/* Prominent funding strip */
.funding-strip {
    background: linear-gradient(180deg, #1e2f3d 0%, #223447 100%);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 28px 16px;
    margin-top: 24px;
}
.funding-strip .funding-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    text-align: center;
}
.funding-strip h3 {
    margin: 0;
    font-size: 1rem;
    color: #bdc3c7;
    font-weight: 600;
}
.funding-link { color: #bdc3c7; text-decoration: none; }
.funding-link:hover { text-decoration: underline; }
.funding-logos--strip img { height: 56px; }

@media (max-width: 900px) {
    .funding-logos--strip img { height: 48px; }
}

@media (max-width: 600px) {
    .funding-logos--strip img { height: 40px; }
}
