:root {
    /* Brand Colors */
    --cobalt: #0047AB;
    --deep-cobalt: #003380;
    --gold: #FFB300;
    --gold-bright: #FFD600;
    
    /* Vibrant Professional Palette */
    --bg-main: #FFFFFF;
    --bg-alt: #F0F4F8;    /* Very light professional blue-grey */
    --text-main: #0F172A;  /* Slate dark for readability */
    --text-on-dark: #FFFFFF;
    --midnight: #001B3A;   /* Footer depth */

    /* Accessibility focus state */
    --focus: #FFD600;
}

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

html, body {
    background-color: var(--bg-main);
    color: var(--text-main);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    max-width: 1200px;
    margin: 0 auto;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--gold);
    color: var(--midnight);
    padding: 8px;
    z-index: 1000;
    font-weight: bold;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

header {
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--deep-cobalt);
    border-bottom: 6px solid var(--gold);
    color: var(--text-on-dark);
}

.logo-container img {
    max-width: 320px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

nav {
    margin-top: 2rem;
    width: 100%;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: var(--text-on-dark);
    font-weight: bold;
    font-size: 1.1rem;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    border: 2px solid transparent;
    transition: all 0.2s;
}

nav a:hover, nav a:focus {
    background-color: var(--gold);
    color: var(--midnight);
    outline: none;
    border-color: var(--gold-bright);
}

nav a[aria-current="page"] {
    background-color: rgba(255, 255, 255, 0.15);
    border-bottom: 3px solid var(--gold);
}

main {
    padding: 4rem 1.5rem;
}

h1, h2, h3 {
    color: var(--cobalt);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }

section {
    margin-bottom: 5rem;
}

.hero {
    text-align: center;
    background: var(--bg-alt);
    padding: 5rem 2rem;
    border-radius: 12px;
    border-left: 10px solid var(--cobalt);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.hero p {
    font-size: 1.4rem;
    max-width: 850px;
    margin: 0 auto 2.5rem;
    color: #334155;
}

.cta-button {
    display: inline-block;
    background: var(--cobalt);
    color: white;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.3rem;
    border-radius: 8px;
    box-shadow: 0 4px 0 #003380;
    transition: all 0.1s;
}

.cta-button:hover, .cta-button:focus {
    background: var(--deep-cobalt);
    transform: translateY(2px);
    box-shadow: 0 2px 0 #001B3A;
    outline: 4px solid var(--focus);
}

.grant-box {
    background: var(--gold);
    color: var(--midnight);
    padding: 3rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.grant-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 100%;
    background: var(--cobalt);
}

.grant-box h3 {
    color: var(--midnight);
    font-size: 2rem;
}

.grant-box p {
    font-size: 1.1rem;
    font-weight: 500;
}

footer {
    padding: 4rem 1rem;
    background: var(--midnight);
    color: var(--text-on-dark);
    text-align: center;
    border-top: 8px solid var(--gold);
}

footer p {
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* Contact Info Styling */
.contact-info {
    background: var(--bg-alt);
    padding: 2.5rem;
    border-radius: 8px;
    border-top: 5px solid var(--cobalt);
    margin-bottom: 3rem;
}

@media (max-width: 600px) {
    h1 { font-size: 2rem; }
    nav ul {
        flex-direction: column;
        align-items: stretch;
    }
    nav a { text-align: center; }
}