* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 15px; /* reduced from default 16px */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.5;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1100px; /* slightly reduced */
    margin: 0 auto;
    padding: 0 12px; /* reduced */
}

header {
    background: white;
    padding: 18px 0; /* reduced */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 24px; /* reduced */
}

.header-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo img {
    width: 140px; /* reduced */
    height: auto;
}

.header-text {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.header-text h1 {
    font-size: 1.7rem; /* increased from 1.3rem */
    margin-bottom: 6px;
    color: #2c5aa0;
}

.header-text .subtitle {
    font-size: 1rem; /* reduced */
    color: #666;
    margin-bottom: 8px;
}

.header-text .description {
    font-size: 1.05rem; /* reduced */
    color: #444;
}

.main-content {
    background: white;
    padding: 24px 10px; /* reduced */
    margin-bottom: 24px; /* reduced */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.programs-intro {
    text-align: center;
    margin-bottom: 40px;
}

.programs-intro h2 {
    font-size: 1.2rem; /* reduced */
    margin-bottom: 12px;
    color: #2c5aa0;
}

.programs-intro p {
    font-size: 1rem; /* reduced */
    margin-bottom: 8px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.programs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px; /* reduced */
    margin: 24px 0;
    position: relative;
}

.program-card {
    text-align: center;
    padding: 14px 6px; /* reduced */
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    z-index: 2;
    max-width: 92%;
    margin: 0 auto;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #2c5aa0;
}

.program-link {
    display: inline-block;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.program-link:hover {
    transform: scale(1.05);
}

.program-link img {
    width: 110px; /* reduced */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.program-title {
    font-size: 1.05rem; /* reduced */
    font-weight: bold;
    color: #2c5aa0;
    margin-bottom: 8px;
}

.program-description {
    font-size: 0.95rem; /* reduced */
    line-height: 1.6;
    color: #555;
}

.section {
    margin: 24px 0; /* reduced */
    padding: 18px 10px; /* reduced */
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.section h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #2c5aa0;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

.consent-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    font-style: italic;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px; /* reduced */
    margin-bottom: 20px;
}

.leadership-item {
    padding: 8px;
    background: #f8f9fa;
    border-radius: 6px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px; /* reduced */
}

.contact-item h4 {
    color: #2c5aa0;
    margin-bottom: 10px;
}

.funding-section {
    text-align: center;
}

.partner-logos {
    display: flex;
    justify-content: center;
    gap: 16px; /* reduced */
    margin: 16px 0;
    flex-wrap: wrap;
    align-items: center;
}

.partner-link {
    transition: transform 0.3s ease;
}

.partner-link:hover {
    transform: scale(1.05);
}

.partner-link img {
    width: 90px; /* reduced */
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.donate-section {
    text-align: center;
    padding: 14px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 16px 0;
}

.donate-form {
    margin: 20px 0;
}

.donate-form input[type="image"] {
    transition: transform 0.3s ease;
}

.donate-form input[type="image"]:hover {
    transform: scale(1.05);
}

.privacy-notice {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
    padding: 10px;
    background: #e9ecef;
    border-radius: 6px;
}

.events-note {
    font-size: 0.85em;
    font-style: italic;
    color: #555;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .logo img {
        width: 90px;
    }
    
    .header-text h1 {
        font-size: 24px;
    }
    
    .header-text .description {
        font-size: 18px;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .program-card {
        padding: 20px;
    }
    
    .programs-logos {
        flex-direction: column;
        align-items: center;
    }
    
    .partner-logos {
        flex-direction: column;
        align-items: center;
    }
    
    .section {
        padding: 20px;
    }
}
