
/* --- PROFESSIONAL COLOR PALETTE (REVISED) --- */
:root {
    --color-primary-accent: #001F3F; /* Deep Navy for data focus, checklist, and subtle accents */
    --color-secondary-accent: #001F3F; /* Deep Navy for stable background/text/links */
    --color-text: #333333; /* Charcoal for readability */
    --color-background-soft: #F8F9FA; 
    --color-light-gray: #DDDDDD; /* Lighter borders */
}

/* --- BASE & UTILITIES --- */
* {
    /* FIX: Removed margin and padding from the universal selector */
    box-sizing: border-box; 
}

body {
    background-color: var(--color-secondary-accent);
    font-family: 'Inter', sans-serif;
    color: var(--color-text);
    margin: 0;
    padding: 0;
    
    /* Center the main content */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Consistent content container for centering and max-width */
.site-container {
    width: 95%;
    max-width: 1300px;
    margin: 0 auto;
    background-color: var(--color-background-soft);
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    padding: 0 20px;
}

h1, h2, h3 {
    color: var(--color-secondary-accent);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

strong {
    color: var(--color-secondary-accent);
    font-weight: 600;
}

b {
    color: var(--color-secondary-accent)
}

.section-divider {
    border: none;
    border-top: 2px dashed var(--color-light-gray);
    margin: 3rem auto;
    width: 95%
}

/* --- HEADER & NAVIGATION --- */

.main-header {
    display: flex;
    justify-content: space-between; /* Pushes brand to left, nav to right */
    align-items: center;
    padding: 1rem 0;
    background-color: var(--color-background-soft);
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid var(--color-light-gray);
}

.team-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Space between logo and h1 */
}

.team-brand h1 {
    margin: 0; /* Remove h1 default margin for clean header */
    font-size: 2rem;
    color: var(--color-secondary-accent);
}

.bi-accent {
    color: red
}

.logo {
    width: 50px; /* Standardize logo size */
    height: auto;
}

/* Navigation Links */
.toplinks {
    display: flex;
    gap: 10px;
}

.nav-button {
    color: var(--color-secondary-accent);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-secondary-accent);
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.3s, color 0.3s;
}

.nav-button:hover {
    background-color: var(--color-secondary-accent);
    color: white;
}

.current {
    background-color: var(--color-secondary-accent);
    color: white;
    border-color: var(--color-secondary-accent);
    font-weight: 600;
} 

/* --- OPENING STATEMENT --- */
.opening-statement {
    text-align: center;
    padding: 2rem 0;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.4;
    max-width: 1000px; /* Constrain width for better reading experience */
    margin: 0 auto;
}
.opening-statement h2 {
    font-size: 1.8rem;
    color: var(--color-secondary-accent);
    margin-top: 0;
}


/* --- ETL PROCESS (MAIN) --- */

.etl-process {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 2rem 0;
}

.step-container {
    /* Subtle shadow instead of harsh border/glow */
    border: 1px solid var(--color-light-gray);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 1.5rem; /* Increased padding for better internal whitespace */
    background-color: white;
    overflow: hidden; 
}

.step-container h2 {
    text-align: center;
    color: var(--color-primary-accent);
    border-bottom: 2px solid var(--color-light-gray);
    padding-bottom: 0.5rem;
    margin-top: 0;
}

.source-list {
    list-style: disc;
    padding-left: 20px;
    margin-top: 0.5rem;
}
.source-list li {
    margin-bottom: 0.5rem;
}


/* --- CASE STUDIES & IFRAME --- */

.case-study-wrapper {
    margin-bottom: 3rem;
    padding: 1rem 0;
}

.case-study-summary {
    max-width: 1000px; /* Keep descriptive text focused */
    margin: 0 auto 1.5rem auto;
    padding: 0 1rem;
}

.checklist {
    list-style: none;
    padding-left: 0;
}

.checklist li {
    margin-bottom: 0.8rem;
    line-height: 1.5;
    padding-left: 1.8rem;
    position: relative;
}

.checklist li::before {
    content: "\2713"; 
    color: var(--color-primary-accent); 
    position: absolute;
    left: 0;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.5
}

.powerbi-iframe {
    width: 100%;
    display: block;
    margin: 1rem auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    aspect-ratio: 16 / 9;
    max-height: 85vh;
}

/* --- ABOUT PAGE SPECIFIC STYLES --- */

.about-content {
    /* FIX: Remove conflicting grid properties and max-width */
    /* width: 100%;
    /* Added padding for general main content */
    padding: 2rem 0; 
}

.headshot-container {
    /* New, clean flex layout for image and bio */
    display: flex;
    justify-content: center;
    align-items: flex-start; 
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

.headshot {
    /* Styling based on your headshot.jpeg implementation */
    width: 150px;
    height: 150px;
    border-radius: 50%; 
    object-fit: cover;
    border: 3px solid var(--color-primary-accent); /* Gold ring */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0; 
    margin-top: 0.5rem; /* Small margin to align text blocks better */
}

.bio-text {
    /* Style for the text block next to the image */
    flex-grow: 1;
    max-width: 1300px;
}

.checklist-about {
    list-style: none;
    padding-left: 0;
}

.checklist-about li {
    margin-bottom: 0.8rem;
    line-height: 1.5;
    padding-left: 1.8rem;
    position: relative;
}

.checklist-about li::before {
    content: "\2713"; 
    color: var(--color-primary-accent); 
    position: absolute;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    left: 0;
    line-height: 1.5
}

.About-Why {
    max-width: 700px; /* Keep descriptive text focused */
    margin: 0 auto 1.5rem auto;
    padding: 0 1rem;
    text-align: left;
}

.About-Why h2 {
    text-align: center;
    color: var(--color-secondary-accent);
    
}


/* --- FOOTER --- */

footer {
    width: 100%;
    background-color: var(--color-secondary-accent); /* Navy Footer */
    color: var(--color-light-gray);
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

footer address {
    font-style: normal;
    margin-bottom: 1rem;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer b {
    color: white;
}

footer a {
    color: white;
    text-decoration: none;
}
footer a:hover {
    color: red;
}

/* --- RESPONSIVENESS --- */

@media screen and (max-width: 600px) {
    .headshot-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .bio-text {
        text-align: center;
        padding: 0 1rem;
    }
    .toplinks {
        gap: 5px;       
    }
    .nav-button {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
    .team-brand h1 {
        font-size: 1.7rem;
    }
}

@media screen and (max-width: 1000px) {
    .etl-process {
        grid-template-columns: 1fr; /* Stack ETL columns on smaller screens */
    }
}