/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Linux Terminal Colors */
    --primary-bg: #0a0a0a;
    --secondary-bg: #1a1a1a;
    --terminal-bg: #0d1117;
    --terminal-border: #30363d;
    
    /* Neon Colors */
    --neon-cyan: #00ffff;
    --neon-magenta: #ff00ff;
    --neon-purple: #8a2be2;
    --neon-green: #00ff41;
    --neon-orange: #ff6b35;
    
    /* Text Colors */
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --text-muted: #6e7681;
    
    /* Accent Colors */
    --accent-primary: var(--neon-cyan);
    --accent-secondary: var(--neon-magenta);
    --accent-tertiary: var(--neon-purple);
    
    /* Fonts */
    --font-mono: 'JetBrains Mono', monospace;
    --font-display: 'Orbitron', monospace;
    
    /* Animations */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.8s ease;
}

html {
    scroll-behavior: smooth;
}

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

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.terminal-window {
    background: var(--terminal-bg);
    border: 1px solid var(--terminal-border);
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
    min-width: 500px;
    animation: terminalGlow 2s ease-in-out infinite alternate;
}

@keyframes terminalGlow {
    0% { box-shadow: 0 0 30px rgba(0, 255, 255, 0.3); }
    100% { box-shadow: 0 0 50px rgba(0, 255, 255, 0.5); }
}

.terminal-header {
    background: var(--secondary-bg);
    padding: 12px 16px;
    border-bottom: 1px solid var(--terminal-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px 8px 0 0;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn.close {
    background: #ff5f56;
}

.btn.minimize {
    background: #ffbd2e;
}

.btn.maximize {
    background: #27ca3f;
}

.btn:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.terminal-title {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.terminal-body {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 14px;
}

.terminal-line {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.prompt {
    color: var(--neon-green);
    font-weight: 500;
}

.command {
    color: var(--neon-cyan);
}

.cursor {
    color: var(--text-primary);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.loading-progress {
    margin-top: 20px;
    background: var(--secondary-bg);
    height: 4px;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
    width: 0%;
    animation: loadingProgress 3s ease-in-out;
}

@keyframes loadingProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Matrix Background */
#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.1;
}

/* Particles Container */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--neon-cyan);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--terminal-border);
    z-index: 1000;
    transition: var(--transition-medium);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 2px 20px rgba(0, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 700;
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--neon-cyan);
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--neon-cyan);
    background: rgba(0, 255, 255, 0.1);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: var(--neon-cyan);
    border-radius: 1px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition-fast);
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Main Content */
.main-content {
    padding-top: 70px;
}

.section {
    min-height: 100vh;
    padding: 80px 0;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Home Section */
.home-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at center, rgba(0, 255, 255, 0.05) 0%, transparent 70%);
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative;
}



@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-avatar {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.avatar-image {
    width: 250px;
    height: 320px;
    border-radius: 15px;
    border: 4px solid var(--neon-cyan);
    box-shadow: 
        0 0 40px rgba(0, 255, 255, 0.5),
        inset 0 0 40px rgba(0, 255, 255, 0.15);
    transition: var(--transition-medium);
    animation: avatarPulse 3s ease-in-out infinite;
    object-fit: cover;
    object-position: center;
    display: block;
}

@keyframes avatarPulse {
    0%, 100% {
        box-shadow: 
            0 0 30px rgba(0, 255, 255, 0.4),
            inset 0 0 30px rgba(0, 255, 255, 0.1);
        transform: scale(1);
    }
    50% {
        box-shadow: 
            0 0 50px rgba(0, 255, 255, 0.6),
            inset 0 0 50px rgba(0, 255, 255, 0.2);
        transform: scale(1.05);
    }
}

.avatar-glow {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border-radius: 20px;
    background: radial-gradient(ellipse, rgba(0, 255, 255, 0.2) 0%, transparent 70%);
    animation: glowRotate 4s linear infinite;
    z-index: -1;
}

@keyframes glowRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.status-indicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--terminal-bg);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid var(--terminal-border);
    font-size: 12px;
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: statusBlink 2s ease-in-out infinite;
}

.status-dot.online {
    background: var(--neon-green);
    box-shadow: 0 0 10px var(--neon-green);
}

@keyframes statusBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-text {
    color: var(--text-secondary);
    white-space: nowrap;
}

.hero-terminal {
    margin-bottom: 40px;
    animation: slideInUp 1s ease-out;
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Hero Name Styling */
.hero-name-container {
    margin: 20px 0;
    position: relative;
}

.hero-name {
    position: relative;
    display: inline-block;
    margin: 10px 0;
}

.name-text {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--neon-cyan), var(--neon-magenta), var(--neon-purple));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: 
        gradientShift 3s ease-in-out infinite,
        textGlow 2s ease-in-out infinite alternate;
    position: relative;
    z-index: 2;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes textGlow {
    0% {
        filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
    }
    100% {
        filter: drop-shadow(0 0 30px rgba(0, 255, 255, 0.8));
    }
}

.name-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.name-underline {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
    border-radius: 2px;
    animation: underlineExpand 2s ease-out 1.5s both;
}

@keyframes underlineExpand {
    0% { width: 0%; }
    100% { width: 100%; }
}

.name-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: nameGlowPulse 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes nameGlowPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.6;
    }
}

.hero-tagline {
    font-size: 1.2rem;
    color: var(--neon-magenta);
    margin: 10px 0;
    animation: typewriter 3s steps(30) 3s both;
}

.hero-skills {
    color: var(--text-secondary);
    margin: 10px 0;
    animation: typewriter 2s steps(20) 5s both;
}

@keyframes typewriter {
    0% {
        width: 0;
        opacity: 0;
    }
    1% {
        opacity: 1;
    }
    100% {
        width: 100%;
        opacity: 1;
    }
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    animation: fadeInUp 1s ease-out 6s both;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border: 2px solid;
    border-radius: 8px;
    text-decoration: none;
    font-family: var(--font-mono);
    font-weight: 500;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
    background: rgba(0, 255, 255, 0.1);
}

.cta-button.secondary {
    color: var(--neon-magenta);
    border-color: var(--neon-magenta);
    background: rgba(255, 0, 255, 0.1);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

.cta-button.primary:hover {
    background: rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 30px var(--neon-cyan);
}

.cta-button.secondary:hover {
    background: rgba(255, 0, 255, 0.2);
    box-shadow: 0 0 30px var(--neon-magenta);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.scroll-arrow {
    color: var(--neon-cyan);
    font-size: 24px;
    opacity: 0.7;
}

/* Section Headers */
.section-header {
    margin-bottom: 60px;
    text-align: center;
    padding: 0 10px;
}

.section-title {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-title .terminal-prompt {
    color: var(--neon-green);
    font-size: 0.9em;
}

.section-title .command {
    color: var(--neon-cyan);
    font-size: 0.9em;
}

/* Project Filters */
.project-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--secondary-bg);
    border: 1px solid var(--terminal-border);
    border-radius: 25px;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.filter-btn:hover {
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-2px);
}

.filter-btn.active {
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
    background: rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.filter-btn.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.project-card.hidden {
    display: none;
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.05) 0%, rgba(0, 255, 255, 0.05) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.profile-card {
    background: var(--terminal-bg);
    border: 1px solid var(--terminal-border);
    border-radius: 12px;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta), var(--neon-purple));
}

.profile-image {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.image-placeholder {
    width: 160px;
    height: 160px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: var(--primary-bg);
    animation: profileGlow 3s ease-in-out infinite alternate;
}

.profile-photo {
    width: 160px;
    height: 160px;
    margin: 0 auto;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 3px solid var(--neon-cyan);
    animation: profileGlow 3s ease-in-out infinite alternate;
    display: block;
}

@keyframes profileGlow {
    0% { box-shadow: 0 0 20px rgba(0, 255, 255, 0.5); }
    100% { box-shadow: 0 0 40px rgba(255, 0, 255, 0.5); }
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--neon-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 65, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 255, 65, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 65, 0); }
}

.status-text {
    color: var(--neon-green);
    font-size: 12px;
    font-weight: 500;
}

.profile-name {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--neon-cyan);
    margin-bottom: 5px;
    text-align: center;
}

.profile-role {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 20px;
}

.system-info {
    background: var(--secondary-bg);
    border-radius: 8px;
    padding: 15px;
    font-family: var(--font-mono);
    font-size: 14px;
}

.info-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.info-line:last-child {
    margin-bottom: 0;
}

.label {
    color: var(--text-secondary);
}

.value {
    color: var(--neon-cyan);
}

.bio-text {
    margin-top: 30px;
    line-height: 1.8;
}

.bio-text p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.skills-section {
    background: var(--terminal-bg);
    border: 1px solid var(--terminal-border);
    border-radius: 12px;
    padding: 30px;
}

/* Ensure skills section is always visible */
.skills-section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.skills-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--neon-cyan);
    margin-bottom: 30px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.skill-domain {
    background: var(--secondary-bg);
    border-radius: 8px;
    padding: 20px;
    transition: var(--transition-medium);
    cursor: pointer;
}

.skill-domain:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1);
}

.domain-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.domain-header i {
    font-size: 20px;
    color: var(--neon-magenta);
}

.domain-header h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
}

.domain-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background: rgba(0, 255, 255, 0.1);
    color: var(--neon-cyan);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(0, 255, 255, 0.3);
    transition: var(--transition-fast);
}

.skill-tag:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Projects Section */
.projects-section {
    background: radial-gradient(ellipse at center, rgba(255, 0, 255, 0.05) 0%, transparent 70%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    background: var(--terminal-bg);
    border: 1px solid var(--terminal-border);
    border-radius: 12px;
    padding: 25px;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    transition: var(--transition-slow);
}

/* Removed project card hover expansion effects */

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.project-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-bg);
}

.project-status .status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--neon-green);
}

.project-status .status-dot.active {
    animation: pulse 2s infinite;
}

.project-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tech-tag {
    background: rgba(255, 0, 255, 0.1);
    color: var(--neon-magenta);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid rgba(255, 0, 255, 0.3);
}

.project-actions {
    display: flex;
    gap: 15px;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    padding: 8px 15px;
    border-radius: 6px;
    transition: var(--transition-fast);
    border: 1px solid var(--terminal-border);
}

.project-link:hover {
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05) 0%, rgba(138, 43, 226, 0.05) 100%);
    
}

.contact-content {
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

.contact-terminal {
    height: fit-content;
}

.contact-details {
    color: var(--text-secondary);
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid var(--terminal-border);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.social-link.github:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.social-link.linkedin:hover {
    color: #0077b5;
    border-color: #0077b5;
    background: rgba(0, 119, 181, 0.1);
    box-shadow: 0 0 20px rgba(0, 119, 181, 0.2);
}

.social-link.email:hover {
    color: var(--neon-orange);
    border-color: var(--neon-orange);
    background: rgba(255, 107, 53, 0.1);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.2);
}


/* Footer */
.footer {
    background: var(--secondary-bg);
    border-top: 1px solid var(--terminal-border);
    padding: 30px 0;
}

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

.footer-text {
    font-family: var(--font-mono);
    color: var(--text-secondary);
}

.footer-text .terminal-prompt {
    color: var(--neon-green);
}

.footer-text .command {
    color: var(--neon-cyan);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--neon-cyan);
}

/* Mobile/Desktop Command Display */
.mobile-command {
    display: none;
}

.desktop-command {
    display: inline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-command {
        display: inline;
    }
    
    .desktop-command {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: var(--transition-medium);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(10px);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 10px 0;
    }
    
    .hero-content {
        gap: 30px;
    }
    
    .name-text {
        font-size: 2.5rem;
    }
    
    .status-indicator {
        font-size: 11px;
        padding: 4px 8px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        text-align: center;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .project-filters {
        gap: 10px;
        margin-top: 20px;
    }
    
    .filter-btn {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .terminal-window {
        min-width: 280px;
        margin: 0 10px;
        max-width: calc(100vw - 20px);
    }
    
    .terminal-body {
        padding: 15px;
        font-size: 13px;
    }
    
    .terminal-line {
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .prompt {
        font-size: 12px;
        flex-shrink: 0;
    }
    
    .section-title {
        text-align: center;
        word-break: break-word;
        font-size: 2rem;
    }
    
    .hero-content {
        text-align: center;
        padding: 0 10px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .social-links {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 600px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .name-text {
        font-size: 1.8rem;
    }
    
    .status-text {
        display: none;
    }
    
    .section-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .terminal-prompt {
        font-size: 11px;
    }
    
    .command {
        font-size: 11px;
    }
    
    .cta-button {
        padding: 10px 16px;
        font-size: 13px;
        margin: 5px;
        min-width: 140px;
    }
    
    .project-card,
    .profile-card,
    .contact-form-container {
        padding: 15px;
    }
    
    .terminal-window {
        min-width: 260px;
        margin: 0 5px;
    }
    
    .terminal-body {
        padding: 12px;
        font-size: 12px;
    }
    
    .hero-actions {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-logo {
        font-size: 16px;
    }
    
    .profile-role {
        font-size: 14px;
        text-align: center;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--neon-cyan);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-magenta);
}

/* Selection */
::selection {
    background: rgba(0, 255, 255, 0.3);
    color: var(--text-primary);
}

/* Smooth Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: var(--transition-slow);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: var(--transition-slow);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition-slow);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

.rotate-in {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
    transition: var(--transition-slow);
}

.rotate-in.visible {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Glitch Effect */
.glitch {
    position: relative;
    color: var(--text-primary);
    font-size: 4rem;
    font-weight: bold;
    text-transform: uppercase;
    animation: glitch-skew 1s infinite linear alternate-reverse;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-anim 2s infinite linear alternate-reverse;
    color: var(--neon-cyan);
    z-index: -1;
}

.glitch::after {
    animation: glitch-anim2 1s infinite linear alternate-reverse;
    color: var(--neon-magenta);
    z-index: -2;
}

@keyframes glitch-anim {
    0% {
        clip: rect(42px, 9999px, 44px, 0);
        transform: skew(0.85deg);
    }
    5% {
        clip: rect(12px, 9999px, 59px, 0);
        transform: skew(0.4deg);
    }
    10% {
        clip: rect(48px, 9999px, 29px, 0);
        transform: skew(0.7deg);
    }
    15% {
        clip: rect(42px, 9999px, 73px, 0);
        transform: skew(0.1deg);
    }
    20% {
        clip: rect(63px, 9999px, 27px, 0);
        transform: skew(0.2deg);
    }
    25% {
        clip: rect(34px, 9999px, 55px, 0);
        transform: skew(1.1deg);
    }
    30% {
        clip: rect(86px, 9999px, 73px, 0);
        transform: skew(0.7deg);
    }
    35% {
        clip: rect(20px, 9999px, 20px, 0);
        transform: skew(0.1deg);
    }
    40% {
        clip: rect(26px, 9999px, 60px, 0);
        transform: skew(0.3deg);
    }
    45% {
        clip: rect(25px, 9999px, 66px, 0);
        transform: skew(0.2deg);
    }
    50% {
        clip: rect(57px, 9999px, 98px, 0);
        transform: skew(0.5deg);
    }
    55% {
        clip: rect(5px, 9999px, 46px, 0);
        transform: skew(0.05deg);
    }
    60% {
        clip: rect(82px, 9999px, 31px, 0);
        transform: skew(0.35deg);
    }
    65% {
        clip: rect(54px, 9999px, 27px, 0);
        transform: skew(0.04deg);
    }
    70% {
        clip: rect(28px, 9999px, 99px, 0);
        transform: skew(0.05deg);
    }
    75% {
        clip: rect(45px, 9999px, 69px, 0);
        transform: skew(0.23deg);
    }
    80% {
        clip: rect(23px, 9999px, 85px, 0);
        transform: skew(-0.01deg);
    }
    85% {
        clip: rect(54px, 9999px, 84px, 0);
        transform: skew(0.05deg);
    }
    90% {
        clip: rect(45px, 9999px, 47px, 0);
        transform: skew(-0.04deg);
    }
    95% {
        clip: rect(37px, 9999px, 20px, 0);
        transform: skew(0.09deg);
    }
    100% {
        clip: rect(4px, 9999px, 91px, 0);
        transform: skew(-0.05deg);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(65px, 9999px, 100px, 0);
        transform: skew(0.02deg);
    }
    5% {
        clip: rect(52px, 9999px, 74px, 0);
        transform: skew(0.05deg);
    }
    10% {
        clip: rect(79px, 9999px, 85px, 0);
        transform: skew(0.05deg);
    }
    15% {
        clip: rect(75px, 9999px, 5px, 0);
        transform: skew(0.05deg);
    }
    20% {
        clip: rect(67px, 9999px, 61px, 0);
        transform: skew(0.05deg);
    }
    25% {
        clip: rect(14px, 9999px, 79px, 0);
        transform: skew(0.05deg);
    }
    30% {
        clip: rect(1px, 9999px, 66px, 0);
        transform: skew(0.05deg);
    }
    35% {
        clip: rect(86px, 9999px, 30px, 0);
        transform: skew(0.05deg);
    }
    40% {
        clip: rect(23px, 9999px, 98px, 0);
        transform: skew(0.05deg);
    }
    45% {
        clip: rect(85px, 9999px, 72px, 0);
        transform: skew(0.05deg);
    }
    50% {
        clip: rect(71px, 9999px, 75px, 0);
        transform: skew(0.05deg);
    }
    55% {
        clip: rect(2px, 9999px, 48px, 0);
        transform: skew(0.05deg);
    }
    60% {
        clip: rect(30px, 9999px, 16px, 0);
        transform: skew(-0.05deg);
    }
    65% {
        clip: rect(59px, 9999px, 50px, 0);
        transform: skew(0.05deg);
    }
    70% {
        clip: rect(41px, 9999px, 62px, 0);
        transform: skew(0.05deg);
    }
    75% {
        clip: rect(2px, 9999px, 82px, 0);
        transform: skew(0.05deg);
    }
    80% {
        clip: rect(47px, 9999px, 73px, 0);
        transform: skew(0.05deg);
    }
    85% {
        clip: rect(3px, 9999px, 27px, 0);
        transform: skew(0.05deg);
    }
    90% {
        clip: rect(26px, 9999px, 55px, 0);
        transform: skew(0.05deg);
    }
    95% {
        clip: rect(42px, 9999px, 97px, 0);
        transform: skew(-0.05deg);
    }
    100% {
        clip: rect(38px, 9999px, 49px, 0);
        transform: skew(-0.05deg);
    }
}

@keyframes glitch-skew {
    0% {
        transform: skew(2deg);
    }
    10% {
        transform: skew(-1deg);
    }
    20% {
        transform: skew(0deg);
    }
    30% {
        transform: skew(1deg);
    }
    40% {
        transform: skew(-1deg);
    }
    50% {
        transform: skew(0deg);
    }
    60% {
        transform: skew(-2deg);
    }
    70% {
        transform: skew(2deg);
    }
    80% {
        transform: skew(-1deg);
    }
    90% {
        transform: skew(1deg);
    }
    100% {
        transform: skew(0deg);
    }
}