/* ============================================================
   Muhammad Shehrose Portfolio — style.css
   Design: Dark Refined / Senior Engineer Aesthetic
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
    /* --bg-primary: #080c10;
    --bg-secondary: #0e1419;
    --bg-card: #111820;
    --bg-card-hover: #151e28;
    --accent: #00d4aa;
    --accent-dim: rgba(0, 212, 170, 0.12);
    --accent-glow: rgba(0, 212, 170, 0.25);
    --text-primary: #e8edf2;
    --text-secondary: #7a8fa6;
    --text-muted: #4a5a6a;
    --border: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(0, 212, 170, 0.3); */
    --bg-primary: #0c0c0c;
    --bg-secondary: #141414;
    --bg-card: #1c1c1c;
    --bg-card-hover: #242424;

    --accent: #f59e0b;
    --accent-dim: rgba(245, 158, 11, 0.12);
    --accent-glow: rgba(245, 158, 11, 0.25);

    --text-primary: #f3f4f6;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;

    --border: rgba(255, 255, 255, 0.05);
    --border-accent: rgba(245, 158, 11, 0.3);

    --font-display: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --font-serif: 'Instrument Serif', serif;
    --nav-h: 72px;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-soft: 0 24px 70px rgba(0, 0, 0, 0.28);
    --shadow-card: 0 18px 45px rgba(0, 0, 0, 0.22);
    --accent-strong: #fbbf24;
    --accent-gradient: linear-gradient(135deg, #f59e0b 0%, #fbbf24 45%, #fde68a 100%);
    --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
    overflow-x: clip;
}

body {
    font-family: var(--font-display);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    cursor: none;
    background-image:
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.08), transparent 26%),
        radial-gradient(circle at bottom left, rgba(245, 158, 11, 0.05), transparent 22%);
    line-height: 1.6;
}

img,
svg,
video,
canvas {
    max-width: 100%;
    height: auto;
}

::selection {
    background: var(--accent);
    color: var(--bg-primary);
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor {
    position: fixed;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
    mix-blend-mode: screen;
}

.cursor-follower {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.25s var(--transition), width 0.3s ease, height 0.3s ease, opacity 0.3s ease, border-color 0.3s ease;
    opacity: 0.6;
}

body.cursor-hover .cursor {
    width: 16px;
    height: 16px;
    opacity: 0.85;
}

body.cursor-hover .cursor-follower {
    width: 56px;
    height: 56px;
    opacity: 0.3;
}

body.cursor-click .cursor {
    transform: translate(-50%, -50%) scale(0.6);
}

body.cursor-click .cursor-follower {
    width: 20px;
    height: 20px;
    opacity: 0.9;
}

/* ============================================================
   NOISE OVERLAY
   ============================================================ */
.noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9990;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 128px 128px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#mainNav {
    height: var(--nav-h);
    background: rgba(12, 12, 12, 0);
    border-bottom: 1px solid transparent;
    transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
    z-index: 1000;
}

#mainNav.scrolled {
    background: rgba(12, 12, 12, 0.88);
    border-color: var(--border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.navbar-brand {
    text-decoration: none;
}

.brand-ms {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.brand-dot {
    color: var(--accent);
    font-size: 1.6rem;
}

.nav-link {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.78rem;
    color: var(--text-secondary) !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.5rem 1rem !important;
    transition: color 0.25s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary) !important;
}

.nav-link:hover::after {
    width: 60%;
}

.btn-hire {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.5rem 1.4rem;
    background: transparent;
    border: 1px solid var(--border-accent);
    color: var(--accent);
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-resume {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.5rem 1.1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text-primary);
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-resume:hover {
    border-color: var(--border-accent);
    color: var(--accent);
    background: rgba(245, 158, 11, 0.08);
}

.btn-hire:hover {
    background: var(--accent-dim);
    color: var(--accent);
    border-color: var(--accent);
}

/* Hamburger */
.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 22px;
}

.hamburger-icon span {
    display: block;
    height: 1.5px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    transform-origin: center;
}

/* ============================================================
   SECTION UTILITIES
   ============================================================ */
.section-pad {
    padding: 118px 0;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--accent);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.section-title em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
}

.section-body {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 520px;
    font-weight: 400;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}

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

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: var(--nav-h);
    overflow: hidden;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(245, 158, 11, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 158, 11, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
}

.hero-glow {
    position: absolute;
    top: 20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    padding: 0.4rem 1rem;
    border: 1px solid var(--border-accent);
    border-radius: 50px;
    background: var(--accent-dim);
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.7);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.hero-title em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
}

.hero-role {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.8rem;
}

.role-line {
    width: 40px;
    height: 1px;
    background: var(--accent);
}

.role-text {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.role-years {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--bg-card);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    border: 1px solid var(--border);
}

.hero-desc {
    font-size: 1.08rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 520px;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    max-width: 720px;
    margin-bottom: 2rem;
}

.hero-highlight-card {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-highlight-card i {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    background: var(--accent-dim);
    border: 1px solid var(--border-accent);
    flex-shrink: 0;
}

.hero-highlight-card strong,
.mini-panel-item strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.hero-highlight-card span,
.mini-panel-label,
.mini-panel-item strong + span {
    color: var(--text-secondary);
    font-size: 0.84rem;
    line-height: 1.6;
}

.hero-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.5rem;
}

.hero-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 1rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    text-decoration: none;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.25s ease;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    box-shadow: var(--shadow-card);
}

.hero-social-link i {
    color: var(--accent);
}

.hero-social-link:hover {
    color: var(--text-primary);
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

.hero-social-static {
    cursor: default;
}

/* CTA Buttons */
.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    padding: 0.85rem 1.8rem;
    background: var(--accent);
    color: var(--bg-primary);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: none;
}

.btn-primary-custom:hover {
    background: var(--accent-strong);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.3);
}

.btn-lg-custom {
    padding: 1rem 2.2rem;
    font-size: 1rem;
}

.btn-arrow {
    display: inline-flex;
    transition: transform 0.3s ease;
}

.btn-primary-custom:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-primary-custom i,
.btn-ghost-custom i {
    font-size: 0.95rem;
}

.btn-ghost-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    padding: 0.85rem 1.8rem;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: none;
}

.btn-ghost-custom:hover {
    border-color: var(--border-accent);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.btn-ghost-soft {
    background: rgba(255, 255, 255, 0.03);
}

/* Hero Avatar */
.hero-avatar-wrapper {
    position: relative;
}

.hero-portrait-card {
    position: relative;
    margin-top: 2rem;
    max-width: 360px;
    padding: 0.8rem;
    border-radius: 28px;
    border: 1px solid var(--border-accent);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    box-shadow: var(--shadow-soft);
}

.hero-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portrait-badge {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    width: fit-content;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(12, 12, 12, 0.82);
    border: 1px solid var(--border-accent);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.74rem;
    backdrop-filter: blur(8px);
}

.hero-portrait-card .hero-portrait {
    border-radius: 22px;
    min-height: 420px;
}

.avatar-initials .hero-portrait {
    border-radius: 50%;
}

.hero-avatar {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 50%;
    animation: ring-spin 12s linear infinite;
}

.ring-2 {
    inset: 14px;
    border-style: dashed;
    border-color: rgba(245, 158, 11, 0.1);
    animation-duration: 20s;
    animation-direction: reverse;
}

@keyframes ring-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.avatar-initials {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    border: 1px solid var(--border-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 60px rgba(245, 158, 11, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.avatar-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    font-size: 1.1rem;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-card);
}

.stat-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
}

.stat-num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--accent);
    letter-spacing: -0.04em;
    min-width: 40px;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    animation: fade-in-up 2s ease 1.5s both;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
    animation: scroll-pulse 2s ease infinite;
}

@keyframes scroll-pulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scaleY(1);
    }

    50% {
        opacity: 1;
        transform: scaleY(1.2);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
    background: var(--bg-secondary);
    position: relative;
}

.about-section::after,
.projects-section::after,
.skills-section::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 16%, transparent 84%, rgba(255, 255, 255, 0.015));
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-accent), transparent);
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.about-mini-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    max-width: 620px;
    margin-bottom: 1.5rem;
}

.mini-panel-item {
    padding: 1rem 1.1rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: var(--shadow-card);
}

.mini-panel-label {
    display: block;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--font-mono);
    color: var(--accent);
}

.tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-muted);
    background: var(--bg-card);
    letter-spacing: 0.05em;
    transition: all 0.25s ease;
}

.tag:hover {
    border-color: var(--border-accent);
    color: var(--accent);
}

.contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.25s ease;
    overflow-wrap: anywhere;
}

.contact-link i {
    color: var(--accent);
}

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

/* Code Window */
.code-window {
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.03);
    position: relative;
}

.code-window::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(245, 158, 11, 0.4), transparent);
}

.code-window-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f57;
}

.dot.yellow {
    background: #febc2e;
}

.dot.green {
    background: #28c840;
}

.code-filename {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-left: 0.5rem;
}

.code-body {
    padding: 1.8rem;
}

.code-body pre {
    margin: 0;
    overflow-x: auto;
}

.code-body code {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.85;
    color: var(--text-secondary);
}

.c-purple {
    color: #c792ea;
}

.c-blue {
    color: #82aaff;
}

.c-green {
    color: #c3e88d;
}

.c-orange {
    color: #f78c6c;
}

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

/* ============================================================
   EXPERIENCE / TIMELINE
   ============================================================ */
.experience-section {
    background: var(--bg-primary);
}

.experience-section .section-header {
    position: relative;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.timeline-item {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 1.5rem;
    position: relative;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding-top: 1.5rem;
}

.marker-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--text-muted);
    background: var(--bg-primary);
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.marker-dot.active {
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.5);
}

.marker-line {
    width: 1px;
    flex: 1;
    background: linear-gradient(to bottom, var(--border), transparent);
    min-height: 30px;
}

.timeline-content {
    padding-bottom: 2.5rem;
}

.job-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0%;
    background: var(--accent);
    border-radius: 2px 0 0 2px;
    transition: height 0.4s ease;
}

.job-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
}

.job-card:hover::before {
    height: 100%;
}

.job-card.active-job {
    border-color: rgba(245, 158, 11, 0.2);
    background: rgba(245, 158, 11, 0.04);
}

.job-card.active-job::before {
    height: 100%;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.job-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin: 0 0 0.2rem;
}

.job-company {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--accent);
    letter-spacing: 0.05em;
}

.job-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
}

.job-badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 0.2rem 0.7rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.job-badge.active {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent);
    border: 1px solid var(--border-accent);
}

.job-date {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
}

.job-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1.2rem;
}

.job-achievements {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.achievement {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.achievement i {
    color: var(--accent);
    font-size: 1rem;
}

/* ============================================================
   PROJECTS SECTION
   ============================================================ */
.projects-section {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.projects-slider {
    --project-slide-width: min(72vw, 900px);
    --project-slide-gap: 1.15rem;
    --project-slide-peek: clamp(0.25rem, 2vw, 1.5rem);
    position: relative;
    padding: 1rem 0 0;
}

.projects-slider-shell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0;
}

.projects-slider-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0.4rem var(--project-slide-peek) 1rem;
    touch-action: pan-y;
    cursor: grab;
    user-select: none;
}

.projects-slider-viewport.is-dragging {
    cursor: grabbing;
}

.projects-slider-track {
    display: flex;
    align-items: stretch;
    gap: var(--project-slide-gap);
    will-change: transform;
}

.project-slide {
    width: var(--project-slide-width);
    min-width: var(--project-slide-width);
    position: relative;
    transition: transform 0.6s var(--transition), opacity 0.6s var(--transition), filter 0.6s var(--transition);
    transform-origin: center center;
    opacity: 0.3;
    filter: saturate(0.76) blur(0.2px);
}

.project-slide.is-active {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: saturate(1) blur(0);
    z-index: 3;
}

.project-slide.is-prev,
.project-slide.is-next {
    opacity: 0.58;
    z-index: 2;
}

.project-slide.is-prev {
    transform: translate3d(20px, 10px, 0) scale(0.915);
}

.project-slide.is-next {
    transform: translate3d(-20px, 10px, 0) scale(0.915);
}

.project-slide:not(.is-active):not(.is-prev):not(.is-next) {
    transform: translate3d(0, 16px, 0) scale(0.84);
}

.project-slide .project-card {
    min-height: 100%;
    padding: 1.65rem;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
        var(--bg-card);
}

.projects-slider .project-card > .row {
    min-height: 100%;
}

.project-slide.is-active .project-card {
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.projects-slider .project-card::before {
    opacity: 0.78;
}

.projects-slider .project-number {
    font-size: 3rem;
    margin-bottom: 0.2rem;
}

.projects-slider .project-title {
    font-size: 1.18rem;
    margin-bottom: 0.75rem;
}

.projects-slider .project-desc {
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.projects-slider .project-stack {
    margin-bottom: 0.75rem;
}

.projects-slider .project-stack span {
    font-size: 0.66rem;
    padding: 0.18rem 0.52rem;
}

.projects-slider .project-deliverables {
    gap: 0.8rem;
}

.projects-slider .project-deliverables span {
    font-size: 0.73rem;
}

.projects-slider .project-media {
    min-height: 190px;
    margin-bottom: 1rem;
    border-radius: 16px;
}

.projects-slider .project-media-featured {
    min-height: 190px;
    padding: 0.95rem;
}

.projects-slider .project-media-chip,
.projects-slider .project-placeholder-content {
    font-size: 0.68rem;
}

.projects-slider .project-placeholder-content {
    padding: 0.7rem 0.9rem;
}

.projects-slider .project-visual {
    padding-left: 0.35rem;
}

.projects-slider .pv-grid {
    gap: 0.45rem;
}

.projects-slider .pv-block {
    padding: 0.6rem 0.45rem;
    font-size: 0.64rem;
}

.projects-slider .featured::before {
    top: 1.15rem;
    right: 1.15rem;
}

.projects-slider-arrow {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(14, 14, 14, 0.82);
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    z-index: 4;
}

.projects-slider-arrow:hover {
    transform: translateY(-2px) scale(1.03);
    border-color: var(--border-accent);
    background: rgba(245, 158, 11, 0.14);
    color: var(--accent);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}

.projects-slider-arrow:focus-visible,
.projects-slider-dot:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.projects-slider-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 0.25rem;
    padding: 0 1rem;
}

.projects-slider-dots {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(12, 12, 12, 0.55);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.projects-slider-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.projects-slider-status {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.58rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(12, 12, 12, 0.55);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.projects-slider-status [data-projects-current] {
    color: var(--text-primary);
}

.projects-slider-status-separator {
    width: 20px;
    height: 1px;
    background: linear-gradient(to right, var(--accent), rgba(255, 255, 255, 0.18));
}

.projects-slider-hint {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.projects-slider-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.projects-slider-dot.is-active {
    width: 28px;
    background: var(--accent-gradient);
}

.projects-slider-dot:hover {
    transform: scale(1.1);
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
}

.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.06), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.project-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

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

.project-card.featured {
    border-color: rgba(245, 158, 11, 0.15);
    background: rgba(245, 158, 11, 0.03);
}

.project-card.featured::before {
    content: 'FEATURED';
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--accent);
    padding: 0.2rem 0.6rem;
    border: 1px solid var(--border-accent);
    border-radius: 4px;
    background: var(--accent-dim);
}

.project-number {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.05em;
}

.project-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.project-stack span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    background: rgba(245, 158, 11, 0.08);
    color: var(--accent);
    border: 1px solid var(--border-accent);
    letter-spacing: 0.05em;
}

.project-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.project-media {
    position: relative;
    min-height: 220px;
    margin-bottom: 1.4rem;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.2), transparent 36%),
        #151515;
}

.project-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease, filter 0.45s ease;
}

.project-card:hover .project-thumb {
    transform: scale(1.04);
    filter: saturate(1.02);
}

.project-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
}

.project-media-featured {
    min-height: 260px;
    display: flex;
    align-items: flex-end;
    padding: 1.2rem;
    background:
        linear-gradient(135deg, rgba(245, 158, 11, 0.28), rgba(0, 0, 0, 0.15)),
        radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.12), transparent 22%),
        linear-gradient(160deg, #22150a 0%, #151515 72%);
}

.project-media-overlay {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.project-media-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(12, 12, 12, 0.65);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    backdrop-filter: blur(8px);
}

.project-media-placeholder {
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.project-placeholder-content {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 1rem;
    border-radius: 16px;
    background: rgba(12, 12, 12, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    letter-spacing: 0.04em;
}

.project-placeholder-content i {
    color: var(--accent);
    font-size: 1rem;
}

.tracking-theme {
    background:
        linear-gradient(160deg, rgba(14, 116, 144, 0.4), rgba(15, 23, 42, 0.78)),
        radial-gradient(circle at 70% 18%, rgba(56, 189, 248, 0.22), transparent 25%),
        #10151c;
}

.gov-theme {
    background:
        linear-gradient(160deg, rgba(34, 92, 60, 0.45), rgba(18, 18, 18, 0.82)),
        radial-gradient(circle at 80% 20%, rgba(134, 239, 172, 0.14), transparent 25%),
        #121512;
}

.project-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.75;
    flex: 1;
    margin-bottom: 1.5rem;
}

.project-deliverables {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-deliverables span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
}

.project-deliverables i {
    color: var(--accent);
}

/* Project Visual (Featured) */
.project-visual {
    padding-left: 1rem;
}

.pv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.6rem;
}

.pv-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.8rem 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    text-align: center;
    transition: all 0.3s ease;
    letter-spacing: 0.04em;
}

.pv-block:hover,
.pv-block.pv-accent {
    border-color: var(--border-accent);
    color: var(--accent);
    background: var(--accent-dim);
}

/* ============================================================
   SKILLS SECTION
   ============================================================ */
.skills-section {
    background: var(--bg-primary);
    position: relative;
}

.skills-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.skills-pill-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.skills-pill {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.025);
    color: var(--text-secondary);
    box-shadow: var(--shadow-card);
}

.skills-pill i {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--accent);
    background: var(--accent-dim);
    border: 1px solid var(--border-accent);
}

.skill-group {
    padding: 1.5rem;
    border-radius: 22px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
    box-shadow: var(--shadow-card);
}

.skill-group-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.skill-group-label i {
    color: var(--accent);
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-bar-item {}

.skill-bar-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-weight: 500;
}

.skill-pct {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--accent);
}

.skill-bar-track {
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    background: linear-gradient(to right, var(--accent), var(--accent-strong));
    border-radius: 10px;
    width: 0%;
    transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.skill-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    padding: 0.4rem 0.9rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-secondary);
    transition: all 0.25s ease;
}

.chip i {
    color: var(--accent);
    font-size: 0.85rem;
}

.chip:hover {
    border-color: var(--border-accent);
    color: var(--text-primary);
    background: var(--bg-card-hover);
}

/* Language Flags */
.lang-flags {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-flag {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.lang-flag.en {
    background: rgba(0, 82, 212, 0.2);
    color: #6ea8fe;
    border: 1px solid rgba(0, 82, 212, 0.3);
}

.lang-flag.ur {
    background: rgba(0, 140, 60, 0.2);
    color: #6fdd8c;
    border: 1px solid rgba(0, 140, 60, 0.3);
}

.lang-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.lang-level {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
}

/* ============================================================
   STRENGTHS SECTION
   ============================================================ */
.strengths-section {
    background: var(--bg-secondary);
    position: relative;
}

.strengths-section::before,
.strengths-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    pointer-events: none;
}

.strengths-section::before {
    top: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-accent), transparent);
}

.strengths-section::after {
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 16%, transparent 84%, rgba(255, 255, 255, 0.015));
}

.strengths-grid {
    position: relative;
    z-index: 1;
}

.strength-card {
    height: 100%;
    padding: 1.6rem;
    border-radius: 22px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.strength-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.strength-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.strength-card:hover::after {
    opacity: 1;
}

.strength-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    color: var(--accent);
    background: var(--accent-dim);
    border: 1px solid var(--border-accent);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.strength-icon i {
    font-size: 1.1rem;
}

.strength-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.strength-desc {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 32ch;
}

/* ============================================================
   EDUCATION SECTION
   ============================================================ */
.edu-section {
    background: var(--bg-secondary);
    padding: 60px 0;
}

.edu-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 3rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.edu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
    border-radius: 2px 0 0 2px;
}

.edu-card:hover {
    border-color: var(--border-accent);
}

.edu-icon {
    width: 64px;
    height: 64px;
    background: var(--accent-dim);
    border: 1px solid var(--border-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent);
}

.edu-degree {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 0.3rem;
}

.edu-school {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 0.8rem;
    letter-spacing: 0.04em;
}

.edu-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.edu-year {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.05);
    letter-spacing: -0.05em;
    line-height: 1;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    background: var(--bg-primary);
}

.cta-wrapper {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: 24px;
    padding: 4rem 3rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.cta-glow {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.12), transparent 70%);
    pointer-events: none;
}

.cta-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.8rem;
}

.cta-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--text-primary);
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.cta-title em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
}

.cta-body {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.cta-contact-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.cta-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    transition: all 0.25s ease;
}

.cta-contact-item i {
    color: var(--accent);
}

.cta-contact-item:hover {
    color: var(--text-primary);
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 2.5rem 0;
}

.footer-brand {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2rem;
    color: var(--text-primary);
    letter-spacing: -0.04em;
    line-height: 1;
}

.footer-tagline {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0.4rem 0 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

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

.footer-contacts {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.footer-contacts a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-contacts a:hover {
    border-color: var(--border-accent);
    color: var(--accent);
}

.footer-copy {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    text-align: right;
    margin: 0;
}

/* ============================================================
   MOUSE-PARALLAX TILT
   ============================================================ */
[data-tilt] {
    transform-style: preserve-3d;
    transition: transform 0.15s ease;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
    .projects-slider {
        --project-slide-width: min(80vw, 760px);
        --project-slide-gap: 1.1rem;
        --project-slide-peek: 0.5rem;
    }

    .projects-slider-shell {
        gap: 0.75rem;
    }

    .projects-slider-arrow {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
        border-radius: 16px;
    }

    .projects-slider .project-card {
        padding: 1.45rem;
    }

    .projects-slider .project-visual {
        padding-left: 0;
    }

    .projects-slider .project-media {
        min-height: 172px;
    }

    .projects-slider .project-media-featured {
        min-height: 172px;
    }

    .projects-slider-footer {
        padding: 0 0.5rem;
    }

    .navbar-collapse {
        background: rgba(12, 12, 12, 0.95);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 1rem;
        margin-top: 0.75rem;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .navbar-nav {
        align-items: flex-start !important;
    }

    .nav-link,
    .btn-hire,
    .btn-resume {
        width: 100%;
    }

    .nav-link {
        justify-content: flex-start;
    }

    .hero-scroll-hint {
        display: none;
    }

    .section-pad {
        padding: 82px 0;
    }

    .hero-title {
        font-size: clamp(2.8rem, 10vw, 4.5rem);
    }

    .hero-section {
        padding-top: calc(var(--nav-h) + 2rem);
    }

    .hero-highlights,
    .about-mini-panel,
    .skills-pill-grid {
        grid-template-columns: 1fr;
    }

    .hero-avatar-mobile {
        max-width: 420px;
    }

    .strength-card {
        padding: 1.4rem;
    }

    .project-media-featured {
        min-height: 220px;
    }

    .hero-glow,
    .cta-glow {
        max-width: 100%;
    }

    .hero-desc,
    .section-body,
    .job-desc,
    .project-desc,
    .cta-body,
    .lang-level,
    .footer-copy {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .code-body {
        padding: 1.25rem;
    }

    .code-body code {
        font-size: 0.78rem;
    }

    .timeline-item {
        grid-template-columns: 1fr;
    }

    .timeline-marker {
        display: none;
    }

    .cta-wrapper {
        padding: 2.5rem 2rem;
    }

    .cta-contact-list {
        gap: 0.65rem;
    }

    .edu-card {
        padding: 2rem 1.5rem;
    }

    .footer-contacts {
        justify-content: flex-start;
    }

    .footer-copy {
        text-align: left;
    }
}

@media (max-width: 767.98px) {
    .projects-slider {
        --project-slide-width: calc(100vw - 4rem);
        --project-slide-gap: 0.9rem;
        --project-slide-peek: 0;
    }

    .projects-slider-shell {
        display: block;
    }

    .projects-slider-arrow {
        position: absolute;
        top: calc(50% - 0.5rem);
        transform: translateY(-50%);
    }

    .projects-slider-arrow-prev {
        left: 0.15rem;
    }

    .projects-slider-arrow-next {
        right: 0.15rem;
    }

    .projects-slider-viewport {
        padding: 0.4rem 1.35rem 1rem;
    }

    .project-slide.is-prev,
    .project-slide.is-next {
        opacity: 0.4;
        transform: translate3d(0, 8px, 0) scale(0.92);
    }

    .projects-slider .project-card {
        padding: 1.35rem;
    }

    .projects-slider .project-media {
        min-height: 164px;
    }

    .projects-slider .project-media-featured {
        min-height: 164px;
    }

    .projects-slider .project-number {
        font-size: 2.4rem;
    }

    .projects-slider-footer {
        flex-direction: column;
        align-items: stretch;
        padding: 0;
    }

    .projects-slider-meta {
        justify-content: space-between;
        gap: 0.75rem;
    }

    .projects-slider-hint {
        text-align: right;
    }

    .strength-card {
        padding: 1.3rem;
    }

    .section-pad {
        padding: 55px 0;
    }

    .hero-eyebrow,
    .hero-role {
        flex-wrap: wrap;
    }

    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-highlights {
        gap: 0.85rem;
    }

    .btn-primary-custom,
    .btn-ghost-custom {
        width: 100%;
        justify-content: center;
    }

    .hero-social,
    .cta-contact-list {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-social-link,
    .cta-contact-item {
        width: 100%;
        justify-content: center;
    }

    .job-header {
        flex-direction: column;
    }

    .job-meta {
        align-items: flex-start;
    }

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

    .project-card {
        padding: 1.5rem;
    }

    .project-media {
        min-height: 180px;
    }

    .project-number {
        font-size: 2.5rem;
    }

    .project-visual {
        padding-left: 0;
    }

    .cta-wrapper {
        padding: 2rem 1.25rem;
    }

    .edu-card {
        padding: 1.5rem 1.25rem;
    }

    body {
        cursor: auto;
    }

    .cursor,
    .cursor-follower {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .projects-slider {
        --project-slide-width: calc(100vw - 2.4rem);
        --project-slide-gap: 0.75rem;
        --project-slide-peek: 0;
    }

    .projects-slider-arrow {
        width: 44px;
        height: 44px;
        top: calc(50% - 1rem);
        border-radius: 14px;
    }

    .projects-slider-viewport {
        padding-left: 0.2rem;
        padding-right: 0.2rem;
    }

    .projects-slider-dots {
        gap: 0.45rem;
    }

    .projects-slider-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .projects-slider-hint {
        text-align: left;
    }

    .strength-card {
        padding: 1.2rem;
        border-radius: 18px;
    }

    .strength-title {
        font-size: 1.05rem;
    }

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

    .hero-section {
        min-height: auto;
        padding-bottom: 3rem;
    }

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

    .hero-eyebrow,
    .role-text,
    .contact-link,
    .code-filename {
        font-size: 0.72rem;
    }

    .hero-highlight-card,
    .mini-panel-item,
    .skills-pill,
    .skill-group {
        padding: 1rem;
    }

    .code-window-header {
        padding: 0.85rem 1rem;
    }

    .code-body {
        padding: 1rem;
    }

    .project-card.featured::before {
        position: static;
        display: inline-flex;
        margin-bottom: 1rem;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    .cta-wrapper {
        text-align: center;
    }

    .cta-wrapper .text-lg-end {
        text-align: center !important;
    }

    .hero-portrait-card .hero-portrait {
        min-height: 320px;
    }
}
