/* ============================================
   Cyberpunk Neon Portfolio
   Color palette: #0a0e17 bg, #00e5ff cyan,
   #bd00ff purple, #39ff14 green
   ============================================ */

:root {
    /* Dark Navy Core */
    --bg-primary: #0a0e17;
    --bg-secondary: #0d1219;
    --bg-surface: #111827;
    --bg-card: rgba(15, 23, 42, 0.6);
    --bg-card-solid: #111827;

    /* Accents — Cyberpunk Neon */
    --pink: #00e5ff;
    --purple: #bd00ff;
    --green: #39ff14;
    --cyan: #00e5ff;
    --orange: #ff6b35;
    --red: #ff3860;
    --yellow: #ffd600;

    /* Text */
    --text-primary: #e8eaed;
    --text-secondary: #8892a4;
    --text-muted: #3d4a5c;

    /* Misc */
    --border: rgba(255, 255, 255, 0.07);
    --glow-pink: 0 0 30px rgba(0, 229, 255, 0.15);
    --glow-purple: 0 0 30px rgba(189, 0, 255, 0.15);

    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --font-sans: 'Inter', -apple-system, sans-serif;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--pink) var(--bg-primary);
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 5px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--pink);
    border-radius: 3px;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 0;
    transition: all 0.3s var(--ease);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(10, 14, 23, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

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

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--pink);
    transition: all 0.3s var(--ease);
}

.nav-logo:hover {
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
}

.nav-link {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s var(--ease);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link--cta {
    color: var(--pink);
    border: 1px solid var(--pink);
    border-radius: 20px;
    padding: 8px 20px;
}

.nav-link--cta:hover {
    background: rgba(0, 229, 255, 0.1);
    box-shadow: var(--glow-pink);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--pink);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}

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

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

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    position: relative;
    padding: 120px 24px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Ambient glow orbs */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}

.hero-glow--1 {
    width: 500px;
    height: 500px;
    top: -100px;
    left: -100px;
    background: rgba(0, 229, 255, 0.06);
}

.hero-glow--2 {
    width: 400px;
    height: 400px;
    bottom: 0;
    right: -50px;
    background: rgba(189, 0, 255, 0.06);
}

.hero-container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* --- Terminal Card --- */
.hero-terminal {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: slideUp 0.7s var(--ease);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid var(--border);
}

.terminal-dots {
    display: flex;
    gap: 7px;
}

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

.dot--red {
    background: #ff3860;
}

.dot--yellow {
    background: #ffd600;
}

.dot--green {
    background: #39ff14;
}

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: auto;
    margin-right: auto;
}

.terminal-body {
    padding: 18px 20px;
}

.terminal-cmd {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.terminal-cmd:last-child {
    margin-bottom: 0;
    margin-top: 14px;
}

.t-prompt {
    color: var(--green);
    font-weight: 700;
}

.t-dir {
    color: var(--cyan);
}

.terminal-neofetch {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    margin-bottom: 4px;
}

.ascii-art {
    font-family: var(--font-mono);
    font-size: 0.48rem;
    line-height: 1.15;
    color: var(--pink);
    white-space: pre;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.25);
    align-self: center;
}

.terminal-info p {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    margin-bottom: 2px;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.t-key {
    color: var(--pink);
    min-width: 110px;
    font-weight: 500;
}

.t-sep {
    color: var(--text-muted);
}

.t-val {
    color: var(--text-primary);
}

.t-val--green {
    color: var(--green);
    font-weight: 600;
}

.color-palette {
    display: flex;
    gap: 4px;
    margin-top: 8px;
}

.color-palette span {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    display: inline-block;
}

/* --- Hero Content --- */
.hero-content {
    animation: slideUp 0.7s var(--ease) 0.15s both;
}

.collab-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(57, 255, 20, 0.08);
    border: 1px solid rgba(57, 255, 20, 0.2);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--green);
    margin-bottom: 24px;
}

.collab-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.hero-heading {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-name {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Dynamic Role Typing Line --- */
.hero-role {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.role-static {
    color: var(--pink);
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.3);
}

.role-separator {
    color: var(--text-muted);
    font-size: 1rem;
}

.role-dynamic {
    background: linear-gradient(135deg, var(--purple), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 1ch;
}

.typing-cursor {
    color: var(--green);
    font-weight: 300;
    animation: blink 0.7s step-end infinite;
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.5);
}

.terminal-cursor {
    color: var(--text-primary);
    animation: blink 1s step-end infinite;
    opacity: 0.8;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

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

.hero-desc strong {
    color: var(--text-primary);
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    border: none;
}

.btn--primary {
    background: var(--pink);
    color: #0a0e17;
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(0, 229, 255, 0.45);
}

.btn--outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn--outline:hover {
    border-color: var(--pink);
    background: rgba(0, 229, 255, 0.05);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* --- Stats Row --- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 700px;
    width: 100%;
    margin-top: 48px;
    position: relative;
    z-index: 1;
    animation: slideUp 0.7s var(--ease) 0.3s both;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
    text-align: left;
    transition: all 0.3s var(--ease);
}

.stat-card:hover {
    border-color: rgba(0, 229, 255, 0.2);
    box-shadow: var(--glow-pink);
}

.stat-number {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--pink);
    margin-bottom: 4px;
}

.stat-card:nth-child(2) .stat-number {
    color: var(--green);
}

.stat-card:nth-child(3) .stat-number {
    color: var(--purple);
}

.stat-card:nth-child(4) .stat-number {
    color: var(--cyan);
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

/* ============================================
   SECTIONS — Shared
   ============================================ */
.section {
    padding: 100px 0;
}

.section--alt {
    background: var(--bg-secondary);
}

.section-heading {
    font-family: var(--font-mono);
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 48px;
}

.section-heading--center {
    text-align: center;
    justify-content: center;
}

.section-heading--center::after {
    display: none;
}

.section-heading::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 229, 255, 0.25), transparent);
    margin-left: 16px;
}

.section-heading:not(.section-heading--center) {
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-hash {
    color: var(--pink);
}

.section-sub {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: -36px;
    margin-bottom: 40px;
}

.section-sub a {
    color: var(--pink);
    transition: all 0.3s var(--ease);
}

.section-sub a:hover {
    color: var(--purple);
}

.section-sub a i {
    margin-right: 4px;
    font-size: 0.75rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.85;
}

.about-text strong {
    color: var(--text-primary);
}

.about-github-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 10px 18px;
    background: rgba(0, 229, 255, 0.06);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--pink);
    transition: all 0.3s var(--ease);
}

.about-github-link:hover {
    background: rgba(0, 229, 255, 0.12);
    box-shadow: var(--glow-pink);
}

.about-card {
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, var(--pink), var(--purple));
}

.about-card-inner {
    background: var(--bg-surface);
    border-radius: 10px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.card-line {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.card-line i {
    color: var(--pink);
    width: 18px;
    text-align: center;
    font-size: 0.85rem;
}

/* ============================================
   SKILLS SECTION
   ============================================ */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    backdrop-filter: blur(8px);
    transition: all 0.3s var(--ease);
}

.skill-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 229, 255, 0.2);
    box-shadow: var(--glow-pink);
}

.skill-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(0, 229, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 1.1rem;
    color: var(--pink);
}

.skill-card:nth-child(2) .skill-icon {
    background: rgba(189, 0, 255, 0.08);
    color: var(--purple);
}

.skill-card:nth-child(3) .skill-icon {
    background: rgba(57, 255, 20, 0.08);
    color: var(--green);
}

.skill-card:nth-child(4) .skill-icon {
    background: rgba(0, 229, 255, 0.08);
    color: var(--cyan);
}

.skill-card:nth-child(5) .skill-icon {
    background: rgba(255, 107, 53, 0.08);
    color: var(--orange);
}

.skill-card:nth-child(6) .skill-icon {
    background: rgba(57, 255, 20, 0.08);
    color: var(--green);
}

.skill-card h3 {
    font-family: var(--font-mono);
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.skill-tags span {
    font-size: 0.72rem;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    transition: all 0.3s var(--ease);
}

.skill-card:hover .skill-tags span {
    border-color: rgba(0, 229, 255, 0.2);
    color: var(--pink);
}

/* ============================================
   CERTIFICATIONS SECTION
   ============================================ */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.cert-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}

.cert-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 229, 255, 0.2);
    box-shadow: var(--glow-pink);
}

.cert-card--featured {
    border-color: rgba(255, 214, 0, 0.25);
    background: linear-gradient(135deg, rgba(255, 214, 0, 0.04), rgba(15, 23, 42, 0.6));
}

.cert-card--featured:hover {
    border-color: rgba(255, 214, 0, 0.4);
    box-shadow: 0 0 25px rgba(255, 214, 0, 0.1);
}

.cert-badge {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 229, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pink);
    font-size: 1rem;
}

.cert-card--featured .cert-badge {
    background: rgba(255, 214, 0, 0.1);
    color: var(--yellow);
}

.cert-info {
    flex: 1;
    min-width: 0;
}

.cert-info h3 {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 3px;
    line-height: 1.4;
}

.cert-issuer {
    font-size: 0.78rem;
    color: var(--purple);
    font-weight: 500;
    display: block;
    margin-bottom: 2px;
}

.cert-date {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
    display: block;
}

.cert-tag {
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    padding: 3px 8px;
    border-radius: 20px;
    background: rgba(0, 229, 255, 0.06);
    border: 1px solid rgba(0, 229, 255, 0.15);
    color: var(--pink);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.cert-tag--gold {
    background: rgba(255, 214, 0, 0.06);
    border-color: rgba(255, 214, 0, 0.2);
    color: var(--yellow);
}

/* --- Timeline Skills Tags --- */
.timeline-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.timeline-skills span {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    padding: 3px 10px;
    background: rgba(0, 229, 255, 0.06);
    border: 1px solid rgba(0, 229, 255, 0.12);
    border-radius: 20px;
    color: var(--pink);
    transition: all 0.3s var(--ease);
}

.timeline-skills span:hover {
    background: rgba(0, 229, 255, 0.12);
    border-color: rgba(0, 229, 255, 0.25);
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s var(--ease);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: rgba(189, 0, 255, 0.2);
    box-shadow: var(--glow-purple);
}

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

.project-icon {
    font-size: 1.5rem;
    color: var(--purple);
}

.project-links a {
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: all 0.3s var(--ease);
}

.project-links a:hover {
    color: var(--pink);
}

.project-title {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.project-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 18px;
}

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

.project-tech {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.lang-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 2px;
}

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

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

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
    position: relative;
    padding-left: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--pink), var(--purple), var(--text-muted));
}

.timeline-item {
    position: relative;
    margin-bottom: 36px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -40px;
    top: 6px;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 3px solid var(--pink);
    position: relative;
    z-index: 1;
}

.timeline-dot--active {
    border-color: var(--green);
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
    }

    50% {
        box-shadow: 0 0 20px rgba(57, 255, 20, 0.8);
    }
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s var(--ease);
    overflow-wrap: break-word;
    word-wrap: break-word;
    min-width: 0;
}

.timeline-content:hover {
    border-color: rgba(0, 229, 255, 0.15);
}

.timeline-badge {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(57, 255, 20, 0.08);
    border: 1px solid rgba(57, 255, 20, 0.25);
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--green);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content h3 {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.timeline-content h4 {
    font-size: 0.88rem;
    color: var(--purple);
    font-weight: 500;
    margin-bottom: 8px;
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 14px;
}

.timeline-list {
    list-style: none;
}

.timeline-list li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    padding: 3px 0 3px 20px;
    position: relative;
    line-height: 1.6;
}

.timeline-list li::before {
    content: '➜';
    position: absolute;
    left: 0;
    color: var(--green);
    font-size: 0.75rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: all 0.3s var(--ease);
}

.contact-card:hover {
    transform: translateX(6px);
    border-color: rgba(0, 229, 255, 0.2);
}

.contact-card i {
    font-size: 1.3rem;
    color: var(--pink);
    min-width: 24px;
    text-align: center;
}

.contact-card h4 {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-card span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.92rem;
    transition: all 0.3s var(--ease);
    outline: none;
    resize: vertical;
}

.form-group label {
    position: absolute;
    left: 16px;
    top: 14px;
    color: var(--text-muted);
    font-size: 0.88rem;
    pointer-events: none;
    transition: all 0.3s var(--ease);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.08);
}

.form-group input:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group textarea:focus~label,
.form-group textarea:not(:placeholder-shown)~label {
    top: -10px;
    left: 12px;
    font-size: 0.7rem;
    color: var(--pink);
    background: var(--bg-primary);
    padding: 0 6px;
    font-family: var(--font-mono);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 36px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer p {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 1rem;
    transition: all 0.3s var(--ease);
}

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

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

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

.skills-grid .fade-in:nth-child(1) {
    transition-delay: 0s;
}

.skills-grid .fade-in:nth-child(2) {
    transition-delay: 0.06s;
}

.skills-grid .fade-in:nth-child(3) {
    transition-delay: 0.12s;
}

.skills-grid .fade-in:nth-child(4) {
    transition-delay: 0.18s;
}

.skills-grid .fade-in:nth-child(5) {
    transition-delay: 0.24s;
}

.skills-grid .fade-in:nth-child(6) {
    transition-delay: 0.3s;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 20px;
    }

    .nav-menu {
        gap: 0px;
    }

    .nav-link {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }

    .hero-terminal {
        max-width: 480px;
        margin: 0 auto;
    }

    .hero-content {
        order: -1;
    }

    .hero-desc {
        margin: 0 auto 28px;
    }

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

    .hero-heading {
        font-size: 2.4rem;
    }

    .hero-role {
        justify-content: center;
        width: 100%;
    }

    .collab-badge {
        margin: 0 auto 24px;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        max-width: 500px;
    }

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

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

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

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

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

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: rgba(10, 14, 23, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 28px 28px;
        gap: 4px;
        transition: all 0.4s var(--ease);
        border-left: 1px solid var(--border);
        z-index: 999;
    }

    .nav-menu.active~.nav-overlay,
    .nav-menu.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
        pointer-events: none;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        display: block;
        font-size: 1rem;
        padding: 12px 16px;
        width: 100%;
        position: relative;
        z-index: 1000;
    }

    .nav-link--cta {
        margin-top: 10px;
        text-align: center;
    }

    .hero {
        padding: 80px 20px 40px;
    }

    .hero-heading {
        font-size: 1.9rem;
    }

    .section {
        padding: 70px 0;
    }

    .section-heading {
        font-size: 1.4rem;
    }

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

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

    .hero-role {
        font-size: 1rem;
        justify-content: center;
    }

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

    .ascii-art {
        font-size: 0.4rem;
    }

    .terminal-neofetch {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline::before {
        left: 8px;
    }

    .timeline-marker {
        left: -30px;
    }

    .timeline-content {
        padding: 18px;
    }

    .timeline-list li {
        font-size: 0.85rem;
    }

    .terminal-info p {
        font-size: 0.7rem;
    }

    .t-key {
        min-width: 75px;
    }

    .hero-terminal {
        margin: 0 -10px;
    }
}

@media (max-width: 480px) {
    .hero-heading {
        font-size: 1.6rem;
    }

    .stats-row {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .terminal-info p {
        font-size: 0.65rem;
    }

    .t-key {
        min-width: 65px;
    }

    .ascii-art {
        font-size: 0.35rem;
    }

    .hero-role {
        font-size: 0.85rem;
    }

    .hero-desc {
        font-size: 0.9rem;
    }

    .cert-card {
        flex-direction: column;
        text-align: center;
    }

    .section {
        padding: 50px 0;
    }
}