/* ═══════════════════════════════════════════════════════════════
           CRITICAL CSS - Inline for Fast First Paint
           ═══════════════════════════════════════════════════════════════ */
        
        /* CSS Variables for Easy Theming */
        :root {
            --bg-primary: #0a0a0f;
            --bg-secondary: #13131a;
            --bg-card: #1a1a24;
            --text-primary: #ffffff;
            --text-secondary: #b4b4c8;
            --accent-cyan: #00ffff;
            --accent-violet: #9d4edd;
            --accent-pink: #ff006e;
            --accent-glow: rgba(0, 255, 255, 0.3);
            --gradient-primary: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
            --gradient-card: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(157, 78, 221, 0.1));
            --font-primary: 'Poppins', sans-serif;
            --font-display: 'Space Grotesk', sans-serif;
            --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            --shadow-glow: 0 0 20px rgba(0, 255, 255, 0.3);
        }
        
        /* Light Mode Variables */
        [data-theme="light"] {
            --bg-primary: #f5f5f7;
            --bg-secondary: #ffffff;
            --bg-card: #ffffff;
            --text-primary: #1d1d1f;
            --text-secondary: #6e6e73;
            --accent-glow: rgba(157, 78, 221, 0.2);
            --shadow-glow: 0 0 20px rgba(157, 78, 221, 0.2);
        }
        
        /* Reset & Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        html {
            scroll-behavior: smooth;
            overflow-x: hidden;
        }
        
        @media (prefers-reduced-motion: reduce) {
            html {
                scroll-behavior: auto;
            }
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }
        
        body {
            font-family: var(--font-primary);
            background: var(--bg-primary);
            color: var(--text-primary);
            line-height: 1.6;
            overflow-x: hidden;
            cursor: none;
        }
        
        @media (prefers-reduced-motion: reduce) {
            body {
                cursor: auto;
            }
        }
        
        /* Custom Cursor */
        #custom-cursor {
            position: fixed;
            width: 20px;
            height: 20px;
            border: 2px solid var(--accent-cyan);
            border-radius: 50%;
            pointer-events: none;
            z-index: 10000;
            transition: transform 0.15s ease, width 0.15s ease, height 0.15s ease;
            box-shadow: 0 0 15px var(--accent-glow);
            mix-blend-mode: difference;
        }
        
        #custom-cursor::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 4px;
            height: 4px;
            background: var(--accent-cyan);
            border-radius: 50%;
        }
        
        #custom-cursor.hover {
            width: 50px;
            height: 50px;
            background: rgba(0, 255, 255, 0.1);
        }
        
        /* Particle Canvas Background */
        #particle-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            pointer-events: none;
        }
        
        /* Main Container */
        .container {
            position: relative;
            z-index: 1;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
        }
        
        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(10, 10, 15, 0.8);
            backdrop-filter: blur(10px);
            padding: 1rem 0;
            border-bottom: 1px solid rgba(0, 255, 255, 0.1);
        }
        
        nav .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
                    font-family: var(--font-display);
                    font-size: 1.5rem;
                    font-weight: 700;
                    background: var(--gradient-primary);
                    -webkit-background-clip: text;
                    background-clip: text;
                    -webkit-text-fill-color: transparent;
                }
        
        .nav-links {
            display: flex;
            gap: 2rem;
            list-style: none;
        }
        
        .nav-links a {
            color: var(--text-secondary);
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition-smooth);
            position: relative;
        }
        
        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--gradient-primary);
            transition: width 0.3s ease;
        }
        
        .nav-links a:hover {
            color: var(--accent-cyan);
        }
        
        .nav-links a:hover::after {
            width: 100%;
        }
        
        .theme-toggle {
            background: transparent;
            border: 2px solid var(--accent-cyan);
            color: var(--accent-cyan);
            padding: 0.5rem 1rem;
            border-radius: 50px;
            cursor: pointer;
            font-family: var(--font-primary);
            font-weight: 600;
            transition: var(--transition-smooth);
        }
        
        .theme-toggle:hover {
            background: var(--accent-cyan);
            color: var(--bg-primary);
            box-shadow: var(--shadow-glow);
        }
        
        /* Mobile Menu Toggle */
        .mobile-toggle {
            display: none;
            background: transparent;
            border: 2px solid var(--accent-cyan);
            color: var(--accent-cyan);
            padding: 0.5rem;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1.2rem;
        }
        
        /* Hero Section */
        #hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding-top: 80px;
        }
        
        .hero-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }
        
        #three-container {
            width: 100%;
            height: 500px;
            position: relative;
        }
        
        .hero-text h1 {
            font-family: var(--font-display);
            font-size: 3.5rem;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 1rem;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .hero-text .subtitle {
            font-size: 1.5rem;
            color: var(--text-secondary);
            margin-bottom: 1rem;
        }
        
        .typewriter {
            font-family: 'Courier New', monospace;
            font-size: 1.2rem;
            color: var(--accent-cyan);
            min-height: 2rem;
        }
        
        .typewriter::after {
            content: '|';
            animation: blink 1s infinite;
        }
        
        @keyframes blink {
            0%, 50% { opacity: 1; }
            51%, 100% { opacity: 0; }
        }
        
        .cta-buttons {
            display: flex;
            gap: 1rem;
            margin-top: 2rem;
        }
        
        .btn {
            padding: 1rem 2rem;
            border: none;
            border-radius: 50px;
            font-family: var(--font-primary);
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: var(--transition-smooth);
            text-decoration: none;
            display: inline-block;
            text-align: center;
        }
        
        .btn-primary {
            background: var(--gradient-primary);
            color: var(--bg-primary);
        }
        
        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-glow);
        }
        
        .btn-secondary {
            background: transparent;
            color: var(--accent-cyan);
            border: 2px solid var(--accent-cyan);
        }
        
        .btn-secondary:hover {
            background: rgba(0, 255, 255, 0.1);
            transform: translateY(-3px);
        }
        
        /* Section Styles */
        section {
            padding: 6rem 0;
            position: relative;
        }
        
        .section-title {
            font-family: var(--font-display);
            font-size: 3rem;
            text-align: center;
            margin-bottom: 3rem;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        /* About Section */
        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            margin-bottom: 3rem;
        }
        
        .about-text {
            font-size: 1.1rem;
            line-height: 1.8;
            color: var(--text-secondary);
        }
        
        .skills-container {
            display: grid;
            gap: 1.5rem;
        }
        
        .skill-item {
            background: var(--bg-card);
            padding: 1rem;
            border-radius: 10px;
            border: 1px solid rgba(0, 255, 255, 0.2);
        }
        
        .skill-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
        }
        
        .skill-name {
            font-weight: 600;
            color: var(--text-primary);
        }
        
        .skill-percent {
            color: var(--accent-cyan);
            font-weight: 600;
        }
        
        .skill-bar {
            height: 8px;
            background: var(--bg-secondary);
            border-radius: 10px;
            overflow: hidden;
        }
        
        .skill-progress {
            height: 100%;
            background: var(--gradient-primary);
            border-radius: 10px;
            transition: width 1s ease;
        }
        
        .skill-chips {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 2rem;
        }
        
        .chip {
            background: var(--gradient-card);
            padding: 0.5rem 1rem;
            border-radius: 50px;
            border: 1px solid rgba(0, 255, 255, 0.3);
            font-size: 0.9rem;
            color: var(--text-primary);
            transition: var(--transition-smooth);
        }
        
        .chip:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-glow);
        }
        
        /* Skill Visualization */
        #skill-radar {
            width: 100%;
            height: 300px;
            margin: 2rem 0;
        }
        
        /* Timeline */
        .timeline {
            position: relative;
            margin: 3rem 0;
        }
        
        .timeline::before {
            content: '';
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 2px;
            height: 100%;
            background: var(--gradient-primary);
        }
        
        .timeline-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 3rem;
            position: relative;
        }
        
        .timeline-item:nth-child(odd) .timeline-content {
            margin-right: auto;
            margin-left: 0;
            text-align: right;
            padding-right: 3rem;
        }
        
        .timeline-item:nth-child(even) .timeline-content {
            margin-left: auto;
            margin-right: 0;
            text-align: left;
            padding-left: 3rem;
        }
        
        .timeline-content {
            width: 45%;
            background: var(--bg-card);
            padding: 1.5rem;
            border-radius: 10px;
            border: 1px solid rgba(0, 255, 255, 0.2);
            position: relative;
        }
        
        .timeline-year {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            background: var(--bg-primary);
            padding: 0.5rem 1rem;
            border-radius: 50px;
            border: 2px solid var(--accent-cyan);
            color: var(--accent-cyan);
            font-weight: 700;
            z-index: 2;
        }
        
        .timeline-role {
            font-size: 1.3rem;
            font-weight: 600;
            color: var(--accent-cyan);
            margin-bottom: 0.5rem;
        }
        
        .timeline-company {
            font-size: 1rem;
            color: var(--text-secondary);
            margin-bottom: 1rem;
        }
        
        .timeline-points {
            list-style: none;
            color: var(--text-secondary);
        }
        
        .timeline-points li {
            margin-bottom: 0.5rem;
            padding-left: 1.5rem;
            position: relative;
        }
        
        .timeline-points li::before {
            content: '▹';
            position: absolute;
            left: 0;
            color: var(--accent-cyan);
        }
        
        /* Projects Section */
        .project-filter {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }
        
        .filter-btn {
            background: transparent;
            border: 2px solid var(--accent-cyan);
            color: var(--accent-cyan);
            padding: 0.5rem 1.5rem;
            border-radius: 50px;
            cursor: pointer;
            font-family: var(--font-primary);
            font-weight: 600;
            transition: var(--transition-smooth);
        }
        
        .filter-btn.active,
        .filter-btn:hover {
            background: var(--accent-cyan);
            color: var(--bg-primary);
        }
        
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
        }
        
        .project-card {
            background: var(--bg-card);
            border-radius: 15px;
            overflow: hidden;
            border: 1px solid rgba(0, 255, 255, 0.2);
            transition: var(--transition-smooth);
            position: relative;
            cursor: pointer;
        }
        
        .project-card:hover {
            transform: translateY(-10px) rotateX(5deg);
            box-shadow: 0 20px 40px rgba(0, 255, 255, 0.3);
        }
        
        .project-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
            transition: var(--transition-smooth);
        }
        
        .project-card:hover .project-image {
            transform: scale(1.1);
        }
        
        .project-info {
            padding: 1.5rem;
        }
        
        .project-header {
            display: flex;
            justify-content: space-between;
            align-items: start;
            margin-bottom: 1rem;
        }
        
        .project-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--text-primary);
        }
        
        .project-stars {
            color: #ffd700;
            font-size: 1rem;
        }
        
        .project-description {
            color: var(--text-secondary);
            margin-bottom: 1rem;
            line-height: 1.6;
        }
        
        .project-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }
        
        .tag {
            background: rgba(0, 255, 255, 0.1);
            color: var(--accent-cyan);
            padding: 0.3rem 0.8rem;
            border-radius: 50px;
            font-size: 0.8rem;
            border: 1px solid rgba(0, 255, 255, 0.3);
        }
        
        .project-tech {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }
        
        .tech-icon {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: var(--gradient-card);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
        }
        
        /* Modal */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            z-index: 2000;
            overflow-y: auto;
            padding: 2rem;
        }
        
        .modal.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .modal-content {
            background: var(--bg-card);
            border-radius: 20px;
            max-width: 900px;
            width: 100%;
            padding: 2rem;
            position: relative;
            border: 2px solid var(--accent-cyan);
            animation: modalSlideIn 0.3s ease;
        }
        
        @keyframes modalSlideIn {
            from {
                opacity: 0;
                transform: translateY(50px) scale(0.9);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }
        
        .modal-close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: transparent;
            border: none;
            color: var(--text-primary);
            font-size: 2rem;
            cursor: pointer;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: var(--transition-smooth);
        }
        
        .modal-close:hover {
            background: rgba(255, 0, 0, 0.2);
            transform: rotate(90deg);
        }
        
        .modal-demo {
            width: 100%;
            height: 400px;
            border-radius: 10px;
            margin-bottom: 2rem;
            border: 1px solid rgba(0, 255, 255, 0.3);
        }
        
        .modal-features {
            list-style: none;
            margin: 2rem 0;
        }
        
        .modal-features li {
            padding: 0.5rem 0;
            padding-left: 2rem;
            position: relative;
            color: var(--text-secondary);
        }
        
        .modal-features li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--accent-cyan);
            font-weight: bold;
        }
        
        .modal-links {
            display: flex;
            gap: 1rem;
            margin-top: 2rem;
        }
        
        /* Playground Section */
        .playground-controls {
            background: var(--bg-card);
            padding: 2rem;
            border-radius: 15px;
            border: 1px solid rgba(0, 255, 255, 0.2);
            margin-bottom: 2rem;
        }
        
        .control-group {
            margin-bottom: 1.5rem;
        }
        
        .control-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--text-primary);
            font-weight: 600;
        }
        
        .control-group input[type="range"] {
            width: 100%;
            height: 8px;
            background: var(--bg-secondary);
            border-radius: 10px;
            outline: none;
            appearance: none;
            -webkit-appearance: none;
        }
        
        .control-group input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 20px;
            height: 20px;
            background: var(--gradient-primary);
            border-radius: 50%;
            cursor: pointer;
        }
        
        .control-group input[type="color"] {
            width: 100%;
            height: 50px;
            border: 2px solid var(--accent-cyan);
            border-radius: 10px;
            background: var(--bg-secondary);
            cursor: pointer;
        }
        
        .control-value {
            display: inline-block;
            margin-left: 1rem;
            color: var(--accent-cyan);
            font-weight: 600;
        }
        
        /* Blog Section */
        .blog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }
        
        .blog-card {
            background: var(--bg-card);
            border-radius: 15px;
            padding: 2rem;
            border: 1px solid rgba(0, 255, 255, 0.2);
            transition: var(--transition-smooth);
            cursor: pointer;
        }
        
        .blog-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-glow);
        }
        
        .blog-meta {
            display: flex;
            gap: 1rem;
            margin-bottom: 1rem;
            font-size: 0.9rem;
            color: var(--text-secondary);
        }
        
        .blog-title {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--text-primary);
        }
        
        .blog-excerpt {
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 1rem;
        }
        
        .read-more {
            color: var(--accent-cyan);
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .read-more:hover {
            gap: 1rem;
        }
        
        /* Contact Section */
        .contact-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            max-width: 1000px;
            margin: 0 auto;
        }
        
        .contact-info h3 {
            font-size: 2rem;
            margin-bottom: 1rem;
            color: var(--accent-cyan);
        }
        
        .contact-info p {
            color: var(--text-secondary);
            margin-bottom: 2rem;
            line-height: 1.8;
        }
        
        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 2rem;
        }
        
        .social-link {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--gradient-card);
            border: 2px solid var(--accent-cyan);
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            color: var(--accent-cyan);
            font-size: 1.5rem;
            transition: var(--transition-smooth);
        }
        
        .social-link:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-glow);
            background: var(--accent-cyan);
            color: var(--bg-primary);
        }
        
        .contact-form {
            background: var(--bg-card);
            padding: 2rem;
            border-radius: 15px;
            border: 1px solid rgba(0, 255, 255, 0.2);
        }
        
        .form-group {
            margin-bottom: 1.5rem;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--text-primary);
            font-weight: 600;
        }
        
        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 1rem;
            background: var(--bg-secondary);
            border: 2px solid rgba(0, 255, 255, 0.3);
            border-radius: 10px;
            color: var(--text-primary);
            font-family: var(--font-primary);
            font-size: 1rem;
            transition: var(--transition-smooth);
        }
        
        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--accent-cyan);
            box-shadow: 0 0 15px var(--accent-glow);
        }
        
        .form-group textarea {
            resize: vertical;
            min-height: 150px;
        }
        
        .form-error {
            color: #ff006e;
            font-size: 0.9rem;
            margin-top: 0.5rem;
            display: none;
        }
        
        .form-group.error .form-error {
            display: block;
        }
        
        .form-group.error input,
        .form-group.error textarea {
            border-color: #ff006e;
        }
        
        .form-status {
            padding: 1rem;
            border-radius: 10px;
            margin-bottom: 1rem;
            display: none;
            animation: slideDown 0.3s ease;
        }
        
        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .form-status.success {
            display: block;
            background: rgba(0, 255, 0, 0.1);
            border: 1px solid rgba(0, 255, 0, 0.3);
            color: #00ff00;
        }
        
        .form-status.error {
            display: block;
            background: rgba(255, 0, 110, 0.1);
            border: 1px solid rgba(255, 0, 110, 0.3);
            color: #ff006e;
        }
        
        .btn-submit {
            position: relative;
            overflow: hidden;
        }
        
        .btn-submit.loading::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            animation: loading 1s infinite;
        }
        
        @keyframes loading {
            to {
                left: 100%;
            }
        }
        
        /* Footer */
        footer {
            background: var(--bg-secondary);
            padding: 3rem 0 1rem;
            border-top: 1px solid rgba(0, 255, 255, 0.1);
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }
        
        .footer-section h3 {
            color: var(--accent-cyan);
            margin-bottom: 1rem;
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links a {
            color: var(--text-secondary);
            text-decoration: none;
            display: block;
            padding: 0.5rem 0;
            transition: var(--transition-smooth);
        }
        
        .footer-links a:hover {
            color: var(--accent-cyan);
            padding-left: 0.5rem;
        }
        
        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(0, 255, 255, 0.1);
            color: var(--text-secondary);
        }
        
        /* Responsive Design */
        @media (max-width: 768px) {
            .mobile-toggle {
                display: block;
            }
            
            .nav-links {
                position: fixed;
                top: 70px;
                left: -100%;
                width: 80%;
                height: calc(100vh - 70px);
                background: var(--bg-secondary);
                flex-direction: column;
                padding: 2rem;
                transition: left 0.3s ease;
                border-right: 1px solid rgba(0, 255, 255, 0.2);
            }
            
            .nav-links.active {
                left: 0;
            }
            
            .hero-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            #three-container {
                height: 300px;
            }
            
            .hero-text h1 {
                font-size: 2.5rem;
            }
            
            .about-grid,
            .contact-container {
                grid-template-columns: 1fr;
            }
            
            .timeline::before {
                left: 0;
            }
            
            .timeline-item {
                flex-direction: column;
            }
            
            .timeline-content {
                width: 100%;
                margin-left: 2rem !important;
                padding-left: 1.5rem !important;
                text-align: left !important;
            }
            
            .timeline-year {
                left: 0;
                transform: translateX(0);
            }
            
            .projects-grid {
                grid-template-columns: 1fr;
            }
            
            .cta-buttons {
                flex-direction: column;
            }
            
            .section-title {
                font-size: 2rem;
            }
            
            body {
                cursor: auto;
            }
            
            #custom-cursor {
                display: none;
            }
        }
        
        /* No JS Fallback */
        .no-js #particle-canvas,
        .no-js #three-container,
        .no-js #custom-cursor {
            display: none;
        }
        
        .no-js body {
            cursor: auto;
        }
        
        /* Loading State */
        .loading-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--bg-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            transition: opacity 0.5s ease;
        }
        
        .loading-screen.hidden {
            opacity: 0;
            pointer-events: none;
        }
        
        .loader {
            width: 50px;
            height: 50px;
            border: 3px solid rgba(0, 255, 255, 0.3);
            border-top-color: var(--accent-cyan);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }
        
        /* Accessibility */
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border-width: 0;
        }
        
        /* Focus Styles */
        *:focus-visible {
            outline: 2px solid var(--accent-cyan);
            outline-offset: 2px;
        }
        /* === FOOTER SECTION === */
.footer-info {
  text-align: center;
  margin-top: 30px; /* upar thoda gap */
  margin-bottom: 50px; /* neeche se thoda space taaki aur neat lage */
  line-height: 1.8;
}

.footer-info h3 {
  font-size: 1.6rem;
  background: linear-gradient(to right, #00ffff, #7b2ff7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.footer-info p {
  color: #ddd;
  font-size: 1rem;
  margin: 5px 0;
}

.footer-info a {
  color: #ddd;
  text-decoration: none;
}

.footer-info a:hover {
  color: #00ffff;
}
.contact-info {
  text-align: center;
  margin: 40px 0;
}

.contact-info h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.contact-info p {
  margin: 5px 0;
  font-size: 16px;
}
.footer-bottom {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px 0;
}

.footer-bottom h3,
.footer-bottom p {
    margin: 5px 0;
    color: #fff; /* tu apne theme ke hisaab se change kar sakta hai */
}

/* Optional: thoda spacing aur visual center ke liye */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Mobile number clickable for call */
.footer-bottom p a {
    color: #fff;
    text-decoration: none;
}

.footer-bottom p a:hover {
    text-decoration: underline;
}
.footer-bottom h3 {
    color: #00ffff; /* tu apne theme ke hisaab se color change kar sakta hai */
    font-weight: 600;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-bottom h3:hover {
    color: #ff00ff; /* hover hone pe neon type effect */
    transform: scale(1.05);
    cursor: pointer;
}
#progress-bar {
  position: fixed;
  top: 0; /* agar bottom chahiye to bottom: 0; kar dena */
  left: 0;
  width: 0%;
  height: 4px; /* tu 2px bhi kar sakta hai */
  background: linear-gradient(90deg, #00ffff, #ff00ff);
  z-index: 9999;
  transition: width 0.1s ease-out;
  border-radius: 2px;
}
#cursor-glow {
  position: fixed;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,255,255,0.4), transparent 60%);
  pointer-events: none;
  mix-blend-mode: screen;
  transition: transform 0.05s linear;
  z-index: 9999;
}
#cursor-glow {
  position: fixed;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.4), transparent 70%);
  mix-blend-mode: lighten;
  filter: blur(20px);
  z-index: 9999;
}
#scroll-line {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #00fff0, #a020f0);
  width: 0%;
  z-index: 9999;
  border-radius: 10px;
  transition: width 0.1s ease-out;
}
.typewriter {
    .typewriter {
  overflow: hidden;
  border-right: 2px solid #b066ff; /* cursor color only */
  white-space: nowrap;
  animation: typing 3s steps(30, end), blink 0.7s step-end infinite;
}

/* keep the text color same as before */
.typewriter p {
  color: inherit;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink {
  from, to { border-color: transparent }
  50% { border-color: #b066ff } /* cursor glow color */
}
  
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink {
  from, to { border-color: transparent }
  50% { border-color: #00ffff }
}
.project-card {
  background: #0f111a;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 255, 180, 0.15);
}

.project-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;     /* ✅ perfect ratio */
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* ✅ fills perfectly without distortion */
  transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);    /* slight zoom on hover */
}

.project-content {
  padding: 18px;
  color: #f1f1f1;
}
.project-image img {
  filter: brightness(1.05) contrast(1.05);
}
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px; /* spacing between each timeline item */
  margin-top: 2rem;
}

.timeline-item {
  position: relative;
  background: rgba(18, 22, 33, 0.85);
  border: 1px solid rgba(0, 255, 255, 0.15);
  border-radius: 14px;
  padding: 25px 20px 20px 20px;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 255, 200, 0.25);
}

/* Year label */
.timeline-year {
  position: absolute;
  top: -12px;
  left: 20px;
  background: linear-gradient(90deg, #00ffd5, #00b3ff);
  color: #000;
  font-weight: 700;
  font-size: 14px;
  padding: 5px 12px;
  border-radius: 8px;
  letter-spacing: 0.5px;
}

/* Role, Company, and Points */
.timeline-content {
  margin-top: 10px;
}

.timeline-role {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.timeline-company {
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 10px;
}

.timeline-points {
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline-points li {
  font-size: 0.95rem;
  color: #d8d8d8;
  line-height: 1.6;
  margin-bottom: 6px;
}

/* Add vertical line for futuristic look */
.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(0, 255, 200, 0.2);
}

/* Dot for each item */
.timeline-item::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 18px;
  width: 12px;
  height: 12px;
  background: #00ffd5;
  border-radius: 50%;
  box-shadow: 0 0 10px #00ffd5;
}

/* ✅ Responsive Fix */
@media (max-width: 768px) {
  .timeline {
    width: 95%;
    margin: 0 auto;
  }

  .timeline-item {
    padding: 20px;
  }

  .timeline-year {
    position: static;
    display: inline-block;
    margin-bottom: 8px;
  }

  .timeline::before,
  .timeline-item::before {
    display: none; /* remove vertical line for mobile view */
  }
}
/* Navbar base styling */
nav {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background: rgba(15, 15, 30, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 255, 200, 0.15);
}

.navbar {
  display: flex;
  justify-content: space-between; /* logo left, icons right */
  align-items: center;
  padding: 15px 30px;
}

/* Logo styling */
.logo {
  font-weight: 600;
  font-size: 1.2rem;
  color: #00ffd5;
}

/* Navigation links */
.nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #00ffd5;
}

/* Icons wrapper (menu + theme) */
.nav-icons {
  display: flex;
  align-items: center;
  gap: 15px; /* space between both icons */
}

/* Buttons style */
.nav-icons button {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 200, 0.2);
  color: #fff;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-icons button:hover {
  background: rgba(0, 255, 200, 0.15);
  transform: scale(1.1);
}

.nav-icons i {
  font-size: 16px;
}

/* ✅ Responsive Fix (for mobile view) */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* hide links on mobile */
  }

  .nav-icons {
    gap: 10px;
  }

  .mobile-toggle {
    display: inline-block;
  }
}