/* css/pages/blog.css — page-specific styles for blog.html (extracted, unchanged) */

        :root {
            /* Color Scheme from Courses Page */
            --primary: #8b5cf6;
            --primary-dark: #7c3aed;
            --primary-light: #a78bfa;
            --secondary: #0ea5e9;
            --dark-bg: #0a0e17;
            --card-bg: #111827;
            --card-hover: #1e293b;
            --text-primary: #f8fafc;
            --text-secondary: #94a3b8;
            --text-muted: #64748b;
            --border-color: #334155;
            --success: #10b981;
            --warning: #f59e0b;
            --danger: #ef4444;
            --shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
            --radius-lg: 16px;
            --radius-md: 12px;
            --radius-sm: 8px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

            /* Blog specific colors */
            --blog-primary: #0ea5e9;
            --blog-secondary: #8b5cf6;
            --blog-tertiary: #10b981;
            --blog-accent: #f59e0b;
            --glow-blue: #6dd5ed;
            --glow-cyan: #5ae8ff;
            --glow-green: #5affdd;
            --clarity-white: #f8f9ff;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            cursor: none !important;
        }

        /* Hide cursor on touch devices */
        @media (hover: none) and (pointer: coarse) {
            * {
                cursor: auto !important;
            }

            .custom-cursor,
            .cursor-dot,
            .cursor-ring {
                display: none !important;
            }
        }

        /* Custom Cursor from Courses Page */
        .custom-cursor {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            pointer-events: none;
            z-index: 9999;
        }

        .cursor-dot {
            position: fixed;
            width: 12px;
            height: 12px;
            background: var(--glow-blue);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            z-index: 10000;
            pointer-events: none;
            mix-blend-mode: difference;
            transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease;
            box-shadow:
                0 0 15px var(--glow-blue),
                0 0 30px var(--glow-blue),
                inset 0 0 10px rgba(255, 255, 255, 0.5);
            animation: pulse 2s ease-in-out infinite alternate;
        }

        .cursor-ring {
            position: fixed;
            width: 40px;
            height: 40px;
            border: 2px solid var(--primary);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            z-index: 9999;
            pointer-events: none;
            mix-blend-mode: difference;
            transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow:
                0 0 20px var(--primary),
                0 0 40px rgba(139, 92, 246, 0.3);
            animation: rotate 20s linear infinite;
        }

        .cursor-ring::before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            border: 1px solid var(--blog-primary);
            border-radius: 50%;
            animation: rotateReverse 15s linear infinite;
            opacity: 0.7;
        }

        .cursor-ring::after {
            content: '';
            position: absolute;
            top: -4px;
            left: -4px;
            right: -4px;
            bottom: -4px;
            border: 1px solid var(--blog-tertiary);
            border-radius: 50%;
            animation: rotate 25s linear infinite;
            opacity: 0.5;
        }

        /* Hover effects */
        .cursor-hover .cursor-dot {
            width: 20px;
            height: 20px;
            background: var(--blog-primary);
            box-shadow:
                0 0 25px var(--blog-primary),
                0 0 50px var(--blog-primary);
        }

        .cursor-hover .cursor-ring {
            width: 60px;
            height: 60px;
            border-color: var(--blog-tertiary);
            box-shadow:
                0 0 30px var(--blog-tertiary),
                0 0 60px rgba(16, 185, 129, 0.4);
        }

        /* Click animation */
        .cursor-click .cursor-dot {
            width: 8px;
            height: 8px;
            background: var(--clarity-white);
            box-shadow:
                0 0 20px var(--clarity-white),
                0 0 40px var(--clarity-white);
        }

        .cursor-click .cursor-ring {
            width: 50px;
            height: 50px;
            border-color: var(--clarity-white);
            opacity: 0.8;
        }

        /* Animations */
        @keyframes pulse {
            0% {
                box-shadow:
                    0 0 15px var(--glow-blue),
                    0 0 30px var(--glow-blue),
                    inset 0 0 10px rgba(255, 255, 255, 0.5);
            }

            100% {
                box-shadow:
                    0 0 25px var(--glow-blue),
                    0 0 50px var(--glow-blue),
                    inset 0 0 15px rgba(255, 255, 255, 0.7);
            }
        }

        @keyframes rotate {
            from {
                transform: translate(-50%, -50%) rotate(0deg);
            }

            to {
                transform: translate(-50%, -50%) rotate(360deg);
            }
        }

        @keyframes rotateReverse {
            from {
                transform: rotate(0deg);
            }

            to {
                transform: rotate(-360deg);
            }
        }

        /* Special hover elements */
        .tab-item,
        .blog-card,
        .read-btn,
        .nav-link,
        .btn,
        .slider-btn,
        .category-btn {
            cursor: none !important;
        }

        /* Main body with dark background */
        body {
            font-family: 'Inter', sans-serif;
            background: var(--dark-bg);
            color: var(--text-primary);
            min-height: 100vh;
            overflow-x: hidden;
        }

        /* Particles container from courses page */
        .premium-background {
            position: fixed;
            inset: 0;
            z-index: -2;
            pointer-events: none;
            background: radial-gradient(ellipse at 15% 15%, rgba(14, 165, 233, 0.05) 0%, transparent 70%),
                radial-gradient(ellipse at 85% 85%, rgba(139, 92, 246, 0.04) 0%, transparent 70%),
                linear-gradient(180deg, #080c14 0%, #0d1321 100%);
        }

        /* Header from courses page */
        header {
            background: rgba(13, 19, 33, 0.92);
            backdrop-filter: blur(15px);
            position: sticky;
            top: 0;
            z-index: 100;
            padding: 1rem 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo-img {
            height: 52px;
            transition: var(--transition);
        }

        .logo-img:hover {
            transform: translateY(-2px);
        }

        .nav-links {
            list-style: none;
            display: flex;
            gap: 2.5rem;
            margin: 0;
        }

        .nav-link {
            color: var(--text-secondary);
            text-decoration: none;
            font-weight: 500;
            font-size: 1rem;
            padding: 0.5rem 0;
            position: relative;
            transition: var(--transition);
        }

        .nav-link:hover {
            color: var(--text-primary);
        }

        .nav-link.active {
            color: var(--primary-light);
        }

        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 100%;
            height: 2px;
            background: var(--primary);
            border-radius: 2px;
        }

        /* Blog page specific styles */
        .blog-page {
            padding: 3.5rem 0 5rem;
            position: relative;
            z-index: 2;
        }

        .page-header {
            text-align: center;
            margin-bottom: 4rem;
            position: relative;
        }

        .page-header::before {
            content: '';
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: linear-gradient(to right, var(--blog-primary), var(--blog-secondary));
            border-radius: 2px;
        }

        .page-title {
            font-size: clamp(2.5rem, 5vw, 3.2rem);
            margin: 0 0 1rem;
            background: linear-gradient(135deg, var(--clarity-white), var(--blog-primary));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            font-weight: 700;
            letter-spacing: -0.5px;
            animation: textShimmer 3s ease-in-out infinite alternate;
            background-size: 200% auto;
        }

        @keyframes textShimmer {
            0% {
                background-position: 0% center;
            }

            100% {
                background-position: 100% center;
            }
        }

        .page-subtitle {
            color: var(--text-secondary);
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto 1.5rem;
        }

        .breadcrumb {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--text-muted);
            font-size: 1rem;
            background: rgba(30, 41, 59, 0.5);
            padding: 0.6rem 1.2rem;
            border-radius: var(--radius-sm);
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .breadcrumb a {
            color: var(--primary-light);
            text-decoration: none;
            transition: var(--transition);
        }

        .breadcrumb a:hover {
            color: var(--secondary);
        }

        /* Featured Blog Slider */
        .featured-slider-section {
            margin-bottom: 5rem;
        }

        .section-title {
            font-size: 2rem;
            margin-bottom: 2rem;
            color: var(--text-primary);
            position: relative;
            display: inline-block;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 60px;
            height: 3px;
            background: linear-gradient(to right, var(--blog-primary), var(--blog-tertiary));
            border-radius: 2px;
        }

        .featured-slider-container {
            position: relative;
            overflow: hidden;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow);
            background: var(--card-bg);
            border: 1px solid var(--border-color);
        }

        .featured-slider {
            display: flex;
            transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            min-height: 400px;
        }

        .featured-slide {
            min-width: 100%;
            display: flex;
            position: relative;
            overflow: hidden;
        }

        .slide-image {
            width: 50%;
            position: relative;
            overflow: hidden;
        }

        .slide-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.8s ease;
        }

        .slide-image-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(14, 165, 233, 0.2));
        }

        .slide-image-icon i {
            font-size: 6rem;
            color: var(--primary-light, #a78bfa);
            opacity: 0.85;
        }

        .featured-slide:hover .slide-image img {
            transform: scale(1.05);
        }

        .slide-content {
            width: 50%;
            padding: 3rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
        }

        .slide-category {
            display: inline-block;
            background: linear-gradient(135deg, var(--blog-primary), var(--blog-secondary));
            color: white;
            padding: 0.5rem 1.2rem;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 1rem;
            align-self: flex-start;
            box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
        }

        .slide-title {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--text-primary);
            line-height: 1.3;
        }

        .slide-excerpt {
            color: var(--text-secondary);
            margin-bottom: 2rem;
            line-height: 1.6;
            font-size: 1rem;
        }

        .slide-meta {
            display: flex;
            gap: 1.5rem;
            color: var(--text-muted);
            font-size: 0.9rem;
            margin-bottom: 2rem;
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .meta-item i {
            color: var(--blog-primary);
        }

        .read-more-btn {
            align-self: flex-start;
            background: linear-gradient(135deg, var(--blog-primary), var(--blog-tertiary));
            color: white;
            padding: 0.9rem 2rem;
            border-radius: var(--radius-md);
            text-decoration: none;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
            box-shadow: 0 6px 20px rgba(14, 165, 233, 0.3);
        }

        .read-more-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(14, 165, 233, 0.5);
            background: linear-gradient(135deg, var(--blog-tertiary), var(--blog-primary));
        }

        .slider-controls {
            position: absolute;
            bottom: 2rem;
            right: 2rem;
            display: flex;
            gap: 1rem;
            z-index: 10;
        }

        .slider-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .slider-btn:hover {
            background: var(--blog-primary);
            transform: scale(1.1);
        }

        .slider-dots {
            position: absolute;
            bottom: 2rem;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 0.5rem;
            z-index: 10;
        }

        .dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            transition: all 0.3s ease;
        }

        .dot.active {
            background: var(--blog-primary);
            transform: scale(1.2);
        }

        /* Blog Categories */
        .categories-section {
            margin-bottom: 4rem;
        }

        .categories-container {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            justify-content: center;
        }

        .category-btn {
            background: rgba(30, 41, 59, 0.6);
            border: 1px solid var(--border-color);
            color: var(--text-secondary);
            padding: 0.8rem 1.8rem;
            border-radius: var(--radius-md);
            font-weight: 600;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .category-btn:hover,
        .category-btn.active {
            background: linear-gradient(135deg, var(--blog-primary), var(--blog-secondary));
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
            border-color: transparent;
        }

        /* Blog Grid */
        .blog-grid-section {
            margin-bottom: 5rem;
        }

        .blog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .blog-card {
            background: var(--card-bg);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
            border: 1px solid var(--border-color);
            position: relative;
            height: 450px;
            display: flex;
            flex-direction: column;
        }

        .blog-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 25px 50px rgba(14, 165, 233, 0.15);
            border-color: rgba(14, 165, 233, 0.3);
        }

        .blog-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(to right, var(--blog-primary), var(--blog-tertiary));
            opacity: 0;
            transition: var(--transition);
            z-index: 2;
        }

        .blog-card:hover::before {
            opacity: 1;
        }

        .blog-image {
            height: 200px;
            overflow: hidden;
            position: relative;
        }

        .blog-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.8s ease;
        }

        .blog-image-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(14, 165, 233, 0.18));
        }

        .blog-image-icon i {
            font-size: 3.5rem;
            color: var(--primary-light, #a78bfa);
            opacity: 0.85;
            transition: transform 0.5s ease;
        }

        .blog-card:hover .blog-image-icon i {
            transform: scale(1.15) rotate(-5deg);
        }

        .blog-card:hover .blog-image img {
            transform: scale(1.1);
        }

        .blog-category {
            position: absolute;
            top: 1rem;
            left: 1rem;
            background: linear-gradient(135deg, var(--blog-primary), var(--blog-secondary));
            color: white;
            padding: 0.4rem 1rem;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 600;
            z-index: 3;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        }

        .blog-content {
            padding: 1.5rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .blog-title {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--text-primary);
            line-height: 1.4;
            transition: color 0.3s ease;
        }

        .blog-card:hover .blog-title {
            color: var(--blog-primary);
        }

        .blog-excerpt {
            color: var(--text-secondary);
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 1.5rem;
            flex: 1;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .blog-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: var(--text-muted);
            font-size: 0.85rem;
            margin-top: auto;
            padding-top: 1rem;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }

        .blog-date {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .blog-date i {
            color: var(--blog-primary);
        }

        .blog-read-time {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .blog-read-time i {
            color: var(--blog-tertiary);
        }

        /* Load More Button */
        .load-more-section {
            text-align: center;
            margin-top: 3rem;
        }

        .load-more-btn {
            background: linear-gradient(135deg, var(--blog-primary), var(--blog-secondary));
            color: white;
            padding: 1rem 3rem;
            border-radius: var(--radius-md);
            font-weight: 600;
            font-size: 1.1rem;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.8rem;
            box-shadow: 0 8px 25px rgba(14, 165, 233, 0.3);
            position: relative;
            overflow: hidden;
        }

        .load-more-btn:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 35px rgba(14, 165, 233, 0.5);
            background: linear-gradient(135deg, var(--blog-secondary), var(--blog-primary));
        }

        .load-more-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transition: left 0.7s ease;
        }

        .load-more-btn:hover::before {
            left: 100%;
        }

        /* Footer from courses page */
        .page-footer {
            text-align: center;
            margin-top: 5rem;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .blog-grid {
                grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            }

            .featured-slide {
                flex-direction: column;
            }

            .slide-image,
            .slide-content {
                width: 100%;
            }

            .slide-image {
                height: 300px;
            }
        }

        @media (max-width: 768px) {
            .page-title {
                font-size: 2.5rem;
            }

            .nav-links {
                gap: 1.5rem;
            }

            .blog-grid {
                grid-template-columns: 1fr;
            }

            .blog-card {
                height: auto;
            }

            .slide-content {
                padding: 2rem;
            }

            .slide-title {
                font-size: 1.5rem;
            }

            .slider-controls {
                bottom: 1rem;
                right: 1rem;
            }

            .slider-btn {
                width: 40px;
                height: 40px;
            }
        }

        @media (max-width: 640px) {
            .navbar {
                flex-direction: column;
                gap: 1.5rem;
            }

            .nav-links {
                gap: 1rem;
                flex-wrap: wrap;
                justify-content: center;
            }

            .page-header {
                margin-bottom: 3rem;
            }

            .container {
                padding: 0 1rem;
            }

            .categories-container {
                gap: 0.8rem;
            }

            .category-btn {
                padding: 0.7rem 1.5rem;
                font-size: 0.9rem;
            }
        }

        @media (max-width: 480px) {
            .blog-grid {
                gap: 1.5rem;
            }

            .blog-card {
                height: auto;
            }

            .blog-content {
                padding: 1.2rem;
            }

            .blog-title {
                font-size: 1.2rem;
            }

            .featured-slider-container {
                border-radius: var(--radius-md);
            }

            .slide-content {
                padding: 1.5rem;
            }

            .slide-meta {
                flex-direction: column;
                gap: 0.8rem;
            }

            .load-more-btn {
                padding: 0.9rem 2rem;
                font-size: 1rem;
            }
        }

        /* Reduced motion */
        @media (prefers-reduced-motion: reduce) {
            * {
                animation: none !important;
                transition: none !important;
                transform: none !important;
            }

            .particles-container {
                display: none;
            }
        }

        /* Touch devices */
        @media (hover: none) and (pointer: coarse) {
            * {
                cursor: auto !important;
            }

            .custom-cursor,
            .cursor-dot,
            .cursor-ring {
                display: none !important;
            }

            .load-more-btn:hover {
                transform: none;
            }
        }
    