
        @import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;700&display=swap');
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        :root {
            --primary-green: #00ff41;
            --secondary-green: #00cc33;
            --dark-bg: #0a0a0a;
            --darker-bg: #050505;
            --gray-text: #888;
            --terminal-border: #333;
        }
        
        body {
            font-family: 'Fira Code', monospace;
            background: var(--dark-bg);
            color: var(--primary-green);
            overflow-x: hidden;
            position: relative;
        }
        
        /* Matrix Background Animation */
        .matrix-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
            opacity: 0.1;
        }
        
        .matrix-column {
            position: absolute;
            top: -100%;
            font-family: 'Fira Code', monospace;
            font-size: 14px;
            color: var(--primary-green);
            animation: matrix-fall linear infinite;
            text-shadow: 0 0 5px var(--primary-green);
        }
        
        @keyframes matrix-fall {
            0% {
                top: -100%;
                opacity: 1;
            }
            90% {
                opacity: 1;
            }
            100% {
                top: 100%;
                opacity: 0;
            }
        }
        
        /* Scanlines Effect */
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: repeating-linear-gradient(
                0deg,
                transparent,
                transparent 2px,
                rgba(0, 255, 65, 0.03) 2px,
                rgba(0, 255, 65, 0.03) 4px
            );
            pointer-events: none;
            z-index: 1000;
            animation: scanlines 0.1s linear infinite;
        }
        
        @keyframes scanlines {
            0% { transform: translateY(0); }
            100% { transform: translateY(4px); }
        }
        
        /* Terminal Navbar */
        .terminal-nav {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(5, 5, 5, 0.95);
            border-bottom: 1px solid var(--terminal-border);
            padding: 10px 20px;
            z-index: 999;
            backdrop-filter: blur(10px);
        }
        
        .nav-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .nav-brand {
            font-size: 1.2rem;
            font-weight: 700;
            text-shadow: 0 0 10px var(--primary-green);
        }
        
        .nav-links {
            display: flex;
            gap: 30px;
        }
        
        .nav-links a {
            color: var(--primary-green);
            text-decoration: none;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            position: relative;
        }
        
        .nav-links a:hover {
            text-shadow: 0 0 15px var(--primary-green);
            transform: scale(1.05);
        }
        
        .nav-links a::before {
            content: '> ';
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .nav-links a:hover::before {
            opacity: 1;
        }
        
        /* Hamburger Menu */
        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: 5px;
        }
        
        .hamburger span {
            width: 25px;
            height: 3px;
            background: var(--primary-green);
            margin: 3px 0;
            transition: 0.3s;
            box-shadow: 0 0 5px var(--primary-green);
        }
        
        .hamburger.active span:nth-child(1) {
            transform: rotate(-45deg) translate(-5px, 6px);
        }
        
        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }
        
        .hamburger.active span:nth-child(3) {
            transform: rotate(45deg) translate(-5px, -6px);
        }
        
        .mobile-menu {
            display: none;
            position: fixed;
            top: 60px;
            left: 0;
            width: 100%;
            background: rgba(5, 5, 5, 0.98);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--terminal-border);
            z-index: 998;
        }
        
        .mobile-menu.active {
            display: block;
            animation: slideDown 0.3s ease;
        }
        
        .mobile-menu a {
            display: block;
            color: var(--primary-green);
            text-decoration: none;
            padding: 15px 20px;
            border-bottom: 1px solid var(--terminal-border);
            transition: all 0.3s ease;
        }
        
        .mobile-menu a:hover {
            background: rgba(0, 255, 65, 0.1);
            text-shadow: 0 0 10px var(--primary-green);
        }
        
        .mobile-menu a::before {
            content: '> ';
        }
        
        /* Main Container */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 80px 20px 20px;
            position: relative;
            z-index: 2;
        }
        
        /* Terminal Window */
        .terminal-window {
            background: var(--darker-bg);
            border: 1px solid var(--terminal-border);
            border-radius: 8px;
            margin: 20px 0;
            box-shadow: 0 0 20px rgba(0, 255, 65, 0.1);
        }
        
        .terminal-header {
            background: #1a1a1a;
            padding: 10px 15px;
            border-bottom: 1px solid var(--terminal-border);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .terminal-buttons {
            display: flex;
            gap: 5px;
        }
        
        .terminal-button {
            width: 12px;
            height: 12px;
            border-radius: 50%;
        }
        
        .close { background: #ff5f57; }
        .minimize { background: #ffbd2e; }
        .maximize { background: #28ca42; }
        
        .terminal-title {
            font-size: 0.8rem;
            color: var(--gray-text);
        }
        
        .terminal-content {
            padding: 20px;
            min-height: 200px;
        }
        
        /* Intro Section */
        .intro-section {
            text-align: center;
            padding: 60px 0;
        }
        
        .ascii-art {
            font-size: 0.6rem;
            line-height: 1;
            margin-bottom: 30px;
            color: var(--secondary-green);
            white-space: pre;
        }
        
        .typing-text {
            font-size: 1.2rem;
            margin: 20px 0;
        }
        
        .cursor {
            animation: blink 1s infinite;
        }
        
        @keyframes blink {
            0%, 50% { opacity: 1; }
            51%, 100% { opacity: 0; }
        }
        
        /* About Section */
        .about-section {
            margin: 40px 0;
        }
        
        .log-window {
            max-height: 400px;
            overflow-y: auto;
            padding: 20px;
            background: rgba(0, 0, 0, 0.3);
            border-left: 3px solid var(--primary-green);
        }
        
        .log-entry {
            margin: 10px 0;
            opacity: 0;
            animation: fadeInUp 0.5s ease forwards;
        }
        
        .log-entry:nth-child(1) { animation-delay: 0.1s; }
        .log-entry:nth-child(2) { animation-delay: 0.2s; }
        .log-entry:nth-child(3) { animation-delay: 0.3s; }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .skill-bar {
    margin: 20px 0;
    width: 100%;
    overflow: hidden;
    clear: both;
}

.skill-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding: 0 5px;
    font-size: 0.9rem;
}

.skill-name span:first-child {
    flex: 1;
    min-width: 0;
    word-break: break-word;
    padding-right: 15px;
}

.skill-name span:last-child {
    flex-shrink: 0;
    font-weight: bold;
    color: var(--secondary-green);
}

.skill-progress {
    background: #333;
    height: 22px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    width: 100%;
    border: 1px solid var(--terminal-border);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}
        
        .skill-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--primary-green), var(--secondary-green));
            width: 0;
            animation: fillBar 2s ease-in-out forwards;
            position: relative;
        }
        
        .skill-fill::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 2px;
            height: 100%;
            background: #fff;
            animation: blink 1s infinite;
        }
        
        @keyframes fillBar {
            to { width: var(--skill-width); }
        }
        
        /* Projects Section */
        .projects-section {
            margin: 40px 0;
        }
        
        .file-system {
            background: rgba(0, 0, 0, 0.5);
            padding: 20px;
            border-radius: 5px;
        }
        
        .directory-header {
            color: var(--secondary-green);
            margin-bottom: 20px;
            font-weight: 700;
        }
        
        .file-item {
    display: block;
    padding: 15px;
    margin: 10px 0;
    background: rgba(0, 255, 65, 0.05);
    border-left: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.file-item:hover {
    background: rgba(0, 255, 65, 0.1);
    border-left-color: var(--primary-green);
    transform: translateX(5px);
}
        
        .file-details {
    display: none;
    margin-top: 15px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    border-left: 4px solid var(--primary-green);
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}
        
        .file-item.expanded .file-details {
            display: block;
            max-height: 600px; /* Increased from 300px */
            padding: 15px;
            opacity: 1;
            animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        }
        
        @keyframes slideDown {
            from {
                max-height: 0;
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                max-height: 600px; /* Increased from 300px */
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .file-item.expanded.collapsing .file-details {
            animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        }
        
        @keyframes slideUp {
            from {
                max-height: 600px; /* Increased from 300px */
                opacity: 1;
                transform: translateY(0);
            }
            to {
                max-height: 0;
                opacity: 0;
                transform: translateY(-10px);
            }
        }
        
        /* Contact Section */
        .contact-section {
            margin: 40px 0;
        }
        
        .command-form {
            background: rgba(0, 0, 0, 0.3);
            padding: 20px;
            border-radius: 5px;
        }
        
        .command-line {
            display: flex;
            align-items: center;
            margin: 15px 0;
        }
        
        .prompt {
            color: var(--secondary-green);
            margin-right: 10px;
            font-weight: 700;
        }
        
        .command-input {
            background: transparent;
            border: none;
            color: var(--primary-green);
            font-family: inherit;
            font-size: 1rem;
            flex: 1;
            outline: none;
            padding: 5px;
            border-bottom: 1px solid var(--terminal-border);
        }
        
        .command-input:focus {
            border-bottom-color: var(--primary-green);
            box-shadow: 0 1px 0 var(--primary-green);
        }
        
        .execute-btn {
            background: transparent;
            border: 1px solid var(--primary-green);
            color: var(--primary-green);
            padding: 10px 20px;
            font-family: inherit;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 20px;
        }
        
        .execute-btn:hover {
            background: var(--primary-green);
            color: var(--dark-bg);
            box-shadow: 0 0 15px var(--primary-green);
        }
        
        /* Loading Animation */
        .loading {
            display: none;
            margin: 20px 0;
        }
        
        .loading-bar {
            width: 100%;
            height: 20px;
            background: #333;
            border-radius: 10px;
            overflow: hidden;
        }
        
        .loading-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--primary-green), var(--secondary-green));
            width: 0;
            animation: loading 3s ease-in-out infinite;
        }
        
        @keyframes loading {
            0%, 100% { width: 0; }
            50% { width: 100%; }
        }
        
        /* Glitch Effect */
        .glitch {
            position: relative;
            animation: glitch 2s infinite;
        }
        
        @keyframes glitch {
            0%, 100% { transform: translate(0); }
            20% { transform: translate(-2px, 2px); }
            40% { transform: translate(-2px, -2px); }
            60% { transform: translate(2px, 2px); }
            80% { transform: translate(2px, -2px); }
        }

        .experience-item {
            background: rgba(0, 255, 65, 0.03);
            border-left: 3px solid var(--secondary-green);
            padding: 15px;
            margin: 15px 0;
            border-radius: 5px;
            transition: all 0.3s ease;
        }
        
        .experience-item:hover {
            background: rgba(0, 255, 65, 0.08);
            border-left-color: var(--primary-green);
            transform: translateX(5px);
        }
        
        .job-title {
            color: var(--primary-green);
            font-weight: 700;
            font-size: 1.1rem;
        }
        
        .company-info {
            color: var(--gray-text);
            font-size: 0.9rem;
            margin: 5px 0;
        }
        
        .job-description {
            margin-top: 10px;
            line-height: 1.6;
        }
        
        /* Responsive Design */
        @media (max-width: 1024px) {
            .container {
                padding: 80px 15px 20px;
            }
            
            .terminal-content {
                padding: 15px;
            }
            
            .ascii-art {
                font-size: 0.5rem;
            }
            
            .typing-text {
                font-size: 1rem;
            }
        }
        
        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }
            
            .hamburger {
                display: flex;
            }
            
            .nav-brand {
                font-size: 1rem;
            }
            
            .container {
                padding: 80px 10px 20px;
            }
            
            .ascii-art {
                font-size: 0.4rem;
            }
            
            .typing-text {
                font-size: 0.9rem;
            }
            
            .terminal-content {
                padding: 15px;
            }
            
            .skill-name {
        font-size: 0.85rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .skill-name span:first-child {
        padding-right: 0;
    }
    
    .skill-progress {
        height: 20px;
        min-width: 250px;
    }
            
            .skill-name span:first-child {
                flex: 1;
                min-width: 0;
                word-break: break-word;
            }
            
            .file-item {
                flex-direction: column;
                align-items: flex-start;
                padding: 15px;
            }
            
            .command-line {
                flex-direction: column;
                align-items: flex-start;
                gap: 5px;
            }
            
            .command-input {
                width: 100%;
                margin-top: 5px;
            }
            
            .execute-btn {
                width: 100%;
                margin-top: 15px;
            }
            
            .intro-section {
                padding: 30px 0;
            }
            
            .file-item.expanded .file-details {
                max-height: 800px; /* Even more space on mobile */
            }
            
            .skill-progress {
                height: 18px;
                min-width: 250px; /* Increased from 150px */
            }
        }
        
        @media (max-width: 480px) {
            .terminal-nav {
                padding: 10px 15px;
            }
            
            .nav-brand {
                font-size: 0.9rem;
            }
            
            .ascii-art {
                font-size: 0.3rem;
            }
            
            .typing-text {
                font-size: 0.8rem;
            }
            
            .terminal-content {
                padding: 10px;
            }
            
            .terminal-header {
                padding: 8px 10px;
            }
            
            .terminal-title {
                font-size: 0.7rem;
            }
            
            .directory-header {
                font-size: 0.9rem;
            }
            
            .log-entry {
                font-size: 0.9rem;
            }
            
            .skill-progress {
        height: 18px;
        min-width: 200px;
    }
    
    .skill-name {
        font-size: 0.8rem;
    }
    
    .file-details {
        padding: 12px;
    }
            
            .skill-progress {
                height: 16px;
                min-width: 200px; /* Increased from 120px */
            }
            
            .file-item.expanded .file-details {
                max-height: 1000px;
            }
            
            .skill-name {
                font-size: 0.8rem;
                flex-direction: column;
                gap: 5px;
            }
        }
        
        /* Matrix Animation Responsive */
        @media (max-width: 768px) {
            .matrix-column {
                font-size: 12px;
            }
        }
        
        @media (max-width: 480px) {
            .matrix-column {
                font-size: 10px;
            }
        }

        .file-item-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    margin-bottom: 5px;
}

.file-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}
/* Fix contact info log-entries to wrap correctly */
.log-entry {
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Adjust button spacing in quick connect */
@media (max-width: 768px) {
    .contact-section .execute-btn {
        width: 100%;
        font-size: 0.85rem;
        padding: 10px 12px;
        margin: 5px 0;
    }

    .contact-section .command-form {
        padding: 15px;
    }

    .contact-section .directory-header {
        font-size: 0.95rem;
    }

    .terminal-title {
        font-size: 0.8rem;
    }
}

/* Ensure terminal window adapts fully */
@media (max-width: 480px) {
    .terminal-window {
        margin: 10px 0;
    }

    .terminal-content {
        padding: 12px;
    }

    .terminal-buttons {
        gap: 4px;
    }
}
