    :root {
        --primary-color: #990199;
        --accent-purple: #990199;
        --nav-highlight: #990199;
        --text-main: #0f172a; 
        --text-dim: #475569;
        --border-color: rgba(226, 232, 240, 0.8);
        --card-bg: #ffffff;
        --footer-bg: #1e293b;
        --stat-card-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
        scroll-behavior: smooth;
    }

    html, body {
        margin: 0;
        padding: 0;
        width: 100%;
    }

    body {
        color: var(--text-main);
        font-family: 'Poppins', sans-serif;
        display: flex;
        flex-direction: column;
        background-color: #0f172a;
        -webkit-font-smoothing: antialiased;
        overflow-x: hidden;
    }

    .top-nav {
        background-color: rgb(255, 255, 255);
        padding: 0 40px;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        top: 0;
        position: sticky;
        z-index: 1000;
    }

    .nav-logo-link {
        text-decoration: none;
        display: flex;
        align-items: center;
    }

    .logo-image {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        display: flex;
        gap: 30px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .nav-links a {
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 600;
        transition: color 0.2s;
        color:#000
    }

    .nav-links a:hover {
        color: var(--nav-highlight);
    }

    .nav-links a.active {
        color: var(--nav-highlight);
        border-bottom: 2px solid var(--nav-highlight);
        padding-bottom: 4px;
    }

    .mobile-toggle {
        display: none;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        color: var(--text-color);
    }

    .hero-section {
        position: relative;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 100px 40px;
        box-sizing: border-box;
        overflow: hidden;
        background-color: #0f172a;
        background-image: linear-gradient(
                            to bottom, 
                            rgba(15, 23, 42, 0.95) 0%, 
                            rgba(30, 41, 59, 0.85) 50%,
                            rgba(15, 23, 42, 1) 100%
                          ), 
                          url('https://res.cloudinary.com/dhlerngui/image/upload/f_auto,q_auto,w_1400/v1771957595/two-hands-clench-the-bars-of-a-prison-cell_ggvijb.webp');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        max-width: 1400px;
        margin: 0 auto;
        width: 100%;
    }

    .stats-header {
        width: 75%;
        max-width: 1400px;
        margin: 100px auto 100px auto;
        text-align: left;
        position: relative;
        z-index: 10;
    }

    .stats-header h1 {
        font-family: 'Lato', sans-serif;
        font-weight: 900;
        font-size: 3.5rem;
        color: #ffffff;
        margin: 0;
        text-transform: uppercase;
        letter-spacing: -2px;
        line-height: 1.1;
        text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    }

    .stats-header p {
        font-family: 'Lato', sans-serif;
        font-weight: 400;
        font-size: 1.1rem;
        line-height: 1.6;
        color: #ffffff;
        max-width: 700px;
        margin: 15px 0 0 0;
        text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
    }

    .main-content {
        padding: 60px 20px;
        max-width: 1400px;
        margin: 0 auto;
        width: 100%;
        box-sizing: border-box;
        position: relative;
        z-index: 1;
    }

    .summary-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 24px;
        margin-bottom: 32px;
        margin-top: -100px;
    }

    .summary-card {
        background: rgba(255, 255, 255, 0.03);
        border-left: 2px solid var(--nav-highlight); 
        backdrop-filter: blur(12px);
        border: 1px solid transparent;
        padding: 30px 24px;
        border-radius: 16px;
        text-align: center;
        box-shadow: var(--stat-card-shadow);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s;
        will-change: transform;
    }

    .summary-card:hover {
        transform: translateY(-4px);
        border-color: var(--accent-purple);
    }

    .summary-card .number {
        font-size: 2.5rem;
        font-weight: 800;
        color: var(--accent-purple);
        display: block;
        line-height: 1;
    }

    .summary-card .label {
        font-size: 0.8rem;
        color: var(--text-dim);
        text-transform: uppercase;
        letter-spacing: 1.2px;
        margin-top: 10px;
        font-weight: 700;
        display: block;
    }

    .notes-box {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 20px 24px;
        margin-bottom: 48px;
        color: #cbd5e1;
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .notes-box strong {
        color: #fff;
        display: block;
        margin-bottom: 8px;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: 0.8rem;
    }

    .dashboard-grid {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        gap: 32px;
    }

    .chart-container {
        background: #ffffff;
        border: 1px solid var(--border-color);
        border-radius: 20px;
        padding: 32px;
        box-shadow: var(--stat-card-shadow);
        content-visibility: auto;
        contain-intrinsic-size: 1px 400px;
        will-change: transform;
        contain: layout paint;
        display: flex;
        flex-direction: column;
    }

    body.is-scrolling .canvas-wrapper {
        pointer-events: none;
    }

    .col-6 { grid-column: span 6; }
    .col-4 { grid-column: span 4; }
    .col-8 { grid-column: span 8; }
    .col-12 { grid-column: span 12; }

    .chart-container h3 {
        font-size: 1.1rem;
        font-weight: 700;
        margin-top: 0;
        margin-bottom: 28px;
        color: var(--text-main);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .chart-container h3 .badge {
        font-size: 0.75rem;
        background: #fdf4ff;
        color: var(--accent-purple);
        padding: 6px 12px;
        border-radius: 9999px;
        text-transform: uppercase;
        font-weight: 700;
        border: 1px solid #fae8ff;
    }

    .canvas-wrapper {
        position: relative;
        height: 320px;
        width: 100%;
        min-height: 320px;
    }

    .chart-note-panel {
        margin-top: 20px;
        padding: 14px 16px;
        background: rgba(153, 1, 153, 0.04);
        border-radius: 10px;
        border-left: 4px solid var(--accent-purple);
        font-size: 0.8rem;
        color: var(--text-dim);
        line-height: 1.5;
    }

        /* Footer Styling */
        .site-footer {
            background-color: #000;
            border-top: 3px solid var(--nav-highlight);
            color: #fff;
            padding: 80px 40px 40px 40px;
            position: relative;
            z-index: 10;
            margin-top: auto;
        }

        .footer-grid {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 40px;
        }

        .footer-logo-text {
            font-family: 'Poppins', sans-serif;
            font-weight: 900;
            font-size: 1.8rem;
            color: #fff;
            text-transform: uppercase;
            letter-spacing: -1px;
            display: block;
            margin-bottom: 10px;
        }

        .footer-brand p {
            color: #94a3b8;
            font-size: 0.8rem;
            line-height: 1.6;
            margin-top: 15px;
            max-width: 800px;
        }

        .footer-social {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .footer-social a {
            color: #94a3b8;
            transition: color 0.2s;
        }

        .footer-social a:hover {
            color: var(--nav-highlight);
        }

        .footer-social svg {
            width: 20px;
            height: 20px;
        }

        .footer-heading {
            font-weight: 700;
            font-size: 0.9rem;
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: var(--nav-highlight);
        }


.footer-bottom {
    max-width: 1400px;
    margin: 40px auto 0 auto;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    /* This pushes the first child to the left and the last to the right */
    justify-content: space-between; 
    align-items: center;
    color: #64748b;
    font-size: 0.8rem;
    flex-wrap: wrap; /* Keeps it from breaking on small screens */
}

.footer-links {
    display: flex;
    gap: 5px; /* Adds space between the individual links */
}
        .footer-bottom a {
            color: #64748b;
            font-size: 0.75rem;
        }

    @media screen and (max-width: 1024px) {
        .col-4, .col-6, .col-8 { grid-column: span 12; }
    }

    @media screen and (max-width: 768px) {
        .hero-section { padding: 60px 20px; }
        .stats-header h1 { font-size: 2.2rem; }
        .stats-header p { font-size: 0.95rem;}
        .stats-header { padding-left:0; width: 100%; margin: 60px auto; }
    }       
 @media screen and (max-width: 1000px) {

        .top-nav { 
            padding: 0 20px;
            position: sticky;
            background-color:white;
             }
        .mobile-toggle { display: block; }
        .nav-links {
            position: absolute;
            top: 80px;
            left: 0;
            width: 100%;
            background-color: #ffffff;
            flex-direction: column;
            gap: 0;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-in-out;
        }
            .nav-links.active {max-height: 450px; border-bottom: 1px solid #eee;}
        .nav-links li { width: 100%; border-top: 1px solid var(--border-color); }
        .nav-links a { 
            display: block; 
            padding: 18px 20px !important; 
            width: 100%; 
            box-sizing: border-box; 
            color:#000;
        }
        .nav-links a.active { 
            border-left: 4px solid var(--nav-highlight); 
            border-bottom: none !important; 
            padding-bottom: 18px !important; 
        }
        .footer-grid {
            grid-template-columns: 1fr;
            gap: 24px;
        }
        .footer-bottom {
            flex-direction: column;
            gap: 12px;
            text-align: center;
        }
        .chart-container {
            padding: 16px;
        }
        .chart-container h3 {
            flex-direction: column;
            align-items: flex-start;
            gap: 8px;
            font-size: 1rem;
        }


    }
