html {
    position: relative;
    min-height: 100%;
}


@media (min-width: 768px) {
    .btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
        box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
    }
}


Base colors
:root {
    --primary-color: #0A1F44; /* Deep navy */
    --secondary-color: #4A5A6A; /* Steel gray */
    --accent-color: #0077C8; /* Bright blue */
    --background-color: #F5F7FA; /* Soft neutral */
    --text-color: #1A1A1A; /* Dark readable text */
}

/* Reset and base */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    /* required for footer spacing */
    margin-bottom: 120px;
}


/* Header */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem 1rem;
    text-align: center;
    position: relative;
    top: 0; 
    z-index: 50;
}

    header h1 {
        font-size: 2.5rem;
        font-weight: 700;
        letter-spacing: 0.05em;
        margin-bottom: 0.5rem;
    }

    header h2 {
        font-size: 1rem;
        font-weight: 600;
        text-transform: uppercase;
        color: var(--accent-color);
    }

/* Tagline */
.tagline {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--secondary-color);
    margin-top: 1rem;
}

/* Main content */
main {
    padding: 2rem;
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.textleft {
    padding: 2rem;
    width: fit-content;
    max-width: 800px;
    margin: auto;
    text-align: left;
}

.team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
}

.team-member {
    width: 700px;
    text-align: left;
    background-color: #f4f6f8;
    border: 1px solid #d0d4d8;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 4px rgba(0,0,0,0.1);
}

    .team-member img {
        display: block;
        margin-bottom: 0.5rem;
        border-radius: 4px;
    }

.name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.bio {
    font-size: 0.95rem;
    line-height: 1.5;
}

:root {
    --navy: #0a1a2f;
    --steel: #1f2d3d;
    --accent-blue: #3399ff;
    --white: #ffffff;
}

.button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    background-color: var(--steel);
    border: 2px solid var(--navy);
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

    .button:hover {
        background-color: var(--navy);
        border-color: var(--accent-blue);
        box-shadow: 0 0 6px var(--accent-blue);
    }

    .button:active {
        background-color: var(--accent-blue);
        border-color: var(--accent-blue);
        color: var(--navy);
        box-shadow: inset 0 0 4px var(--navy);
    }
/* ================================
   PERFORMANCE PAGE STYLES
   ================================ */

/* Subtitle under page header */
.performance-subtitle {
    max-width: 700px;
    margin: 0.5rem auto 2rem auto;
    font-size: 0.95rem;
    color: var(--secondary-color);
}

/* NAV Consulting logo row */
.nav-partner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

    .nav-partner .nav-label {
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--text-color);
    }

/* Metrics grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.metric-card {
    background-color: #f4f6f8;
    border: 1px solid #d0d4d8;
    border-radius: 6px;
    padding: 0.5rem;
    text-align: center;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.metric-label {
    font-size: 0.75rem;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
    text-align: center;
}
.metric-math {
    font-size: 0.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
    text-align: center;
}
.metric-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    text-align: center;
}

/* Charts section */
.charts {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.chart-card {
    background-color: #ffffff;
    border: 1px solid #d0d4d8;
    border-radius: 8px;
    padding: 1rem;
}

    .chart-card h2 {
        margin-bottom: 0.75rem;
        font-size: 1.1rem;
        color: var(--primary-color);
    }

    .chart-card img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: auto;
    }

/* Monthly returns table */
.monthly-returns {
    margin: 2rem 0;
}

    .monthly-returns table {
        width: 100%;
        border-collapse: collapse;
        margin: auto;
    }

    .monthly-returns th,
    .monthly-returns td {
        border: 1px solid #d0d4d8;
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .monthly-returns th {
        background-color: #e9edf1;
        font-weight: 600;
    }

    .monthly-returns .year-row td {
        background-color: #f4f6f8;
        font-weight: 700;
    }

/* NAV report link */
.nav-report {
    margin: 2rem 0 1rem 0;
}

/* Disclaimer */
.performance-disclaimer {
    font-size: 0.8rem;
    color: var(--secondary-color);
    margin-top: 1rem;
    max-width: 800px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .metric-value {
        font-size: 1.1rem;
    }

    .chart-card h2 {
        font-size: 1rem;
    }

    .monthly-returns table {
        font-size: 0.8rem;
    }
}
.Disclaimer {
    max-width: 700px;
    margin: 2rem auto 0 auto;
    padding: 0 1rem;
    font-size: 0.75rem;
    line-height: 1.5;
    color: #4A5A6A;
    white-space: normal !important;
    text-align: left;
}

footer {
    display: block !important; /* critical fix */
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
}

    footer .Disclaimer {
        max-width: 700px;
        margin: 2rem auto 0 auto;
        padding: 0 1rem;
        font-size: 0.75rem;
        line-height: 1.5;
        color: #4A5A6A;
        white-space: normal !important;
        text-align: left;
    }
header nav.navbar {
    position: sticky !important;
    top: 0;
    z-index: 1000;
    background: white;
}