:root {
            --primary-blue: #2563eb;
            --primary-navy: #1e3d6f;
            --secondary-teal: #0891b2;
            --accent-cyan: #4fc3f7;
            --text-dark: #1f2937;
            --text-light: #6b7280;
            --background-light: #ffffff;
            --background-gray: #f8fafc;
            --border-light: #e5e7eb;
            --orange: #f97316;
            --orange-light: #fed7aa;
            --success-green: #10b981;
            --warning-yellow: #fbbf24;
            --error-red: #ef4444;
        }

        [data-theme="dark"] {
            --primary-blue: #3b82f6;
            --primary-navy: #1e40af;
            --secondary-teal: #0891b2;
            --accent-cyan: #06b6d4;
            --text-dark: #f9fafb;
            --text-light: #d1d5db;
            --background-light: #111827;
            --background-gray: #1f2937;
            --border-light: #374151;
            --orange: #f97316;
            --orange-light: #1f2937;
        }

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

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background-color: var(--background-light);
            transition: all 0.3s ease;
        }

        /* Skip to Content Link */
        .skip-to-content {
            position: absolute;
            top: -40px;
            left: 0;
            background: var(--primary-blue);
            color: white;
            padding: 0.5rem 1rem;
            text-decoration: none;
            z-index: 9999;
            border-radius: 0 0 4px 0;
        }

        .skip-to-content:focus {
            top: 0;
        }

        /* Header Styles - Standardized */
        .header {
            background: var(--background-light);
            border-bottom: 1px solid var(--border-light);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            transition: all 0.3s ease;
        }

        .header-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            height: 56px;
            text-decoration: none;
            display: inline-block;
        }

        .logo-img {
            height: 100%;
            width: auto;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 0.85rem;
            align-items: center;
            margin: 0;
            padding: 0;
        }

        .nav-link {
            text-decoration: none;
            color: var(--primary-blue);
            font-weight: 600;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            padding: 0.5rem 0;
            position: relative;
            transition: color 0.3s;
        }

        [data-theme="dark"] .nav-link {
            color: var(--accent-cyan);
        }

        .nav-link:hover {
            color: var(--primary-navy);
        }

        [data-theme="dark"] .nav-link:hover {
            color: #29b6f6;
        }

        .nav-link.active {
            color: #2563eb !important;
        }

        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: #2563eb !important;
        }

        /* Theme Toggle */
        .theme-toggle {
            background: transparent;
            border: 2px solid #e5e7eb;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            transition: all 0.3s;
        }

        .theme-toggle:hover {
            background: var(--primary-blue);
            color: white;
            border-color: var(--primary-blue);
        }

        [data-theme="dark"] .theme-toggle {
            border-color: var(--accent-cyan);
            color: var(--accent-cyan);
        }

        [data-theme="dark"] .theme-toggle:hover {
            background: var(--accent-cyan);
            color: #1a1a1a;
        }

        /* Mobile Menu Button and Styles */
        .mobile-menu-button {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0.5rem;
            font-size: 1.5rem;
            color: var(--text-dark);
        }
        
        .nav-menu.mobile-open {
            display: flex;
            flex-direction: column;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: var(--background-light);
            border: 1px solid var(--border-light);
            padding: 1rem 2rem;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            z-index: 1000;
        }
        
        @media (max-width: 768px) {
            .mobile-menu-button {
                display: block;
            }
            
            .nav-menu {
                display: none;
            }
            
            .nav-menu.mobile-open {
                display: flex;
            }
        }

        /* Main Content */
        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        /* Hero Section */
        .hero-section {
            background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-navy) 100%);
            color: white;
            padding: 4rem 0 3rem;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url('/assets/images/backgrounds/Hero-Topics.webp');
            background-size: cover;
            background-position: center;
            opacity: 0.3;
            z-index: 1;
        }

        .hero-content {
            position: relative;
            z-index: 3;
        }

        .hero-title {
            font-size: clamp(2.5rem, 6vw, 3.5rem);
            font-weight: 700;
            margin-bottom: 0.5rem;
            text-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .hero-description {
            font-size: clamp(1rem, 2vw, 1.1rem);
            opacity: 0.9;
            max-width: 900px;
            margin: 0 auto 2rem;
            line-height: 1.7;
        }

        .status-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(255,255,255,0.2);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            margin-bottom: 1.5rem;
            font-size: 0.9rem;
        }

        .status-badge .badge-text {
            font-weight: 500;
        }

        /* Community CTA Box */
        .community-cta {
            background: rgba(255,255,255,0.15);
            border-radius: 12px;
            padding: 1.5rem;
            margin: 2rem auto;
            max-width: 700px;
            backdrop-filter: blur(10px);
        }

        .coming-soon-badge {
            background: var(--warning-yellow);
            color: var(--text-dark);
            padding: 0.2rem 0.6rem;
            border-radius: 8px;
            font-size: 0.9rem;
            margin-left: 0.5rem;
            font-weight: 600;
        }

        /* Filter Section */
        .filter-section {
            background: var(--background-gray);
            padding: 3rem 0;
            border-bottom: 2px solid var(--border-light);
        }

        .filter-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .community-disclaimer {
            background: var(--background-light);
            border-left: 4px solid var(--primary-blue);
            padding: 1.5rem;
            margin-bottom: 2rem;
            border-radius: 8px;
        }

        .filter-group {
            margin-bottom: 2rem;
        }

        .filter-label {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 1rem;
            font-size: 1.1rem;
        }

        .filter-options {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
        }

        .filter-btn {
            background: var(--background-light);
            border: 2px solid var(--border-light);
            padding: 0.6rem 1.2rem;
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 0.4rem;
            font-size: 0.9rem;
        }

        .filter-btn:hover {
            border-color: var(--primary-blue);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
        }

        .filter-btn.active {
            background: var(--primary-blue);
            color: white;
            border-color: var(--primary-blue);
        }

        .filter-btn .badge {
            background: rgba(0,0,0,0.1);
            padding: 0.1rem 0.4rem;
            border-radius: 10px;
            font-size: 0.75rem;
            font-weight: 600;
        }

        .filter-btn.active .badge {
            background: rgba(255,255,255,0.3);
        }

        /* Control Buttons */
        .control-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            margin-top: 2rem;
        }

        .btn {
            display: inline-block;
            padding: 0.75rem 1.5rem;
            border-radius: 6px;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            text-align: center;
        }

        .btn-primary {
            background: var(--primary-blue);
            color: white;
        }

        .btn-primary:hover {
            background: var(--primary-navy);
            transform: translateY(-2px);
        }

        .btn-outline {
            background: transparent;
            color: var(--primary-blue);
            border: 2px solid var(--primary-blue);
        }

        .btn-outline:hover {
            background: var(--primary-blue);
            color: white;
        }

        /* Projects Grid */
        .projects-section {
            padding: 4rem 0;
            background: var(--background-light);
        }

        .category-section {
            margin-bottom: 3rem;
        }

        .category-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 2rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid var(--border-light);
        }

        .category-icon {
            font-size: 2rem;
        }

        .category-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--text-dark);
        }

        .category-count {
            background: var(--background-gray);
            padding: 0.25rem 0.75rem;
            border-radius: 15px;
            font-size: 0.9rem;
            color: var(--text-light);
            margin-left: auto;
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 1.5rem;
        }

        .project-card {
            background: var(--background-light);
            border: 1px solid var(--border-light);
            border-radius: 12px;
            padding: 1.5rem;
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .project-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background: var(--primary-blue);
            transform: scaleY(0);
            transition: transform 0.3s ease;
        }

        .project-card:hover::before {
            transform: scaleY(1);
        }

        .project-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        }

        .project-card.hidden {
            display: none;
        }

        .project-card.filtered-out {
            opacity: 0.3;
            transform: scale(0.95);
            pointer-events: none;
        }

        .project-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 1rem;
        }

        .project-number {
            background: var(--background-gray);
            color: var(--text-light);
            padding: 0.2rem 0.5rem;
            border-radius: 8px;
            font-size: 0.75rem;
            font-weight: 600;
        }

        .project-badges {
            display: flex;
            gap: 0.5rem;
        }

        .timeline-badge {
            padding: 0.2rem 0.6rem;
            border-radius: 10px;
            font-size: 0.7rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.2rem;
        }

        .timeline-quick { 
            background: rgba(16, 185, 129, 0.2); 
            color: var(--success-green); 
        }
        
        .timeline-intermediate { 
            background: rgba(251, 191, 36, 0.2); 
            color: var(--warning-yellow); 
        }
        
        .timeline-transformational { 
            background: rgba(147, 51, 234, 0.2); 
            color: #9333ea; 
        }

        .tech-level-badge {
            background: var(--primary-blue);
            color: white;
            padding: 0.2rem 0.6rem;
            border-radius: 10px;
            font-size: 0.7rem;
            font-weight: 600;
        }

        .project-title {
            font-size: 1.05rem;
            font-weight: 600;
            color: var(--text-dark);
            margin: 0.75rem 0;
            line-height: 1.4;
        }

        .project-description {
            color: var(--text-light);
            font-size: 0.85rem;
            line-height: 1.5;
            margin-bottom: 1rem;
        }

        .project-impact {
            background: var(--background-gray);
            border-radius: 8px;
            padding: 0.75rem;
            margin-top: 1rem;
        }

        .impact-label {
            font-weight: 600;
            color: var(--primary-navy);
            font-size: 0.85rem;
        }

        .impact-value {
            color: var(--text-dark);
            font-size: 0.9rem;
            margin-top: 0.25rem;
        }

        /* Topic CTA */
        .topic-cta {
            background: var(--background-gray);
            border: 2px dashed var(--primary-blue);
            border-radius: 12px;
            padding: 2rem;
            text-align: center;
            margin-top: 3rem;
        }

        /* Footer - STANDARDIZED COLORS */
        .footer {
            background: #1e293b;  /* Explicit darker navy */
            color: white;
            padding: 3rem 0 1rem;
        }

        [data-theme="dark"] .footer {
            background: #0f1419;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 3rem;
            margin-bottom: 2rem;
        }

        .footer-section h3,
        .footer-section h4 {
            margin-bottom: 1rem;
            color: #4fc3f7;
        }

        .footer-tagline {
            font-style: italic;
            color: #ccc;
            margin-bottom: 1rem;
        }

        .footer-section p {
            color: #ccc;
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section ul li {
            margin-bottom: 0.5rem;
        }

        .footer-section ul li a {
            color: #ccc;
            text-decoration: none;
            line-height: 1.8;
            transition: color 0.3s ease;
            cursor: pointer;
        }

        .footer-section ul li a:hover {
            color: white;
        }

        .footer-bottom {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1rem 2rem 0;
            border-top: 1px solid #2c5aa0;
            text-align: center;
            color: #ccc;
            font-size: 0.9rem;
        }

        .footer-bottom a {
            color: #4fc3f7;
            text-decoration: none;
        }

        .footer-bottom a:hover {
            color: white;
            text-decoration: underline;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            body {
                padding-top: 76px;
            }

            .nav-menu {
                position: fixed;
                left: -100%;
                top: 76px;
                flex-direction: column;
                background: var(--background-light);
                width: 100%;
                text-align: center;
                transition: 0.3s;
                box-shadow: 0 10px 15px rgba(0,0,0,0.1);
                padding: 2rem 0;
                gap: 1rem;
            }

            .nav-menu.mobile-open {
                left: 0;
            }

            .mobile-menu-button {
                display: flex;
            }

            .projects-grid {
                grid-template-columns: 1fr;
            }

            .filter-options {
                display: grid;
                grid-template-columns: 1fr 1fr;
            }

            .footer-content {
                grid-template-columns: 1fr;
                text-align: center;
            }
        }

        @media (max-width: 480px) {
            .hero-title {
                font-size: 1.8rem;
            }

            .filter-options {
                grid-template-columns: 1fr;
            }

            .control-buttons {
                flex-direction: column;
                width: 100%;
            }

            .btn {
                width: 100%;
            }
        }
