/* style.css — Kareem Mohamed Portfolio - Enhanced UI */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@300;400;500;700;900&display=swap');

:root {
    /* Deep, rich dark mode base */
    --bg: #030305;
    --bg2: #09090b;
    --surface: rgba(20, 20, 25, 0.6);
    --surface2: rgba(30, 30, 40, 0.8);
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(139, 92, 246, 0.5);
    
    --text: #ffffff;
    --text-muted: #a1a1aa;
    --text-dim: #71717a;
    
    /* Vibrant modern accents */
    --accent: #8b5cf6; /* Violet */
    --accent2: #3b82f6; /* Blue */
    --accent3: #ec4899; /* Pink */
    
    --gradient-text: linear-gradient(to right, #3b82f6, #8b5cf6, #ec4899);
    --gradient-bg: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
    
    --accent-glow: rgba(139, 92, 246, 0.2);
    --green: #10b981;
    
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-full: 999px;
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

[data-theme="light"] {
    --bg: #f8fafc;
    --bg2: #f1f5f9;
    --surface: rgba(255, 255, 255, 0.8);
    --surface2: rgba(255, 255, 255, 0.95);
    --border: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(139, 92, 246, 0.4);
    
    --text: #0f172a;
    --text-muted: #475569;
    --text-dim: #94a3b8;
    
    --accent-glow: rgba(139, 92, 246, 0.15);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    transition: background 0.5s ease, color 0.5s ease;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Ambient Background & Glow ── */
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image: 
        radial-gradient(var(--border) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    pointer-events: none;
    opacity: 0.5;
}

.bg-blobs {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    filter: blur(100px);
    opacity: 0.4;
}

.bg-blobs::before, .bg-blobs::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    animation: float 20s infinite ease-in-out alternate;
}

.bg-blobs::before {
    background: rgba(59, 130, 246, 0.4);
    top: -100px;
    left: -100px;
}

.bg-blobs::after {
    background: rgba(236, 72, 153, 0.3);
    bottom: -100px;
    right: -100px;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 100px) scale(1.1); }
    100% { transform: translate(-50px, 50px) scale(0.9); }
}

.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
    will-change: transform;
}

/* ── Container ── */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ── Floating Header ── */
header {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 900px;
    z-index: 1000;
    background: var(--surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

nav.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 24px;
}

.logo a {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.logo-bracket {
    color: var(--accent);
    font-weight: 900;
    margin: 0 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 4px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .nav-links {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.05);
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .nav-links a:hover {
    background: rgba(0, 0, 0, 0.05);
}

#theme-toggle {
    background: transparent;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

#theme-toggle:hover {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ── Modern Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--text);
    color: var(--bg);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-bg);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    color: #fff;
    box-shadow: 0 10px 25px -5px var(--accent-glow);
    transform: translateY(-2px);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-ghost {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    border-color: var(--text);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.05);
}

/* ── Sections ── */
section {
    padding: 140px 0;
    position: relative;
}

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

.section-tag {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: 16px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background-color: var(--surface);
}

.section-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

/* ── Hero Refined ── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 120px;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--green);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 40px;
    backdrop-filter: blur(4px);
}

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

.hero-name {
    font-family: var(--font-display);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
    font-size: clamp(3.5rem, 8vw, 6.5rem);
}

.hero-name .accent {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 32px;
}

.role-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.role-chip:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.role-chip i {
    color: var(--accent2);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

/* Glassmorphism Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 24px 48px;
    background: var(--surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    box-shadow: var(--glass-shadow);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ── About Section ── */
.about {
    background: var(--bg2);
    position: relative;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-links {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    padding: 12px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--text);
    color: var(--bg);
    transform: translateY(-2px);
}

.skills-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(10px);
}

.skill-group h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-group h4 i {
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.skill-chips span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

[data-theme="light"] .skill-chips span {
    background: rgba(0, 0, 0, 0.03);
}

.skill-chips span:hover {
    color: var(--text);
    border-color: var(--accent);
    background: var(--accent-glow);
    transform: translateY(-2px);
}

/* ── Certifications Strip ── */
.certs-strip {
    padding: 40px 0;
    background: var(--bg);
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cert-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: var(--gradient-bg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

a.cert-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 10px 30px -10px var(--accent-glow);
}

a.cert-card:hover::before {
    opacity: 1;
}

.cert-card i {
    font-size: 2rem;
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cert-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    display: block;
    margin-bottom: 4px;
}

.cert-date {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-dim);
}

/* ── Experience Timeline ── */
.experience {
    background: var(--bg);
}

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

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--accent), transparent);
    opacity: 0.5;
}

.timeline-item {
    position: relative;
    padding-left: 64px;
    margin-bottom: 48px;
}

.timeline-marker {
    position: absolute;
    left: 11px;
    top: 24px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg);
    border: 3px solid var(--accent);
    box-shadow: 0 0 15px var(--accent);
    z-index: 2;
}

.timeline-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.timeline-content::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 150px; height: 150px;
    background: var(--gradient-bg);
    filter: blur(60px);
    opacity: 0.1;
    border-radius: 50%;
    pointer-events: none;
}

.timeline-content:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}

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

.timeline-content h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
}

.timeline-badge {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--bg);
    background: var(--text);
    padding: 6px 12px;
    border-radius: var(--radius-full);
}

.timeline-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent2);
    margin-bottom: 16px;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* ── Premium Project Cards ── */
.projects {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    position: relative;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.project-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: var(--gradient-bg);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
}

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

.project-card.featured {
    grid-column: 1 / -1;
    background: linear-gradient(145deg, var(--surface) 0%, rgba(30, 30, 45, 0.4) 100%);
    display: flex;
    flex-direction: column;
}

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

.project-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--surface2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.project-icon i {
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-links {
    display: flex;
    gap: 12px;
}

.project-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: var(--transition);
}

.project-links a:hover {
    background: var(--text);
    color: var(--bg);
    transform: scale(1.1);
}

.project-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--green);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.project-card h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text);
}

.project-card p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
    flex-grow: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-tech span {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    background: var(--surface2);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 8px;
}

/* ── Contact Section ── */
.contact {
    background: var(--bg);
    text-align: center;
}

.contact-inner {
    max-width: 800px;
    margin: 0 auto;
}

.contact .section-header {
    text-align: center;
}

.contact-sub {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    line-height: 1.7;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    text-align: left;
}

.contact-card i {
    font-size: 1.75rem;
    color: var(--text);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface2);
    border-radius: 12px;
    transition: var(--transition);
}

.contact-card div {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
    margin-bottom: 4px;
}

.contact-value {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
}

a.contact-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px -10px var(--accent-glow);
}

a.contact-card:hover i {
    background: var(--text);
    color: var(--bg);
}

.contact-card.primary {
    grid-column: 1 / -1;
    background: var(--gradient-bg);
    border: none;
}

.contact-card.primary .contact-label,
.contact-card.primary .contact-value {
    color: #fff;
}

.contact-card.primary i {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* ── Footer ── */
footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 40px 0;
}

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

.footer-inner p {
    color: var(--text-dim);
    font-weight: 500;
}

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

.footer-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: var(--transition);
}

.footer-links a:hover {
    background: var(--text);
    color: var(--bg);
    transform: translateY(-4px);
}

/* ── Animations ── */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ── Responsive Design ── */
@media (max-width: 1024px) {
    .about-grid, .project-card.featured {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .certs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        top: 16px;
        width: calc(100% - 32px);
    }

    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-name {
        font-size: clamp(2.8rem, 10vw, 4rem);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
        padding: 32px;
        width: 100%;
    }
    
    .stat-divider {
        width: 100px;
        height: 1px;
    }
    
    .projects-grid, .contact-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--surface);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        border-radius: var(--radius-lg);
        border: 1px solid var(--border);
        box-shadow: var(--glass-shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
    
    .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    
    .timeline { padding-left: 0; }
    .timeline::before { left: 0; }
    .timeline-item { padding-left: 32px; }
    .timeline-marker { left: -9px; }
}
