/* ===== CSS Variables ===== */
:root {
    --bg-primary: #0a0f1a;
    --bg-secondary: #111827;
    --bg-card: #1a2332;
    --bg-card-hover: #1f2b3d;
    --border: #1e3a2f;
    --border-hover: #2dd67c;

    --green-50: #ecfdf5;
    --green-100: #d1fae5;
    --green-200: #a7f3d0;
    --green-300: #6ee7b7;
    --green-400: #34d399;
    --green-500: #10b981;
    --green-600: #059669;
    --green-700: #047857;

    --accent: #34d399;
    --accent-bright: #6ee7b7;
    --accent-dim: #059669;
    --accent-glow: rgba(52, 211, 153, 0.15);
    --accent-glow-strong: rgba(52, 211, 153, 0.3);

    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1100px;
}



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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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;
}

::selection {
    background: var(--accent-glow-strong);
    color: var(--accent-bright);
}

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

a:hover {
    color: var(--accent-bright);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Navigation ===== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
    backdrop-filter: blur(0px);
}

#navbar.scrolled {
    padding: 12px 0;
    background: rgba(10, 15, 26, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: var(--container-width);
    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.4rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.nav-logo:hover {
    color: var(--text-primary);
}

.logo-bracket {
    color: var(--accent);
}

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

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
    background: var(--accent-glow);
}

.nav-links a.active {
    color: var(--accent);
}

.nav-cta {
    background: var(--accent-glow) !important;
    border: 1px solid var(--accent) !important;
    color: var(--accent) !important;
}

.nav-cta:hover {
    background: var(--accent) !important;
    color: var(--bg-primary) !important;
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition);
    border-radius: 2px;
}

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

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

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

/* ===== Hero Section ===== */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 60px;
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: var(--container-width);
    width: 100%;
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
    min-width: 0;
}

.hero-avatar {
    flex: 0 0 auto;
}

.hero-avatar img {
    width: 340px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(52, 211, 153, 0.15));
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.hero-greeting {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

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

.greeting-text {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--accent);
    font-weight: 500;
}

.hero-name {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--green-300) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.hero-title-wrapper {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
    min-height: 2.5rem;
}

.hero-title-prefix {
    color: var(--text-secondary);
}

.hero-typewriter {
    color: var(--accent);
    font-weight: 600;
}

.cursor {
    color: var(--accent);
    animation: blink 1s infinite;
    font-weight: 300;
}

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

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: 36px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.8s;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 1s;
}

.hero-stats {
    display: flex;
    align-items: flex-end;
    gap: 48px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 1.2s;
}

.stat {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.stat-value {
    display: flex;
    align-items: baseline;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--font-mono);
    line-height: 1;
}

.stat-plus {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    font-family: var(--font-mono);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 6px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 1.5s;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(12px); }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--accent-bright);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow-strong);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-secondary:hover {
    background: var(--accent-glow);
    color: var(--accent-bright);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* ===== Sections ===== */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border), transparent);
    max-width: 300px;
}

.section-number {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--accent);
    font-weight: 500;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: -32px;
    margin-bottom: 48px;
}

/* ===== About Section ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.8;
}

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

.about-highlights {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

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

.highlight svg {
    color: var(--accent);
    flex-shrink: 0;
}

/* Terminal */
.terminal {
    background: #0d1117;
    border-radius: 12px;
    border: 1px solid #30363d;
    overflow: hidden;
    font-family: var(--font-mono);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.terminal-header {
    background: #161b22;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #30363d;
}

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

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

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.terminal-title {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.terminal-body {
    padding: 20px;
}

.terminal-line {
    margin-bottom: 12px;
}

.prompt {
    color: var(--accent);
    margin-right: 8px;
}

.command {
    color: var(--text-primary);
    font-size: 0.85rem;
}

.terminal-output {
    font-size: 0.8rem;
    line-height: 1.7;
    color: var(--text-secondary);
    white-space: pre;
    overflow-x: auto;
}

.json-key { color: #79c0ff; }
.json-value { color: var(--accent); }

/* ===== Experience Timeline ===== */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), var(--accent-dim), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-marker {
    position: absolute;
    left: -40px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 3px solid var(--accent);
    z-index: 1;
    transition: all var(--transition);
}

.timeline-item:hover .timeline-marker {
    background: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow-strong);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    transition: all var(--transition);
}

.timeline-content:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateX(4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

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

.timeline-company {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.timeline-role {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 2px;
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.timeline-details {
    list-style: none;
    margin-bottom: 16px;
}

.timeline-details li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.timeline-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

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

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
    background: var(--accent-glow);
    color: var(--accent);
    border: 1px solid rgba(52, 211, 153, 0.15);
}

/* Promotion blocks within a single company */
.promotion-block {
    margin-bottom: 20px;
}

.promotion-block:last-of-type {
    margin-bottom: 16px;
}

.promotion-role {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    gap: 12px;
}

.promotion-title {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
}

.promotion-date {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.promotion-divider {
    height: 1px;
    background: linear-gradient(90deg, var(--border), transparent);
    margin: 20px 0;
}

/* ===== Skills Section ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.skill-category {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    transition: all var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.skill-category.visible {
    opacity: 1;
    transform: translateY(0);
}

.skill-category:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.skill-category-icon {
    color: var(--accent);
    margin-bottom: 16px;
}

.skill-category h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

.skill-tags span {
    font-size: 0.8rem;
    padding: 6px 14px;
    border-radius: 6px;
    background: rgba(148, 163, 184, 0.08);
    color: var(--text-secondary);
    border: 1px solid rgba(148, 163, 184, 0.1);
    transition: all var(--transition);
}

.skill-tags span:hover {
    background: var(--accent-glow);
    color: var(--accent);
    border-color: rgba(52, 211, 153, 0.2);
}

.skill-tags span.featured {
    background: var(--accent-glow);
    color: var(--accent);
    border-color: var(--accent);
    font-weight: 600;
}

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

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    transition: all var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
}

.project-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.featured-project {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(52, 211, 153, 0.05) 100%);
    border-color: rgba(52, 211, 153, 0.2);
}

.project-badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: 20px;
    background: var(--accent);
    color: var(--bg-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.project-gh-link {
    color: var(--text-muted);
    transition: color var(--transition);
    display: flex;
}

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

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

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

.project-links a {
    color: var(--text-muted);
    transition: color var(--transition);
}

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

.project-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.project-stats {
    display: flex;
    gap: 16px;
}

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

.project-stat svg {
    color: #fbbf24;
}

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

.project-tech span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.projects-cta {
    text-align: center;
    margin-top: 48px;
}

/* ===== Education Section ===== */
.education-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.education-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: all var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.education-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.education-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.education-icon {
    color: var(--accent);
    margin-bottom: 20px;
}

.education-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.education-field {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.education-school {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.education-year {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 4px 14px;
    border-radius: 20px;
    background: var(--accent-glow);
    border: 1px solid rgba(52, 211, 153, 0.15);
}

/* ===== Contact Section ===== */
#contact {
    text-align: center;
    padding-bottom: 120px;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 36px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 36px;
}

.social-link {
    color: var(--text-muted);
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-glow);
    transform: translateY(-3px);
}

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

.footer-text {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

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

/* ===== Side Elements ===== */
.side-social {
    position: fixed;
    bottom: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.side-social::after {
    content: '';
    width: 1px;
    height: 90px;
    background: var(--text-muted);
}

.side-social {
    left: 40px;
}

.side-social a {
    color: var(--text-muted);
    transition: all var(--transition);
}

.side-social a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll animation for elements with data-aos */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .side-social {
        display: none;
    }

    .hero-avatar img {
        width: 280px;
    }
}

@media (max-width: 860px) {
    .hero-avatar {
        display: none;
    }
}

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

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 100px 40px 40px;
        transition: right var(--transition);
        border-left: 1px solid var(--border);
        gap: 4px;
    }

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

    .nav-links a {
        font-size: 1rem;
        padding: 14px 20px;
        width: 100%;
        display: block;
    }

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

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

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

    .featured-project {
        grid-column: auto;
    }

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

    .hero-stats {
        gap: 32px;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline-marker {
        left: -30px;
        width: 14px;
        height: 14px;
    }

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

    .promotion-role {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .section {
        padding: 80px 0;
    }

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

    #hero {
        padding: 100px 20px 40px;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 24px;
    }

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

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
    }

    .timeline-content {
        padding: 20px;
    }

    .social-links {
        gap: 12px;
    }
}

/* Mobile overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}
