 :root {
            --bg-color: #050505;
            --card-bg: #111111;
            --text-primary: #ffffff;
            --text-secondary: #a0a0a0;
            --accent: #00ff41; /* Matrix/SEO Green */
            --accent-dim: rgba(0, 255, 65, 0.1);
            --border: #333;
            --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            --font-mono: 'Courier New', Courier, monospace;
        }

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

        body {
            background-color: var(--bg-color);
            color: var(--text-primary);
            font-family: var(--font-main);
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* --- BACKGROUND ANIMATION --- */
        #canvas-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            opacity: 0.3;
            pointer-events: none;
        }

        /* --- TYPOGRAPHY --- */
        h1, h2, h3, h4 {
            color: var(--text-primary);
            font-weight: 700;
        }

        h2 {
            font-size: 2.5rem;
            margin-bottom: 3rem;
            text-align: center;
            position: relative;
            display: inline-block;
            left: 50%;
            transform: translateX(-50%);
        }

        h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 100%;
            height: 3px;
            background: var(--accent);
            box-shadow: 0 0 10px var(--accent);
        }

        .highlight {
            color: var(--accent);
        }

        .mono {
            font-family: var(--font-mono);
        }

        /* --- NAVIGATION --- */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            padding: 1.5rem 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(5, 5, 5, 0.9);
            backdrop-filter: blur(10px);
            z-index: 1000;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .logo {
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--accent);
            text-decoration: none;
            letter-spacing: 1px;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
        }

        .nav-links a {
            color: var(--text-primary);
            text-decoration: none;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: color 0.3s;
        }

        .nav-links a:hover {
            color: var(--accent);
        }

        /* --- HERO SECTION --- */
        .hero {
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 0 20px;
            position: relative;
        }

        .hero-content {
            max-width: 800px;
            z-index: 1;
        }

        .hero-title {
            font-size: 4rem;
            margin-bottom: 1rem;
            line-height: 1.1;
        }

        .typewriter-container {
            font-size: 1.5rem;
            color: var(--accent);
            margin-bottom: 2rem;
            min-height: 1.6em;
        }

        .hero-btns {
            display: flex;
            gap: 1.5rem;
            justify-content: center;
        }

        .btn {
            padding: 12px 30px;
            font-size: 1rem;
            font-weight: bold;
            text-decoration: none;
            border: 2px solid var(--accent);
            border-radius: 4px;
            transition: all 0.3s ease;
            cursor: pointer;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .btn-primary {
            background: var(--accent);
            color: #000;
            box-shadow: 0 0 15px rgba(0, 255, 65, 0.4);
        }

        .btn-primary:hover {
            background: transparent;
            color: var(--accent);
        }

        .btn-secondary {
            background: transparent;
            color: var(--accent);
        }

        .btn-secondary:hover {
            background: var(--accent-dim);
        }

        /* --- SCROLL INDICATOR --- */
.scroll-down-container {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    z-index: 10; /* Ensures it sits on top of the canvas background */
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.scroll-down-container:hover {
    opacity: 0.7;
}

/* The Mouse Body */
.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--accent);
    border-radius: 20px;
    position: relative;
    margin-bottom: 10px;
}

/* The Little Scrolling Wheel inside the mouse */
.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent);
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

/* The Arrows below the mouse */
.arrow-scroll span {
    display: block;
    width: 15px;
    height: 15px;
    border-bottom: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
    transform: rotate(45deg);
    margin: -5px auto;
    animation: scrollArrow 2s infinite;
}

/* Delay animations for a flowing effect */
.arrow-scroll span:nth-child(2) {
    animation-delay: -0.2s;
}
.arrow-scroll span:nth-child(3) {
    animation-delay: -0.4s;
}

/* --- ANIMATIONS --- */
@keyframes scrollWheel {
    0% {
        top: 10px;
        opacity: 1;
    }
    100% {
        top: 30px;
        opacity: 0;
    }
}

@keyframes scrollArrow {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-5px, -5px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(5px, 5px);
    }
}

/* Hide on very small screens to save space */
@media (max-width: 480px) {
    .scroll-down-container {
        bottom: 1rem;
        transform: translateX(-50%) scale(0.8);
    }
}

        /* --- SECTIONS COMMON --- */
        section {
            padding: 100px 5%;
        }

        /* --- ABOUT & STATS --- */
        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
        }

        .about-text p {
            margin-bottom: 1.5rem;
            color: var(--text-secondary);
            font-size: 1.1rem;
        }

        .stats-container {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
        }

        .stat-card {
            background: var(--card-bg);
            padding: 2rem;
            border: 1px solid var(--border);
            border-radius: 8px;
            text-align: center;
            transition: transform 0.3s, border-color 0.3s;
        }

        .stat-card:hover {
            transform: translateY(-5px);
            border-color: var(--accent);
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: bold;
            color: var(--accent);
            display: block;
            margin-bottom: 0.5rem;
        }

        .stat-label {
            font-size: 0.9rem;
            color: var(--text-secondary);
            text-transform: uppercase;
        }

        /* --- SKILLS --- */
        .skills-container {
            max-width: 1000px;
            margin: 0 auto;
        }

        .skill-category {
            margin-bottom: 2rem;
        }

        .skill-category h3 {
            margin-bottom: 1rem;
            color: var(--text-primary);
            font-size: 1.2rem;
            border-left: 3px solid var(--accent);
            padding-left: 10px;
        }

        .tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .tag {
            background: rgba(255, 255, 255, 0.05);
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 0.9rem;
            color: var(--text-secondary);
            border: 1px solid transparent;
            transition: all 0.3s;
        }

        .tag:hover {
            border-color: var(--accent);
            color: var(--accent);
            background: var(--accent-dim);
            transform: scale(1.05);
        }

        /* --- EXPERIENCE TIMELINE --- */
        .timeline {
            max-width: 800px;
            margin: 0 auto;
            position: relative;
        }

        .timeline::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 2px;
            height: 100%;
            background: var(--border);
        }

        .timeline-item {
            margin-left: 30px;
            margin-bottom: 3rem;
            position: relative;
        }

        .timeline-item::before {
            content: '';
            position: absolute;
            left: -36px;
            top: 5px;
            width: 14px;
            height: 14px;
            background: var(--bg-color);
            border: 2px solid var(--accent);
            border-radius: 50%;
            z-index: 1;
        }

        .timeline-date {
            font-family: var(--font-mono);
            color: var(--accent);
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
        }

        .timeline-title {
            font-size: 1.4rem;
            margin-bottom: 0.2rem;
        }

        .timeline-company {
            font-size: 1rem;
            color: #fff;
            margin-bottom: 1rem;
            font-weight: normal;
        }

        .timeline-desc {
            color: var(--text-secondary);
            list-style-position: inside;
        }

        .timeline-desc li {
            margin-bottom: 0.5rem;
        }

        /* --- PROJECTS / CASE STUDIES --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.project-image {
    height: 200px;
    background: #0f0f0f;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border);
}

.placeholder-img {
    font-size: 4rem;
    color: #333;
    transition: color 0.3s;
}

.project-card:hover .placeholder-img {
    color: var(--accent);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.project-role {
    font-family: var(--font-mono);
    color: var(--accent);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.project-stats {
    list-style: none;
    margin-bottom: 1rem;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
}

.project-stats li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.project-desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.project-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text-link {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.text-link:hover {
    color: var(--accent);
}

.text-link i {
    margin-left: 5px;
}

        /* --- CONTACT --- */
        .contact-container {
            max-width: 600px;
            margin: 0 auto;
            text-align: center;
            background: var(--card-bg);
            padding: 3rem;
            border-radius: 12px;
            border: 1px solid var(--border);
        }

        .contact-email {
            font-size: 1.5rem;
            color: #fff;
            text-decoration: none;
            border-bottom: 2px solid var(--accent);
            padding-bottom: 5px;
            transition: color 0.3s;
        }

        .contact-email:hover {
            color: var(--accent);
        }

        .social-links {
            margin-top: 2rem;
            display: flex;
            justify-content: center;
            gap: 2rem;
        }

        .social-links a {
            color: var(--text-secondary);
            font-size: 1.8rem;
            transition: transform 0.3s, color 0.3s;
        }

        .social-links a:hover {
            color: var(--accent);
            transform: translateY(-3px);
        }

        /* --- FOOTER --- */
        footer {
            text-align: center;
            padding: 2rem;
            border-top: 1px solid var(--border);
            color: var(--text-secondary);
            font-size: 0.9rem;
        }

        /* --- RESPONSIVE --- */
        @media (max-width: 768px) {
            .hero-title { font-size: 2.5rem; }
            .about-grid { grid-template-columns: 1fr; }
            .stats-container { grid-template-columns: 1fr; }
            nav { padding: 1rem; flex-direction: column; gap: 1rem; }
            .timeline::before { left: -10px; } /* Adjust timeline line */
            .timeline-item { margin-left: 10px; }
            .timeline-item::before { left: -27px; }
        }

        /* --- BACK TO TOP BUTTON --- */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent); /* Neon Green */
    color: #050505; /* Dark Background color for contrast */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.4);
    z-index: 2000; /* High z-index to stay above everything */
    
    /* Animation State: Hidden by default */
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

/* State when user has scrolled down */
#backToTop.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

/* Hover Effect */
#backToTop:hover {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.8);
    transform: translateY(-5px);
}

/* Mobile Adjustment: slightly smaller and moved in */
@media (max-width: 768px) {
    #backToTop {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
        font-size: 1rem;
    }
}