/* * ==========================================
         * BRAND IDENTITY & THEME VARIABLES
         * ==========================================
         */
        :root {
            /* --- Identity & Background Colors --- */
            --theme-nav-bg: #0064a1; 
            --theme-nav-secondary: #004875;
            --theme-banner-bg: #005b94;
            --theme-footer-bg: #0072bc;
            --theme-bg-body: #f9fafb;
            --theme-bg-hover: #f3f4f6;
            --theme-nav-hover: rgba(255, 255, 255, 0.2);
            --theme-overlay-bg: rgba(0, 0, 0, 0.6);
            
            /* --- Dark PDF Viewer Colors --- */
            --theme-pdf-bg: #2e2e2e;
            --theme-pdf-header: #1b1b1b;
            --theme-pdf-btn: #363636;
            --theme-pdf-btn-hover: #4d4d4d;

            /* --- Border Colors --- */
            --theme-border-light: #e5e7eb;
            
            /* --- Button Colors --- */
            --theme-btn-primary: var(--theme-nav-bg);
            --theme-btn-primary-hover: var(--theme-nav-secondary);
            --theme-btn-secondary: var(--theme-nav-bg);
            --theme-btn-secondary-hover: var(--theme-nav-secondary);
            
            /* --- Icon & Accent Colors --- */
            --theme-icon-bg: var(--theme-nav-bg);
            --theme-accent: var(--theme-nav-bg);
            --theme-accent-hover: #1d4ed8;
            --theme-accent-light: #93c5fd;
            --theme-accent-soft: #eff6ff;
            --theme-badge-bg: #60a5fa;
            
            /* --- Text Colors --- */
            --theme-text-dark: #111827; 
            --theme-text-base: #374151; 
            --theme-text-muted: #6b7280;
            --theme-text-black-80: rgba(0, 0, 0, 0.8);
            --theme-logo-text: #1e3a8a;
            --theme-footer-text: #dbeafe;
            --theme-footer-text-hover: #bfdbfe;
        }

        /* Smooth scrolling */
        html { scroll-behavior: smooth; }
        
        .line-clamp-2 {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;  
            overflow: hidden;
            line-clamp: 2;
        }

        /* Physical Sliding Transition for the Dropdown */
        #mega-menu {
            transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.2s ease-in-out;
        }
        
        /* Sidebar Performance optimization */
        #mobile-sidebar {
            will-change: transform;
            touch-action: none;
        }

        /* Smooth View Transitions & Card Animations */
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .animate-fade-in-up {
            animation: fadeInUp 0.4s ease-out forwards;
        }

            /* MacOS Launchpad-style click animation */
    .mega-menu-app {
        cursor: pointer;
        transform-origin: center center;
        will-change: transform;
        -webkit-tap-highlight-color: transparent;
    }

    .mega-menu-app:active {
        animation: launchpadTap 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    @keyframes launchpadTap {
        0% {
            transform: scale(1);
        }
        35% {
            transform: scale(0.86);
        }
        100% {
            transform: scale(1);
        }
    }

    /* Smooth hover effect */
    .mega-menu-app img {
        transition: transform 0.3s ease;
    }

    .mega-menu-app:hover img {
        transform: scale(1.1);
    }