﻿:root {
    --primary-blue: #002d72;
    --light-blue-bg: #eef4ff;
    --accent-red: #d22630;
    --text-dark: #1a202c;
    --text-muted: #718096;
    --white: #ffffff;
    --card-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--white);
    color: var(--text-dark);
}

/* --- Accessibility --- */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--accent-red);
    color: white;
    padding: 10px;
    z-index: 1000;
}

    .skip-link:focus {
        top: 0;
    }

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(0, 45, 114, 0.75), rgba(0, 45, 114, 0.75)), url('team.jpg') center/cover;
    color: white;
    padding: 80px 10% 120px 10%;
    position: relative;
}

    .hero h1 {
        font-size: 3.2rem;
        line-height: 1.1;
        max-width: 650px;
        margin-bottom: 20px;
        font-weight: 700;
    }

    .hero p {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }

.btn-blue {
    background: #001a41;
    color: white;
    padding: 14px 28px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    display: inline-block;
    transition: background 0.3s;
}

    .btn-blue:hover {
        background: #002d72;
    }

/* Important Update Overlay */
.update-overlay {
    position: absolute;
    top: 30px;
    right: 10%;
    background: white;
    color: #333;
    padding: 20px;
    border-radius: 12px;
    width: 280px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

    .update-overlay header {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 10px;
    }

        .update-overlay header span {
            color: var(--accent-red);
            font-size: 1.2rem;
        }

    .update-overlay h2 {
        font-size: 0.9rem;
        margin: 0;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .update-overlay p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin: 10px 0;
    }

/* --- Quick Nav (Horizontal with Box Effect) --- */
.quick-nav-container {
    /* Existing Styles */
    width: 90%;
    margin-top: -55px;
    position: relative;
    z-index: 100;
    /* THE FIX: Center the box itself */
    margin-left: auto;
    margin-right: auto;
    /* Styling for the background box */
    background: white;
    padding: 20px 15px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    /* Keep display flex if you want the NAV inside to center */
    display: flex;
    justify-content: center;
}

.quick-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.nav-card {
    background: white;
    padding: 20px 15px;
    display: flex;
    align-items: center;
    text-decoration: none;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

    .nav-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }
.nav-cardAdmin {
    background: #f8282863;
    padding: 20px 15px;
    display: flex;
    align-items: center;
    text-decoration: none;
    border-radius: 10px;
    color: black;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

    .nav-cardAdmin:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(210, 38, 48, 0.20);
    }
.nav-cardMem {
    background: #5055fa61;
    
    padding: 20px 15px;
    display: flex;
    align-items: center;
    text-decoration: none;
    border-radius: 10px;
    color: black;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

    .nav-cardMem:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(210, 38, 48, 0.20);
    }
.icon-circle {
    background: var(--light-blue-bg);
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 12px;
    font-size: 1.2rem;
    color: var(--primary-blue);
}

.card-content {
    flex-grow: 1;
}

.nav-card strong {
    display: block;
    font-size: 0.95rem;
    color: var(--primary-blue);
}

.nav-card small {
    display: block;
    font-size: 0.75rem;
    color: black;
    margin-top: 2px;
}

.chevron {
    margin-left: 10px;
    color: #cbd5e0;
    font-weight: bold;
    font-size: 1.1rem;
}

/* --- Latest News & Events --- */
.main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    padding: 40px 10% 60px 10%;
}
.card-content strong {
    display: block;
    color: black; /* Deepest grey/black for the primary title */
    font-size: 14px;
}

.card-content .secondary-text {
    display: block;
    color: black; /* A deep charcoal grey that passes 4.5:1 contrast */
    font-size: 12px;
    line-height: 1.4;
}
.card-content .admin-subtext {
    display: block;
    /* #575757 is the "magic" grey—it's the lightest grey that 
       consistently passes 4.5:1 contrast on white/very light backgrounds */
    color: black;
    font-size: 12px;
    margin-top: 2px;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

    .section-header h2 {
        font-size: 1.5rem;
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0;
    }

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.news-card {
    border: 1px solid #e2e8f0;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

    .news-card .date {
        color: var(--primary-blue);
        font-size: 0.75rem;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .news-card h3 {
        font-size: 1rem;
        margin: 0 0 10px 0;
        line-height: 1.4;
    }

    .news-card p {
        font-size: 0.85rem;
        color: black;
        flex-grow: 1;
        margin: 0;
    }
.footer-copy {
    color: #E2E8F0; /* Light gray-blue with high contrast */
    font-size: 11px;
    opacity: 0.9; /* Subtle, but still readable */
}

/* If your footer background is LIGHT (e.g., White) */
.footer-copy-light {
    color: #636363; /* This is the lightest gray allowed on white for 4.5:1 */
    font-size: 11px;
}
.read-more {
    font-size: 0.85rem;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    display: inline-block;
}

.event-row {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #edf2f7;
}

.event-date-box {
    text-align: center;
    min-width: 60px;
    color: var(--primary-blue);
    font-weight: bold;
}

    .event-date-box span {
        display: block;
        font-size: 1.4rem;
        line-height: 1;
    }

.event-details strong {
    font-size: 0.95rem;
    display: block;
}

.event-details small {
    color: var(--text-muted);
}

/* --- Values Strip --- */
.values-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    color: white;
    text-align: center;
    width: 100%;
}

/* Individual boxes */
.value-box {
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative; /* Needed for the separator lines */
}

    .value-box:not(:last-child)::after {
        content: "";
        position: absolute;
        right: 0;
        top: 25%;
        bottom: 25%;
        width: 1px;
        background: rgba(255, 255, 255, 0.2); /* Faint white line */
    }

/* Gradient for Financial Integrity (Red to Deep Purple/Blue) */
.v-red {
    background: linear-gradient(135deg, #d22630 0%, #6e255a 100%);
}

/* Gradient for Transparency (Deep Blue) */
.v-blue {
    background: linear-gradient(135deg, #002d72 0%, #001a41 100%);
}

.v-navy {
    background: linear-gradient(135deg, #001a41 0%, #002d72 100%);
}

.value-box h3 {
    margin: 0 0 10px 0;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.value-box p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.85; /* Makes the description look slightly secondary */
    font-weight: 300;
}

@media (max-width: 768px) {
    .values-strip {
        grid-template-columns: 1fr;
    }

    .value-box:not(:last-child)::after {
        display: none; /* Hide vertical lines on mobile */
    }
}



/* --- Team Section --- */
.team-container {
    padding: 10px 10%;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.member-info strong {
    font-size: 1.1rem;
}

.member-info p {
    margin: 5px 0;
    font-size: 1rem;
    color: #000;
}

/* --- Optimized Footer --- */
footer {
    background: #001a41;
    color: white;
    /* Reduced vertical padding from 60px to 30px */
    padding: 30px 10%;
}

.footer-grid {
    display: grid;
    /* Adjusted gap to something more reasonable */
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-logo {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 5px; /* Reduced margin */
    display: block;
    color: #fff;
}

.footer-grid h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px; /* Reduced margin */
    color: #fff;
}
/* Target h3 within the footer-grid to ensure semantic order */
.footer-grid h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: #fff;
    font-weight: bold; /* Ensures visibility on dark backgrounds */
}
/* Keeps text and links in a clean, compact style */
.footer-grid p, .footer-grid a {
    font-size: 0.85rem;
    color: #a0aec0;
    text-decoration: none;
    line-height: 1.5; /* Tighter line height */
    margin: 0;
}

    .footer-grid a:hover {
        color: white;
        text-decoration: underline;
    }

/* Footer Bottom Section */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 20px;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #718096;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .quick-nav {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-content, .team-grid, .staff-grid, .footer-grid, .values-strip {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .update-overlay {
        position: static;
        width: auto;
        margin-top: 20px;
    }
}

@media (max-width: 600px) {
    .quick-nav {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}

.hero {
    /* This creates a dark blue tint over the image so text is readable */
    background: url('../images/TopBanner.jpeg') center/cover no-repeat;
    color: white;
    padding: 150px 10% 180px 10%; /* Increased bottom padding for the nav cards to overlap */
    position: relative;
    display: flex;
    align-items: center;
    max-height: 400px;
}

.hero-content {
    max-width: 700px;
    z-index: 2; /* Ensures text stays above any background effects */
}
