/* Modern Professional Resume Theme */
/* Color Palette & Design System */

:root {
    /* Primary Brand Colors - Professional Blue */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;

    /* Neutral Colors */
    --neutral-0: #ffffff;
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-400: #94a3b8;
    --neutral-500: #64748b;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;

    /* Accent Colors */
    --accent-teal: #0d9488;
    --accent-indigo: #6366f1;
    --accent-amber: #d97706;

    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Typography */
    --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout */
    --container-max: 1280px;
    --navbar-height: 72px;
}

/* Dark Mode */
[data-theme="dark"] {
    --neutral-0: #0f172a;
    --neutral-50: #1e293b;
    --neutral-100: #334155;
    --neutral-200: #475569;
    --neutral-300: #64748b;
    --neutral-400: #94a3b8;
    --neutral-500: #cbd5e1;
    --neutral-600: #e2e8f0;
    --neutral-700: #f1f5f9;
    --neutral-800: #f8fafc;
    --neutral-900: #ffffff;

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--neutral-100);
    color: var(--neutral-800);
    line-height: 1.6;
    transition: background-color var(--transition-slow), color var(--transition-slow);
}

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

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

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

h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.125rem, 2vw, 1.25rem); }
h4 { font-size: 1rem; }

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--neutral-200);
    z-index: 1000;
    transition: all var(--transition-slow);
}

[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.8);
    border-color: var(--neutral-700);
}

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

.nav-brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--neutral-900);
}

.nav-role {
    font-size: 0.8125rem;
    color: var(--neutral-500);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.nav-links a {
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--neutral-600);
    transition: all var(--transition-fast);
}

.nav-links a:hover {
    color: var(--primary-600);
    background: var(--primary-50);
}

[data-theme="dark"] .nav-links a:hover {
    background: rgba(59, 130, 246, 0.15);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.theme-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--neutral-100);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    cursor: pointer;
    color: var(--neutral-600);
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    background: var(--neutral-200);
    color: var(--primary-600);
    border-color: var(--primary-200);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-lg);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
    box-shadow: var(--shadow-sm), 0 0 0 0 var(--primary-400);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), 0 4px 12px rgba(37, 99, 235, 0.3);
}

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

.btn-secondary {
    background: var(--neutral-0);
    color: var(--neutral-800);
    border: 1px solid var(--neutral-300);
}

.btn-secondary:hover {
    background: var(--neutral-50);
    border-color: var(--neutral-400);
}

.btn-ghost {
    background: transparent;
    color: var(--neutral-600);
}

.btn-ghost:hover {
    background: var(--neutral-100);
    color: var(--neutral-800);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--neutral-700);
    font-size: 1.25rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.mobile-menu-btn:hover {
    background: var(--neutral-100);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    background: var(--neutral-0);
    border-bottom: 1px solid var(--neutral-200);
    padding: var(--space-4);
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    transition: all var(--transition-base);
}

[data-theme="dark"] .mobile-menu {
    background: var(--neutral-0);
    border-color: var(--neutral-700);
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    font-weight: 500;
    color: var(--neutral-700);
    transition: all var(--transition-fast);
}

.mobile-nav-links a:hover {
    background: var(--neutral-100);
    color: var(--primary-600);
}

/* Main Content */
.main-content {
    margin-top: var(--navbar-height);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: var(--space-16) 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(13, 148, 136, 0.1), transparent);
    pointer-events: none;
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-12);
    align-items: center;
}

.hero-text {
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--primary-50);
    color: var(--primary-700);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--space-4);
    animation: fadeInUp 0.6s ease;
}

[data-theme="dark"] .hero-badge {
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary-400);
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary-500);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--neutral-900);
    margin-bottom: var(--space-3);
    animation: fadeInUp 0.6s ease 0.1s both;
}

[data-theme="dark"] .hero h1 {
    color: var(--neutral-0);
}

.hero-title {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 500;
    color: var(--primary-600);
    margin-bottom: var(--space-4);
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: var(--space-8);
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-contact {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-top: var(--space-8);
    animation: fadeInUp 0.6s ease 0.5s both;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--neutral-0);
    border: 1px solid var(--neutral-200);
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--neutral-700);
    transition: all var(--transition-fast);
}

.contact-item:hover {
    border-color: var(--primary-300);
    color: var(--primary-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.contact-item i {
    color: var(--primary-500);
}

.hero-image {
    position: relative;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-image-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-100), var(--primary-200));
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
}

[data-theme="dark"] .hero-image-wrapper {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(13, 148, 136, 0.2));
}

.hero-avatar {
    font-size: 8rem;
    color: var(--primary-600);
}

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

/* Section Styles */
.section {
    padding: var(--space-16) 0;
}

.section:nth-child(odd) {
    background: var(--neutral-0);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-10);
}

.section-header h2 {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.section-header h2 i {
    color: var(--primary-500);
}

.section-header p {
    color: var(--neutral-500);
    font-size: 1.0625rem;
}

/* Profile Section */
.profile-card {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-8);
    background: var(--neutral-0);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .profile-card {
    background: var(--neutral-50);
    border-color: var(--neutral-700);
}

.profile-text {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--neutral-700);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-300), var(--primary-200));
}

.timeline-item {
    position: relative;
    padding-left: 64px;
    padding-bottom: var(--space-10);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 16px;
    top: 0;
    width: 18px;
    height: 18px;
    background: var(--primary-500);
    border: 3px solid var(--neutral-0);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--primary-100);
    z-index: 1;
}

[data-theme="dark"] .timeline-marker {
    border-color: var(--neutral-0);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.3);
}

.timeline-card {
    position: relative;
    background: var(--neutral-0);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.timeline-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

[data-theme="dark"] .timeline-card {
    background: var(--neutral-50);
    border-color: var(--neutral-700);
}

.timeline-card::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 28px;
    width: 16px;
    height: 16px;
    background: var(--neutral-0);
    border-left: 1px solid var(--neutral-200);
    border-bottom: 1px solid var(--neutral-200);
    transform: rotate(45deg);
}

[data-theme="dark"] .timeline-card::before {
    background: var(--neutral-50);
    border-color: var(--neutral-700);
}

.timeline-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

.timeline-meta h3 {
    color: var(--neutral-900);
}

[data-theme="dark"] .timeline-meta h3 {
    color: var(--neutral-800);
}

.timeline-company {
    font-weight: 500;
    color: var(--primary-600);
    font-size: 0.9375rem;
}

.timeline-date {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.8125rem;
    color: var(--neutral-500);
    margin-bottom: var(--space-4);
}

.timeline-details {
    margin-bottom: var(--space-4);
}

.timeline-details li {
    position: relative;
    padding-left: var(--space-5);
    margin-bottom: var(--space-2);
    color: var(--neutral-600);
    font-size: 0.9375rem;
    line-height: 1.7;
}

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

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

/* Skill Tags */
.skill-tag {
    display: inline-flex;
    align-items: center;
    padding: var(--space-2) var(--space-3);
    background: var(--primary-50);
    color: var(--primary-700);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

[data-theme="dark"] .skill-tag {
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary-400);
}

.skill-tag:hover {
    background: var(--primary-600);
    color: white;
    transform: translateY(-2px);
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
}

.skill-card {
    background: var(--neutral-0);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.skill-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}

[data-theme="dark"] .skill-card {
    background: var(--neutral-50);
    border-color: var(--neutral-700);
}

.skill-card h3 {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 1rem;
    margin-bottom: var(--space-4);
    color: var(--neutral-900);
}

[data-theme="dark"] .skill-card h3 {
    color: var(--neutral-800);
}

.skill-card h3 i {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    color: var(--primary-600);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
}

[data-theme="dark"] .skill-card h3 i {
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary-400);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

/* Certifications */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-5);
}

.certification-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    background: var(--neutral-0);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.certification-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}

[data-theme="dark"] .certification-card {
    background: var(--neutral-50);
    border-color: var(--neutral-700);
}

.cert-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-100), var(--primary-200));
    color: var(--primary-600);
    border-radius: var(--radius-lg);
    font-size: 1.25rem;
    flex-shrink: 0;
}

[data-theme="dark"] .cert-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(13, 148, 136, 0.2));
    color: var(--primary-400);
}

.cert-content h4 {
    font-size: 0.9375rem;
    margin-bottom: var(--space-2);
    color: var(--neutral-900);
    line-height: 1.4;
}

[data-theme="dark"] .cert-content h4 {
    color: var(--neutral-800);
}

.cert-issuer {
    display: block;
    font-size: 0.8125rem;
    color: var(--primary-600);
    font-weight: 500;
    margin-bottom: var(--space-1);
}

[data-theme="dark"] .cert-issuer {
    color: var(--primary-400);
}

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

/* Education */
.education-card {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    max-width: 600px;
    margin: 0 auto;
    background: var(--neutral-0);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .education-card {
    background: var(--neutral-50);
    border-color: var(--neutral-700);
}

.edu-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-100), var(--accent-teal));
    color: var(--primary-600);
    border-radius: var(--radius-xl);
    font-size: 1.75rem;
    flex-shrink: 0;
}

[data-theme="dark"] .edu-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(13, 148, 136, 0.3));
    color: var(--primary-400);
}

.edu-content h4 {
    margin-bottom: var(--space-1);
    color: var(--neutral-900);
}

[data-theme="dark"] .edu-content h4 {
    color: var(--neutral-800);
}

.edu-institution {
    color: var(--neutral-600);
    font-size: 0.9375rem;
    margin-bottom: var(--space-2);
}

.edu-date {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.8125rem;
    color: var(--neutral-500);
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-6);
}

.project-card {
    background: var(--neutral-0);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-200);
}

[data-theme="dark"] .project-card {
    background: var(--neutral-50);
    border-color: var(--neutral-700);
}

.project-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.project-header h3 {
    font-size: 1rem;
    color: var(--neutral-900);
    line-height: 1.4;
}

[data-theme="dark"] .project-header h3 {
    color: var(--neutral-800);
}

.project-header h3 i {
    color: var(--primary-500);
    margin-top: 2px;
}

.project-description {
    color: var(--neutral-600);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: var(--space-4);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.tech-tag {
    padding: var(--space-1) var(--space-3);
    background: var(--neutral-100);
    color: var(--neutral-600);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.tech-tag:hover {
    background: var(--primary-100);
    color: var(--primary-700);
}

/* References */
.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-5);
}

.reference-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    background: var(--neutral-0);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.reference-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .reference-card {
    background: var(--neutral-50);
    border-color: var(--neutral-700);
}

.ref-avatar {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-100), var(--accent-indigo));
    color: var(--primary-600);
    border-radius: 50%;
    font-size: 1.5rem;
    flex-shrink: 0;
}

[data-theme="dark"] .ref-avatar {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(99, 102, 241, 0.2));
    color: var(--primary-400);
}

.ref-content h4 {
    font-size: 1rem;
    margin-bottom: var(--space-1);
    color: var(--neutral-900);
}

[data-theme="dark"] .ref-content h4 {
    color: var(--neutral-800);
}

.ref-title {
    color: var(--neutral-600);
    font-size: 0.875rem;
    margin-bottom: 2px;
}

.ref-company {
    color: var(--neutral-500);
    font-size: 0.8125rem;
    margin-bottom: var(--space-3);
}

.ref-contact {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.8125rem;
    color: var(--primary-600);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.ref-contact:hover {
    color: var(--primary-700);
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--neutral-900);
    color: var(--neutral-400);
    padding: var(--space-12) 0 var(--space-8);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.footer-brand h3 {
    color: var(--neutral-0);
    font-size: 1.25rem;
    margin-bottom: var(--space-1);
}

.footer-brand p {
    color: var(--neutral-500);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: var(--space-3);
}

.footer-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--neutral-800);
    color: var(--neutral-400);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    background: var(--primary-600);
    color: white;
    transform: translateY(-4px);
}

.footer-bottom {
    border-top: 1px solid var(--neutral-800);
    padding-top: var(--space-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
    font-size: 0.8125rem;
}

.footer-bottom p {
    color: var(--neutral-500);
}

.footer-powered {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--neutral-600);
}

.footer-powered i {
    color: #f38020;
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-lg), 0 4px 12px rgba(37, 99, 235, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl), 0 8px 20px rgba(37, 99, 235, 0.4);
}

/* Print Styles */
@media print {
    .navbar,
    .mobile-menu,
    .scroll-top,
    .footer,
    .theme-toggle,
    .hero-actions,
    .contact-item,
    .hero-image {
        display: none !important;
    }

    .main-content {
        margin-top: 0;
    }

    .hero {
        min-height: auto;
        padding: var(--space-6) 0;
    }

    .hero h1 {
        font-size: 28pt;
    }

    .section {
        padding: var(--space-6) 0;
    }

    .timeline::before {
        display: none;
    }

    .timeline-item {
        padding-left: 0;
        break-inside: avoid;
    }

    .timeline-card,
    .skill-card,
    .certification-card,
    .project-card,
    .reference-card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }

    body {
        font-size: 11pt;
        background: white;
        color: #333;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

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

    .mobile-menu {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        max-width: none;
    }

    .hero-description {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-contact {
        justify-content: center;
    }

    .hero-image {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --navbar-height: 64px;
    }

    html {
        font-size: 15px;
    }

    .nav-container {
        padding: 0 var(--space-4);
    }

    .nav-actions .btn span {
        display: none;
    }

    .nav-actions .btn {
        padding: var(--space-2);
    }

    .container {
        padding: 0 var(--space-4);
    }

    .hero {
        padding: var(--space-10) 0;
        min-height: auto;
    }

    .hero-badge {
        font-size: 0.8125rem;
    }

    .section {
        padding: var(--space-10) 0;
    }

    .timeline {
        padding-left: var(--space-5);
    }

    .timeline::before {
        left: 8px;
    }

    .timeline-item {
        padding-left: var(--space-8);
    }

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

    .timeline-card {
        padding: var(--space-4);
    }

    .timeline-card::before {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 var(--space-3);
    }

    .hero {
        padding: var(--space-8) 0;
    }

    .section {
        padding: var(--space-8) 0;
    }

    .skills-grid,
    .certifications-grid,
    .projects-grid,
    .references-grid {
        grid-template-columns: 1fr;
    }

    .education-card {
        flex-direction: column;
        text-align: center;
    }

    .certification-card,
    .reference-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

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

.timeline-item,
.skill-card,
.certification-card,
.project-card,
.reference-card,
.education-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.timeline-item:nth-child(1),
.skill-card:nth-child(1),
.certification-card:nth-child(1),
.project-card:nth-child(1),
.reference-card:nth-child(1) {
    animation-delay: 0.1s;
}

.timeline-item:nth-child(2),
.skill-card:nth-child(2),
.certification-card:nth-child(2),
.project-card:nth-child(2),
.reference-card:nth-child(2) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(3),
.skill-card:nth-child(3),
.certification-card:nth-child(3),
.project-card:nth-child(3),
.reference-card:nth-child(3) {
    animation-delay: 0.3s;
}

.timeline-item:nth-child(4),
.skill-card:nth-child(4),
.certification-card:nth-child(4),
.reference-card:nth-child(4) {
    animation-delay: 0.4s;
}

.timeline-item:nth-child(5),
.skill-card:nth-child(5),
.certification-card:nth-child(5) {
    animation-delay: 0.5s;
}

.skill-card:nth-child(6),
.certification-card:nth-child(6) {
    animation-delay: 0.6s;
}

.skill-card:nth-child(7),
.certification-card:nth-child(7) {
    animation-delay: 0.7s;
}

.skill-card:nth-child(8) {
    animation-delay: 0.8s;
}
