/* ============================================
   DAMODAR NAMALA — Portfolio Design System
   Premium Enterprise Architecture Portfolio
   ============================================ */

/* --- CSS Variables --- */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-tertiary: #1a1a24;
    --bg-card: #15151f;
    --bg-card-hover: #1c1c2a;
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b8;
    --text-tertiary: #6b6b80;
    --accent: #6366f1;
    --accent-light: #818cf8;
    --accent-glow: rgba(99, 102, 241, 0.15);
    --accent-gradient: linear-gradient(135deg, #6366f1, #8b5cf6);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(99, 102, 241, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.1);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-max: 1200px;
}

/* --- Light Theme --- */
[data-theme="light"] {
    --bg-primary: #f8f9fc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f0f1f5;
    --bg-card: #ffffff;
    --bg-card-hover: #f5f5ff;
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-tertiary: #7a7a95;
    --border: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(99, 102, 241, 0.4);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.08);
}

/* --- Color Schemes --- */
[data-color="emerald"] {
    --accent: #10b981;
    --accent-light: #34d399;
    --accent-glow: rgba(16, 185, 129, 0.15);
    --accent-gradient: linear-gradient(135deg, #10b981, #06b6d4);
    --border-hover: rgba(16, 185, 129, 0.3);
}

[data-color="amber"] {
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --accent-glow: rgba(245, 158, 11, 0.15);
    --accent-gradient: linear-gradient(135deg, #f59e0b, #ef4444);
    --border-hover: rgba(245, 158, 11, 0.3);
}

[data-color="rose"] {
    --accent: #f43f5e;
    --accent-light: #fb7185;
    --accent-glow: rgba(244, 63, 94, 0.15);
    --accent-gradient: linear-gradient(135deg, #f43f5e, #ec4899);
    --border-hover: rgba(244, 63, 94, 0.3);
}

[data-color="cyan"] {
    --accent: #06b6d4;
    --accent-light: #22d3ee;
    --accent-glow: rgba(6, 182, 212, 0.15);
    --accent-gradient: linear-gradient(135deg, #06b6d4, #6366f1);
    --border-hover: rgba(6, 182, 212, 0.3);
}

[data-color="highcontrast"] {
    --accent: #ffd700;
    --accent-light: #ffe44d;
    --accent-glow: rgba(255, 215, 0, 0.2);
    --accent-gradient: linear-gradient(135deg, #ffd700, #ff8c00);
    --border: rgba(255, 255, 255, 0.2);
    --border-hover: rgba(255, 215, 0, 0.5);
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-tertiary: #b0b0b0;
    --bg-primary: #000000;
    --bg-secondary: #0d0d0d;
    --bg-tertiary: #1a1a1a;
    --bg-card: #111111;
    --bg-card-hover: #1f1f1f;
}

[data-theme="light"][data-color="highcontrast"] {
    --accent: #0050a0;
    --accent-light: #0066cc;
    --accent-glow: rgba(0, 80, 160, 0.15);
    --accent-gradient: linear-gradient(135deg, #0050a0, #7c3aed);
    --border: rgba(0, 0, 0, 0.2);
    --border-hover: rgba(0, 80, 160, 0.5);
    --text-primary: #000000;
    --text-secondary: #1a1a1a;
    --text-tertiary: #333333;
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-tertiary: #eeeeee;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f0ff;
}

[data-theme="light"] .nav.scrolled {
    background: rgba(248, 249, 252, 0.9);
}

[data-theme="light"] .hero-grid {
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
}

[data-theme="light"] .hero-name {
    background: linear-gradient(135deg, #1a1a2e 0%, #4a4a6a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .nav-link--cta {
    color: white !important;
}

[data-theme="light"] .btn-primary {
    color: white;
}

[data-theme="light"] .expertise-card,
[data-theme="light"] .timeline-content,
[data-theme="light"] .project-card,
[data-theme="light"] .skill-category,
[data-theme="light"] .metric-card,
[data-theme="light"] .credential-card,
[data-theme="light"] .contact-card,
[data-theme="light"] .resource-card,
[data-theme="light"] .about-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .expertise-card:hover,
[data-theme="light"] .project-card:hover,
[data-theme="light"] .skill-category:hover,
[data-theme="light"] .metric-card:hover,
[data-theme="light"] .credential-card:hover,
[data-theme="light"] .contact-card:hover,
[data-theme="light"] .resource-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1), 0 0 20px rgba(99, 102, 241, 0.06);
}

[data-theme="light"] .hero-bg::before {
    background: radial-gradient(circle at 30% 40%, rgba(99, 102, 241, 0.04) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
}

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

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

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 60px; /* Leave space for nav */
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/Architect.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

[data-theme="light"] body::before {
    opacity: 0.05;
}

body > * {
    position: relative;
    z-index: 1;
}

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

ul {
    list-style: none;
}

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

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

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.nav.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.theme-toggle {
    background: none;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary);
}

.theme-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
}

.color-toggle {
    background: none;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary);
}

.color-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
}

.color-toggle svg {
    width: 18px;
    height: 18px;
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
}

.theme-icon--light {
    display: none;
}

[data-theme="light"] .theme-icon--dark {
    display: none;
}

[data-theme="light"] .theme-icon--light {
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link--cta {
    background: var(--accent-gradient);
    color: white !important;
    padding: 8px 16px;
    border-radius: 100px;
    font-weight: 600;
    flex-shrink: 0;
}

.nav-link--cta::after {
    display: none;
}

.nav-link--cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

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

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

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

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    animation: heroGlow 15s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-5%, 5%) rotate(3deg); }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes borderRotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px var(--accent-glow), 0 0 60px rgba(99, 102, 241, 0.08); }
    50% { box-shadow: 0 0 30px var(--accent-glow), 0 0 80px rgba(99, 102, 241, 0.15); }
}

@keyframes borderGlow {
    0% { border-color: var(--accent); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 20px var(--accent-glow), inset 0 0 20px rgba(99, 102, 241, 0.03); }
    33% { border-color: var(--accent-light); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 30px var(--accent-glow), inset 0 0 20px rgba(99, 102, 241, 0.05); }
    66% { border-color: var(--accent); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 40px var(--accent-glow), inset 0 0 20px rgba(99, 102, 241, 0.03); }
    100% { border-color: var(--accent); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 20px var(--accent-glow), inset 0 0 20px rgba(99, 102, 241, 0.03); }
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--accent-glow);
    border: 1px solid var(--border-hover);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 32px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-title {
    margin-bottom: 24px;
}

.hero-name {
    display: block;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-role {
    display: block;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 600;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 8px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -1px;
}

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

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4);
}

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

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

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hero-scroll span {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-indicator {
    width: 2px;
    height: 32px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.5; }
}

/* --- Section Base --- */
.section {
    padding: 120px 0;
    position: relative;
}

.section:nth-child(even) {
    box-shadow: inset 0 1px 0 var(--border), inset 0 -1px 0 var(--border), 0 4px 40px rgba(0, 0, 0, 0.15);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-light);
    margin-bottom: 12px;
    padding: 6px 16px;
    background: var(--accent-glow);
    border-radius: 100px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 16px auto 0;
    line-height: 1.7;
}

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

.about-lead {
    font-size: 1.15rem;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 16px;
    font-weight: 400;
}

.about-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

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

.highlight-item {
    display: flex;
    gap: 16px;
    align-items: start;
}

.highlight-icon {
    color: var(--accent);
    font-size: 0.75rem;
    margin-top: 4px;
}

.highlight-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 4px;
    font-weight: 600;
}

.highlight-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    text-align: center;
    position: sticky;
    top: 120px;
}

.profile-visual {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 32px;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.profile-initials {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    position: relative;
    z-index: 1;
}

.profile-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    opacity: 0.3;
    animation: ringPulse 3s ease-in-out infinite;
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.05); opacity: 0.5; }
}

.about-meta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.meta-item:last-child {
    border-bottom: none;
}

.meta-label {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-value {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* --- Expertise Section --- */
.expertise {
    background: var(--bg-secondary);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.expertise-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 15px rgba(99, 102, 241, 0.05), 0 0 0 1px rgba(99, 102, 241, 0.03);
}

.expertise-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.04), transparent);
    transition: none;
}

.expertise-card:hover::after {
    animation: shimmer 1.5s ease forwards;
}

.expertise-card:hover {
    border-color: var(--accent);
    transform: scale(1.03);
    animation: borderGlow 2s ease-in-out infinite;
}

.expertise-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.expertise-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent-light);
}

.expertise-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.expertise-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

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

.expertise-tags li {
    font-size: 0.75rem;
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 100px;
    color: var(--accent-light);
    font-weight: 500;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--border));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 48px;
}

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

.timeline-marker {
    position: absolute;
    left: -36px;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(99, 102, 241, 0.03);
}

.timeline-content:hover {
    border-color: var(--border-hover);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(99, 102, 241, 0.1);
}

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

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

.timeline-company {
    font-size: 0.95rem;
    color: var(--accent-light);
    font-weight: 500;
    margin-top: 4px;
}

.timeline-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.timeline-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    font-family: var(--font-mono);
}

.timeline-location {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.timeline-summary {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.timeline-achievements {
    margin-bottom: 20px;
}

.achievement-group {
    margin-bottom: 16px;
}

.achievement-group h4 {
    font-size: 0.85rem;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    font-weight: 600;
}

.timeline-achievements ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

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

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

.timeline-tags span {
    font-size: 0.75rem;
    padding: 4px 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* --- Projects Section --- */
.projects {
    background: var(--bg-secondary);
}

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

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    transform: scale(1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 15px rgba(99, 102, 241, 0.05), 0 0 0 1px rgba(99, 102, 241, 0.03);
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.04), transparent);
    transition: none;
}

.project-card:hover::after {
    animation: shimmer 1.5s ease forwards;
}

.project-card:hover {
    border-color: var(--accent);
    transform: scale(1.03);
    animation: borderGlow 2s ease-in-out infinite;
}

.project-card--featured {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(99, 102, 241, 0.03) 100%);
    border-color: var(--border-hover);
}

.project-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-light);
    background: var(--accent-glow);
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 16px;
    align-self: flex-start;
}

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

.project-domain {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin-bottom: 16px;
    font-weight: 500;
}

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

.project-impact {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.impact-item {
    text-align: center;
}

.impact-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.impact-label {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.project-tech span {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-secondary);
    font-weight: 500;
}

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

.skill-category {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(99, 102, 241, 0.03);
}

.skill-category::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.04), transparent);
    transition: none;
}

.skill-category:hover::after {
    animation: shimmer 1.5s ease forwards;
}

.skill-category:hover {
    border-color: var(--border-hover);
    transform: scale(1.03);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(99, 102, 241, 0.1);
}

.skill-category-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-light);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.skill-item:hover {
    background: var(--bg-tertiary);
}

.skill-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.skill-level {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 100px;
}

.skill-item--expert .skill-level {
    color: #34d399;
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.2);
}

.skill-item--advanced .skill-level {
    color: var(--accent-light);
    background: var(--accent-glow);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.skill-item--intermediate .skill-level {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.2);
}

/* --- Achievements / Metrics --- */
.achievements {
    background: var(--bg-secondary);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.metric-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(99, 102, 241, 0.03);
}

.metric-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.04), transparent);
    transition: none;
}

.metric-card:hover::after {
    animation: shimmer 1.5s ease forwards;
}

.metric-card:hover {
    border-color: var(--border-hover);
    transform: scale(1.03);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(99, 102, 241, 0.1);
}

.metric-visual {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.metric-visual svg {
    position: absolute;
    width: 100%;
    height: 100%;
}

.metric-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.metric-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.metric-context {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* Clients */
.clients-section {
    text-align: center;
}

.clients-title {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-tertiary);
    margin-bottom: 32px;
}

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.client-item {
    padding: 20px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: clientPulse 4.9s ease-in-out infinite;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.client-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 8px;
    transition: var(--transition);
}

.client-item:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.15);
}

.client-item:hover .client-logo {
    transform: scale(1.1);
}

@keyframes clientPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.client-item:hover {
    animation-play-state: paused;
}

/* --- Education / Credentials --- */
.credentials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.credential-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 15px rgba(99, 102, 241, 0.05), 0 0 0 1px rgba(99, 102, 241, 0.03);
}

.credential-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.04), transparent);
    transition: none;
}

.credential-card:hover::after {
    animation: shimmer 1.5s ease forwards;
}

.credential-card:hover {
    border-color: var(--accent);
    transform: scale(1.03);
    animation: borderGlow 2s ease-in-out infinite;
}

.credential-type {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-light);
    margin-bottom: 12px;
}

.credential-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

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

.credential-year {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    font-family: var(--font-mono);
    margin-top: 8px;
}

/* --- Contact Section --- */
.contact {
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(99, 102, 241, 0.03);
}

.contact-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.04), transparent);
    transition: none;
}

.contact-card:hover::after {
    animation: shimmer 1.5s ease forwards;
}

.contact-card:hover {
    border-color: var(--border-hover);
    transform: scale(1.03);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(99, 102, 241, 0.1);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    color: var(--accent-light);
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-tertiary);
    margin-bottom: 4px;
}

.contact-value {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
}

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

.resource-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform: scale(1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 15px rgba(99, 102, 241, 0.05), 0 0 0 1px rgba(99, 102, 241, 0.03);
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    z-index: 1;
}

.resource-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.04), transparent);
    transition: none;
}

.resource-card:hover::after {
    animation: shimmer 1.5s ease forwards;
}

.resource-card:hover {
    border-color: var(--accent);
    transform: scale(1.02);
    animation: borderGlow 2s ease-in-out infinite;
}

.resource-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.resource-icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent-light);
}

.resource-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.resource-tagline {
    font-size: 1.05rem;
    color: var(--accent-light);
    font-weight: 600;
    margin-bottom: 16px;
}

.resource-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.resource-highlight {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-tertiary);
    margin-bottom: 24px;
}

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

.resource-tags span {
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: var(--transition);
}

.resource-tags span:hover {
    border-color: var(--accent);
    color: var(--accent-light);
}

.resource-btn {
    margin-top: 20px;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.footer-links {
    display: flex;
    gap: 24px;
}

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

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

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        transition: var(--transition);
        border-left: 1px solid var(--border);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        padding: 100px 24px 60px;
        min-height: auto;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-card {
        position: static;
        padding: 32px 24px;
    }
    
    .profile-visual {
        width: 100px;
        height: 100px;
        margin-bottom: 24px;
    }
    
    .profile-image,
    .profile-initials {
        width: 100px;
        height: 100px;
    }
    
    .profile-initials {
        font-size: 2rem;
    }
    
    .profile-ring {
        inset: -6px;
    }
    
    .about-lead {
        font-size: 1rem;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card--featured {
        grid-column: span 1;
    }
    
    .project-card {
        padding: 24px;
    }
    
    .project-impact {
        gap: 16px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .credentials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        padding-left: 32px;
    }
    
    .timeline-content {
        padding: 24px;
    }
    
    .timeline-header {
        flex-direction: column;
    }
    
    .timeline-meta {
        align-items: flex-start;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    .clients-grid {
        gap: 12px;
    }
    
    .client-item {
        padding: 14px 18px;
        font-size: 0.75rem;
    }
    
    .client-logo {
        width: 44px;
        height: 44px;
    }
    
    .resource-card {
        padding: 24px;
    }
    
    .resource-title {
        font-size: 1.25rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }
    
    .nav-brand {
        gap: 8px;
    }
    
    .theme-toggle,
    .color-toggle {
        width: 32px;
        height: 32px;
    }
    
    .theme-toggle svg,
    .color-toggle svg {
        width: 16px;
        height: 16px;
    }
    
    .expertise-card {
        padding: 24px;
    }
    
    .skill-category {
        padding: 24px;
    }
    
    .metric-card {
        padding: 20px;
    }
    
    .credential-card {
        padding: 24px;
    }
    
    .contact-card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 90px 16px 48px;
    }
    
    .hero-name {
        font-size: clamp(2rem, 8vw, 2.5rem);
        letter-spacing: -1px;
    }
    
    .hero-role {
        font-size: clamp(1rem, 4vw, 1.2rem);
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 32px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-actions .btn {
        text-align: center;
        justify-content: center;
    }
    
    .hero-scroll {
        display: none;
    }
    
    .section {
        padding: 48px 0;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .section-tag {
        font-size: 0.65rem;
        padding: 4px 12px;
    }
    
    .about-content p {
        font-size: 0.9rem;
    }
    
    .profile-visual {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }
    
    .profile-image,
    .profile-initials {
        width: 80px;
        height: 80px;
    }
    
    .profile-initials {
        font-size: 1.6rem;
    }
    
    .profile-ring {
        inset: -5px;
    }
    
    .about-card {
        padding: 24px 20px;
    }
    
    .project-card {
        padding: 20px;
    }
    
    .project-title {
        font-size: 1.1rem;
    }
    
    .project-impact {
        flex-direction: column;
        gap: 12px;
    }
    
    .project-impact .impact-item {
        flex-direction: row;
        gap: 8px;
        text-align: left;
    }
    
    .project-tech {
        gap: 6px;
    }
    
    .project-tech span {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .timeline {
        padding-left: 24px;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .timeline-title {
        font-size: 1.1rem;
    }
    
    .timeline-achievements li {
        font-size: 0.85rem;
    }
    
    .timeline-tags span {
        font-size: 0.7rem;
        padding: 3px 10px;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .clients-grid {
        gap: 10px;
    }
    
    .client-item {
        padding: 12px 14px;
        font-size: 0.7rem;
    }
    
    .client-logo {
        width: 36px;
        height: 36px;
    }
    
    .skill-item {
        padding: 8px 12px;
    }
    
    .credential-card {
        padding: 20px;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .resource-card {
        padding: 20px;
    }
    
    .resource-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .nav-logo {
        font-size: 1.1rem;
    }
    
    .highlight-item {
        gap: 12px;
    }
    
    .highlight-icon {
        min-width: 32px;
        height: 32px;
        font-size: 0.7rem;
    }
    
    .expertise-tags {
        gap: 6px;
    }
    
    .expertise-tags li {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .about-meta {
        gap: 12px;
    }
    
    .metric-visual svg {
        width: 80px;
        height: 80px;
    }
    
    .metric-number {
        font-size: 1.2rem;
    }
    
    .footer {
        padding: 24px 0;
    }
    
    .footer-content {
        font-size: 0.8rem;
    }
}
