﻿/* 
   NEURAL HOLOGRAM V4.5 - CSS SYSTEM
   - Mobile Optimization
   - Responsive Layouts
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg-deep: #050510;
    --glass-panel: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --neon-cyan: #00F0FF;
    --neon-purple: #7000FF;
    --text-white: #FFFFFF;
    --text-dim: #A0A0C0;

    --font-head: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-white);
    font-family: var(--font-body);
    overflow-x: hidden;
    cursor: none;
    /* Hide default cursor for custom cursor */
}

/* ===================================================================
   CUSTOM CYBERPUNK CURSOR
   =================================================================== */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.15s ease, opacity 0.15s ease;
    box-shadow: 0 0 15px var(--neon-cyan), inset 0 0 10px var(--neon-cyan);
    opacity: 0;
}

.custom-cursor.active {
    opacity: 1;
}

.custom-cursor-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--neon-purple);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.3s ease;
    box-shadow: 0 0 20px var(--neon-purple);
    opacity: 0.7;
}

.custom-cursor.hover {
    transform: scale(1.5);
    border-color: var(--neon-purple);
    box-shadow: 0 0 25px var(--neon-purple), inset 0 0 15px var(--neon-purple);
}

/* ===================================================================
   SCROLL-TRIGGERED ANIMATIONS
   =================================================================== */
.scroll-fade {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-fade.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays for child elements */
.glass-card.animate-in {
    animation: slideInUp 0.8s ease forwards;
}

.project-card.animate-in {
    animation: slideInUp 0.6s ease forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================================================
   GLITCH TEXT EFFECTS
   =================================================================== */
.glitch-text-pro {
    position: relative;
    animation: glitch-main 3s infinite;
}

.glitch-text-pro::before,
.glitch-text-pro::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text-pro::before {
    left: 2px;
    text-shadow: -2px 0 var(--neon-cyan);
    animation: glitch-before 2s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.glitch-text-pro::after {
    left: -2px;
    text-shadow: 2px 0 var(--neon-purple);
    animation: glitch-after 2.5s infinite;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

@keyframes glitch-main {

    0%,
    90%,
    100% {
        transform: translate(0);
    }

    91%,
    93%,
    95%,
    97% {
        transform: translate(-2px, 2px);
    }

    92%,
    94%,
    96% {
        transform: translate(2px, -2px);
    }
}

@keyframes glitch-before {

    0%,
    90%,
    100% {
        transform: translate(0);
    }

    91%,
    93%,
    95% {
        transform: translate(-3px, 0);
    }
}

@keyframes glitch-after {

    0%,
    90%,
    100% {
        transform: translate(0);
    }

    92%,
    94%,
    96% {
        transform: translate(3px, 0);
    }
}

/* ===================================================================
   3D TILT EFFECTS & ENHANCED INTERACTIVITY
   =================================================================== */

/* Skill Pills - Enhanced Hover */
.skill-pill {
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    position: relative;
    cursor: pointer;
}

.skill-pill:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.3),
        0 0 20px rgba(0, 240, 255, 0.2);
    border-color: var(--neon-cyan);
}

.skill-pill:active {
    transform: translateY(-2px) scale(1.02);
}

/* Glass Cards - Enhanced Depth */
.glass-card {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 240, 255, 0.15),
        0 0 30px rgba(112, 0, 255, 0.1);
    border-color: rgba(0, 240, 255, 0.3);
}

/* Project Cards - Enhanced 3D Effect */
.project-card {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.project-card:hover {
    transform: translateY(-15px) rotateX(2deg);
    box-shadow: 0 30px 80px rgba(0, 240, 255, 0.2),
        0 0 40px rgba(112, 0, 255, 0.15);
}

/* Orbit Items - Pulsing Glow */
.orbit-item {
    transition: all 0.3s ease;
    animation: float 6s ease-in-out infinite;
}

.orbit-item:hover {
    transform: scale(1.2);
    box-shadow: 0 0 30px var(--neon-cyan),
        inset 0 0 20px rgba(0, 240, 255, 0.2);
    border-color: var(--neon-cyan);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Buttons - Magnetic Effect Ready */
.btn-primary-holo,
.btn-secondary-holo {
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.btn-primary-holo:hover,
.btn-secondary-holo:hover {
    box-shadow: 0 0 40px var(--neon-cyan),
        0 10px 30px rgba(0, 240, 255, 0.3);
    transform: translateY(-3px);
}

.btn-primary-holo:active,
.btn-secondary-holo:active {
    transform: translateY(-1px);
}

/* Filter Buttons - Enhanced Active State */
.filter-btn {
    transition: all 0.3s ease;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 240, 255, 0.2);
}

.filter-btn.active {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--neon-cyan);
}

/* Parallax Layers - For scroll-based parallax */
.parallax-layer {
    transition: transform 0.1s ease-out;
}

/* Floating Animation for Decorative Elements */
@keyframes floatSlow {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-15px) rotate(2deg);
    }

    66% {
        transform: translateY(5px) rotate(-2deg);
    }
}

.floating-tag {
    animation: floatSlow 8s ease-in-out infinite;
}

.floating-tag:nth-child(1) {
    animation-delay: 0s;
}

.floating-tag:nth-child(2) {
    animation-delay: -2.5s;
}

.floating-tag:nth-child(3) {
    animation-delay: -5s;
}

/* Holographic Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(0, 240, 255, 0.1),
            transparent);
    transition: left 0.5s ease;
}

.glass-card:hover::before {
    left: 100%;
}

/* ===================================================================
   ENHANCED SECTION TITLES
   =================================================================== */
.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
    margin-bottom: 3rem;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    box-shadow: 0 0 10px var(--neon-cyan);
    animation: scanLine 2s ease-in-out infinite;
}

.section-title::after {
    content: '▌';
    position: absolute;
    right: -20px;
    color: var(--neon-cyan);
    animation: blink 1s step-end infinite;
}

@keyframes scanLine {

    0%,
    100% {
        transform: scaleX(1);
        opacity: 1;
    }

    50% {
        transform: scaleX(0.9);
        opacity: 0.7;
    }
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* Holographic Text Effect */
.neon-text {
    /* Glow removed as requested */
    color: var(--neon-cyan);
    font-weight: 600;
}

@keyframes neonPulse {

    0%,
    100% {
        text-shadow: 0 0 10px var(--neon-cyan),
            0 0 20px var(--neon-cyan),
            0 0 30px var(--neon-cyan);
    }

    50% {
        text-shadow: 0 0 15px var(--neon-cyan),
            0 0 30px var(--neon-cyan),
            0 0 45px var(--neon-cyan),
            0 0 60px var(--neon-purple);
    }
}

/* ===================================================================
   MOBILE OPTIMIZATIONS FOR NEW FEATURES
   =================================================================== */
@media (max-width: 768px) {

    /* Hide custom cursor on mobile */
    .custom-cursor,
    .custom-cursor-trail {
        display: none !important;
    }

    /* Re-enable default cursor on mobile */
    body {
        cursor: default !important;
    }

    /* Reduce tilt effects on mobile for performance */
    .glass-card:hover,
    .project-card:hover,
    .skill-pill:hover {
        transform: translateY(-5px) !important;
    }

    /* Simplify parallax on mobile */
    .holo-container {
        transform: none !important;
    }

    /* Reduce animation complexity on mobile */
    .loader-ring {
        border-width: 1px;
    }

    /* Ensure glitch effect doesn't overflow on small screens */
    .glitch-text-pro::before,
    .glitch-text-pro::after {
        display: none;
    }

    /* Reduce floating animation intensity */
    @keyframes float {

        0%,
        100% {
            transform: translateY(0px);
        }

        50% {
            transform: translateY(-5px);
        }
    }
}

/* CANVAS */
#neural-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hologram-overlay {
    position: relative;
    z-index: 1;
}

/* TYPOGRAPHY */
a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-head);
}

.orig-name {
    font-size: 1.2rem;
    color: var(--text-dim);
    font-weight: 400;
    margin-left: 1rem;
    vertical-align: middle;
}

/* NAVBAR */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(5, 5, 16, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo-holo {
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--text-white);
    text-shadow: 0 0 10px var(--neon-cyan);
    letter-spacing: 1px;
}

/* DESKTOP NAV */
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-item:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px var(--neon-cyan);
}

/* MOBILE NAV */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

.nav-btn-mobile {
    display: none;
}

/* Hidden on Desktop */
.desktop-only {
    display: inline-block;
}

/* SCROLL PROGRESS BAR */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
    z-index: 9999;
    width: 0%;
    transition: width 0.1s;
}

/* SYSTEM STATUS WIDGET */
#system-status {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--neon-cyan);
    z-index: 100;
    text-align: right;
    pointer-events: none;
    /* Let clicks pass through */
    opacity: 0.7;
}

@media (max-width: 768px) {
    #system-status {
        bottom: 1rem;
        right: 1rem;
        font-size: 0.65rem;
        gap: 0.3rem;
    }

    .status-item {
        padding: 0.2rem 0.4rem;
    }
}

.status-item {
    background: rgba(0, 0, 0, 0.6);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    display: inline-block;
    align-self: flex-end;
    backdrop-filter: blur(5px);
}

.status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #00ff00;
    border-radius: 50%;
    margin-right: 5px;
    box-shadow: 0 0 5px #00ff00;
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.btn-glow {
    border: 1px solid var(--neon-purple);
    color: var(--neon-purple);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.btn-glow:hover {
    background: var(--neon-purple);
    color: white;
    box-shadow: 0 0 15px var(--neon-purple);
}

/* HERO PRO - GRID SYSTEM */
.hero-holo {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
    /* Prevent orbit overflow */
}

.hero-grid-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    max-width: 1400px;
    width: 100%;
    align-items: center;
}

/* LEFT SIDE - TEXT */
.hero-text-side {
    text-align: left;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
    animation: fadeInDown 1s ease-out;
}

/* PRO GLITCH TEXT */
.glitch-text-pro {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: white;
    position: relative;
    letter-spacing: -2px;
}

.glitch-text-pro::before {
    content: attr(data-text);
    position: absolute;
    left: -2px;
    text-shadow: 2px 0 #ff00c1;
    top: 0;
    overflow: hidden;
    clip: rect(0, 900px, 0, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

.glitch-text-pro::after {
    content: attr(data-text);
    position: absolute;
    left: 2px;
    text-shadow: -2px 0 #00fff9;
    top: 0;
    overflow: hidden;
    clip: rect(0, 900px, 0, 0);
    animation: glitch-anim-2 2s infinite linear alternate-reverse;
}

/* SUBTITLE & TYPING */
.hero-subtitle-pro {
    font-size: 1.5rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    /* Fallback or import if needed */
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-subtitle-pro .prefix {
    color: var(--neon-purple);
    font-weight: 700;
}

.cursor-blink {
    color: var(--neon-cyan);
    animation: blinkCursor 0.8s infinite;
}

/* DESCRIPTION */
.hero-desc-pro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #b0b0d0;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-desc-pro .highlight {
    color: var(--text-white);
    border-bottom: 1px solid var(--neon-cyan);
}

/* STATS ROW */
.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-val {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 0.2rem;
}

/* BUTTONS PRO */
.hero-actions-pro {
    display: flex;
    gap: 1.5rem;
}

.btn-primary-holo {
    background: var(--neon-purple);
    color: white;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid var(--neon-purple);
    box-shadow: 0 0 20px rgba(112, 0, 255, 0.4);
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-primary-holo:hover {
    background: transparent;
    box-shadow: 0 0 30px rgba(112, 0, 255, 0.6);
    transform: translateY(-2px);
}

.btn-secondary-holo {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-secondary-holo:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    transform: translateY(-2px);
}

/* RIGHT SIDE - HOLOGRAPHIC VISUALIZER */
.hero-visual-side {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.holo-container {
    position: relative;
    width: 400px;
    height: 400px;
    transform-style: preserve-3d;
    transform: rotateX(10deg) rotateY(-10deg);
}

/* CORE */
.holo-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    z-index: 10;
}

.core-inner {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, #fff, var(--neon-cyan));
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.8;
    animation: corePulse 3s infinite alternate;
}

.core-outer {
    position: absolute;
    inset: -20px;
    border: 2px dashed rgba(0, 240, 255, 0.3);
    border-radius: 50%;
    animation: spinSlow 50s linear infinite;
}

/* ORBITS */
.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transform-style: preserve-3d;
}

.ring-1 {
    width: 300px;
    height: 300px;
    margin-top: -150px;
    margin-left: -150px;
    animation: orbitRotate 20s linear infinite;
    border-color: rgba(0, 240, 255, 0.15);
}

.ring-2 {
    width: 450px;
    height: 450px;
    margin-top: -225px;
    margin-left: -225px;
    animation: orbitRotate 30s linear infinite reverse;
    border-color: rgba(112, 0, 255, 0.15);
}

/* ORBIT ITEMS */
.orbit-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    background: rgba(5, 5, 16, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    transform-style: preserve-3d;
}

.orbit-item img,
.orbit-item i {
    width: 24px;
    height: 24px;
    font-size: 24px;
    object-fit: contain;
    /* Counter-rotate to keep upright */
    animation: counterRotate 20s linear infinite;
}

/* Position items on Ring 1 */
.ring-1 .orbit-item:nth-child(1) {
    transform: rotate(0deg) translate(150px) rotate(0deg);
}

.ring-1 .orbit-item:nth-child(2) {
    transform: rotate(120deg) translate(150px) rotate(-120deg);
}

.ring-1 .orbit-item:nth-child(3) {
    transform: rotate(240deg) translate(150px) rotate(-240deg);
}

/* Position items on Ring 2 (4 items) */
.ring-2 .orbit-item:nth-child(1) {
    transform: rotate(0deg) translate(225px) rotate(0deg);
}

.ring-2 .orbit-item:nth-child(2) {
    transform: rotate(90deg) translate(225px) rotate(-90deg);
}

.ring-2 .orbit-item:nth-child(3) {
    transform: rotate(180deg) translate(225px) rotate(-180deg);
}

.ring-2 .orbit-item:nth-child(4) {
    transform: rotate(270deg) translate(225px) rotate(-270deg);
}

/* FLOATING TAGS */
.floating-tag {
    position: absolute;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    border-radius: 4px;
    font-size: 0.8rem;
    font-family: monospace;
    white-space: nowrap;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}

.tag-1 {
    top: 10%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.tag-2 {
    bottom: 20%;
    left: 0%;
    animation: float 7s ease-in-out infinite 1s;
}

.tag-3 {
    bottom: 5%;
    right: 20%;
    animation: float 5s ease-in-out infinite 0.5s;
}

/* ANIMATIONS */
@keyframes orbitRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes counterRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

@keyframes corePulse {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.9;
        box-shadow: 0 0 50px var(--neon-cyan);
    }
}

@keyframes spinSlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes blinkCursor {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-grid-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-text-side {
        text-align: center;
    }

    .hero-subtitle-pro {
        justify-content: center;
        font-size: 1.2rem;
    }

    .hero-actions-pro {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 2rem;
    }

    .hero-visual-side {
        height: 400px;
    }

    .holo-container {
        transform: scale(0.8);
    }

    .glitch-text-pro {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }

    .hero-desc-pro {
        font-size: 1rem;
        max-width: 100%;
    }
}

/* SECTIONS */
section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.section-title::before {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
    flex-shrink: 0;
}

/* CARDS COMMON */
.glass-card {
    background: var(--glass-panel);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    transition: 0.3s;
    overflow: hidden;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ABOUT */
.about-container {
    display: flex;
    gap: 3rem;
    align-items: center;
}

/* ABOUT - CYBER FOCUS EFFECT */
.about-frame {
    flex: 0 0 350px;
    border-radius: 20px;
    position: relative;
    z-index: 10;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    padding: 6px;
}

/* Base Image */
.about-img {
    width: 100%;
    display: block;
    border-radius: 16px;
    transition: 0.5s;
    filter: brightness(1.05) contrast(1.05);
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0px transparent;
}

/* The Glowing Border Container */
.about-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--neon-cyan), transparent 40%, transparent 60%, var(--neon-purple));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.8;
    transition: 0.5s;
    animation: borderPulse 4s infinite alternate;
}

/* Corner Accents */
.about-frame::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 28px;
    border: 2px solid transparent;
    background:
        linear-gradient(to right, var(--neon-cyan), var(--neon-cyan)) top left,
        linear-gradient(to bottom, var(--neon-cyan), var(--neon-cyan)) top left,
        linear-gradient(to left, var(--neon-purple), var(--neon-purple)) bottom right,
        linear-gradient(to top, var(--neon-purple), var(--neon-purple)) bottom right;
    background-size: 20px 2px, 2px 20px;
    background-repeat: no-repeat;
    opacity: 0.6;
    transition: 0.5s;
    pointer-events: none;
}

@keyframes borderPulse {
    0% {
        opacity: 0.5;
        filter: hue-rotate(0deg);
    }

    100% {
        opacity: 1;
        filter: hue-rotate(20deg);
    }
}

/* HOVER EFFECTS */
.about-frame:hover {
    transform: translateY(-5px);
}

.about-frame:hover::after {
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    opacity: 1;
    background-size: 30px 2px, 2px 30px;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
}

.about-frame:hover .about-img {
    filter: brightness(1.1) contrast(1.1);
    box-shadow: 0 0 30px rgba(112, 0, 255, 0.3);
}

.about-text-panel {
    padding: 3rem;
    flex: 1;
}

.card-head {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.card-txt {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* SKILLS */
.skills-wrapper-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.skill-group {
    padding: 1.5rem;
}

.skill-group-title {
    margin-bottom: 1rem;
    color: var(--neon-cyan);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-grid-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    /* More tech-like than round */
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-dim);
    /* Slightly dimmer by default */
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.skill-pill img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: grayscale(0.4);
    transition: 0.3s;
}

.skill-pill i {
    font-size: 1.1rem;
    transition: 0.3s;
}

.skill-pill:hover {
    border-color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.05);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.15);
}

.skill-pill:hover img {
    filter: grayscale(0);
    transform: scale(1.1);
}

.skill-pill:hover i {
    transform: scale(1.1);
    filter: drop-shadow(0 0 5px currentColor);
}

/* Optional: Add a tiny "tech corner" */
.skill-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    border-top: 1px solid var(--neon-cyan);
    border-left: 1px solid var(--neon-cyan);
    opacity: 0;
    transition: 0.3s;
}

.skill-pill:hover::before {
    opacity: 1;
}

/* PROJECT FILTERS */
.project-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-inline: auto;
    padding: 1rem 2rem;
    border-radius: 50px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-dim);
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    font-family: var(--font-body);
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

.filter-btn:hover {
    background: rgba(0, 240, 255, 0.1);
    color: white;
    border-color: var(--neon-cyan);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.filter-btn.active {
    background: var(--neon-cyan);
    color: #000;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
    font-weight: 700;
    transform: scale(1.05);
}

/* CAROUSEL 2-COLUMN SYSTEM */
.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
}

/* Carousel Container */
.project-carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 2rem;
    padding: 1rem 0;
    /* Add top/bottom padding for hover effects */
    width: 100%;
    scrollbar-width: none;
    /* Firefox: Hide scrollbar */
    -ms-overflow-style: none;
    /* IE: Hide scrollbar */
}

/* Webkit (Chrome/Safari) Hide Scrollbar */
.project-carousel-track::-webkit-scrollbar {
    display: none;
}

/* Individual Project Card - 2.5 Items visible */
.project-card {
    position: relative;
    /*
       Calculation for 2.5 items:
       Container Width = 100%
       Gap = 2rem (32px)
       We want 2 full items + 0.5 item visible = 2.5 items.
       However, usually "2.5" implies seeing 2 full and a peek of the 3rd.
       Let's use 40% width. 40% + 40% + 20% (half card) = 100% visible width roughly.
       flex: 0 0 38vw is often used for responsiveness, but percentage of container is safer.
       Let's try 38% to allow for gaps.
    */
    flex: 0 0 38%;
    min-width: 300px;
    /* Minimum width for mobile */
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    z-index: 1;
    /* Ensure it's above the spotlight effect when not hovered */
}

@media (max-width: 768px) {
    .project-card {
        flex: 0 0 85%;
        /* Mobile: Show almost 1 full card with peek */
        min-width: unset;
        height: 400px;
    }
}

/* SPOTLIGHT EFFECT (Retained) */
.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 2px;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0),
            rgba(255, 255, 255, 0.3),
            transparent 40%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 5;
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.project-img-thumb {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.project-img-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 5, 16, 0.8), transparent);
    opacity: 0.6;
    transition: 0.3s;
}

.project-card:hover .project-img-thumb::after {
    opacity: 0;
}

.project-img-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-img-thumb img {
    transform: scale(1.15);
}

.p-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

/* Card Holographic Overlay */
.p-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.5), transparent);
    opacity: 0;
    transition: 0.5s;
}

.project-card:hover .p-content::before {
    opacity: 1;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.tech-pill {
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    background: rgba(112, 0, 255, 0.1);
    color: #ceb0fa;
    border: 1px solid rgba(112, 0, 255, 0.2);
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: 0.3s;
}

.project-card:hover .tech-pill {
    background: rgba(112, 0, 255, 0.2);
    border-color: var(--neon-purple);
    color: white;
    transform: translateY(-2px);
}

.links {
    margin-top: auto;
    display: flex;
    gap: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: var(--text-dim);
    transition: 0.3s;
    font-weight: 500;
}

.link-btn:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px var(--neon-cyan);
    transform: translateX(3px);
}

/* NAV BUTTONS */
.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    transition: 0.2s;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.nav-btn:hover {
    background: var(--neon-cyan);
    color: black;
    box-shadow: 0 0 15px var(--neon-cyan);
}

.prev-btn {
    margin-right: -1rem;
    position: relative;
}

.next-btn {
    margin-left: -1rem;
    position: relative;
}

/* RESPONSIVE */

/* RESPONSIVE UPGRADES v2.0 */
@media (max-width: 1024px) {
    .hero-holo {
        padding-top: 6rem;
    }

    .glitch-text {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {

    /* NAVIGATION */
    .mobile-menu-toggle {
        display: block;
        position: relative;
        z-index: 1002;
        padding: 0.5rem;
        -webkit-tap-highlight-color: transparent;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(5, 5, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid var(--glass-border);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        padding: 2rem;
    }

    .nav-links.nav-active {
        right: 0;
    }

    .nav-item {
        font-size: 1.3rem;
        margin: 1rem 0;
        padding: 0.8rem 1.5rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        -webkit-tap-highlight-color: transparent;
    }

    .desktop-only {
        display: none !important;
    }

    .nav-btn-mobile {
        display: inline-block;
        margin-top: 2rem;
        padding: 1rem 2.5rem;
        border: 1px solid var(--neon-purple);
        color: var(--neon-purple);
        border-radius: 30px;
        font-weight: 600;
        -webkit-tap-highlight-color: transparent;
    }

    /* HERO */
    .hero-holo {
        padding: 5rem 1rem 2rem;
        min-height: auto;
    }

    .glitch-text-pro {
        font-size: clamp(2rem, 10vw, 3rem);
        line-height: 1.2;
        letter-spacing: -1px;
    }

    .hero-subtitle-pro {
        font-size: 1rem;
        flex-wrap: wrap;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .btn-primary-holo,
    .btn-secondary-holo {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    .hero-actions-pro {
        gap: 1rem;
        width: 100%;
    }

    /* ABOUT */
    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .about-frame {
        flex: 0 0 auto;
        width: 90%;
        max-width: 280px;
        margin: 0 auto;
    }

    .about-text-panel {
        padding: 1.5rem;
    }

    .card-head {
        font-size: 1.1rem;
    }

    .card-txt {
        font-size: 0.9rem;
    }

    /* TIMELINES */
    .timeline {
        padding-left: 1.5rem;
        border-left-width: 1px;
    }

    .timeline::after {
        width: 1px;
        left: -1px;
    }

    .timeline-item {
        margin-left: 0 !important;
        /* Override inline style */
        padding: 1.5rem !important;
        /* Override inline style */
        margin-bottom: 2rem;
    }

    .timeline-item::before {
        left: -2.05rem;
        width: 0.8rem;
        height: 0.8rem;
        top: 1.8rem;
    }

    .edu-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* PROJECTS */
    .project-filters {
        gap: 0.5rem;
        padding: 0.8rem 1rem;
    }

    .filter-btn {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .project-card {
        min-width: 100%;
        max-width: 100%;
        margin-right: 0;
    }

    .project-carousel-track {
        overflow-x: auto;
        gap: 1rem;
        scroll-snap-type: x mandatory;
        padding: 1rem 0.5rem;
        -webkit-overflow-scrolling: touch;
    }

    .project-card {
        scroll-snap-align: center;
    }

    .nav-btn {
        display: none;
    }

    .project-img-thumb {
        height: 180px;
    }

    .p-content {
        padding: 1.5rem;
    }

    .card-head {
        font-size: 1.1rem;
    }

    /* CONTACT */
    .contact-wrapper {
        flex-direction: column;
    }

    .terminal-card {
        width: 100%;
        padding: 1.5rem;
    }

    /* SKILLS */
    .skills-wrapper-enhanced {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .skill-group {
        padding: 1.5rem;
    }

    .skill-pill {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    /* CERTIFICATIONS */
    .cert-grid-badges {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cert-badge {
        padding: 1.5rem;
    }

    /* PUBLICATIONS */
    .pub-log-card {
        padding: 1.5rem;
    }

    .pub-title {
        font-size: 1.1rem;
    }

    .pub-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .pub-actions {
        flex-direction: column;
    }

    .btn-access,
    .btn-copy-citation {
        width: 100%;
        justify-content: center;
    }

    /* NEURAL UPLINKS */
    .neural-uplink-array {
        gap: 1rem;
    }

    .uplink-node {
        width: 100px;
        padding: 1.2rem;
    }

    /* GLOBAL */
    .section-title {
        font-size: 1.8rem;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .section-title::before {
        width: 30px;
        height: 3px;
    }

    .orig-name {
        display: block;
        margin-left: 0;
        font-size: 0.85rem;
        margin-top: 0.3rem;
        width: 100%;
    }

    section {
        padding: 4rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .logo-holo {
        font-size: 1.1rem;
    }

    .glitch-text-pro {
        font-size: clamp(1.8rem, 12vw, 2.5rem);
    }

    .hero-holo {
        padding: 4rem 1rem 2rem;
    }

    .hero-subtitle-pro {
        font-size: 0.9rem;
    }

    .hero-desc-pro {
        font-size: 0.9rem;
    }

    .hero-actions-pro {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }

    .btn-primary-holo,
    .btn-secondary-holo {
        width: 100%;
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
    }

    .hero-visual-side {
        height: 300px;
    }

    .holo-container {
        transform: scale(0.6);
    }

    .floating-tag {
        font-size: 0.7rem;
        padding: 0.4rem 0.7rem;
    }

    .skills-wrapper-enhanced {
        grid-template-columns: 1fr;
    }

    .about-frame {
        width: 100%;
        max-width: 100%;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .orig-name {
        font-size: 0.75rem;
    }

    .terminal-card {
        padding: 1.2rem;
    }

    .terminal-line {
        flex-direction: column;
        gap: 0.3rem;
        align-items: flex-start;
    }

    .terminal-prompt {
        padding-top: 0;
    }

    .uplink-node {
        width: 90px;
        padding: 1rem;
    }

    .uplink-icon {
        font-size: 1.5rem;
    }

    .uplink-text {
        font-size: 0.7rem;
    }

    .sys-status-bar {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
    }

    .sys-stat {
        font-size: 0.65rem;
    }
}

/* CERTIFICATIONS - NEURAL BADGES */
.cert-grid-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.cert-badge {
    position: relative;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-top: 2px solid rgba(0, 240, 255, 0.3);
}

.cert-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 240, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: 0.4s;
}

.cert-badge:hover::before {
    opacity: 1;
}

.cert-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    transition: 0.4s;
    padding: 10px;
}

.cert-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cert-badge:hover .cert-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.cert-details {
    position: relative;
    z-index: 2;
    width: 100%;
}

.cert-id {
    font-size: 0.7rem;
    font-family: monospace;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    opacity: 0.7;
}

.cert-name {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.4;
    min-height: 3rem;
    /* Align titles */
}

.cert-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 0.8rem;
}

.cert-issuer {
    color: var(--text-dim);
}

.cert-status {
    color: #00ff00;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
    font-size: 0.8rem;
}

.btn-verify {
    display: inline-block;
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--neon-cyan);
    font-size: 0.9rem;
    border-radius: 4px;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.btn-verify:hover {
    background: var(--neon-cyan);
    color: black;
    box-shadow: 0 0 15px var(--neon-cyan);
}

/* Hologram Scan Line */
.holo-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--neon-cyan);
    opacity: 0;
    box-shadow: 0 0 10px var(--neon-cyan);
    pointer-events: none;
}

.cert-badge:hover .holo-scan-line {
    animation: scanDown 1.5s linear infinite;
    opacity: 0.5;
}

@keyframes scanDown {
    0% {
        top: 0%;
    }

    100% {
        top: 100%;
    }
}

/* PUBLICATIONS - RESEARCH LOGS */
.pub-grid {
    display: grid;
    gap: 2rem;
}

.pub-log-card {
    padding: 2rem;
    border-left: 4px solid var(--neon-purple);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pub-log-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(112, 0, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: 0.4s;
    pointer-events: none;
}

.pub-log-card:hover::before {
    opacity: 1;
}

.pub-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--neon-purple);
}

.pub-type {
    background: rgba(112, 0, 255, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.pub-title {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.pub-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.pub-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pub-abstract {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.pub-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-access {
    background: var(--neon-purple);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-access:hover {
    box-shadow: 0 0 15px var(--neon-purple);
    transform: translateY(-2px);
}

.btn-copy-citation {
    background: transparent;
    border: 1px solid var(--text-dim);
    color: var(--text-dim);
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    font-size: 0.9rem;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
}

.btn-copy-citation:hover {
    border-color: white;
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.hologram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* TIMELINE - DATA STREAM UPGRADE */
.timeline {
    border-left: 2px solid rgba(0, 240, 255, 0.2);
    /* Faint cyan */
    padding-left: 2.5rem;
    position: relative;
}

/* Pulsing Line Overlay */
.timeline::after {
    content: '';
    position: absolute;
    top: 0;
    left: -1px;
    /* Align with border-left */
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--neon-cyan), transparent);
    background-size: 100% 200px;
    animation: timelineFlow 3s linear infinite;
    opacity: 0.8;
}

@keyframes timelineFlow {
    0% {
        background-position: 0 -200px;
    }

    100% {
        background-position: 0 100%;
    }
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

/* Timeline Node */
.timeline-item::before {
    content: '';
    position: absolute;
    left: -3.15rem;
    /* Center on line */
    top: 1.5rem;
    width: 1rem;
    height: 1rem;
    background: var(--bg-deep);
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-cyan);
    z-index: 2;
    transition: 0.3s;
}

.timeline-item:hover::before {
    background: var(--neon-cyan);
    box-shadow: 0 0 20px var(--neon-cyan);
}

/* EDU CARD STYLES */
.edu-card {
    padding: 2rem;
    border-left: 3px solid transparent;
    /* Prepare for hover */
    transition: 0.3s;
}

.edu-card:hover {
    border-left-color: var(--neon-cyan);
    transform: translateX(10px);
}

.edu-header {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.edu-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    /* Light bg for logos */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    flex-shrink: 0;
    overflow: hidden;
    padding: 5px;
}

.edu-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.section-label {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.recommendation-text {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
    font-size: 0.9rem;
    color: var(--text-dim);
}

.text-link {
    color: var(--neon-cyan);
    text-decoration: none;
    border-bottom: 1px dashed var(--neon-cyan);
    transition: 0.2s;
}

.text-link:hover {
    color: white;
    border-bottom-style: solid;
    text-shadow: 0 0 5px var(--neon-cyan);
}

/* ── EXPERIENCE CARD ENHANCED ── */
.exp-card {
    padding: 0;
    overflow: hidden;
    margin-left: 4rem;
}

.exp-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1.5rem;
    background: rgba(0, 240, 255, 0.04);
    border-bottom: 1px solid rgba(0, 240, 255, 0.12);
}

.exp-company-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.exp-company-logo {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    padding: 3px;
}

.exp-company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.exp-logo-initials {
    width: 34px;
    height: 34px;
    background: rgba(0, 240, 255, 0.15);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--neon-cyan);
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.exp-company-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.3px;
}

.exp-status {
    font-size: 0.68rem;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-weight: 600;
    white-space: nowrap;
}

.exp-status.active {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.25);
}

.exp-status.active::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #00ff88;
    animation: exp-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes exp-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.5); }
    50%       { box-shadow: 0 0 0 5px rgba(0, 255, 136, 0); }
}

.exp-status.completed {
    color: var(--text-dim);
    border: 1px solid var(--glass-border);
}

.exp-card-body {
    padding: 1.25rem 1.5rem 1rem;
}

.exp-card-body .time-meta {
    font-size: 0.78rem;
    margin-bottom: 0.3rem;
    letter-spacing: 0.3px;
}

.exp-card-body .time-role {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.exp-card-body .time-desc {
    margin: 0.75rem 0 0;
    padding-left: 1.1rem;
}

.exp-card-body .time-desc li {
    margin-bottom: 0.45rem;
    line-height: 1.55;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.68);
}

.exp-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 0.85rem 1.5rem;
    border-top: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.15);
}

.exp-footer .tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    flex: 1;
}

.exp-footer .tech-pill {
    font-size: 0.72rem;
    padding: 0.2rem 0.55rem;
}

.exp-footer .btn-glow {
    font-size: 0.72rem;
    flex-shrink: 0;
}

/* CONTACT */
.contact-wrapper {
    display: flex;
    gap: 2rem;
    align-items: stretch;
    margin-bottom: 4rem;
}

.contact-info {
    flex: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.contact-channels {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.channel-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    transition: 0.3s;
}

.channel-item:hover {
    border-color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.05);
    transform: translateX(5px);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--neon-cyan);
    transition: 0.3s;
}

.channel-item:hover .icon-box {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}

/* CONTACT - TRANSMISSION TERMINAL */
.contact-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 2rem;
}

.terminal-card {
    background: rgba(10, 10, 15, 0.9);
    border: 1px solid var(--glass-border);
    border-top: 30px solid #2a2a35;
    /* Increased header height */
    border-radius: 8px;
    padding: 2rem;
    width: 100%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.terminal-card::before {
    content: 'msg_protocol.exe';
    position: absolute;
    top: -23px;
    left: 15px;
    /* Vertically centered text */
    font-family: monospace;
    font-size: 0.85rem;
    color: #bbb;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Terminal Buttons Removed */
.terminal-card::after {
    display: none;
}

.terminal-line {
    font-family: monospace;
    color: var(--neon-cyan);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    /* Align top for textareas */
    gap: 0.8rem;
}

.terminal-prompt {
    color: var(--neon-purple);
    font-weight: bold;
    padding-top: 0.5rem;
    /* Match input padding */
    user-select: none;
}

.cmd-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 240, 255, 0.3);
    color: white;
    font-family: monospace;
    font-size: 1rem;
    width: 100%;
    padding: 0.5rem 0;
    /* Remove side padding to sit flush */
    outline: none;
    transition: 0.3s;
    line-height: 1.5;
}

.cmd-input:focus {
    border-bottom-color: var(--neon-cyan);
    box-shadow: 0 1px 0 var(--neon-cyan);
    background: rgba(0, 240, 255, 0.05);
}

.cmd-text {
    padding: 0.5rem 0;
    color: white;
}

.btn-terminal {
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    padding: 0.8rem 2rem;
    font-family: monospace;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 1rem;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-terminal:hover {
    background: var(--neon-cyan);
    color: black;
    box-shadow: 0 0 15px var(--neon-cyan);
}

.channel-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.channel-value {
    display: block;
    font-size: 1rem;
    color: white;
    font-weight: 600;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 200px;
}

.contact-form-panel {
    flex: 1.5;
    padding: 2.5rem;
}

.cyber-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--neon-cyan);
    margin-bottom: 0.5rem;
    font-family: monospace;
}

.hud-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 0;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.input-line {
    height: 1px;
    width: 0;
    background: var(--neon-cyan);
    transition: 0.4s;
    margin-top: -1px;
}

.hud-input:focus {
    border-color: transparent;
}

.hud-input:focus+.input-line {
    width: 100%;
    box-shadow: 0 0 10px var(--neon-cyan);
}

.btn-cyber-wide {
    width: 100%;
    background: var(--neon-cyan);
    color: black;
    padding: 1rem;
    font-weight: 700;
    border: none;
    font-family: var(--font-head);
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 95% 100%, 0 100%);
    margin-top: 1rem;
}

.btn-cyber-wide:hover {
    background: var(--neon-purple);
    color: white;
    box-shadow: 0 0 20px rgba(112, 0, 255, 0.5);
}

/* NEURAL UPLINK (SOCIALS) */
.neural-uplink-container {
    margin-top: 3rem;
    text-align: center;
    position: relative;
    z-index: 10;
}

.uplink-label {
    font-family: monospace;
    color: var(--text-dim);
    margin-bottom: 1rem;
    font-size: 0.8rem;
    letter-spacing: 2px;
    opacity: 0.7;
}

.neural-uplink-array {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.uplink-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem;
    background: rgba(10, 10, 15, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    width: 120px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    backdrop-filter: blur(10px);
}

.uplink-icon {
    font-size: 2rem;
    color: var(--text-white);
    transition: 0.3s;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.1));
}

.uplink-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--text-dim);
    transition: 0.3s;
}

.uplink-node:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.15);
}

.uplink-node:hover .uplink-icon {
    color: var(--neon-cyan);
    filter: drop-shadow(0 0 15px var(--neon-cyan));
    transform: scale(1.1);
}

.uplink-node:hover .uplink-text {
    color: white;
    text-shadow: 0 0 5px var(--neon-cyan);
}

/* Tech decorations on nodes */
.uplink-node::before {
    content: '';
    position: absolute;
    top: 5px;
    right: 5px;
    width: 6px;
    height: 6px;
    border-top: 2px solid var(--text-dim);
    border-right: 2px solid var(--text-dim);
    transition: 0.3s;
    opacity: 0.5;
}

.uplink-node:hover::before {
    border-color: var(--neon-cyan);
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    border-radius: 12px;
    opacity: 0.2;
}

/* SYSTEM FOOTER */
.system-footer {
    text-align: center;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
    position: relative;
    /* User requested removal of top border */
    border-top: none;
}

.sys-status-bar {
    display: inline-flex;
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid rgba(0, 240, 255, 0.15);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    flex-wrap: wrap;
    justify-content: center;
}

.sys-stat {
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 1px;
}

.sys-stat i {
    color: var(--neon-cyan);
    font-size: 0.8rem;
}

.footer-copy {
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--text-dim);
    opacity: 0.5;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Hover effect for footer capsule */
.sys-status-bar:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */

@media (max-width: 900px) {

    /* STACK LAYOUTS */
    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .about-frame {
        width: 280px;
        max-width: 80%;
        margin: 0 auto;
    }

    .contact-wrapper {
        flex-direction: column;
    }

    /* NAV */
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        /* Below nav */
        left: 0;
        width: 100%;
        height: 0;
        background: rgba(5, 5, 10, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        overflow: hidden;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.active {
        height: 100vh;
        padding-top: 2rem;
    }

    .nav-item {
        padding: 1.5rem;
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .desktop-only {
        display: none;
    }

    .nav-btn-mobile {
        display: block;
        padding: 1.5rem;
        text-align: center;
        color: var(--neon-purple);
        font-weight: 700;
    }

    /* SECTION SPACING */
    section {
        padding: 4rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .section-title::before {
        width: 30px;
        margin-bottom: 0.5rem;
    }

    .orig-name {
        display: block;
        margin: 0;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {

    /* HERO */
    .glitch-text {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-cyber,
    .btn-glass {
        width: 100%;
        padding: 1rem;
        text-align: center;
    }

    /* GRIDITEMS */
    .skills-wrapper-enhanced,
    .cert-grid-badges,
    .hologram-grid,
    .pub-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    /* CAROUSEL */
    .project-card {
        min-width: 280px;
        max-width: 280px;
    }

    .nav-btn {
        display: none;
    }

    /* Hide arrows on mobile, use swipe */

    /* TIMELINE */
    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-item::before {
        left: -2.05rem;
    }

    /* CONTACT */
    .contact-info,
    .contact-form-panel {
        padding: 1.5rem;
    }

    .channel-value {
        font-size: 0.9rem;
        max-width: 150px;
    }
}

/* MODAL SYSTEM */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid var(--neon-cyan);
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(10, 15, 20, 0.95);
    padding: 0;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--neon-cyan);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
}

.modal-close:hover {
    color: white;
    transform: rotate(90deg);
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
}

@media (min-width: 768px) {
    .modal-body {
        flex-direction: row;
        align-items: center;
    }

    .modal-img-wrapper {
        flex: 1;
        max-width: 50%;
    }

    .modal-info {
        flex: 1;
    }
}

.modal-img-wrapper img {
    width: 100%;
    border-radius: 4px;
    border: 1px solid rgba(0, 240, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
}

.modal-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.modal-actions {
    margin-top: 2rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);

    .project-img-thumb,
    .card-head {
        cursor: pointer;
        transition: 0.3s;
    }

    .project-img-thumb:hover,
    .card-head:hover {
        filter: brightness(1.2);
        color: var(--neon-cyan);
    }
}

/* EXPERIENCE V2.0 PRO MAX */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Central Data Stream Line */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 2rem;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, var(--neon-cyan), transparent, var(--neon-purple));
    box-shadow: 0 0 10px var(--neon-cyan);
    z-index: 1;
}

.timeline-item {
    position: relative;
    padding-left: 5rem;
    margin-bottom: 4rem;
    opacity: 0.9;
    transition: 0.3s;
}

.timeline-item:hover {
    opacity: 1;
    transform: translateX(10px);
}

/* Holographic Node */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 1.6rem;
    top: 0;
    width: 1rem;
    height: 1rem;
    background: var(--bg-deep);
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 10px var(--neon-cyan);
    transition: 0.3s;
}

.timeline-item:hover::before {
    background: var(--neon-cyan);
    box-shadow: 0 0 20px var(--neon-cyan), 0 0 40px var(--neon-cyan);
}

/* Timestamp Log Style */
.time-meta {
    font-family: 'Courier New', Courier, monospace;
    color: var(--neon-cyan);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--neon-cyan);
    background: rgba(0, 240, 255, 0.1);
    border-radius: 4px;
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.5);
}

.time-role {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.time-org {
    display: block;
    color: var(--neon-cyan);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.time-desc li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.time-desc li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--neon-cyan);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .timeline::before {
        left: 1rem;
    }

    .timeline-item {
        padding-left: 3rem;
    }

    .timeline-item::before {
        left: 0.6rem;
    }
}

/* 3D HERO RESPONSIVENESS */
@media (max-width: 991px) {
    .hero-grid-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text-side {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-subtitle-pro {
        justify-content: center;
    }

    .hero-visual-side {
        height: 450px;
    }
}

@media (max-width: 480px) {
    .hero-visual-side {
        height: 350px !important;
    }
}

/* HERO TERMINAL STYLES (DASHBOARD) */
.hero-terminal-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.terminal-window {
    width: 100%;
    max-width: 500px;
    height: 340px;
    background: rgba(10, 10, 16, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.15);
    transform: rotateY(-3deg) rotateX(2deg);
    /* Subtle tilt */
    transition: all 0.3s ease;
}

.terminal-header {
    background: rgba(0, 240, 255, 0.05);
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
}

.term-buttons {
    display: flex;
    gap: 0.5rem;
}

.term-btn {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 0.7;
}

.term-btn.close {
    background: #ff5f56;
}

.term-btn.min {
    background: #ffbd2e;
}

.term-btn.max {
    background: #27c93f;
}

.term-title {
    flex: 1;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--neon-cyan);
    letter-spacing: 1px;
    margin-right: 40px;
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.5);
}

/* DASHBOARD LAYOUT */
.terminal-dashboard {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.term-col {
    padding: 1rem;
    overflow: hidden;
}

.main-log {
    flex: 2.5;
    border-right: 1px solid rgba(0, 240, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.sidebar-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.2);
}

.col-header {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: #555;
    margin-bottom: 10px;
    font-weight: bold;
}

/* LOG CONTENT */
#term-log-content {
    flex: 1;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: #aaa;
    overflow-y: hidden;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.log-entry {
    margin-bottom: 4px;
    line-height: 1.3;
    white-space: normal;
    /* Wrap text */
    word-break: break-all;
    /* Ensure long words break */
}

.log-time {
    color: #555;
    margin-right: 8px;
}

.log-info {
    color: #27c93f;
}

.log-warn {
    color: #ffbd2e;
}

.log-sys {
    color: var(--neon-cyan);
}

.log-agent {
    color: var(--neon-purple);
}

/* STAT BAR STYLES */
.stat-group {
    width: 100%;
}

.stat-label {
    font-family: monospace;
    font-size: 0.7rem;
    color: var(--neon-cyan);
    margin-bottom: 4px;
    display: flex;
    justify-content: space-between;
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
    transition: width 0.5s ease;
}

/* AGENTS LIST */
.agent-item {
    font-family: monospace;
    font-size: 0.75rem;
    color: #ddd;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--neon-purple);
    box-shadow: 0 0 8px var(--neon-purple);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }

    100% {
        opacity: 0.5;
    }
}

@media (max-width: 991px) {
    .terminal-window {
        height: 300px;
        transform: none !important;
    }

    .main-log {
        flex: 2;
    }

    .sidebar-stats {
        flex: 1.2;
    }

    .log-entry {
        font-size: 0.65rem;
    }
}

/ *   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =           C Y B E R P U N K   I N N O V A T I O N   ( P R O J E C T S   &   C E R T S )           = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   * /         / *   - - -   1 .   P R O J E C T S :   H O L O D E C K   A R C H I V E S   - - -   * /         / *   S c h e m a t i c   O v e r l a y   -   H i d d e n   b y   d e f a u l t   * /     . p r o j e c t - c a r d : : b e f o r e    {
                 c o n t e n t :    ' '  ;
                 p o s i t i o n :    a b s o l u t e ;
                 t o p :    0 ;
                 l e f t :    0 ;
                 w i d t h :    1 0 0 % ;
                 h e i g h t :    1 0 0 % ;
                 b a c k g r o u n d :                      l i n e a r - g r a d i e n t ( r g b a ( 0 ,    2 4 0 ,    2 5 5 ,    0 . 1 )   1 p x ,    t r a n s p a r e n t   1 p x ) ,                      l i n e a r - g r a d i e n t ( 9 0 d e g ,    r g b a ( 0 ,    2 4 0 ,    2 5 5 ,    0 . 1 )   1 p x ,    t r a n s p a r e n t   1 p x ) ;
                 b a c k g r o u n d - s i z e :    2 0 p x   2 0 p x ;
                 z - i n d e x :    2 ;
                 o p a c i t y :    0 ;
                 t r a n s i t i o n :    o p a c i t y   0 . 3 s ;
                 p o i n t e r - e v e n t s :    n o n e ;
         
}

         . p r o j e c t - c a r d : : a f t e r    {
                 c o n t e n t :    ' A N A L Y S I S _ M O D E   / /   A C T I V E '  ;
                 p o s i t i o n :    a b s o l u t e ;
                 t o p :    1 0 p x ;
                 r i g h t :    1 0 p x ;
                 f o n t - f a m i l y :    m o n o s p a c e ;
                 f o n t - s i z e :    0 . 7 r e m ;
                 c o l o r :    v a r ( - - n e o n - c y a n ) ;
                 b a c k g r o u n d :    r g b a ( 0 ,    0 ,    0 ,    0 . 8 ) ;
                 p a d d i n g :    2 p x   6 p x ;
                 z - i n d e x :    3 ;
                 o p a c i t y :    0 ;
                 t r a n s i t i o n :    o p a c i t y   0 . 3 s ;
         
}

         / *   H o v e r   S t a t e   * /     . p r o j e c t - c a r d : h o v e r : : b e f o r e ,
     . p r o j e c t - c a r d : h o v e r : : a f t e r    {
                 o p a c i t y :    1 ;
         
}

         . p r o j e c t - c a r d : h o v e r   . p r o j e c t - i m g - t h u m b   i m g    {
                 f i l t e r :    g r a y s c a l e ( 1 )   s e p i a ( 1 0 0 % )   h u e - r o t a t e ( 1 3 0 d e g )   s a t u r a t e ( 2 )   c o n t r a s t ( 1 . 2 ) ;
                 / *   C y a n   B l u e p r i n t   L o o k   * /             t r a n s i t i o n :    f i l t e r   0 . 3 s ;
         
}

         / *   T e c h   P i l l s   G l o w   * /     . p r o j e c t - c a r d : h o v e r   . t e c h - p i l l    {
                 b a c k g r o u n d :    v a r ( - - n e o n - c y a n ) ;
                 c o l o r :    # 0 0 0 ;
                 b o x - s h a d o w :    0   0   1 0 p x   v a r ( - - n e o n - c y a n ) ;
         
}

             / *   - - -   2 .   C E R T I F I C A T I O N S :   E N C R Y P T E D   B A D G E S   - - -   * /         / *   B a s e   S t y l e   U p d a t e   * /     . c e r t - b a d g e    {
                 p o s i t i o n :    r e l a t i v e ;
                 o v e r f l o w :    h i d d e n ;
                 b a c k g r o u n d :    r g b a ( 1 0 ,    1 0 ,    1 5 ,    0 . 7 ) ;
                 / *   D a r k e r   b a s e   * /             t r a n s i t i o n :    a l l   0 . 4 s   e a s e ;
         
}

         / *   D e c r y p t i o n   B l u r   * /     . c e r t - d e t a i l s    {
                 t r a n s i t i o n :    f i l t e r   0 . 4 s   e a s e ;
                 f i l t e r :    b l u r ( 2 . 5 p x ) ;
                 / *   E n c r y p t e d   S t a t e   * /             o p a c i t y :    0 . 7 ;
         
}

         . c e r t - b a d g e : h o v e r   . c e r t - d e t a i l s    {
                 f i l t e r :    b l u r ( 0 ) ;
                 / *   D e c r y p t e d   S t a t e   * /             o p a c i t y :    1 ;
         
}

         / *   H o l o g r a p h i c   F o i l   * /     . c e r t - b a d g e : : b e f o r e    {
                 c o n t e n t :    ' '  ;
                 p o s i t i o n :    a b s o l u t e ;
                 t o p :    - 5 0 % ;
                 l e f t :    - 5 0 % ;
                 w i d t h :    2 0 0 % ;
                 h e i g h t :    2 0 0 % ;
                 b a c k g r o u n d :    l i n e a r - g r a d i e n t ( 4 5 d e g ,                              t r a n s p a r e n t   4 0 % ,                              r g b a ( 2 5 5 ,    2 5 5 ,    2 5 5 ,    0 . 1 )   4 5 % ,                              r g b a ( 0 ,    2 4 0 ,    2 5 5 ,    0 . 2 )   5 0 % ,                              r g b a ( 1 1 2 ,    0 ,    2 5 5 ,    0 . 2 )   5 5 % ,                              r g b a ( 2 5 5 ,    2 5 5 ,    2 5 5 ,    0 . 1 )   6 0 % ,                              t r a n s p a r e n t   6 5 % ) ;
                 t r a n s f o r m :    r o t a t e ( 3 0 d e g )   t r a n s l a t e Y ( 0 ) ;
                 t r a n s i t i o n :    t r a n s f o r m   0 . 6 s ;
                 p o i n t e r - e v e n t s :    n o n e ;
                 o p a c i t y :    0 ;
                 z - i n d e x :    1 0 ;
         
}

         . c e r t - b a d g e : h o v e r : : b e f o r e    {
                 o p a c i t y :    1 ;
                 t r a n s i t i o n :    0 s ;
                 / *   I n s t a n t   r e s e t   f o r   a n i m a t i o n   * /             a n i m a t i o n :    h o l o - s w e e p   1 . 5 s   l i n e a r   i n f i n i t e ;
         
}

         @ k e y f r a m e s   h o l o - s w e e p    {
                 0 %    {
                             t r a n s f o r m :    r o t a t e ( 3 0 d e g )   t r a n s l a t e Y ( 5 0 % ) ;
                     
    }

                     1 0 0 %    {
                             t r a n s f o r m :    r o t a t e ( 3 0 d e g )   t r a n s l a t e Y ( - 5 0 % ) ;
                     
    }

         
}

         / *   S e c u r i t y   S t a t u s   I n d i c a t o r   * /     . c e r t - s t a t u s    {
                 p o s i t i o n :    r e l a t i v e ;
         
}

         . c e r t - s t a t u s : : a f t e r    {
                 c o n t e n t :    '   [ L O C K E D ] '  ;
                 c o l o r :    # f f 5 f 5 6 ;
         
}

         . c e r t - b a d g e : h o v e r   . c e r t - s t a t u s : : a f t e r    {
                 c o n t e n t :    '   [ V E R I F I E D ] '  ;
                 c o l o r :    # 2 7 c 9 3 f ;
         
}

         / *   H i d e   o r i g i n a l   V e r i f i e d   t e x t   t o   r e p l a c e   w i t h   d y n a m i c   o n e   * /     . c e r t - s t a t u s   i    {
                 d i s p l a y :    n o n e ;
         
}

     

/* SPLINE VIEWER */
spline-viewer {
    width: 100%;
    height: 100%;
    display: block;
}

spline-viewer::part(logo) {
    display: none !important;
}