/* ===========================
   NEURAL PORTFOLIO CSS FRAMEWORK
   ========================== */

/* CSS Variables - Neural Color Palette */
:root {
    /* Neural Background Colors */
    --neural-bg-primary: #0a0a0f;
    --neural-bg-secondary: #121218;
    --neural-bg-card: #1e1e2e;
    --neural-bg-overlay: rgba(30, 30, 46, 0.95);
    
    /* Neural Brand Colors */
    --neural-primary: #00d4ff;
    --neural-secondary: #6366f1;
    --neural-tertiary: #8b5cf6;
    --neural-accent: #00ff88;
    --neural-warning: #ffaa00;
    --neural-danger: #ff4757;
    
    /* Neural Text Colors */
    --neural-text-primary: #ffffff;
    --neural-text-secondary: #b0b6d3;
    --neural-text-muted: #6b7280;
    
    /* Neural Effects */
    --neural-glow-primary: 0 0 20px rgba(0, 212, 255, 0.3);
    --neural-glow-secondary: 0 0 20px rgba(99, 102, 241, 0.3);
    --neural-glow-accent: 0 0 20px rgba(0, 255, 136, 0.3);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Monaco', 'Cascadia Code', monospace;
    
    /* Spacing & Layout */
    --section-padding: 120px 0;
    --container-max-width: 1200px;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    
    /* Animations */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===========================
   GLOBAL STYLES & RESET
   ========================== */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

/* ===========================
   CONSTELLATION BACKGROUND
   ========================== */

.synaptic-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
    background: var(--neural-bg-primary);
    
    /* Add subtle space-like gradient overlay */
    background: radial-gradient(ellipse at center, 
        rgba(10, 10, 15, 0.9) 0%, 
        rgba(5, 5, 10, 0.95) 50%, 
        rgba(0, 0, 5, 1) 100%),
        var(--neural-bg-primary);
}

/* Add some ambient light effects */
.synaptic-background::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.synaptic-background::after {
    content: '';
    position: absolute;
    bottom: 30%;
    right: 15%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.02) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }
    33% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.5;
    }
    66% {
        transform: translateY(10px) translateX(-15px);
        opacity: 0.2;
    }
}

/* Responsive adjustments for constellation background */
@media (max-width: 768px) {
    .synaptic-background {
        opacity: 0.9;
    }
    
    .synaptic-background::before,
    .synaptic-background::after {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .synaptic-background {
        opacity: 0.8;
    }
    
    .synaptic-background::before,
    .synaptic-background::after {
        width: 150px;
        height: 150px;
        opacity: 0.6;
    }
}



/* ===========================
   UTILITY CLASSES
   ========================== */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neural-primary), var(--neural-secondary));
    color: var(--neural-text-primary);
    padding: 14px 28px;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--neural-glow-primary);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: transparent;
    color: var(--neural-primary);
    padding: 14px 28px;
    border: 2px solid var(--neural-primary);
    border-radius: var(--border-radius);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all var(--transition-normal);
}

.btn-secondary:hover {
    background: var(--neural-primary);
    color: var(--neural-bg-primary);
    transform: translateY(-2px);
    box-shadow: var(--neural-glow-primary);
}

.btn-download {
    background: var(--neural-bg-card);
    color: var(--neural-accent);
    padding: 12px 20px;
    border: 1px solid var(--neural-accent);
    border-radius: var(--border-radius);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all var(--transition-normal);
}

.btn-download:hover {
    background: var(--neural-accent);
    color: var(--neural-bg-primary);
    transform: translateY(-2px);
    box-shadow: var(--neural-glow-accent);
}

/* ===========================
   NAVIGATION
   ========================== */

.neural-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    z-index: 1000;
    transition: all var(--transition-normal);
}

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

.nav-brand {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px 10px 0; /* Added padding for better spacing */
}

.brand-text {
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 600;
    color: var(--neural-primary);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.brand-pulse {
    width: 8px;
    height: 8px;
    background: var(--neural-accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
        box-shadow: 0 0 5px var(--neural-accent);
    }
    50% { 
        opacity: 0.5; 
        transform: scale(1.2);
        box-shadow: 0 0 15px var(--neural-accent);
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--neural-text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    transition: all var(--transition-normal);
    position: relative;
}

.nav-link:hover {
    color: var(--neural-primary);
    background: rgba(0, 212, 255, 0.1);
}

.nav-link.active {
    color: var(--neural-primary);
    background: rgba(0, 212, 255, 0.15);
}

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

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--neural-primary);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

/* ===========================
   SECTION HEADERS
   ========================== */

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--neural-accent);
    background: rgba(0, 255, 136, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 136, 0.3);
    display: inline-block;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--neural-primary), var(--neural-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-subtitle {
    font-size: 18px;
    color: var(--neural-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===========================
   HERO SECTION
   ========================== */

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 80px 0 40px 0;
}

.hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.hero-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}



.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 212, 255, 0.1);
    color: var(--neural-primary);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 5px rgba(0, 212, 255, 0.3); }
    to { box-shadow: 0 0 20px rgba(0, 212, 255, 0.6); }
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.title-main {
    background: linear-gradient(135deg, var(--neural-text-primary), var(--neural-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--neural-text-secondary);
    margin-bottom: 24px;
    font-weight: 400;
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.hero-description {
    font-size: 18px;
    color: var(--neural-text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 500px;
}

.hero-metrics {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.metric {
    text-align: center;
}

.metric-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--neural-primary);
    display: block;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.metric-label {
    font-size: 14px;
    color: var(--neural-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}



.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
}



@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-line {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, transparent, var(--neural-primary));
}

.scroll-dot {
    width: 6px;
    height: 6px;
    background: var(--neural-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neural-primary);
}

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

/* ===========================
   SKILLS FLOW SECTION
   ========================== */

.skills-flow-container {
    width: 100%;
    max-width: 600px;
    height: 80px;
    margin: 0px auto 40px auto;
    position: relative;
    overflow: hidden;
    background: rgba(0, 212, 255, 0.03);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 20px rgba(0, 212, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.skills-flow-track {
    display: flex;
    align-items: center;
    height: 100%;
    width: fit-content;
    animation: skillsFlow 100s linear infinite;
    gap: 30px;
    padding: 0 15px;
    will-change: transform;
}

.skill-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    height: 60px;
    background: rgba(30, 30, 46, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.skill-icon i {
    font-size: 18px;
    color: var(--neural-primary);
    margin-bottom: 2px;
    transition: all 0.3s ease;
}

.skill-icon span {
    font-size: 10px;
    color: var(--neural-text-secondary);
    font-weight: 500;
    text-align: center;
    line-height: 1;
    transition: all 0.3s ease;
}

.skill-icon:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--neural-primary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 5px 20px rgba(0, 212, 255, 0.3),
        0 0 15px rgba(0, 212, 255, 0.2);
    z-index: 3;
}

.skill-icon:hover i {
    color: var(--neural-accent);
    transform: scale(1.1);
}

.skill-icon:hover span {
    color: var(--neural-text-primary);
}

.skill-icon::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, var(--neural-primary), var(--neural-secondary), var(--neural-tertiary), var(--neural-primary));
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-icon:hover::after {
    opacity: 0.8;
}

/* Skill-specific icon colors */
.skill-icon[data-skill="Python"]:hover i { color: #3776ab; }
.skill-icon[data-skill="PyTorch"]:hover i { color: #ee4c2c; }
.skill-icon[data-skill="SQL"]:hover i { color: #f29111; }
.skill-icon[data-skill="AWS"]:hover i { color: #ff9900; }
.skill-icon[data-skill="Docker"]:hover i { color: #2496ed; }

@keyframes skillsFlow {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover over container */
.skills-flow-container:hover .skills-flow-track {
    animation-play-state: paused;
}

/* ===========================
   ABOUT SECTION
   ========================== */

.about-section {
    padding: var(--section-padding);
    background: var(--neural-bg-secondary);
    position: relative;
}

/* Reduce spacing for about section header */
.about-section .section-header {
    margin-bottom: 50px;
}

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

.about-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.about-description {
    margin-bottom: 40px;
}

.about-description p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--neural-text-secondary);
}

.about-description p:last-child {
    margin-bottom: 0;
}

.info-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 16px;
    background: var(--neural-bg-card);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all var(--transition-normal);
}

.info-item:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

.info-item i {
    color: var(--neural-primary);
    font-size: 16px;
}

.info-label {
    font-size: 14px;
    color: var(--neural-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    font-size: 14px;
    color: var(--neural-text-primary);
    font-weight: 500;
    text-align: right;
}

.profile-container {
    display: flex;
    justify-content: center;
    position: relative;
}

.profile-frame {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--neural-primary);
    box-shadow: var(--neural-glow-primary);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.profile-frame:hover .profile-image {
    transform: scale(1.05);
}

.profile-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--neural-primary), var(--neural-secondary), var(--neural-tertiary), var(--neural-primary));
    z-index: -1;
    animation: rotate 3s linear infinite;
    opacity: 0.7;
}

/* CV Download styling in about section */
.about-visual .cv-download {
    width: 100%;
    display: flex;
    justify-content: center;
}

.about-visual .cv-download .btn-download {
    width: auto;
    min-width: 200px;
    justify-content: center;
}

/* ===========================
   EXPERIENCE SECTION
   ========================== */

.experience-section {
    padding: var(--section-padding);
    position: relative;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--neural-primary), var(--neural-secondary), var(--neural-tertiary));
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    padding-left: 80px;
}

.timeline-marker {
    position: absolute;
    left: 15px;
    top: 20px;
    width: 30px;
    height: 30px;
    background: var(--neural-bg-primary);
    border: 3px solid var(--neural-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.timeline-marker i {
    color: var(--neural-primary);
    font-size: 12px;
}

.marker-pulse {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--neural-primary);
    border-radius: 50%;
    opacity: 0;
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        opacity: 1;
        transform: scale(0.8);
    }
    100% {
        opacity: 0;
        transform: scale(1.4);
    }
}

.timeline-content {
    background: var(--neural-bg-card);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all var(--transition-normal);
}

.timeline-content:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.timeline-header {
    margin-bottom: 20px;
}

.position {
    font-size: 20px;
    font-weight: 600;
    color: var(--neural-text-primary);
    margin-bottom: 8px;
}

.company {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--neural-primary);
    font-weight: 500;
    margin-bottom: 4px;
}

.duration {
    color: var(--neural-accent);
    font-weight: 500;
    margin-bottom: 4px;
}

.location {
    color: var(--neural-text-muted);
    font-size: 14px;
}

.achievement-metrics {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.metric-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-badge.success {
    background: rgba(0, 255, 136, 0.1);
    color: var(--neural-accent);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.metric-badge.primary {
    background: rgba(0, 212, 255, 0.1);
    color: var(--neural-primary);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.metric-badge.secondary {
    background: rgba(99, 102, 241, 0.1);
    color: var(--neural-secondary);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.metric-badge.warning {
    background: rgba(255, 170, 0, 0.1);
    color: var(--neural-warning);
    border: 1px solid rgba(255, 170, 0, 0.3);
}

.achievements {
    list-style: none;
}

.achievements li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: var(--neural-text-secondary);
    line-height: 1.6;
}

.achievements li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--neural-primary);
    font-size: 10px;
    top: 4px;
}

.achievements li strong {
    color: var(--neural-text-primary);
    font-weight: 600;
}

/* Academic Project Styling */
.academic-project {
    background: rgba(0, 212, 255, 0.03);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 20px;
    transition: all var(--transition-normal);
}

.academic-project:last-child {
    margin-bottom: 0;
}

.academic-project:hover {
    border-color: rgba(0, 212, 255, 0.2);
    background: rgba(0, 212, 255, 0.05);
    transform: translateX(5px);
}

.academic-project .project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.project-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--neural-primary);
    margin: 0;
}

.project-tech {
    font-size: 12px;
    color: var(--neural-accent);
    background: rgba(0, 255, 136, 0.1);
    padding: 4px 8px;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    white-space: nowrap;
}

.project-achievements {
    list-style: none;
    margin: 0;
    padding: 0;
}

.project-achievements li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 8px;
    color: var(--neural-text-secondary);
    line-height: 1.5;
    font-size: 14px;
}

.project-achievements li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--neural-accent);
    font-weight: bold;
    top: 2px;
}

.project-achievements li:last-child {
    margin-bottom: 0;
}

.project-achievements li strong {
    color: var(--neural-text-primary);
    font-weight: 600;
}

/* ===========================
   PROJECTS SECTION
   ========================== */

.projects-section {
    padding: var(--section-padding);
    background: var(--neural-bg-secondary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--neural-bg-card);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all var(--transition-normal);
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-card.featured {
    grid-column: span 2;
    border-color: rgba(0, 255, 136, 0.3);
}

.project-card.featured:hover {
    border-color: rgba(0, 255, 136, 0.5);
    box-shadow: var(--neural-glow-accent);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--neural-bg-overlay);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    padding: 20px;
}

.overlay-content h4 {
    color: var(--neural-text-primary);
    margin-bottom: 10px;
    font-size: 18px;
}

.overlay-content p {
    color: var(--neural-text-secondary);
    margin-bottom: 20px;
    font-size: 14px;
}

.project-links {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.project-link {
    background: var(--neural-primary);
    color: var(--neural-bg-primary);
    padding: 8px 16px;
    border-radius: var(--border-radius);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-normal);
}

.project-link:hover {
    background: var(--neural-secondary);
    transform: translateY(-2px);
}

.project-content {
    padding: 30px;
}

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

.project-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--neural-text-primary);
    margin-bottom: 4px;
}

.project-date {
    font-size: 14px;
    color: var(--neural-text-muted);
    background: rgba(0, 212, 255, 0.1);
    padding: 4px 12px;
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.performance-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    display: inline-block;
}

.badge.success {
    background: rgba(0, 255, 136, 0.1);
    color: var(--neural-accent);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.badge.primary {
    background: rgba(0, 212, 255, 0.1);
    color: var(--neural-primary);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.badge.secondary {
    background: rgba(99, 102, 241, 0.1);
    color: var(--neural-secondary);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

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

.tech-stack {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tech {
    background: rgba(139, 92, 246, 0.1);
    color: var(--neural-tertiary);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.projects-cta {
    margin-top: 60px;
    text-align: center;
}

/* ===========================
   SKILLS SECTION
   ========================== */

.skills-section {
    padding: var(--section-padding);
}

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

.skill-category {
    background: var(--neural-bg-card);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.skill-category:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-5px);
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neural-primary), var(--neural-secondary), var(--neural-tertiary));
}

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

.category-header i {
    color: var(--neural-primary);
    font-size: 20px;
}

.category-header h3 {
    color: var(--neural-text-primary);
    font-size: 18px;
    font-weight: 600;
}

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

.skill-node {
    background: rgba(0, 212, 255, 0.1);
    color: var(--neural-primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all var(--transition-normal);
    cursor: default;
}

.skill-node:hover {
    background: var(--neural-primary);
    color: var(--neural-bg-primary);
    transform: scale(1.05);
    box-shadow: var(--neural-glow-primary);
}

/* ===========================
   CONTACT SECTION
   ========================== */

.contact-section {
    padding: var(--section-padding);
    background: var(--neural-bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background: var(--neural-bg-card);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(0, 212, 255, 0.1);
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid rgba(0, 212, 255, 0.3);
}

.contact-icon i {
    font-size: 32px;
    color: var(--neural-primary);
}

.icon-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--neural-primary), transparent, var(--neural-primary));
    opacity: 0;
    transition: opacity var(--transition-normal);
    animation: rotate 2s linear infinite;
}

.contact-card:hover .icon-glow {
    opacity: 0.5;
}

.contact-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--neural-text-primary);
    margin-bottom: 8px;
}

.contact-info {
    color: var(--neural-text-secondary);
    margin-bottom: 24px;
    font-size: 16px;
}

.contact-btn {
    background: transparent;
    color: var(--neural-primary);
    padding: 12px 24px;
    border: 2px solid var(--neural-primary);
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.contact-btn:hover {
    background: var(--neural-primary);
    color: var(--neural-bg-primary);
    transform: translateX(5px);
}

.contact-footer {
    text-align: center;
    position: relative;
}

.contact-footer p {
    font-size: 18px;
    color: var(--neural-text-secondary);
    margin-bottom: 20px;
}

.neural-pulse {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    border-radius: 50%;
    background: radial-gradient(circle, var(--neural-primary), transparent);
    animation: neural-pulse 2s ease-in-out infinite;
}

@keyframes neural-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

/* ===========================
   FOOTER
   ========================== */

.footer {
    background: var(--neural-bg-primary);
    padding: 40px 0;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

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

.footer-content p {
    color: var(--neural-text-muted);
    font-size: 14px;
}

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

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

.footer-links a:hover {
    color: var(--neural-primary);
}

/* ===========================
   ANIMATIONS
   ========================== */

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===========================
   RESPONSIVE DESIGN
   ========================== */

/* Medium screens - Layout is already responsive */
@media (max-width: 1100px) {
    .hero-main {
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }
    
    .nav-container {
        padding: 0 15px; /* Reduced side padding on mobile */
    }
    
    .nav-brand {
        padding: 10px 20px 10px 0; /* Increased right padding on mobile */
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(0, 212, 255, 0.2);
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        width: 100%;
        padding: 15px 20px;
        justify-content: flex-start;
        border-radius: 0;
        border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    /* Hamburger animation */
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-section {
        padding: 100px 0 40px 0;
    }
    
    .hero-main {
        max-width: 600px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-metrics {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-cta {
        justify-content: center;
        flex-direction: row; /* Ensure buttons stay in a row */
        align-items: center;
        margin-bottom: 40px;
    }
    
    /* Skills Flow Responsive */
    .skills-flow-container {
        max-width: 500px;
        height: 70px;
        margin: 25px auto 35px auto;
        display: flex !important;
        overflow: hidden !important;
    }
    
    .skills-flow-track {
        animation: skillsFlow 75s linear infinite;
        gap: 25px;
    }
    
    .skill-icon {
        min-width: 60px;
        height: 50px;
        flex-shrink: 0;
    }
    
    .skill-icon i {
        font-size: 16px;
    }
    
    .skill-icon span {
        font-size: 9px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-section .section-header {
        margin-bottom: 40px;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-marker {
        left: 0;
    }
    
    .academic-project .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .project-tech {
        font-size: 11px;
    }
    
    .project-card.featured {
        grid-column: span 1;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-brand {
        padding: 10px 25px 10px 0; /* Even more right padding on small mobile */
    }
    
    .hero-section {
        padding: 90px 0 30px 0;
    }
    
    .hero-main {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .hero-metrics {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-cta {
        flex-direction: row; /* Keep buttons side by side */
        justify-content: center;
        align-items: center;
        gap: 15px;
        margin-bottom: 30px;
    }
    
    /* Skills Flow Mobile */
    .skills-flow-container {
        max-width: 400px;
        height: 60px;
        margin: 20px auto 30px auto;
        display: flex !important;
        overflow: hidden !important;
    }
    
    .skills-flow-track {
        animation: skillsFlow 60s linear infinite;
        gap: 20px;
    }
    
    .skill-icon {
        min-width: 50px;
        height: 40px;
        flex-shrink: 0;
    }
    
    .skill-icon i {
        font-size: 14px;
        margin-bottom: 1px;
    }
    
    .skill-icon span {
        font-size: 8px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: auto; /* Remove fixed width */
        max-width: 200px; /* Reduce max width */
        justify-content: center;
        flex: 0 0 auto; /* Don't grow or shrink */
    }
}

/* Extra small screens */
@media (max-width: 320px) {
    /* Additional styles for extra small screens if needed */
}

/* ===========================
   UTILITY & HELPER CLASSES
   ========================== */

.fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out forwards;
}

.text-gradient {
    background: linear-gradient(135deg, var(--neural-primary), var(--neural-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.neural-glow {
    box-shadow: var(--neural-glow-primary);
}

.no-scroll {
    overflow: hidden;
}