* {
    box-sizing: border-box;
    /* Ensures padding is included in width */
}

:root {
    --primary-navy: #00274C;
    --primary-orange: #F37021;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --white: #ffffff;
}

/* --- GLOBAL & TYPOGRAPHY --- */
body {
    font-family: 'Roboto Slab', serif;
    color: var(--dark-gray);
    margin: 0;
    padding-top: 80px;
    /* Space for fixed navbar */
    background-color: var(--light-gray);
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-navy);
}

a {
    text-decoration: none;
    color: var(--primary-orange);
    transition: 0.3s;
}

a:hover {
    color: #d65a10;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- NAVIGATION (Matches Main Page) --- */
#mainNav {
    background-color: var(--white);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#mainNav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

.nav-link {
    color: var(--primary-navy);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-left: 20px;
}

/* --- BIO PAGE LAYOUT --- */
.bio-section {
    padding: 60px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

/* Left Column: The "Card" */
.bio-sidebar {
    flex: 1;
    min-width: 300px;
    /* Stacks on mobile */
    text-align: center;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--primary-orange);
    height: fit-content;
}

/* The Oval Profile Image */
.bio-photo {
    width: 225px;
    height: 268px;
    object-fit: cover;
    border-radius: 50%;
    /* Makes the oval */
    border: 5px solid var(--light-gray);
    margin-bottom: 25px;
}

.bio-name {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.bio-title {
    font-size: 1rem;
    color: #6c757d;
    font-weight: normal;
    margin-bottom: 20px;
    font-family: 'Roboto Slab', serif;
}

.bio-socials a {
    font-size: 1.5rem;
    margin: 0 10px;
    color: var(--primary-navy);
}

.bio-socials a:hover {
    color: var(--primary-orange);
}

/* Right Column: The Content */
.bio-content {
    flex: 2;
    min-width: 300px;
    background-color: var(--white);
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.bio-heading {
    border-bottom: 2px solid var(--primary-orange);
    padding-bottom: 15px;
    margin-bottom: 30px;
    font-size: 2rem;
}

.bio-text p {
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}

.credentials-list {
    margin-top: 40px;
    background-color: #f1f8ff;
    /* Very light blue background */
    padding: 20px;
    border-radius: 5px;
    border-left: 4px solid var(--primary-navy);
}

.credentials-list h4 {
    margin-top: 0;
}

.credentials-list ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.credentials-list li {
    margin-bottom: 10px;
}

/* --- FOOTER --- */
footer {
    padding: 25px 0;
    text-align: center;
    background-color: #001a33;
    color: var(--white);
    margin-top: 50px;
}