/* ============================================================
   nikitajoseph.online - Vibrant Yellow & White Theme
   Colors: bg #fffde7, surface #ffffff, accent #f5a623 (amber),
   accent2 #f8c52c (sunny yellow), text #2d2416 (warm brown)
   Fonts: Playfair Display + Inter
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
    --bg-primary: #fffde7;
    --bg-surface: #ffffff;
    --bg-surface-alt: #fff9c4;
    --bg-card: #ffffff;
    --accent: #f5a623;
    --accent-hover: #e69510;
    --accent2: #f8c52c;
    --accent2-hover: #e6b300;
    --text-primary: #2d2416;
    --text-secondary: #5c4f3a;
    --text-muted: #8a7a5e;
    --border-color: #f0e68c;
    --border-hover: #e6d560;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --nav-height: 70px;
    --max-width: 1100px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 3px rgba(245, 166, 35, 0.12);
    --shadow-md: 0 4px 14px rgba(245, 166, 35, 0.15);
    --shadow-lg: 0 8px 30px rgba(245, 166, 35, 0.18);
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 400ms ease;
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

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

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

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-hover);
}

/* --- Animations --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes softBounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

h1, h2 {
    font-family: var(--font-display);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent2);
    border-radius: 2px;
    margin-top: 0.5rem;
}

.text-center .section-title::after {
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    font-style: italic;
}

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

.accent2 {
    color: var(--accent2);
}

.serif {
    font-family: var(--font-display);
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(255, 253, 231, 0.92);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: background var(--transition-normal);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    font-family: var(--font-display);
    letter-spacing: -0.02em;
    transition: opacity var(--transition-fast);
}

.nav-logo:hover {
    color: var(--accent);
    opacity: 0.8;
}

.nav-logo .accent-dot {
    color: var(--accent2);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    padding: 0.5rem 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--accent);
    background: var(--bg-surface-alt);
}

.nav-link.active {
    color: var(--accent);
    background: rgba(248, 197, 44, 0.15);
    font-weight: 600;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.mobile-menu-btn:hover {
    border-color: var(--border-hover);
    background: var(--bg-surface-alt);
}

.menu-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.mobile-menu-btn.active .menu-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .menu-bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .menu-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Main Content --- */
.main-content {
    min-height: calc(100vh - var(--nav-height) - 120px);
    padding-top: var(--nav-height);
    animation: fadeIn 0.6s ease;
}

/* --- Sections --- */
.section {
    padding: 5rem 1.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

/* --- Hero Section --- */
.hero {
    min-height: calc(90vh - var(--nav-height));
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(248, 197, 44, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-greeting {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--accent2);
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-style: italic;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-family: var(--font-display);
}

.hero-title .accent2 {
    color: var(--accent2);
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.hero-bio {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

/* --- Buttons --- */
.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    text-decoration: none;
    line-height: 1;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(245, 166, 35, 0.3);
}

.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4);
    color: #ffffff;
}

.btn-secondary {
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--bg-surface-alt);
}

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

.btn-outline:hover {
    background: var(--accent);
    color: #ffffff;
}

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

.btn-ghost:hover {
    color: var(--text-primary);
    background: var(--bg-surface-alt);
    border-color: var(--border-color);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* --- Section Divider --- */
.section-divider {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
}

/* ============================================================
   RESUME PAGE
   ============================================================ */

.resume-header {
    text-align: center;
    margin-bottom: 3rem;
}

.resume-header .section-title::after {
    margin-left: auto;
    margin-right: auto;
}

.resume-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.resume-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    line-height: 1;
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(245, 166, 35, 0.3);
    text-decoration: none;
}

.resume-download-btn:hover {
    background: var(--accent-hover);
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4);
    color: #ffffff;
    transform: translateY(-2px);
}

.resume-section {
    margin-bottom: 3rem;
}

.resume-section-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bg-surface-alt);
}

.resume-grid {
    display: grid;
    gap: 1.5rem;
}

.resume-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: all var(--transition-normal);
}

.resume-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-sm);
}

.resume-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.resume-card-subtitle {
    font-size: 0.9rem;
    color: var(--accent2);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.resume-card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.resume-card-desc ul {
    list-style: none;
    padding: 0;
}

.resume-card-desc li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.4rem;
}

.resume-card-desc li::before {
    content: '\2014';
    position: absolute;
    left: 0;
    color: var(--accent2);
}

.resume-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.resume-contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.resume-contact-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.resume-contact-value {
    font-size: 0.95rem;
    color: var(--text-primary);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about-grid {
    display: grid;
    gap: 3rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition-normal);
}

.highlight-card:hover {
    border-color: var(--accent2);
    box-shadow: var(--shadow-sm);
}

.highlight-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.highlight-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.skill-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    transition: all var(--transition-normal);
}

.skill-card:hover {
    border-color: var(--accent2);
    box-shadow: var(--shadow-sm);
}

.skill-card-title {
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.skill-card-items {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.timeline {
    position: relative;
    padding-left: 2rem;
    margin-top: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.35rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 2px solid var(--accent2);
}

.timeline-date {
    font-size: 0.85rem;
    color: var(--accent2);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.timeline-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.15rem;
}

.timeline-org {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.timeline-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================================
   PORTFOLIO PAGE
   ============================================================ */

.portfolio-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.portfolio-category {
    margin-bottom: 3rem;
}

.portfolio-category-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bg-surface-alt);
}

.portfolio-category-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-style: italic;
}

.portfolio-grid {
    display: grid;
    gap: 1.25rem;
}

.portfolio-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: all var(--transition-normal);
}

.portfolio-card:hover {
    border-color: var(--accent2);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.portfolio-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.portfolio-card-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

.portfolio-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.portfolio-tag {
    display: inline-block;
    background: var(--bg-surface-alt);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.portfolio-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    margin-top: 0.75rem;
}

.portfolio-card-link:hover {
    color: var(--accent-hover);
    gap: 0.5rem;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info h3 {
    margin-bottom: 1rem;
    color: var(--accent);
}

.contact-info p {
    margin-bottom: 2rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.contact-detail-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    color: var(--accent2);
}

.contact-detail strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-detail a {
    color: var(--text-primary);
    font-weight: 500;
}

.contact-detail a:hover {
    color: var(--accent);
}

.contact-socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.contact-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.contact-social-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--bg-surface-alt);
}

/* --- Contact Form --- */
.contact-form {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    outline: none;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--accent2);
    box-shadow: 0 0 0 3px rgba(248, 197, 44, 0.18);
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 0.85rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    background: var(--accent);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.form-submit:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3);
}

/* ============================================================
   HOME PAGE FEATURED SECTION
   ============================================================ */

.featured-section {
    padding: 4rem 1.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.featured-section .section-title::after {
    margin-left: auto;
    margin-right: auto;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.featured-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition-normal);
}

.featured-card:hover {
    border-color: var(--accent2);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.featured-card-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

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

.featured-card-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Expertise Section (Home) */
.expertise-section {
    padding: 3rem 1.5rem 5rem;
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.expertise-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 2rem;
}

.expertise-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.expertise-badge:hover {
    border-color: var(--accent2);
    color: var(--accent);
    background: var(--bg-surface-alt);
}

.badge-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent2);
}

/* ============================================================
   SINGLE-PAGE LAYOUT (Index)
   ============================================================ */

.contact-strip {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}
.contact-strip a {
    color: var(--accent);
}

.profile-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 800px;
}

/* Skills */
.skills-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1rem;
}
.skill-row {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    transition: border-color var(--transition-fast);
}
.skill-row:hover {
    border-color: var(--accent2);
}
.skill-row strong {
    font-size: 0.95rem;
    color: var(--accent);
    font-weight: 700;
}
.skill-row span {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Work Experience */
.exp-block {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}
.exp-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.exp-header {
    margin-bottom: 0.75rem;
}
.exp-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.2rem;
}
.exp-org {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}
.exp-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem;
}
.exp-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.35rem;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
.exp-list li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: var(--accent2);
    font-weight: 700;
}
.exp-meta-row {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}
.exp-sep {
    margin: 0 0.5rem;
    color: var(--border-hover);
}

/* Two column layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.edu-item {
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}
.edu-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}
.edu-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .two-col {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .skills-list {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: rgba(255, 253, 231, 0.98);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
    }

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

    .nav-link {
        width: 100%;
        padding: 0.75rem 1rem;
        text-align: center;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        min-height: calc(80vh - var(--nav-height));
    }

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

/* ============================================================
   UTILITY
   ============================================================ */

.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* --- Footer --- */
.footer {
    border-top: 1px solid var(--border-color);
    background: var(--bg-surface);
    padding: 2rem 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-content p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 1.25rem;
}

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

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

/* ========================================================================
   RESUME PAGE
   ======================================================================== */
.resume-header {
    text-align: center;
    margin-bottom: 2rem;
}
.resume-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}
.resume-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: background 0.2s ease;
}
.resume-download-btn:hover {
    background: var(--accent-hover);
    color: #fff;
}
.resume-contact-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    padding: 0.75rem 1rem;
    background: var(--bg-surface-alt);
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.resume-contact-bar a {
    color: var(--accent);
}
.resume-section {
    margin-bottom: 2.5rem;
}
.resume-section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--accent);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.25rem;
}
.resume-grid {
    display: grid;
    gap: 1.25rem;
}
.resume-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    transition: box-shadow 0.2s ease;
}
.resume-card:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.resume-card-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}
.resume-card-subtitle {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 0.75rem;
}
.resume-card-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
}
.resume-card-desc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.resume-card-desc ul li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.4rem;
}
.resume-card-desc ul li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}
.resume-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    background: var(--bg-surface-alt);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}
.resume-contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.resume-contact-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.resume-contact-value {
    font-size: 0.95rem;
    color: var(--text-primary);
}
.resume-contact-value a {
    color: var(--accent);
}

/* ========================================================================
   PORTFOLIO PAGE
   ======================================================================== */
.portfolio-intro {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    text-align: center;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}
.portfolio-category {
    margin-bottom: 2.5rem;
}
.portfolio-category-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}
.portfolio-category-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.portfolio-grid {
    display: grid;
    gap: 1rem;
}
.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    transition: box-shadow 0.2s ease;
}
.portfolio-card:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.portfolio-card-meta {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}
.portfolio-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: var(--bg-surface-alt);
    color: var(--accent);
    border: 1px solid var(--border-color);
}
.portfolio-card-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}
.portfolio-card-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}
.portfolio-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    transition: gap 0.2s ease;
}
.portfolio-card-link:hover {
    gap: 0.6rem;
}

/* ========================================================================
   RESPONSIVE
   ======================================================================== */
@media (max-width: 768px) {
    .resume-contact-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
