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

:root {
    --bg-primary: #09090b;
    --bg-secondary: #111113;
    --bg-tertiary: #1c1c1f;
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #52525b;
    --accent: #f59e0b;
    --accent-2: #ef4444;
    --accent-dim: rgba(245, 158, 11, 0.1);
    --border: #27272a;
    --border-hover: #3f3f46;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
    --shadow-accent: 0 4px 20px rgba(245, 158, 11, 0.2);
    --gradient: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}

[data-theme="light"] {
    --bg-primary: #f9f9f9;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f2f2f3;
    --text-primary: #09090b;
    --text-secondary: #52525b;
    --text-muted: #a1a1aa;
    --accent: #d97706;
    --accent-2: #dc2626;
    --accent-dim: rgba(217, 119, 6, 0.08);
    --border: #e4e4e7;
    --border-hover: #c4c4c8;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    --shadow-accent: 0 4px 20px rgba(217, 119, 6, 0.15);
    --gradient: linear-gradient(135deg, #d97706 0%, #dc2626 100%);
}

html { scroll-behavior: smooth; }

/* ── Progress bar ─────────────────────────────── */
#progress-bar {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 0%;
    background: var(--gradient);
    z-index: 200;
    transition: width 0.08s linear;
}

/* ── Back to top ──────────────────────────────── */
#back-to-top {
    position: fixed;
    bottom: 2rem; right: 2rem;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: var(--shadow-accent);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s, transform 0.2s;
    z-index: 150;
}
#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover   { transform: translateY(-3px); }

/* ── Reveal ───────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Body ─────────────────────────────────────── */
body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
    background-size: 28px 28px;
    background-attachment: fixed;
}

/* Glow anchored to the very top of the viewport */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 55vh;
    background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(245, 158, 11, 0.13) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ── Header ───────────────────────────────────── */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(9, 9, 11, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

[data-theme="light"] header {
    background: rgba(249, 249, 249, 0.88);
}

.navbar {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.12s;
    position: relative;
    padding-bottom: 2px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 2px;
    background: var(--gradient);
    border-radius: 2px;
    transition: width 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--accent); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

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

.nav-toggle span {
    width: 22px; height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.15s, opacity 0.15s;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.theme-toggle {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.45rem 0.6rem;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: border-color 0.12s, background 0.12s;
}
.theme-toggle:hover { border-color: var(--accent); background: var(--accent-dim); }

[data-theme="light"] .theme-toggle .fa-moon { display: none; }
[data-theme="light"] .theme-toggle .fa-sun  { display: inline; }
.theme-toggle .fa-sun { display: none; }
[data-theme="dark"] .theme-toggle .fa-sun  { display: none; }
[data-theme="dark"] .theme-toggle .fa-moon { display: inline; }

/* ── Layout ───────────────────────────────────── */
main {
    max-width: 960px;
    margin: 0 auto;
    padding: 6rem 1.5rem 3rem;
    position: relative;
    z-index: 1;
}

section { margin-bottom: 5rem; }

h1 {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.2em;
    background: var(--gradient);
    border-radius: 2px;
    flex-shrink: 0;
}

h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.75rem; }
h3 i { color: var(--accent); }
p { color: var(--text-secondary); margin-bottom: 1rem; }

/* ── Hero ─────────────────────────────────────── */
.hero {
    padding: 3.5rem 0 4.5rem;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 3.5rem;
}

.hero-text { text-align: left; }

/* Staggered entry */
.open-badge        { animation: fadeUp 0.5s cubic-bezier(0.22,1,0.36,1) both; animation-delay: 0.04s; }
.hero h1           { animation: fadeUp 0.5s cubic-bezier(0.22,1,0.36,1) both; animation-delay: 0.09s; }
.tagline           { animation: fadeUp 0.5s cubic-bezier(0.22,1,0.36,1) both; animation-delay: 0.14s; }
.availability      { animation: fadeUp 0.5s cubic-bezier(0.22,1,0.36,1) both; animation-delay: 0.19s; }
.bio               { animation: fadeUp 0.5s cubic-bezier(0.22,1,0.36,1) both; animation-delay: 0.24s; }
.hero-cta          { animation: fadeUp 0.5s cubic-bezier(0.22,1,0.36,1) both; animation-delay: 0.29s; }
.profile-container { animation: fadeIn 0.7s cubic-bezier(0.22,1,0.36,1) both; animation-delay: 0.12s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: scale(1); }
}

/* ── Profile image ────────────────────────────── */
.profile-container {
    display: block;
    position: relative;
    flex-shrink: 0;
    width: 230px;
    height: 230px;
}

/* soft glow behind portrait */
.profile-container::after {
    content: '';
    position: absolute;
    inset: -18%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.28) 0%, transparent 68%);
    z-index: -2;
    filter: blur(6px);
}

.profile-container::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--gradient);
    z-index: -1;
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-primary);
    display: block;
    transition: transform 0.25s ease;
}
.profile-img:hover { transform: scale(1.03); }

/* ── Tagline / availability / bio ─────────────── */
.tagline {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.availability {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}
.availability i { color: var(--accent); margin-right: 0.15rem; }

/* ── Open-to-work badge ───────────────────────── */
.open-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-dim);
    border: 1px solid rgba(245, 158, 11, 0.28);
    border-radius: 20px;
    padding: 0.35rem 0.9rem;
    margin-bottom: 1.25rem;
    letter-spacing: 0.01em;
}
.open-badge .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.55);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5); }
    70%  { box-shadow: 0 0 0 7px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* ── Hero stats ───────────────────────────────── */
.hero-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2.75rem;
}
.stat {
    flex: 1 1 130px;
    max-width: 190px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.1rem 0.75rem;
    transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.stat:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-accent); }
.stat-num {
    display: block;
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.35rem;
}
.stat-label {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.bio {
    max-width: 560px;
    margin: 0 0 2rem;
    font-size: 1rem;
    line-height: 1.75;
}

/* ── Buttons ──────────────────────────────────── */
.hero-cta { display: flex; justify-content: flex-start; gap: 0.85rem; flex-wrap: wrap; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s, color 0.12s;
    cursor: pointer;
    border: none;
    font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}
.btn-primary:hover { box-shadow: 0 6px 24px rgba(245, 158, 11, 0.45); }

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

/* ── Projects ─────────────────────────────────── */
.projects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
}

.project-card {
    flex: 1 1 280px;
    max-width: 100%;
    background: var(--bg-secondary);
    padding: 1.6rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(22px);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, opacity 0.5s ease-out;
}

/* Gradient border on hover */
.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    border: 1.5px solid transparent;
    background: var(--gradient) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.15s ease;
    pointer-events: none;
}

.project-card.visible { opacity: 1; transform: translateY(0); }
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.project-card:hover::after { opacity: 1; }

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}
.project-header h3 { margin-bottom: 0; font-size: 1.02rem; }

.project-links { display: flex; gap: 0.6rem; }
.project-links a {
    color: var(--text-muted);
    font-size: 1rem;
    transition: color 0.12s, transform 0.12s;
}
.project-links a:hover { color: var(--accent); transform: scale(1.2); }

.project-context {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.15rem 0.55rem;
    margin-bottom: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.project-context.dod {
    color: var(--accent);
    border-color: rgba(245, 158, 11, 0.3);
    background: var(--accent-dim);
}

.project-context.live {
    color: var(--accent);
    border-color: rgba(245, 158, 11, 0.3);
    background: var(--accent-dim);
}
.project-context.live::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    margin-right: 0.35rem;
    vertical-align: middle;
}

.project-card p { font-size: 0.9rem; margin-bottom: 1rem; flex: 1; line-height: 1.6; }

.tech-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; }

.tech-tag {
    background: var(--accent-dim);
    color: var(--accent);
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

/* ── Skills ───────────────────────────────────── */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
}

.skill-category {
    background: var(--bg-secondary);
    padding: 1.4rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.skill-category:hover { border-color: var(--border-hover); box-shadow: 0 4px 20px rgba(0,0,0,0.4); }

.skill-category h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
}

.skill-list { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; }

.skill-list li {
    background: var(--bg-tertiary);
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: border-color 0.12s, color 0.12s, background 0.12s;
}
.skill-list li:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }

/* ── Resume ───────────────────────────────────── */
.resume-content {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.resume-section { margin-bottom: 2rem; }
.resume-section:last-of-type { margin-bottom: 1.5rem; }

.resume-section h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
}

.resume-item {
    margin-bottom: 1.5rem;
    padding-left: 1.1rem;
    border-left: 2px solid transparent;
    border-image: var(--gradient) 1;
    position: relative;
}

.resume-item::before {
    content: '';
    position: absolute;
    left: -5px; top: 7px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--gradient);
}

.resume-item h4 { font-weight: 600; font-size: 1rem; margin-bottom: 0.15rem; }
.institution { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 0.1rem; }
.date { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.resume-item ul { padding-left: 1.1rem; color: var(--text-secondary); font-size: 0.9rem; }
.resume-item li { margin-bottom: 0.3rem; }
.resume-download { text-align: center; padding-top: 0.5rem; }

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.85rem;
}

.cert-card {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem;
    position: relative;
    transition: border-color 0.12s, box-shadow 0.12s, transform 0.12s;
}

a.cert-card { text-decoration: none; color: inherit; }

.cert-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.1);
}
a.cert-card:hover { transform: translateY(-3px); }

.cert-ext {
    position: absolute;
    top: 0.75rem; right: 0.8rem;
    font-size: 0.7rem;
    color: var(--text-muted);
    opacity: 0.55;
    transition: opacity 0.12s, color 0.12s;
}
a.cert-card:hover .cert-ext { opacity: 1; color: var(--accent); }

.cert-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--accent-dim);
    border: 1px solid rgba(245, 158, 11, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.cert-info h4 { font-size: 0.88rem; font-weight: 600; margin-bottom: 0.1rem; }
.cert-info .institution { font-size: 0.78rem; margin-bottom: 0.05rem; }
.cert-info .date { font-size: 0.74rem; margin-bottom: 0; }

.badge-progress {
    display: inline-block;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    background: var(--accent-dim);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 4px;
    padding: 0.05rem 0.4rem;
    margin-right: 0.35rem;
}

/* ── Contact ──────────────────────────────────── */
#contact { text-align: center; }
#contact > p { max-width: 400px; margin: 0 auto 1.5rem; }

.social-links { display: flex; justify-content: center; gap: 0.75rem; flex-wrap: wrap; }

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.12s, border-color 0.12s, transform 0.12s, box-shadow 0.12s;
}
.social-btn i { font-size: 1.1rem; }
.social-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.12);
}

/* ── Contact form ─────────────────────────────── */
.contact-form {
    max-width: 580px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.form-group { display: flex; flex-direction: column; }

.contact-form input,
.contact-form textarea {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    transition: border-color 0.12s, box-shadow 0.12s;
    resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-muted); }
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.contact-form .btn { align-self: center; }

.form-success {
    text-align: center;
    color: var(--accent);
    font-weight: 500;
    font-size: 0.9rem;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.35s ease;
}
.form-success.visible { max-height: 2rem; opacity: 1; }

/* ── Footer ───────────────────────────────────── */
footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.82rem;
    border-top: 1px solid var(--border);
}

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

    .nav-links {
        position: fixed;
        top: 57px; left: 0; right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 1.25rem 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border);
        transform: translateY(-120%);
        transition: transform 0.2s ease;
    }
    .nav-links.active { transform: translateY(0); }

    h1 { font-size: 2.4rem; }

    .hero-content {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 2rem;
    }
    .hero-text { text-align: center; }
    .profile-container { order: -1; width: 180px; height: 180px; }
    .bio { margin-left: auto; margin-right: auto; }
    .availability { display: flex; flex-wrap: wrap; justify-content: center; }
    .hero-cta { flex-direction: column; align-items: center; }
    .hero-stats { justify-content: center; }

    .btn { width: 100%; max-width: 240px; justify-content: center; }
    .project-header { flex-direction: column; gap: 0.4rem; }
}

@media (max-width: 600px) {
    .skills-container { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}

@media (min-width: 900px) {
    .project-card { max-width: calc(33.333% - 0.85rem); }
}
