        @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800;900&display=swap');

        :root {
            --primary-color: #990199;
            --bg-color: #000000;
            --main-bg: #f1f5f9;
            --card-bg: #ffffff;
            --border-color: #e2e8f0;
            --text-color: #1e293b;
            --text-muted: #475569;
            --nav-highlight: #990199;
            --sidebar-bg: #0f172a; 
            --sidebar-hover: #1e293b;
            --accent-border: rgba(153, 1, 153, 0.3);
        }

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

        body {
            font-family: 'Poppins', sans-serif;
            background-color: var(--bg-color);
            color: var(--text-color);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            position: relative;
        }

        /* Fixed background layer - Filter removed to prevent muting UI colors */
        body::before {
            content: "";
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            /* Using a darker, more desaturated overlay instead of a filter */
            background: linear-gradient(to bottom, 
                            rgba(15, 23, 42, 0.85) 0%, 
                            rgba(15, 23, 42, 0.85) 60%, 
                            rgba(0, 0, 0, 1) 100%), 
                        url('https://res.cloudinary.com/dhlerngui/image/upload/f_auto,q_auto,w_700/v1771884373/the-faint-shape-of-a-prisoner-behind-black-prison-bars_wa9qwc.webp');
            background-size: cover;
            background-position: center;
            pointer-events: none;
        }

        /* Top Navigation Styling */
        .top-nav {
            background-color: #ffffff;
            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);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .nav-logo-link {
            text-decoration: none;
            cursor: pointer;
        }

        .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;
            color: var(--text-color);
            font-size: 0.9rem;
            font-weight: 600;
            transition: color 0.2s;
        }

        .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);
        }

        /* Layout Wrapper */
        .layout-wrapper {
            display: flex;
            flex-grow: 1;
        }

        /* Sidebar Styling */
        .side-menu {
            width: 280px;
            background-color: var(--sidebar-bg);
            border-right: 1px solid var(--accent-border);
            padding: 40px 0;
            flex-shrink: 0;
            box-shadow: 10px 0 30px rgba(0,0,0,0.2);
            z-index: 5;
        }

        .side-menu-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .side-menu-item {
            padding: 18px 30px;
            cursor: pointer;
            font-weight: 500;
            font-size: 0.9rem;
            color: #94a3b8;
            transition: all 0.2s ease;
            border-left: 4px solid transparent;
            display: flex;
            align-items: center;
            gap: 12px;
            letter-spacing: 0.02em;
        }

        .side-menu-item:hover {
            background-color: var(--sidebar-hover);
            color: #ffffff;
        }

        .side-menu-item.active {
            background-color: rgba(153, 1, 153, 0.2);
            color: #ffffff;
            border-left-color: var(--primary-color);
            font-weight: 600;
        }

        /* Main Content Styling */
        main {
            flex-grow: 1;
            padding: 60px 40px;
            max-width: 1000px;
            margin: 0 auto;
        }

        .tab-content {
            display: none;
            animation: fadeIn 0.4s ease-out;
            background: var(--card-bg);
            padding: 50px;
            border-radius: 8px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.4);
            border: 1px solid var(--border-color);
        }

        .tab-content.active {
            display: block;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .content-heading {
            font-size: 2rem;
            font-weight: 800;
            text-transform: uppercase;
            margin-bottom: 30px;
            color: #0f172a;
            letter-spacing: -0.02em;
        }

        .content-heading::after {
            content: '';
            display: block;
            width: 40px;
            height: 4px;
            background: var(--nav-highlight);
            margin-top: 12px;
        }

        .content-body {
            font-size: 1.05rem;
            line-height: 1.8;
            color: var(--text-muted);
        }

        .content-body h3 {
            color: #0f172a;
            font-weight: 700;
            margin: 2.5rem 0 1rem 0;
            font-size: 1.25rem;
        }

        .content-body a {
            text-decoration:none;
            color:#bb02bb;
            font-weight:bold;
        }

        .content-body ul {
            padding-left: 1.2rem;
            margin-bottom: 2rem;
        }

        .content-body li {
            margin-bottom: 0.8rem;
        }

        .link-list li {
            list-style: none;
            padding: 20px 15px;
            border-bottom: 1px solid var(--border-color);
            transition: background 0.2s;
        }
        
        .link-list li:hover {
            background: #f8fafc;
        }

        .link-list a {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 700;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 1.1rem;
            margin-bottom: 8px;
        }

        .link-list a::after {
            content: '→';
            font-weight: 400;
        }

        .link-description {
            font-size: 0.9rem;
            color: var(--text-muted);
            line-height: 1.5;
            margin: 0;
            padding-right: 30px;
        }

        /* 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: 1000px) {
            .top-nav { padding: 0 20px; }
            .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; 
            }

        .nav-links a.active {
            border-left: 4px solid var(--nav-highlight);
            border-bottom: none !important;
            /* Prevents height discrepancy */
            padding-bottom: 18px !important;
            /* Matching standard links */
        }

            
            .layout-wrapper { flex-direction: column; }
            .side-menu { 
                width: 100%; 
                padding: 5px 0; 
                overflow-x: auto; 
                scrollbar-width: none;
                background-color: var(--sidebar-bg);
                box-shadow: none;
                border-right: none;
                border-bottom: 1px solid var(--accent-border);
            }
            .side-menu::-webkit-scrollbar { display: none; }
            .side-menu-list { display: flex; padding-left: 10px; }
            .side-menu-item { white-space: nowrap; padding: 12px 20px; border-left: none; border-bottom: 3px solid transparent; }
            .side-menu-item.active { border-bottom-color: var(--primary-color); }
            
            main { padding: 30px 15px; }
            .tab-content { padding: 30px 20px; border-radius: 0; border: none; }
            .footer-grid { grid-template-columns: 1fr; }
        }
