/* ===== GLOBAL STYLES (inherited from blog.html design system) ===== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        :root {
            --primary-color: #80c3fd;
            --primary-glow: rgba(128, 195, 253, 0.35);
            --accent-color: #d4c628;
            --accent-glow: rgba(212, 198, 40, 0.3);
            --bg-dark: #0b161d;
            --bg-darker: #080f14;
            --bg-card: #0e202f;
            --bg-card-hover: #132940;
            --text-light: #eef2f7;
            --text-muted: #8899aa;
            --border-glow: rgba(128, 195, 253, 0.15);
            --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        }
        body {
            font-family: 'DM Sans', sans-serif;
            background: var(--bg-dark);
            color: var(--text-light);
            line-height: 1.7;
            overflow-x: hidden;
        }
        h1, h2, h3, h4 {
            font-family: 'Syne', sans-serif;
        }
        /* custom cursor (same as portfolio) */
        *, *::before, *::after { cursor: none !important; }
        .cursor-dot {
            position: fixed; width: 8px; height: 8px; background: var(--primary-color);
            border-radius: 50%; pointer-events: none; z-index: 99999;
            transform: translate(-50%, -50%); transition: transform 0.1s ease;
        }
        .cursor-ring {
            position: fixed; width: 36px; height: 36px; border: 2px solid var(--primary-color);
            border-radius: 50%; pointer-events: none; z-index: 99998;
            transition: transform 0.18s ease, width 0.25s, height 0.25s, border-color 0.25s;
            transform: translate(-50%, -50%); opacity: 0.6;
        }
        .cursor-ring.hovering { width: 56px; height: 56px; border-color: var(--accent-color); opacity: 0.9; }
        /* scroll progress */
        .scroll-progress {
            position: fixed; top: 0; left: 0; height: 3px;
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
            z-index: 9999; width: 0%; transition: width 0.1s linear;
        }
        /* pagination */
        .pagination {
            display: flex;
            justify-content: center;
            gap: 0.8rem;
            margin: 4rem 0 3rem;
        }
        .page-link {
            width: 42px;
            height: 42px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            background: var(--bg-card);
            border: 1px solid var(--border-glow);
            color: var(--text-light);
            transition: var(--transition);
            text-decoration: none;
            font-weight: 600;
        }
        .page-link.active, .page-link:hover {
            background: var(--primary-color);
            color: var(--bg-dark);
            border-color: var(--primary-color);
        }
        /* particles background */
        .particles {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            pointer-events: none; z-index: 0;
        }
        .particle {
            position: absolute; border-radius: 50%; opacity: 0;
            animation: particleDrift linear infinite;
        }
        @keyframes particleDrift {
            0% { opacity: 0; transform: translateY(0) scale(0); }
            10% { opacity: 0.6; transform: scale(1); }
            90% { opacity: 0.3; }
            100% { opacity: 0; transform: translateY(-100vh) scale(0.5); }
        }
        /* navbar */
        .navbar {
            position: fixed; top: 0; width: 100%; padding: 1.1rem 2.5rem;
            background: rgba(8, 15, 20, 0.7); backdrop-filter: blur(24px);
            border-bottom: 1px solid var(--border-glow); z-index: 1000;
            transition: var(--transition);
        }
        .navbar.scrolled { background: rgba(8, 15, 20, 0.95); padding: 0.8rem 2.5rem; box-shadow: 0 8px 40px rgba(0,0,0,0.4); }
        .nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; }
        .brand { font-family: 'Syne', sans-serif; font-size: 1.7rem; font-weight: 800; text-decoration: none; color: var(--text-light); letter-spacing: -0.02em; }
        .brand .highlight { background: var(--accent-color); color: var(--bg-dark); padding: 0.15rem 0.45rem; border-radius: 50%; margin-right: 0.15rem; display: inline-block; animation: brandPulse 3s ease-in-out infinite; }
        @keyframes brandPulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.08) rotate(-3deg)} }
        .nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
        .nav-links a { text-decoration: none; color: var(--text-muted); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; transition: var(--transition); padding: 0.4rem 0; position: relative; }
        .nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--accent-color); transition: width 0.3s ease; }
        .nav-links a:hover, .nav-links a.active { color: var(--text-light); }
        .nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
        .hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; }
        .hamburger span { width: 26px; height: 2px; background: var(--text-light); transition: var(--transition); }
        .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
        .hamburger.open span:nth-child(2) { opacity: 0; }
        .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
        
        /* projects hero - matching blog-hero */
        .blog-hero {
            padding: 10rem 2rem 5rem;
            background: var(--bg-darker);
            text-align: center;
            position: relative;
        }
        .blog-hero::after {
            content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px;
            background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
        }
        .blog-hero h1 {
            font-size: clamp(2.8rem, 6vw, 4.5rem);
            font-weight: 800;
            background: linear-gradient(135deg, var(--text-light), var(--primary-color));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        .blog-subhead {
            color: var(--text-muted);
            max-width: 650px;
            margin: 1rem auto 0;
            font-size: 1.1rem;
        }
        
        /* projects grid - matching blog-grid */
        .blog-container {
            max-width: 1300px;
            margin: 4rem auto;
            padding: 0 2rem;
        }
        .blog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
            gap: 2rem;
        }
        
        /* project card - matching blog-card styling */
        .blog-card {
            background: var(--bg-card);
            border-radius: 24px;
            border: 1px solid var(--border-glow);
            overflow: hidden;
            transition: var(--transition);
            transform: translateY(0);
            backdrop-filter: blur(2px);
        }
        .blog-card:hover {
            transform: translateY(-12px);
            border-color: rgba(128,195,253,0.4);
            box-shadow: 0 25px 45px rgba(0,0,0,0.4);
            background: var(--bg-card-hover);
        }
        
        /* project image - matching blog-img */
        .blog-img {
            width: 100%;
            height: 220px;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .blog-card:hover .blog-img {
            transform: scale(1.03);
        }
        
        /* project content - matching blog-content */
        .blog-content {
            padding: 1.6rem;
        }
        
        /* project meta - matching blog-meta */
        .blog-meta {
            display: flex;
            gap: 1rem;
            font-size: 0.75rem;
            color: var(--accent-color);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 0.75rem;
        }
        
        /* project title - matching blog-title */
        .blog-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.75rem;
            line-height: 1.3;
        }
        
        /* project description - matching blog-excerpt */
        .blog-excerpt {
            color: var(--text-muted);
            font-size: 0.95rem;
            margin-bottom: 1.5rem;
        }
        
        /* read more button - matching read-more */
        .read-more {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 600;
            border-bottom: 1px solid transparent;
            transition: 0.2s;
        }
        .read-more:hover {
            gap: 0.8rem;
            border-bottom-color: var(--primary-color);
        }
        
        /* project image overlay for hover popup */
        .project-image-overlay {
            position: absolute;
            inset: 0;
            background: rgba(8, 15, 20, 0.82);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.35s ease;
            backdrop-filter: blur(4px);
        }
        .blog-card:hover .project-image-overlay { 
            opacity: 1; 
        }
        
        .overlay-view-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.7rem 1.5rem;
            border: 2px solid #ffffff;
            border-radius: 50px;
            color: #ffffff;
            font-weight: 600;
            font-size: 0.88rem;
            text-decoration: none;
            transition: var(--transition);
            transform: translateY(8px);
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(4px);
        }
        .blog-card:hover .overlay-view-btn {
            transform: translateY(0);
        }
        .overlay-view-btn:hover {
            background: #ffffff;
            color: var(--bg-dark);
        }
        .overlay-view-btn.coming-soon {
            opacity: 0.5;
            cursor: default;
            border-color: var(--text-muted);
            color: var(--text-muted);
            background: transparent;
        }
        
        /* categories & filter - matching blog-categories */
        .blog-categories {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 0.8rem;
            margin-bottom: 3rem;
        }
        .category-btn {
            background: transparent;
            border: 1px solid var(--border-glow);
            padding: 0.5rem 1.4rem;
            border-radius: 40px;
            color: var(--text-muted);
            font-weight: 500;
            transition: var(--transition);
            cursor: pointer;
            font-family: 'DM Sans', sans-serif;
            font-size: 0.9rem;
        }
        .category-btn.active, .category-btn:hover {
            background: var(--primary-color);
            color: var(--bg-dark);
            border-color: var(--primary-color);
            box-shadow: 0 0 12px var(--primary-glow);
        }
        
        /* footer same style */
        .footer {
            background: var(--bg-darker);
            text-align: center;
            padding: 2rem;
            border-top: 1px solid var(--border-glow);
            color: var(--text-muted);
            font-size: 0.88rem;
        }
        
        /* responsive */
        @media (max-width: 900px) {
            .blog-grid { gap: 1.5rem; }
            .navbar .nav-container { padding: 0; }
        }
        @media (max-width: 768px) {
            .hamburger { display: flex; }
            .nav-links {
                position: fixed; top: 0; right: 0; width: 280px; height: 100vh;
                background: rgba(8,15,20,0.98); backdrop-filter: blur(30px);
                flex-direction: column; justify-content: center; gap: 2rem;
                padding: 2rem; transform: translateX(100%);
                transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
                border-left: 1px solid var(--border-glow);
                z-index: 1050;
            }
            .nav-links.mobile-open { transform: translateX(0); }
            .nav-links a { font-size: 1.1rem; color: var(--text-light); }
        }
        .scroll-animate {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.7s ease, transform 0.7s ease;
        }
        .scroll-animate.visible {
            opacity: 1;
            transform: translateY(0);
        }