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

        body {
            overflow-x: hidden; 
            background-color: #000000; 
            color: #ffffff;
            font-family: 'Lato', sans-serif;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            scroll-behavior: smooth;
        }


        /* --- Hero Section --- */
        .title-hero {
            padding: 60px 20px 80px; 
            background-color: #000;
            background-image: 
                linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.7) 60%, rgba(0, 0, 0, 1) 100%), 
                url('https://res.cloudinary.com/dhlerngui/image/upload/f_auto,q_auto,w_1920/v1778181873/medium-vecteezy_numbers-on-a-running-track_11195093_medium_j3aoe2.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            text-align: center;
            border-bottom: none;
            backface-visibility: hidden;
            transform: translateZ(0);
        }

        .main-title {
            font-family: 'Montserrat', sans-serif;
            font-weight: 100;
            letter-spacing: clamp(0.5rem, 3vw, 2rem);
            font-size: clamp(2.5rem, 12vw, 6rem);
            color: #ffffff;
            text-transform: uppercase;
            margin: 0;
            padding-left: clamp(0.5rem, 3vw, 2rem);
            line-height: 1.2; 
            text-shadow: 0 4px 10px rgba(0,0,0,0.5);
        }

        .hero-description {
            font-family: 'Lato', sans-serif;
            font-weight: 300; 
            letter-spacing: normal;
            font-size: clamp(1rem, 2.5vw, 1.25rem);
            color: #e5e7eb;
            max-width: 850px;
            margin: 30px auto 60px; 
            text-transform: none;
            line-height: 1.6;
            margin-bottom: 125px;
        }

        .hero-stats {
            max-width: 1000px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            text-align: center;
        }

        .hero-stat-item .value {
            font-family: 'Oswald', sans-serif;
            font-size: 3.5rem;
            font-weight: 700;
            color: #FCBA04;
            display: block;
            line-height: 1;
        }

        .hero-stat-item .label {
            font-family: 'Lato', sans-serif;
            text-transform: uppercase;
            letter-spacing: 2px;
            font-size: 0.8rem;
            color: #9ca3af;
            margin-top: 8px;
            display: block;
        }

        /* --- Navigation Cards --- */
        .nav-cards-section {
            padding: 80px 20px;
            max-width: 1400px;
            margin: 0 auto;
        }

        .cards-grid {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 25px;
        }
        @media (min-width: 640px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
        @media (min-width: 1024px) { .cards-grid { grid-template-columns: repeat(4, 1fr); } }

        .nav-card {
            background-color: #0b1426; 
            padding: 50px 30px;
            text-decoration: none;
            color: white;
            transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            border: 1px solid #1a273d; 
            position: relative;
            height: 100%;
            overflow: hidden;
        }

        .nav-card::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background-color: #FCBA04;
            transform: scaleX(0);
            transition: transform 0.3s ease;
            transform-origin: center;
        }

        .nav-card:hover {
            background-color: #111d33;
            transform: translateY(-8px);
            border-color: #2a3c54;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
        }

        .nav-card:hover::after { transform: scaleX(1); }

        .nav-card i {
            font-size: 2.25rem;
            color: #FCBA04; 
            margin-bottom: 25px;
            transition: transform 0.3s ease;
        }

        .nav-card:hover i { transform: scale(1.1); }

        .nav-card h3 {
            font-family: 'Oswald', sans-serif;
            text-transform: uppercase;
            font-size: 1.4rem;
            margin-bottom: 12px;
            letter-spacing: 1.5px;
            color: #ffffff;
        }

        .nav-card h3 a { text-decoration: none; color: inherit; }

        .nav-card p {
            font-size: 0.9rem;
            color: #94a3b8; 
            line-height: 1.6;
            margin: 0;
            font-weight: 300;
        }

        /* --- About the Project Section --- */
        .project-about-section {
            padding: 100px 20px;
            background-color: #000000;
            color: #ffffff;
            text-align: center;
        }

        .project-about-content {
            max-width: 900px;
            margin: 0 auto;
        }

        .project-about-content h2 {
            font-family: 'Oswald', sans-serif;
            text-transform: uppercase;
            font-size: 2.25rem;
            color: #FCBA04;
            margin-bottom: 35px;
            letter-spacing: 2px;
        }

        .project-about-content p {
            font-size: 1.15rem;
            line-height: 1.9;
            color: #d1d5db;
            font-weight: 300;
        }

        .learn-more-btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            margin-top: 40px;
            padding: 12px 32px; 
            background-color: #FCBA04;
            color: #000000;
            font-family: 'Oswald', sans-serif;
            text-transform: uppercase;
            letter-spacing: 2px;
            font-weight: 700;
            font-size: 0.9rem; 
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: 2px solid #FCBA04;
        }

        .learn-more-btn:hover {
            background-color: transparent;
            color: #FCBA04;
            box-shadow: 0 0 30px rgba(252, 186, 4, 0.15);
        }

        .learn-more-btn i {
            transition: transform 0.3s ease;
            font-size: 0.8rem;
        }

        /* --- Narrative Header --- */
        .narrative-header-section {
            width: 100%;
            height: 650px; 
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            position: relative;
            background-color: #ffffff; 
            background-image: 
                linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.4) 70%, #fff 100%),
                url('https://res.cloudinary.com/dhlerngui/image/upload/f_auto,q_auto,w_1920/v1778196613/girlonbenchcut2_sdxfc2.jpg');
            background-size: cover;
            background-position: right 15%; 
            background-repeat: no-repeat;
            filter: grayscale(100%);
            backface-visibility: hidden;
            transform: translateZ(0);
        }

        .narrative-header-text {
            filter: grayscale(0%); 
            z-index: 2;
            text-align: center;
            padding: 0 20px;
        }

        /* --- Info Section --- */
        .info-section {
            padding: 40px 20px 80px;
            background-color: #ffffff;
            color: #111827;
        }

        .info-content {
            max-width: 800px;
            margin: 0 auto;
        }

        .section-tag {
            font-family: 'Oswald', sans-serif;
            color: #FCBA04;
            text-transform: uppercase;
            letter-spacing: 4px;
            font-size: 0.9rem;
            text-align: center;
            display: block;
            margin-bottom: 10px;
        }

        .narrative-title {
            font-family: 'Oswald', sans-serif;
            text-transform: uppercase;
            font-size: clamp(2rem, 5vw, 3.5rem);
            line-height: 1;
            color: #ffffff;
            margin: 0;
            text-shadow: 0 2px 10px rgba(0,0,0,0.8);
        }

        .narrative-block {
            position: relative;
            padding-left: 30px;
            border-left: 1px solid #e5e7eb;
            margin-bottom: 40px;
            transition: border-color 0.3s ease;
        }
        .narrative-block:hover { border-left-color: #FCBA04; }

        .narrative-block p {
            font-size: 1.15rem;
            line-height: 1.8;
            color: #374151; 
            font-weight: 400;
            margin-bottom: 20px;
        }

        .highlight-phrase { color: #111827; font-weight: 700; }

        .narrative-divider {
            width: 50%;
            height: 3px;
            background-color: #FCBA04;
            margin: auto;
            position: relative;
            margin-bottom: 60px;
        }
        

        .reasoning-stack {
            background-color: #f9fafb;
            border: 1px solid #e5e7eb;
            border-left: 4px solid #FCBA04;
            padding: 40px;
            margin: 60px 0;
        }
        
        .reasoning-stack p {
            font-size: 1.1rem;
            line-height: 1.8;
            color: #374151;
            font-weight: 400;
            margin-bottom: 25px;
        }
        .reasoning-stack p:last-child { margin-bottom: 0; }

        .declaration-container {
            margin-top: 80px;
            background-color: #f9fafb;
            padding: 40px;
            border: 1px solid #e5e7eb;
        }

        .declaration-item {
            font-family: 'Lato', sans-serif;
            font-size: 1.05rem;
            line-height: 1.6;
            margin-bottom: 15px;
            color: #4b5563;
            list-style: none;
            display: flex;
            gap: 15px;
        }

        .declaration-item::before {
            content: "×";
            color: #FCBA04;
            font-family: 'Oswald', sans-serif;
            font-weight: bold;
            font-size: 1.2rem;
        }

        /* --- CALL-OUT FINAL NARRATIVE PARAGRAPH --- */
        .final-narrative-paragraph {
            font-family: 'Lato', sans-serif;
            font-size: clamp(1.1rem, 2.5vw, 1.45rem);
            line-height: 1.9;
            color: #111827;
            text-align: center;
            max-width: 900px;
            margin: 100px auto 60px;
            font-weight: 400;
            padding: 60px 40px;
            background-color: #f8f9fa;
            border-left: 4px solid #FCBA04;
            border-bottom: 1px solid #e5e7eb;
            border-right: 1px solid #e5e7eb;
            box-shadow: 0 15px 45px rgba(0,0,0,0.05);
            position: relative;
        }

        .final-narrative-paragraph::before {
            content: "“";
            position: absolute;
            top: 10px;
            left: 20px;
            font-family: 'Oswald', sans-serif;
            font-size: 5rem;
            color: #FCBA04;
            opacity: 0.2;
            line-height: 1;
        }

/* 1. The Container: Must be relative so the ::before can fill it */
.pre-footer-banner {
    position: relative;
    width: 100%;
    height: 400px; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #000; /* Fallback */
}

/* 2. The Image Layer: Absolute position makes it a background */
.pre-footer-banner::before {
    content: "";
    position: absolute; /* Changed from relative */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to bottom, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.65) 100%), 
        url('https://res.cloudinary.com/dhlerngui/image/upload/f_auto,q_auto,w_1920/v1778194350/copy_of_pexels-laura-rincon-318039951-25754070_pd924a_a93089.jpg');
    background-size: cover;
    background-position: top; 
    background-repeat: no-repeat;
    filter: grayscale(100%); /* Now this ONLY hits the background */
    z-index: 1; /* Keep it at the bottom */
    pointer-events: none;
}

/* 3. The Text Layer: Stays in color */
.banner-overlay-text {
    position: relative; /* Essential to use z-index */
    z-index: 5; /* Ensures text sits ABOVE the grayscale layer */
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: clamp(1.2rem, 3.5vw, 2.2rem); 
    line-height: 1.2;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 4px 15px rgba(0,0,0,1);
    padding: 0 20px;
    letter-spacing: 2px;
}

/* The yellow fix */
.banner-overlay-text span {
    color: #FCBA04;
}        


        /* --- Mobile Responsive Fixes --- */
        @media (max-width: 768px) {
            .title-hero { padding: 40px 20px 60px; }
            .main-title { 
                letter-spacing: 0.5rem; 
                padding-left: 0.5rem; 
                font-size: 3.6rem; 
                margin-top:45px;
            }
            .hero-stats { 
                gap: 15px; 
                grid-template-columns: repeat(2, 1fr);
            }
            .hero-stat-item .value { font-size: 2.4rem; }
            .hero-stat-item .label { font-size: 0.75rem; letter-spacing: 1px; }
            .hero-description {width:90%; margin-bottom: 100px;}
            .project-about-section { padding: 60px 20px; width:90%; margin: auto; }
            .info-section { padding: 40px 20px 60px; }
            .reasoning-stack { padding: 25px; }
            
            /* DECREASED PHOTO SIZE ON MOBILE & ALIGN RIGHT */
            .narrative-header-section { 
                height: 280px; 
                background-position: right 10%; 
            }
            .banner-overlay-text { font-size: 1.7rem}
            .reasoning-stack p {font-size: 1rem;}
            .learn-more-btn { width: auto; justify-content: center; padding: 10px 25px; }
            .pre-footer-banner { height: 300px; }
            .final-narrative-paragraph { font-size: 0.95rem; margin-top: 40px; padding: 25px; }
            .narrative-block p {font-size: 1rem;}
            .narrative-title {font-size: 2.5rem}
        }

        @media (min-width: 1024px) {
            .pre-footer-banner { 
                height: 450px; 
                background-position: center 25%; 
            }
        }
