/* ==========================================================================
   ABNER NTETEUBAKA — FUTURISTIC TECH PORTFOLIO
   Design System, Glassmorphic Cyber UI & Responsive Engine
   ========================================================================== */

:root {
    --bg-primary: #050b10;
    --bg-secondary: #08131e;
    --bg-surface: rgba(12, 24, 38, 0.72);
    --bg-surface-elevated: rgba(18, 34, 52, 0.85);
    --bg-glass: rgba(255, 255, 255, 0.03);
    
    --accent-cyan: #00f2fe;
    --accent-cyan-dim: #00c4cf;
    --accent-cyan-glow: rgba(0, 242, 254, 0.25);
    --accent-amber: #ffb300;
    --accent-amber-glow: rgba(255, 179, 0, 0.22);
    --accent-emerald: #10b981;
    
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-accent: #00f2fe;
    
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 242, 254, 0.22);
    --border-accent: rgba(0, 242, 254, 0.4);
    
    --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-full: 9999px;
    
    --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ----------------- Reset & Base ----------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background: radial-gradient(circle at 50% 0%, #0d2235 0%, var(--bg-primary) 65%);
    min-height: 100vh;
}

/* Background interactive canvas */
#cyber-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.75;
}

/* Ambient radial glow lights */
.ambient-glow {
    position: fixed;
    top: -20vh;
    left: 10vw;
    width: 60vw;
    height: 60vh;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.ambient-glow-2 {
    position: fixed;
    bottom: -15vh;
    right: 5vw;
    width: 50vw;
    height: 50vh;
    background: radial-gradient(circle, rgba(255, 179, 0, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

main {
    position: relative;
    z-index: 1;
}

/* Containers & Section Structure */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 6.5rem 0;
    position: relative;
    border-bottom: 1px solid var(--border-subtle);
}

/* Typography & Headings */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.section-kicker {
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.section-kicker::before,
.section-kicker::after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--accent-cyan);
    opacity: 0.6;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 30%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* ----------------- Top Navigation Bar (Contract) ----------------- */
header.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition-smooth);
}

header.site-header.scrolled {
    padding: 0.75rem 0;
    background: rgba(5, 11, 16, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glow);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* Zone 1: Single text element Brand */
.brand-zone a.brand-wordmark {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.brand-zone a.brand-wordmark span.brand-accent {
    color: var(--accent-cyan);
    text-shadow: 0 0 12px var(--accent-cyan-glow);
}

.brand-zone a.brand-wordmark span.brand-badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 2px 6px;
    background: rgba(0, 242, 254, 0.12);
    color: var(--accent-cyan);
    border: 1px solid var(--border-glow);
    border-radius: 4px;
    margin-left: 0.25rem;
}

/* Zone 2: Navigation Links */
nav.desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.25rem 0;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-cyan);
    box-shadow: 0 0 8px var(--accent-cyan);
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Zone 3: Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-nav-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.15rem;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
    transition: var(--transition-fast);
}

.btn-nav-action:hover {
    background: var(--accent-cyan);
    color: #050b10;
    box-shadow: 0 0 20px var(--accent-cyan-glow);
    transform: translateY(-1px);
}

.btn-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* Mobile Drawer */
.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1050;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.drawer-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-glow);
    z-index: 1100;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.drawer-link {
    font-size: 1.1rem;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.drawer-footer {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

/* ----------------- Hero Section ----------------- */
.hero-section {
    padding-top: 9.5rem;
    padding-bottom: 6rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-badge-status {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0.9rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #34d399;
    margin-bottom: 1.5rem;
}

.status-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

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

.hero-title .name-highlight {
    background: linear-gradient(135deg, #ffffff 40%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.hero-subtitle-box {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--accent-amber);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    min-height: 2rem;
}

.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background-color: var(--accent-cyan);
    margin-left: 4px;
    animation: blinkCursor 0.8s infinite;
}

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

.hero-lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.25rem;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.85rem;
    background: linear-gradient(135deg, #00f2fe 0%, #00b4d8 100%);
    color: #050b10;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.35);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 28px rgba(0, 242, 254, 0.55);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.65rem;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-secondary:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.06);
    color: var(--accent-cyan);
    transform: translateY(-2px);
}

/* Key Metrics Strip */
.hero-metrics-strip {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    font-variant-numeric: tabular-nums;
}

.metric-number span.plus {
    color: var(--accent-cyan);
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Photo & Holographic Card */
.hero-photo-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.photo-holo-frame {
    position: relative;
    width: 100%;
    max-width: 380px;
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glow);
    padding: 1.25rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 242, 254, 0.15);
    transition: var(--transition-smooth);
}

.photo-holo-frame:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 242, 254, 0.3);
}

/* Tech HUD corners on photo frame */
.photo-holo-frame::before,
.photo-holo-frame::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-cyan);
    pointer-events: none;
}
.photo-holo-frame::before {
    top: -2px;
    left: -2px;
    border-right: none;
    border-bottom: none;
}
.photo-holo-frame::after {
    bottom: -2px;
    right: -2px;
    border-left: none;
    border-top: none;
}

.photo-inner-img {
    width: 100%;
    height: auto;
    max-height: 460px;
    object-fit: contain;
    border-radius: var(--radius-md);
    display: block;
    border: 1px solid var(--border-subtle);
}

.photo-caption {
    margin-top: 1.15rem;
    text-align: center;
    padding-top: 0.25rem;
}

.photo-caption h3 {
    font-size: 1.25rem;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.photo-caption p {
    font-size: 0.85rem;
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    margin-top: 0.25rem;
}

.floating-tech-badge {
    position: absolute;
    top: -15px;
    right: 12px;
    background: rgba(8, 19, 30, 0.96);
    border: 1px solid var(--accent-amber);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 16px var(--accent-amber-glow);
    padding: 0.5rem 0.95rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    backdrop-filter: blur(12px);
    z-index: 10;
}

.floating-tech-badge .shield-icon {
    color: var(--accent-amber);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.about-card h3.card-heading span.icon,
.pathway-column h3.pathway-title span.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.badge-mini-label {
    font-size: 0.72rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.1;
}

.badge-main-text {
    font-size: 0.85rem;
    color: #ffffff;
    font-weight: 700;
}

/* ----------------- About Section ----------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.about-card {
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    transition: var(--transition-smooth);
}

.about-card:hover {
    border-color: var(--border-glow);
    background: var(--bg-surface-elevated);
}

.about-card h3.card-heading {
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
}

.about-card h3.card-heading span.icon {
    color: var(--accent-cyan);
}

.bio-paragraph {
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.7;
}

.curiosity-box {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: rgba(0, 242, 254, 0.05);
    border-left: 3px solid var(--accent-cyan);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.curiosity-box p {
    font-size: 0.92rem;
    color: #cbd5e1;
    font-style: italic;
}

/* Soft skills & Langues */
.details-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-block h4 {
    font-size: 1rem;
    color: var(--accent-amber);
    font-family: var(--font-mono);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tags-cluster {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.cyber-tag {
    padding: 0.4rem 0.85rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.cyber-tag:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.08);
    color: var(--accent-cyan);
}

.lang-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.lang-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    text-align: center;
}

.lang-name {
    font-weight: 600;
    color: #ffffff;
    display: block;
    font-size: 0.95rem;
}

.lang-level {
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

/* ----------------- Skills Section ----------------- */
.skills-filter-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover {
    color: #ffffff;
    border-color: var(--accent-cyan);
}

.filter-btn.active {
    background: var(--accent-cyan);
    color: #050b10;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px var(--accent-cyan-glow);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.skill-card {
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.skill-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
    background: var(--bg-surface-elevated);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.skill-card-top {
    margin-bottom: 1.5rem;
}

.skill-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.skill-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid var(--border-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 1.25rem;
}

.skill-percentage {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-cyan);
    font-variant-numeric: tabular-nums;
}

.skill-card-title {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.skill-card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Animated Progress Bar */
.skill-bar-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-top: 1rem;
}

.skill-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #00f2fe, #ffb300);
    border-radius: 10px;
    width: 0%;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

/* ----------------- Projects Section ----------------- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.25rem;
}

.project-card {
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 242, 254, 0.2);
}

.project-thumb-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #08131e;
}

.project-thumb-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-thumb-container img {
    transform: scale(1.05);
}

.project-overlay-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.8rem;
    background: rgba(5, 11, 16, 0.85);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-cyan);
    backdrop-filter: blur(10px);
}

.project-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-title {
    font-size: 1.45rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.project-summary {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.25rem 0.65rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    color: var(--text-secondary);
}

.project-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}

.btn-project-detail {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-cyan);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    background: transparent;
    border: none;
}

.btn-project-detail:hover {
    color: #ffffff;
    transform: translateX(4px);
}

/* ----------------- Experience & Education ----------------- */
.pathway-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.pathway-column h3.pathway-title {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pathway-column h3.pathway-title span.icon {
    color: var(--accent-amber);
}

.timeline-list {
    position: relative;
    padding-left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}

.timeline-list::before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 7px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-cyan) 0%, rgba(0, 242, 254, 0.1) 100%);
}

.timeline-item {
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: -2rem;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--bg-primary);
    border: 3px solid var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-cyan);
}

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

.timeline-role {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.timeline-org {
    font-size: 0.95rem;
    color: var(--accent-cyan);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.timeline-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ----------------- Cyber Terminal Section ----------------- */
.terminal-window {
    background: rgba(6, 12, 19, 0.95);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 242, 254, 0.12);
    font-family: var(--font-mono);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.terminal-header {
    background: #091421;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-subtle);
    gap: 0.75rem;
}

.terminal-dots {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.term-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.term-dot.red { background: #ef4444; }
.term-dot.yellow { background: #f59e0b; }
.term-dot.green { background: #10b981; }

.terminal-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.terminal-status-badge {
    font-size: 0.75rem;
    color: #10b981;
    flex-shrink: 0;
    white-space: nowrap;
    font-weight: 600;
}

.terminal-body {
    padding: 1.5rem;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

.terminal-output {
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 360px;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.9rem;
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.term-line {
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: anywhere;
    max-width: 100%;
}

.term-prompt {
    color: #10b981;
    font-weight: 700;
    flex-shrink: 0;
    font-family: var(--font-mono);
}

.prompt-short {
    display: none;
}

.term-cmd {
    color: #ffffff;
}

.cmd-cyan { color: var(--accent-cyan); font-weight: 600; }
.cmd-gold { color: var(--accent-amber); font-weight: 600; }

.terminal-input-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-top: 1px solid var(--border-subtle);
    padding-top: 0.85rem;
    width: 100%;
    min-width: 0;
}

.terminal-input-row input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: #ffffff;
    width: 100%;
}

.terminal-quick-chips {
    margin-top: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    width: 100%;
}

.quick-chips-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-right: 0.25rem;
    flex-shrink: 0;
}

.quick-cmd-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.35rem 0.65rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.quick-cmd-btn:hover {
    background: var(--accent-cyan);
    color: #050b10;
}

/* ----------------- Contact Section ----------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    min-width: 0;
}

.contact-channel-card {
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: var(--transition-fast);
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.contact-channel-card:hover {
    border-color: var(--accent-cyan);
    background: var(--bg-surface-elevated);
    transform: translateY(-2px);
}

.channel-icon {
    width: 44px;
    height: 44px;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.channel-body {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.channel-title {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.channel-value {
    font-size: 0.98rem;
    color: #ffffff;
    font-weight: 600;
    display: block;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.channel-action-btn {
    padding: 0.45rem 0.85rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--accent-cyan);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition-fast);
    flex-shrink: 0;
    white-space: nowrap;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.channel-action-btn:hover {
    background: var(--accent-cyan);
    color: #050b10;
}

.channel-action-btn.copied {
    background: var(--accent-emerald);
    color: #ffffff;
    border-color: var(--accent-emerald);
}

/* Contact Form Container */
.contact-form-card {
    background: var(--bg-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.form-title {
    font-size: 1.55rem;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.form-subtitle {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control {
    width: 100%;
    padding: 0.9rem 1.15rem;
    background: rgba(6, 12, 19, 0.85);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    outline: none;
    box-sizing: border-box;
}

.form-control:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px var(--accent-cyan-glow);
}

textarea.form-control {
    resize: vertical;
    min-height: 110px;
}

.btn-submit {
    width: 100%;
    padding: 0.95rem;
    background: linear-gradient(135deg, #00f2fe 0%, #00b4d8 100%);
    border: none;
    border-radius: var(--radius-sm);
    color: #050b10;
    font-weight: 700;
    font-size: 0.98rem;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.35);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.6);
}

.feedback-success {
    margin-top: 1.25rem;
    padding: 1.15rem;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid #10b981;
    border-radius: var(--radius-sm);
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    color: #a7f3d0;
    font-size: 0.92rem;
}

.feedback-success .icon {
    font-weight: 800;
    font-size: 1.3rem;
    color: #10b981;
}

.feedback-link {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
}

/* ----------------- Project Modal ----------------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 820px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 242, 254, 0.2);
    transform: scale(0.95);
    transition: var(--transition-smooth);
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    background: #ef4444;
    border-color: #ef4444;
}

.modal-hero-img-wrap {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.modal-hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, var(--bg-secondary) 100%);
}

.modal-content-body {
    padding: 2.25rem;
}

.modal-badge-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.modal-cat-badge {
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    font-size: 0.85rem;
}

.modal-status-badge {
    font-size: 0.8rem;
    color: var(--accent-amber);
    border: 1px solid rgba(255, 179, 0, 0.3);
    padding: 2px 8px;
    border-radius: 4px;
}

.modal-title {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.modal-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.modal-feature-title {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.modal-features-list {
    list-style: none;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.modal-features-list li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.bullet-accent {
    color: var(--accent-cyan);
}

.modal-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

/* ----------------- CV Modal ----------------- */
.cv-viewer-modal {
    max-width: 900px;
}

.cv-paper {
    background: #09131d;
    color: #f1f5f9;
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    font-family: var(--font-body);
}

.cv-header-block {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 2px solid var(--accent-cyan);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.cv-header-name h1 {
    font-size: 2.4rem;
    color: #ffffff;
}

.cv-header-name p.cv-title-tag {
    font-size: 1.1rem;
    color: var(--accent-cyan);
    font-weight: 600;
}

.cv-contact-col {
    text-align: right;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.cv-section-block {
    margin-bottom: 2rem;
}

.cv-section-heading {
    font-size: 1.25rem;
    color: var(--accent-amber);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 0.4rem;
}

.cv-entry {
    margin-bottom: 1.25rem;
}

.cv-entry-head {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: #ffffff;
    font-size: 1.05rem;
}

.cv-entry-sub {
    color: var(--accent-cyan);
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.cv-entry-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ----------------- Footer ----------------- */
footer.site-footer {
    background: #04080c;
    border-top: 1px solid var(--border-subtle);
    padding: 3.5rem 0 2.5rem 0;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 0.35rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-social-links {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.social-icon-btn {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.social-icon-btn:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.1);
    color: var(--accent-cyan);
    transform: translateY(-2px);
}

.social-icon-btn img {
    width: 20px;
    height: 20px;
    filter: invert(1);
    opacity: 0.85;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom a {
    color: var(--accent-amber);
    font-weight: 600;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ----------------- Responsive Breakpoints ----------------- */
@media screen and (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }

    .hero-badge-status,
    .hero-subtitle-box {
        justify-content: center;
    }

    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-metrics-strip {
        justify-content: center;
    }

    .photo-holo-frame {
        max-width: 340px;
        margin: 0 auto;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .pathway-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    header.site-header {
        padding: 0.85rem 0;
    }

    nav.desktop-nav {
        display: none;
    }

    .btn-nav-action {
        display: none;
    }

    .btn-menu-toggle {
        display: flex;
    }

    .section-title {
        font-size: 2.15rem;
    }

    .hero-title {
        font-size: 2.45rem;
    }

    .hero-section {
        padding-top: 6.5rem;
        padding-bottom: 4rem;
    }

    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    /* Terminal on Tablets & Mobile */
    .terminal-body {
        padding: 1.25rem 1rem;
        min-height: 280px;
    }

    .terminal-output {
        font-size: 0.85rem;
        max-height: 300px;
    }

    /* Contact Form on Tablets & Mobile */
    .contact-form-card {
        padding: 1.75rem 1.35rem;
        border-radius: var(--radius-md);
    }

    .form-title {
        font-size: 1.4rem;
    }

    .form-control {
        font-size: 16px;
        padding: 0.85rem 1rem;
    }

    .btn-submit {
        padding: 0.85rem 1.25rem;
        font-size: 0.95rem;
    }

    .cv-header-block {
        flex-direction: column;
        gap: 1rem;
    }

    .cv-contact-col {
        text-align: left;
    }
}

@media screen and (max-width: 640px) {
    /* Hero Photo Card */
    .photo-holo-frame {
        max-width: 290px;
        padding: 1rem;
    }

    .floating-tech-badge {
        top: -12px;
        right: 4px;
        padding: 0.4rem 0.75rem;
        font-size: 0.78rem;
    }

    .badge-mini-label {
        font-size: 0.68rem;
    }

    .badge-main-text {
        font-size: 0.78rem;
    }

    .photo-caption h3 {
        font-size: 1.15rem;
    }

    /* Section 05: Terminal Responsive Engine */
    .terminal-header {
        padding: 0.65rem 0.85rem;
    }

    .terminal-title {
        font-size: 0.75rem;
    }

    .terminal-status-badge {
        display: none; /* Hide status badge to prevent header wrap on small screens */
    }

    .terminal-body {
        padding: 1rem 0.75rem;
    }

    .terminal-output {
        font-size: 0.82rem;
        max-height: 260px;
        gap: 0.45rem;
    }

    .term-prompt .prompt-long {
        display: none;
    }

    .term-prompt .prompt-short {
        display: inline;
        color: #10b981;
        font-weight: 700;
        font-size: 1rem;
    }

    .terminal-input-row {
        gap: 0.45rem;
        padding-top: 0.75rem;
    }

    .terminal-input-row input {
        font-size: 16px;
    }

    .terminal-quick-chips {
        gap: 0.35rem;
        margin-top: 0.75rem;
    }

    .quick-chips-label {
        width: 100%;
        margin-bottom: 0.2rem;
    }

    .quick-cmd-btn {
        padding: 0.3rem 0.55rem;
        font-size: 0.72rem;
    }

    /* Section 06: Contact Section Responsive Engine */
    .contact-grid {
        gap: 2rem;
    }

    .contact-channel-card {
        padding: 1rem;
        gap: 0.85rem;
        flex-wrap: wrap;
    }

    .channel-icon {
        width: 40px;
        height: 40px;
        font-size: 1.15rem;
    }

    .channel-body {
        flex: 1 1 calc(100% - 55px);
    }

    .channel-title {
        font-size: 0.75rem;
    }

    .channel-value {
        font-size: 0.92rem;
    }

    .channel-action-btn {
        width: 100%;
        margin-top: 0.35rem;
        padding: 0.55rem 0.75rem;
        text-align: center;
        justify-content: center;
    }

    .contact-form-card {
        padding: 1.35rem 1rem;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .section-title {
        font-size: 1.85rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-metrics-strip {
        flex-direction: column;
        gap: 1.25rem;
        align-items: center;
    }

    .lang-grid {
        grid-template-columns: 1fr;
    }

    .form-subtitle {
        font-size: 0.88rem;
        margin-bottom: 1.25rem;
    }

    .contact-form-card {
        padding: 1.25rem 0.9rem;
    }
}

/* ----------------- Print Stylesheet ----------------- */
@media print {
    body {
        background: #ffffff !important;
        color: #000000 !important;
    }

    header.site-header,
    #cyber-canvas,
    .ambient-glow,
    .ambient-glow-2,
    footer.site-footer,
    .skills-filter-nav,
    .terminal-window,
    .btn-primary,
    .btn-secondary {
        display: none !important;
    }

    .cv-paper {
        background: #ffffff !important;
        color: #000000 !important;
        border: none !important;
        box-shadow: none !important;
    }

    .cv-entry-head,
    .cv-header-name h1,
    .cv-entry-sub,
    .cv-section-heading {
        color: #000000 !important;
    }

    .cv-entry-desc,
    .cv-contact-col {
        color: #333333 !important;
    }
}
