body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
/* --- Header Styles: Image-Only --- */
header {
    background-color: #fff;
    padding: 0;
    border-bottom: 3px solid #004d99;
}
.header-banner {
    /* --- DESKTOP FIX (Your Preferred Look) --- */
    /* Height is fixed, Width is 100%. Removing background-size: cover; fixes desktop cropping. */
    width: 100%;
    height: 180px; 
    background-image: url('RAAVI_Header_Banner.png'); 
    background-repeat: no-repeat;
    /* We are keeping 'center' here to help align the image if its dimensions slightly overflow/underflow */
    background-position: center; 
}

/* --- Navigation & Mobile Menu Logic (Unchanged) --- */
nav {
    background-color: #004d99;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative; 
    min-height: 50px; 
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
nav a {
    display: block;
    padding: 15px 18px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}
nav a:hover, nav a.active {
    background-color: #003366;
    color: #fddb00;
}
.menu-toggle {
    display: none; 
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    z-index: 10;
    font-size: 30px;
    color: white;
}
#nav-toggle {
    display: none;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    
    /* --- MOBILE FIX: Apply background-size: cover only on mobile --- */
    .header-banner {
        height: 120px; /* Smaller height on mobile */
        background-size: cover; /* Crucial: This scales the image down to fit the screen width */
        background-position: center; /* Center the image in the smaller space */
    }
    /* ------------------------------------------------------------- */
    
    /* Mobile Menu Display Logic */
    nav ul {
        display: none; 
        flex-direction: column; 
        width: 100%;
        background-color: #004d99;
        position: absolute;
        top: 50px; 
        left: 0;
        text-align: left;
        z-index: 5; 
    }
    nav li {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
    #nav-toggle:checked ~ ul { 
        display: flex; 
    }
    .menu-toggle {
        display: block; 
    }
}

/* Mobile-specific Font Sizing */
@media (max-width: 768px) {
    .content-section h2 {
        font-size: 1.6em;
    }
    .content-section h3 {
        font-size: 1.3em;
    }
}

/* --- Content & Footer Styles (Unchanged) --- */
.content-section {
    background-color: #fff;
    margin-top: 20px;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
}
.content-section h2 {
    color: #004d99;
    border-bottom: 2px solid #004d99;
    padding-bottom: 10px;
    margin-top: 0;
    font-size: 2em;
    font-weight: bold;
}
.content-section h3 {
    color: #0066cc;
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.5em;
}
footer {
    text-align: center;
    padding: 25px;
    margin-top: 30px;
    color: #666;
    background-color: #fff;
    border-top: 2px solid #ddd;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.05);
}

/* --- Fix for Images in Content Pages (Board of Governors, etc.) --- */
.content-section img {
    max-width: 100%; /* Ensures the image never exceeds the width of its parent container */
    height: auto;    /* Crucial: Maintains the image's aspect ratio when scaling down */
    display: block;  /* Helps remove extra spacing below the image */
    margin: 10px auto; /* Centers the image if it's smaller than the container */
}