body {
            font-family: 'Inter', sans-serif;
            /* FIX: Enable Flexbox layout to push footer down */
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            scroll-behavior: smooth;
        }

        /* Define the true Navy and Gold colors */
        .color-navy {
            --color-navy-base: #132B5B;
            /*True Navy*/
        }

        .color-gold {
            --color-gold-base: #FFD700;
            /*Rich Gold */
        }

        .text-navy-logo {
            color: var(--color-navy-base);
        }

        .bg-navy {
            background-color: var(--color-navy-base);
        }

        .text-navy {
            color: var(--color-navy-base);
        }

        .bg-gold {
            background-color: var(--color-gold-base);
        }

        .text-gold {
            color: var(--color-gold-base);
        }

        .hover-gold:hover {
            background-color: #C59100;
        }

        /* FIX: CSS ONLY HIDING/SHOWING (The Hard-coded method) */
        /* Hide all pages by default */
        .page-section { 
            display: none;
            min-height: 80vh;
        }
        
        /* Show the Home page by default on initial load */
        #home {
             display: block; 
        }

        /* Crucial Fix: Use :target to show the selected page */
        /* This CSS rule makes the browser show the element whose ID matches the hash */
        .page-section:target {
            display: block;
        }
        
        /* Hide Home page when any other page is targeted */
        .page-section:target ~ #home {
            display: none;
        }


        /* APPLY PADDING ONLY TO PAGES THAT ARE NOT #HOME, fixing the white space issue. */
        #about, #program-ai, #program-ev, #future-programs, #partnerships, #careers {
            /* This padding compensates for the fixed header */
            padding-top: 5rem; 
        }
        
        /* FIX: Ensure main content area grows to push the footer down. */
        main {
            flex-grow: 1; 
            position: relative;
            z-index: 1; 
            padding-bottom: 2rem; 
        }
        
        /* Footer is managed by flexbox */
        footer {
            flex-shrink: 0; 
            margin-top: auto; 
            position: relative; 
            z-index: 10;
        }

        /* Social icon visibility */
        .footer .flex.space-x-4 svg {
            fill: currentColor; 
        }


        .chart-container {
            position: relative;
            width: 100%;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            height: 300px;
            max-height: 400px;
        }

        @media (min-width: 768px) {
            .chart-container {
                height: 400px;
            }
        }

        /* Custom loading spinner styles - Retained for chart logic */
        .spinner {
            border: 4px solid rgba(0, 0, 0, 0.1);
            border-left-color: var(--color-gold-base);
            border-radius: 50%;
            width: 24px;
            height: 24px;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        /* HAMBURGER & RESPONSIVENESS STYLES */
        .hamburger {
            font-size: 1.8rem;
            background: none;
            border: none;
            color: var(--color-navy-base); /* Changed from white to Navy for contrast on white header */
            cursor: pointer;
            display: none;
        }

        @media (max-width: 1023px) { /* Changed from 768px to 1023px to match Tailwind's 'lg:flex' breakpoint */
            .hamburger {
                display: block;
            }

            .nav-links {
                position: absolute;
                top: 72px; /* Adjusted to header height */
                right: 0;
                left: 0;
                background: var(--color-navy-base);
                /* Navy background for mobile menu */
                flex-direction: column;
                width: 100%;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s ease-in-out;
                padding-left: 0; /* Remove default ul padding */
                z-index: 49; /* Below the fixed header */
            }
            
            /* Mobile Nav Links Styling */
            .nav-links a, .nav-links button {
                color: #fff; /* White text on navy background */
                padding: 1rem 1.5rem;
                display: block;
                text-align: left;
                width: 100%;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            }
            
            .nav-links button {
                background: none;
                border: none;
            }

            .nav-links a:hover, .nav-links button:hover {
                color: var(--color-gold-base);
                background-color: rgba(255, 255, 255, 0.05);
            }
            
            /* Dropdown specific styles within mobile menu */
            #programs-dropdown {
                position: static !important;
                opacity: 1 !important;
                visibility: visible !important;
                transform: none !important;
                box-shadow: none !important;
                border-radius: 0 !important;
                background: #1e3a6c !important; /* Slightly lighter navy for contrast */
                width: 100% !important;
                margin-top: 0 !important;
            }
            
            #programs-dropdown a {
                padding-left: 3rem !important;
                font-size: 0.9rem;
                color: #ccc !important;
            }
            
            #programs-dropdown a:hover {
                color: var(--color-gold-base) !important;
            }
            
            #programs-dropdown span {
                padding-left: 1.5rem !important;
                color: var(--color-gold-base) !important;
                border-bottom: none !important;
                font-size: 0.75rem !important;
                padding-top: 0.5rem;
                padding-bottom: 0.5rem;
            }

            /* When active */
            .nav-links.active {
                max-height: 100vh; /* Allow enough height for all links */
            }
        }

        /* ===================== FIX: Center “Apply for Next Cohort” Button ===================== */
        .apply-container {
            display: flex;
            justify-content: center;     /* Centers horizontally */
            align-items: center;          /* Keeps button aligned within its block */
            flex-direction: column;
            margin: 2.5rem auto;          /* Balanced spacing above and below */
            width: 100%;
        }

        .apply-button {
            display: inline-block;
            text-align: center;
            margin: 0 auto;
            transition: transform 0.2s ease-in-out;
        }

        .apply-button:hover {
            transform: scale(1.05);
        }
