/* ===== VARIABLES ===== */
:root {
    --nav-offset: 56px;
    --nav-offset-mobile: 96px;
    --bg-page: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.88);
    --bg-dark: #070d1a;
    --bg-dark-card: rgba(255,255,255,0.05);
    --surface-a: linear-gradient(145deg, rgba(255,255,255,0.94), rgba(236,246,255,0.86));
    --surface-b: linear-gradient(145deg, rgba(255,255,255,0.94), rgba(246,240,255,0.86));
    --surface-card: linear-gradient(150deg, rgba(255,255,255,0.93), rgba(247,250,255,0.8));
    --section-border: rgba(148, 163, 184, 0.24);

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #e2e8f0;

    --accent: #2563eb;
    --accent-light: #3b82f6;
    --accent-glow: rgba(37, 99, 235, 0.15);
    --gradient: linear-gradient(135deg, #2563eb, #7c3aed);
    --gradient-subtle: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(124,58,237,0.08));
    --gradient-gold: linear-gradient(135deg, #c9a84c, #f0d78c, #c9a84c);

    --border: #e2e8f0;
    --border-hover: rgba(37, 99, 235, 0.3);

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.08);
    --shadow-glow: 0 8px 30px rgba(37,99,235,0.12);

    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
}

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

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-offset) + 24px);
}

body {
    background:
        radial-gradient(1200px 620px at 8% -10%, rgba(37,99,235,0.2), transparent 62%),
        radial-gradient(980px 560px at 100% 2%, rgba(124,58,237,0.17), transparent 66%),
        linear-gradient(180deg, #f3f8ff 0%, #f6f9ff 42%, #f8fafc 100%);
    color: var(--text-secondary);
    line-height: 1.7;
    overflow-x: hidden;
    font-family: var(--font-body);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

html.human-gate-pending body {
    overflow: hidden;
}

html.human-gate-pending .sticky-nav,
html.human-gate-pending .hero-section,
html.human-gate-pending .container,
html.human-gate-pending .footer-section {
    transition: filter 0.45s ease, opacity 0.45s ease;
    filter: blur(14px) saturate(0.55);
    opacity: 0.82;
    pointer-events: none;
    user-select: none;
}

html.human-gate-revealing .sticky-nav,
html.human-gate-revealing .hero-section,
html.human-gate-revealing .container,
html.human-gate-revealing .footer-section {
    transition: filter 0.45s ease, opacity 0.45s ease;
    filter: blur(0) saturate(1);
    opacity: 1;
    pointer-events: none;
    user-select: none;
}

.human-shield {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(145deg, rgba(7, 14, 30, 0.88), rgba(19, 27, 48, 0.84));
    opacity: 1;
    visibility: visible;
    transition: opacity 0.42s ease, visibility 0.42s ease;
}

.human-shield.is-hiding {
    opacity: 0;
    visibility: hidden;
}

.human-shield-card {
    width: min(96vw, 520px);
    border-radius: var(--radius-lg);
    padding: 26px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(11, 17, 32, 0.92);
    box-shadow: 0 20px 48px rgba(2, 6, 23, 0.45);
    text-align: center;
}

.human-shield-title {
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
    color: #f8fafc;
}

.human-shield-desc {
    color: #cbd5e1;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.human-shield-btn {
    border: 0;
    color: #fff;
    font-weight: 700;
    border-radius: 999px;
    cursor: pointer;
    padding: 0.8rem 1.2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.35);
}

.human-shield-btn:hover {
    transform: translateY(-1px);
}

.human-shield-status {
    min-height: 1.3rem;
    margin-top: 0.9rem;
    color: #fca5a5;
    font-size: 0.9rem;
}

.human-shield.is-blocked .human-shield-status {
    color: #fecaca;
    margin-top: 0;
}

html.bot-blocked .sticky-nav,
html.bot-blocked .hero-section,
html.bot-blocked .container,
html.bot-blocked .footer-section {
    display: none !important;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, .hero-role, .stat-num, .btn {
    font-family: var(--font-heading);
    color: var(--text-primary);
}

h1 { font-weight: 800; letter-spacing: -1.5px; }
h2 {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 14px;
}
h2 .section-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(145deg, rgba(37,99,235,0.16), rgba(124,58,237,0.14));
    border: 1px solid rgba(124,58,237,0.16);
    border-radius: var(--radius-sm);
    color: var(--accent);
    font-size: 1.1rem;
    box-shadow: 0 8px 18px rgba(37,99,235,0.14);
}

.container {
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

section { margin-bottom: 0; }

.container > section,
.container > .industry-bar {
    --section-top-line-inset: calc(var(--radius-xl) - 1px);
    position: relative;
    padding: 2.4rem;
    margin-bottom: 3rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--section-border);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.container > section {
    background: var(--surface-a);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.container > section:nth-of-type(even) {
    background: var(--surface-b);
}

.container > section:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 52px rgba(15, 23, 42, 0.09);
    border-color: rgba(59, 130, 246, 0.26);
}

.container > section::before,
.container > .industry-bar::before {
    content: "";
    position: absolute;
    top: 0;
    left: var(--section-top-line-inset);
    right: var(--section-top-line-inset);
    height: 3px;
    background: var(--gradient);
    opacity: 0.7;
    border-radius: 999px;
}

.container > section::after,
.container > .industry-bar::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    right: -120px;
    top: -120px;
    background: radial-gradient(circle, rgba(37,99,235,0.14) 0%, transparent 72%);
    pointer-events: none;
    animation: sectionGlow 16s ease-in-out infinite;
}

.container > section:nth-of-type(even)::after {
    background: radial-gradient(circle, rgba(124,58,237,0.14) 0%, transparent 72%);
}

.container > section > *,
.container > .industry-bar > * {
    position: relative;
    z-index: 1;
}

/* ===== NAVIGATION ===== */
.sticky-nav {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.9), rgba(243,248,255,0.88));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(148,163,184,0.24);
    padding: 0.8rem 0;
    transition: box-shadow 0.3s;
}
.sticky-nav.scrolled {
    box-shadow: 0 4px 20px rgba(15,23,42,0.06);
}

.nav-content {
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.nav-brand > a {
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lang-switch {
    font-size: 0.75rem;
    font-weight: 700;
    border-left: 1px solid var(--border);
    padding-left: 14px;
    display: flex;
    gap: 6px;
    margin-right: auto;
}
.lang-switch a {
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    background: none;
    -webkit-text-fill-color: currentColor;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.2s;
}
.lang-switch a.active-lang {
    color: var(--accent);
    background: var(--accent-glow);
    font-weight: 800;
}
.lang-switch a:hover { color: var(--accent); }

.nav-links {
    display: flex;
    gap: 8px;
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 6px;
    transition: all 0.2s;
}
.nav-links a:hover {
    color: var(--accent);
    background: var(--accent-glow);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 6px;
    min-width: 44px;
    min-height: 44px;
}

.nav-collapsible {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.nav-mobile-divider {
    display: none;
}

/* ===== HERO ===== */
.hero-section {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
    margin-top: var(--nav-offset);
}
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 15% 40%, rgba(37,99,235,0.18), transparent 70%),
        radial-gradient(ellipse 500px 350px at 85% 25%, rgba(124,58,237,0.12), transparent 65%),
        radial-gradient(ellipse 300px 300px at 50% 90%, rgba(37,99,235,0.06), transparent 70%);
    pointer-events: none;
    animation: heroGlow 12s ease-in-out infinite alternate;
}
.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

@keyframes heroGlow {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    padding: 7rem 0;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
}

.hero-role {
    letter-spacing: 4px;
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    margin-bottom: 1.4rem;
    padding: 6px 0;
    position: relative;
}
.hero-role::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 2px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.hero-name {
    font-size: 3.8rem;
    line-height: 1.05;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.6rem;
    letter-spacing: -2px;
}

.hero-desc {
    font-size: 1.12rem;
    color: rgba(226,232,240,0.8);
    margin-bottom: 0.5rem;
    max-width: 540px;
    line-height: 1.85;
}
.hero-desc strong {
    color: #ffffff;
    font-weight: 600;
}

.hero-motto {
    color: rgba(201,168,76,0.6);
    font-style: italic;
    font-size: 0.95rem;
    margin-top: 1.2rem;
    margin-bottom: 2.4rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

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

.hero-photo {
    position: relative;
    flex-shrink: 0;
}
.hero-photo img {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(255,255,255,0.08);
    box-shadow:
        0 30px 60px rgba(0,0,0,0.5),
        0 0 80px rgba(37,99,235,0.08);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.hero-photo:hover img {
    transform: translateY(-4px) scale(1.01);
    box-shadow:
        0 35px 70px rgba(0,0,0,0.55),
        0 0 100px rgba(37,99,235,0.12);
}
.hero-photo::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: calc(var(--radius-lg) + 3px);
    background: var(--gradient);
    opacity: 0.2;
    z-index: -1;
    transition: opacity 0.5s ease;
}
.hero-photo:hover::before {
    opacity: 0.35;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.82rem;
    letter-spacing: 0.3px;
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
    line-height: 1.5;
    white-space: nowrap;
}
.btn i { font-size: 0.85rem; }

.btn-gradient {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(37,99,235,0.3);
    position: relative;
    overflow: hidden;
}
.btn-gradient::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37,99,235,0.45);
}
.btn-gradient:hover::after {
    opacity: 1;
}

.btn-glass {
    background: rgba(255,255,255,0.08);
    color: white;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
}
.btn-glass:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.btn-outline {
    background: white;
    border: 1px solid var(--border);
    color: var(--text-primary);
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--text-primary);
    color: white;
    box-shadow: var(--shadow-md);
}
.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ===== INDUSTRY BAR ===== */
.industry-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0;
    background: linear-gradient(145deg, rgba(37,99,235,0.08), rgba(124,58,237,0.08));
}
.ind-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    padding: 0.45rem 0.5rem 0.45rem 0;
}
.ind-tag {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    padding: 0.45rem 1rem;
    position: relative;
    transition: all 0.25s ease;
    cursor: default;
    border-radius: 999px;
}
.ind-tag:hover {
    color: var(--accent);
    background: rgba(255,255,255,0.5);
}
.ind-tag::after {
    content: "";
    position: absolute;
    right: -1px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.4;
}
.ind-tag:last-child::after { display: none; }

/* ===== CARDS ===== */
.glass-card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s ease;
    position: relative;
}
.glass-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: calc(var(--radius-md) + 1px);
    background: var(--gradient);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.35s;
}
.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: transparent;
}
.glass-card:hover::before { opacity: 1; }

/* ===== STATS GRID ===== */
.stats-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.stat-card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.8rem 1.2rem;
    text-align: center;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    top: -60px;
    right: -60px;
    background: radial-gradient(circle, rgba(37,99,235,0.26), transparent 72%);
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.stat-card::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.35s;
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: var(--border-hover);
}
.stat-card:hover::before {
    opacity: 1;
    transform: scale(1);
}
.stat-card:hover::after { transform: scaleX(1); }
.stat-card:hover .stat-value {
    filter: drop-shadow(0 6px 12px rgba(37,99,235,0.22));
}

.stat-value {
    display: block;
    font-size: 2.1rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    transition: transform 0.35s ease, filter 0.35s ease;
}
.stat-value.counting {
    animation: counterPulse 0.85s ease-in-out infinite alternate;
}
.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

/* ===== IMPROVEMENT CARDS ===== */
.imp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.imp-card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
}
.imp-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 3px;
    background: var(--gradient);
}
.imp-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.imp-header {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.imp-row {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 8px;
    align-items: baseline;
    font-size: 0.9rem;
}

.imp-icon { font-size: 0.75rem; margin-top: 3px; }
.imp-icon.problem { color: #ef4444; }
.imp-icon.action { color: var(--text-muted); }
.imp-icon.result { color: #10b981; }

.imp-label {
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.label-before { color: #ef4444; }
.label-action { color: var(--text-muted); }
.label-result { color: #10b981; }

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

/* ===== PROJECT CARDS ===== */
.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.project-card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
}
.project-card::after {
    content: "";
    position: absolute;
    inset: auto -20% -55% auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124,58,237,0.22), transparent 72%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: var(--border-hover);
}
.project-card:hover::after { opacity: 1; }

.project-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
}

.project-header .project-title {
    margin-bottom: 0;
    min-width: 0;
}

.project-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 0;
}

.project-subtitle {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.project-detail {
    font-size: 0.9rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
.project-detail strong {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 0.8rem;
}
.project-tag {
    font-size: 0.72rem;
    padding: 4px 10px;
    background: var(--gradient-subtle);
    border-radius: 20px;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ===== EXPERIENCE BANNER ===== */
.experience-banner-split {
    display: flex;
    align-items: stretch;
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    position: relative;
}
.experience-banner-split::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient);
}

.exp-segment {
    flex: 1;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.exp-divider {
    width: 1px;
    background: var(--border);
    margin: 1.5rem 0;
}

.exp-icon-box {
    font-size: 1.5rem;
    color: var(--accent);
    background: var(--gradient-subtle);
    width: 50px; height: 50px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
}

.exp-segment h3 {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    min-height: 2.5em;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.counter-display {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    text-shadow: 0 8px 18px rgba(37,99,235,0.18);
    transition: transform 0.25s ease, filter 0.25s ease;
}
.counter-display.counting {
    animation: counterPulse 0.85s ease-in-out infinite alternate;
}
.counter-highlight { color: var(--accent); }

/* ===== TIMELINE / CAREER ===== */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timeline-item {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}
.timeline-item::before {
    content: "";
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 3px;
    background: var(--gradient);
}
.timeline-item:hover {
    box-shadow: var(--shadow-glow);
    border-color: var(--border-hover);
}

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

.timeline-role {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
}
.timeline-company {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

.timeline-date {
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--accent);
    background: var(--gradient-subtle);
    padding: 6px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

.timeline-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
    font-style: italic;
    overflow-wrap: anywhere;
}

.timeline-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1rem;
}
.timeline-points li {
    font-size: 0.9rem;
    padding-left: 20px;
    position: relative;
    overflow-wrap: anywhere;
}
.timeline-points li::before {
    content: "";
    position: absolute;
    left: 0; top: 10px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.5;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 0.5rem;
}

/* ===== OTHER EXPERIENCE ===== */
.other-exp-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.other-exp-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--surface-card);
    border: 1px solid var(--border);
    padding: 1.2rem 1.5rem;
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
}
.other-exp-item:hover {
    border-color: var(--border-hover);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.exp-role {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    overflow-wrap: anywhere;
}
.exp-company {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2px;
    overflow-wrap: anywhere;
}
.exp-date {
    font-weight: 700;
    color: var(--accent);
    font-size: 0.82rem;
    white-space: nowrap;
    background: var(--gradient-subtle);
    padding: 6px 14px;
    border-radius: 20px;
}

/* ===== LANGUAGES ===== */
.lang-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.5rem;
}

.lang-card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem 1rem;
    text-align: center;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lang-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: var(--border-hover);
}

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

.pie-chart {
    width: 112px; height: 112px;
    border-radius: 50%;
    background: conic-gradient(var(--accent) calc(var(--percent) * 1%), rgba(148,163,184,0.28) 0);
    position: relative;
    display: block;
    margin-bottom: 0.5rem;
    overflow: visible;
    border: none;
    box-shadow:
        0 12px 28px rgba(37,99,235,0.16),
        inset 0 0 0 1px rgba(255,255,255,0.55);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.pie-chart::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(15,23,42,0.08);
    pointer-events: none;
}
.pie-chart::after {
    content: "";
    position: absolute;
    width: 72px; height: 72px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(242,247,255,0.96));
    border: 1px solid rgba(148,163,184,0.22);
    border-radius: 50%;
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.85);
}
.lang-card:hover .pie-chart {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 16px 30px rgba(37,99,235,0.2),
        inset 0 0 0 1px rgba(255,255,255,0.6);
}
.pie-text {
    display: none;
}
.lang-percent {
    font-size: 1.05rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-top: 0.1rem;
}
.lang-level {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 0.45rem;
}

/* ===== CERTIFICATES ===== */
.cert-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.cert-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--surface-card);
    border: 1px solid var(--border);
    padding: 1.2rem 1.5rem;
    border-radius: var(--radius-sm);
    transition: all 0.25s;
}
.cert-item:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.cert-title {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.95rem;
}
.cert-issuer {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

.btn-small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 0.72rem;
    border: 1px solid var(--border);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.25s;
    white-space: nowrap;
}
.btn-small:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* ===== SKILLS ===== */
.skills-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.skill-category-card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: all 0.35s ease;
}
.skill-category-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.skill-category-card.full-width { grid-column: span 2; }

.skill-header {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}
.skill-header i { color: var(--accent); opacity: 0.7; }

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.skill-tag {
    font-size: 0.82rem;
    padding: 5px 12px;
    background: var(--gradient-subtle);
    border: 1px solid transparent;
    border-radius: 20px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: default;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
}
.skill-tag i { font-size: 0.7rem; color: var(--text-muted); }
.skill-tag:hover {
    background: white;
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 2px 8px rgba(37,99,235,0.1);
}
.skill-tag:hover i { color: var(--accent); }

/* ===== REVIEWS CAROUSEL ===== */
.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    padding-bottom: 2.3rem;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 1rem 5px 0.35rem;
    scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }

.review-card {
    min-width: 100%;
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.review-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 1rem;
}
.review-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--gradient-subtle);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    color: var(--accent);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.review-text {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 1rem;
}

.review-text-content {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
    overflow-wrap: anywhere;
}
.review-text-content.expanded {
    -webkit-line-clamp: unset;
    overflow: visible;
}

.read-more-btn {
    background: none;
    border: none;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    padding: 0;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
    font-family: var(--font-body);
}
.read-more-btn:hover { color: var(--text-primary); }

.carousel-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    position: absolute;
    z-index: 10;
    box-shadow: var(--shadow-md);
    transition: all 0.25s;
}
.carousel-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}
.prev-btn { left: -18px; }
.next-btn { right: -18px; }

.carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 12;
}

.carousel-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 1px solid rgba(37,99,235,0.25);
    background: rgba(148,163,184,0.35);
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
}

.carousel-dot.active {
    width: 24px;
    background: var(--gradient);
    border-color: transparent;
    box-shadow: 0 8px 18px rgba(37,99,235,0.28);
}

/* ===== LOGO CAROUSEL ===== */
.logo-section {
    --logo-gap: 4rem;
    overflow: hidden;
    padding: 2rem 0;
    white-space: nowrap;
    position: relative;
}

.logo-track-infinite {
    display: inline-flex;
    align-items: center;
    gap: var(--logo-gap);
    min-width: max-content;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    animation: scrollLogos 40s linear infinite;
}
.logo-track-infinite:hover { animation-play-state: paused; }

.logo-link {
    display: inline-block;
    transition: transform 0.3s ease;
}
.logo-img {
    height: 40px;
    width: auto;
    filter: grayscale(100%) opacity(0.5);
    transition: all 0.3s ease;
    cursor: pointer;
}
.logo-link:hover .logo-img {
    filter: grayscale(0) opacity(1);
    transform: scale(1.1);
}

@keyframes scrollLogos {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(calc(-50% + (var(--logo-gap) / 2)), 0, 0); }
}

@keyframes counterPulse {
    0% {
        transform: translateY(0);
        filter: drop-shadow(0 6px 14px rgba(37,99,235,0.1));
    }
    100% {
        transform: translateY(-2px);
        filter: drop-shadow(0 10px 20px rgba(37,99,235,0.22));
    }
}

/* ===== VOLUNTEERING ===== */
.volunteer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.volunteer-card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all 0.35s ease;
}
.volunteer-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: var(--border-hover);
}

.volunteer-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}
.volunteer-org {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.volunteer-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1rem;
}
.volunteer-points li {
    font-size: 0.88rem;
    padding-left: 18px;
    position: relative;
    overflow-wrap: anywhere;
}
.volunteer-points li::before {
    content: "";
    position: absolute;
    left: 0; top: 10px;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.4;
}

/* ===== FOOTER ===== */
.footer-section {
    background: var(--bg-dark);
    padding: 6rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}
.footer-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 500px 350px at 30% 40%, rgba(37,99,235,0.12), transparent 65%),
        radial-gradient(ellipse 400px 300px at 75% 70%, rgba(124,58,237,0.08), transparent 60%);
    pointer-events: none;
}
.footer-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3), transparent);
}

.footer-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.footer-heading {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 2.4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    justify-content: center;
}

.footer-sub {
    font-size: 1.05rem;
    color: var(--text-light);
    opacity: 0.7;
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    overflow-wrap: anywhere;
}

.footer-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.footer-copy {
    color: rgba(255,255,255,0.25);
    font-size: 0.82rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    filter: blur(3px);
    transform: translateY(40px) scale(0.98);
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1), filter 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-up.visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
}

@keyframes sectionGlow {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-10px, 8px, 0) scale(1.08); }
}

/* ===== EXECUTIVE ACCENT LINE ===== */
.container > section::before,
.container > .industry-bar::before {
    background: linear-gradient(90deg, var(--accent), #7c3aed, rgba(201,168,76,0.6));
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-layout { gap: 2.5rem; padding: 4.6rem 0; }
    .stats-grid-container { grid-template-columns: 1fr 1fr; }
    .lang-grid { grid-template-columns: 1fr 1fr; }
    .imp-grid { grid-template-columns: 1fr; }
    .project-grid { grid-template-columns: 1fr; }
}

@media (min-width: 768px) {
    .review-card { min-width: 48%; }
}

@media (max-width: 768px) {
    html,
    body {
        overflow-x: hidden;
    }
    html {
        scroll-padding-top: calc(var(--nav-offset-mobile) + 16px);
    }
    .sticky-nav {
        position: fixed;
        top: 0;
        left: 0;
        padding: calc(env(safe-area-inset-top, 0px) + 0.45rem) 0;
        background: linear-gradient(120deg, rgba(255,255,255,0.96), rgba(243,248,255,0.94));
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(148,163,184,0.18);
        box-shadow: none;
    }
    .sticky-nav.scrolled {
        box-shadow: 0 10px 28px rgba(15,23,42,0.08);
    }
    .nav-content {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 90%;
        max-width: 1000px;
        margin: 0 auto;
        padding-left: 24px;
        padding-right: 24px;
        padding-top: 0;
        padding-bottom: 0;
        gap: 0;
        background: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        overflow: visible;
    }
    .nav-content::before {
        display: none;
    }
    .nav-content > * {
        position: relative;
        z-index: 1;
    }
    .nav-brand {
        width: 100%;
        min-width: 0;
    }
    .nav-brand > a {
        font-size: clamp(0.82rem, 4.4vw, 1.05rem);
        line-height: 1.25;
        max-width: 100%;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        overflow-wrap: anywhere;
    }
    .mobile-menu-btn {
        display: none !important;
    }

    .nav-collapsible {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        margin-left: 0;
        gap: 0;
        background: transparent;
        position: static;
        width: 100%;
        box-shadow: none;
        border-top: none;
        z-index: auto;
        padding: 0.25rem 0 0;
    }
    .nav-collapsible.active {
        display: flex;
    }
    .lang-switch {
        border-left: none;
        padding-left: 0;
        gap: 4px;
        margin-right: 0;
        flex-wrap: wrap;
        padding: 0.25rem 0 0.4rem;
    }
    .lang-switch a {
        font-size: 0.75rem;
        padding: 3px 7px;
    }
    .nav-mobile-divider {
        display: none;
    }
    .nav-links {
        display: flex !important;
        gap: 6px;
        list-style: none;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0.1rem 0 0.45rem;
        margin: 0 -2px;
        white-space: nowrap;
        scroll-snap-type: x proximity;
    }
    .nav-links::-webkit-scrollbar {
        display: none;
    }
    .nav-links li {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }
    .nav-links a {
        display: inline-flex;
        align-items: center;
        font-size: 0.76rem;
        padding: 6px 10px;
        border-radius: 999px;
        border: 1px solid rgba(148, 163, 184, 0.28);
        background: rgba(37, 99, 235, 0.06);
    }
    .nav-links a:hover,
    .nav-links a:focus-visible {
        color: var(--accent);
        background: var(--accent-glow);
        border-color: rgba(37, 99, 235, 0.32);
    }

    .container > section,
    .container > .industry-bar {
        --section-top-line-inset: calc(var(--radius-lg) - 1px);
        padding: 1.35rem;
        margin-bottom: 1.8rem;
        border-radius: var(--radius-lg);
        overflow: hidden;
    }
    .container > section::after,
    .container > .industry-bar::after {
        width: 190px;
        height: 190px;
        right: -80px;
        top: -80px;
    }

    .hero-section {
        margin-top: var(--nav-offset-mobile);
    }
    .hero-layout {
        flex-direction: column-reverse;
        text-align: center;
        gap: 2rem;
        padding: 3rem 0 4rem;
    }
    .hero-content { align-items: center; display: flex; flex-direction: column; }
    .hero-buttons,
    .footer-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: stretch;
        width: min(100%, 340px);
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons .btn,
    .footer-buttons .btn {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        white-space: normal;
    }
    .hero-name { font-size: 2.4rem !important; letter-spacing: -1px; }
    .hero-name br { display: none; }
    .hero-desc { font-size: 1rem; }
    .hero-photo img { width: 220px; height: 220px; }
    .hero-role::after { left: 50%; transform: translateX(-50%); }

    .pie-chart {
        width: 98px;
        height: 98px;
    }
    .pie-chart::after {
        width: 58px;
        height: 58px;
    }

    .carousel-container {
        padding-bottom: 2.6rem;
        overflow: hidden;
    }
    .carousel-btn {
        width: 34px;
        height: 34px;
    }
    .prev-btn { left: 4px; }
    .next-btn { right: 4px; }

    .stats-grid-container { grid-template-columns: 1fr 1fr; }
    .imp-grid { grid-template-columns: 1fr; }
    .project-grid { grid-template-columns: 1fr; }
    .skills-container { grid-template-columns: 1fr; }
    .skill-category-card.full-width { grid-column: span 1; }
    .lang-grid { grid-template-columns: 1fr 1fr; }
    .volunteer-grid { grid-template-columns: 1fr; }

    .experience-banner-split { flex-direction: column; }
    .exp-divider { width: 60%; height: 1px; margin: 0 auto; }
    .exp-segment h3 { min-height: auto; }

    .industry-bar { gap: 8px; }
    .ind-tag {
        font-size: 0.75rem;
        padding: 5px 10px;
        background: var(--gradient-subtle);
        border-radius: 4px;
    }
    .ind-tag::after { display: none; }

    h2 { font-size: 1.6rem; }
    .logo-section { --logo-gap: 2.8rem; }
    .logo-img { height: 34px; }
}

@media (max-width: 480px) {
    .container { padding: 0 14px; }
    .container > section,
    .container > .industry-bar {
        padding: 1.2rem;
    }
    .nav-content {
        width: 90%;
        max-width: 1000px;
        padding-left: 14px;
        padding-right: 14px;
    }
    .nav-links {
        gap: 5px;
    }
    .nav-links a {
        font-size: 0.72rem;
        padding: 5px 9px;
    }
    .stats-grid-container { grid-template-columns: 1fr; }
    .lang-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    .hero-name { font-size: 2rem !important; letter-spacing: -0.5px; }
    .hero-name br { display: none; }
    .hero-role { letter-spacing: 1.6px; font-size: 0.68rem; }
    .project-card,
    .timeline-item,
    .volunteer-card,
    .lang-card,
    .review-card,
    .imp-card {
        padding: 1.35rem;
    }
    .cert-item { padding: 1rem; }
    .prev-btn { left: 2px; }
    .next-btn { right: 2px; }
    .logo-section { --logo-gap: 2.2rem; }
    .logo-img { height: 30px; }
}

@media (max-width: 360px) {
    h2 {
        font-size: 1.35rem;
        gap: 10px;
    }
    h2 .section-icon {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }
    .hero-name {
        font-size: 1.8rem !important;
    }
    .hero-role {
        letter-spacing: 1.2px;
        font-size: 0.64rem;
    }
}

@media (max-width: 600px) {
    .cert-item { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
    .btn-small { width: 100%; text-align: center; justify-content: center; }
    .project-header {
        grid-template-columns: 1fr;
        align-items: flex-start;
    }
    .project-link {
        justify-self: flex-start;
        width: auto;
        margin-left: 0;
    }
    .other-exp-item { flex-direction: column; align-items: flex-start; gap: 8px; }
    .exp-date { align-self: flex-start; }
    .timeline-header { flex-direction: column; }
    .footer-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .footer-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    .timeline-date,
    .exp-date { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
    .fade-up,
    .fade-up.visible,
    .logo-track-infinite,
    .container > section::after,
    .container > .industry-bar::after,
    .counter-display.counting {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        filter: none !important;
    }
}
