/* ===== GLOBAL STYLES ===== */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-light: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-alt: #f1f5f9;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --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);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== ACCESSIBILITY ===== */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 4px 0;
    font-weight: 600;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 0;
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* Enhanced focus styles for keyboard navigation */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-primary: #000000;
        --text-secondary: #1a1a1a;
        --border-color: #000000;
    }
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-brand h2 {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: var(--transition);
    border-radius: 3px;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    padding-top: 80px;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
}

.highlight {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

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

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: 2px solid transparent;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.hero-social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-social a {
    color: white;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.hero-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero-scroll a {
    color: white;
    opacity: 0.7;
    transition: var(--transition);
}

.hero-scroll a:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== SECTIONS ===== */
.section {
    padding: 5rem 0;
}

.section-alt {
    background-color: var(--bg-secondary);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* ===== ABOUT SECTION ===== */
.about-content {
    max-width: 900px;
    margin: 3rem auto 0;
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.lead {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-secondary);
    font-weight: 600;
}

/* ===== GENAI EXPERTISE SECTION ===== */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.expertise-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.expertise-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    margin-bottom: 1.5rem;
    color: white;
}

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

.expertise-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== CARD ANIMATIONS ===== */
.card-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.95), rgba(139, 92, 246, 0.95));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 10;
    overflow: hidden;
}

.expertise-card {
    position: relative;
    overflow: hidden;
}

.expertise-card:hover .card-animation {
    opacity: 1;
}

/* Mobile and accessibility support for card animations */
.expertise-card.touch-active .card-animation,
.expertise-card.keyboard-active .card-animation {
    opacity: 1;
}

.expertise-card.keyboard-focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

.expertise-card:hover .expertise-icon,
.expertise-card:hover h3,
.expertise-card:hover p {
    position: relative;
    z-index: 1;
}

/* Vibe Coding Animation */
.card-animation .anim-prompt {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%) scale(0);
    color: white;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

[data-animation="vibe-coding"]:hover .anim-prompt,
[data-animation="vibe-coding"].touch-active .anim-prompt,
[data-animation="vibe-coding"].keyboard-active .anim-prompt {
    animation: promptAppear 3s ease-in-out infinite;
}

.card-animation .anim-code-lines {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
}

.card-animation .code-line {
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    margin: 6px 0;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
}

[data-animation="vibe-coding"]:hover .code-line:nth-child(1),
[data-animation="vibe-coding"].touch-active .code-line:nth-child(1),
[data-animation="vibe-coding"].keyboard-active .code-line:nth-child(1) {
    animation: codeLine 0.6s ease-out 0.6s forwards;
}

[data-animation="vibe-coding"]:hover .code-line:nth-child(2),
[data-animation="vibe-coding"].touch-active .code-line:nth-child(2),
[data-animation="vibe-coding"].keyboard-active .code-line:nth-child(2) {
    animation: codeLine 0.6s ease-out 0.8s forwards;
    width: 80%;
}

[data-animation="vibe-coding"]:hover .code-line:nth-child(3),
[data-animation="vibe-coding"].touch-active .code-line:nth-child(3),
[data-animation="vibe-coding"].keyboard-active .code-line:nth-child(3) {
    animation: codeLine 0.6s ease-out 1s forwards;
    width: 90%;
}

[data-animation="vibe-coding"]:hover .code-line:nth-child(4),
[data-animation="vibe-coding"].touch-active .code-line:nth-child(4),
[data-animation="vibe-coding"].keyboard-active .code-line:nth-child(4) {
    animation: codeLine 0.6s ease-out 1.2s forwards;
    width: 70%;
}

.card-animation .anim-app {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-animation="vibe-coding"]:hover .anim-app,
[data-animation="vibe-coding"].touch-active .anim-app,
[data-animation="vibe-coding"].keyboard-active .anim-app {
    animation: appAppear 0.6s ease-out 1.8s forwards;
}

.card-animation .app-icon {
    font-size: 32px;
    color: var(--primary-color);
}

/* AI-Powered Development Animation */
.card-animation .anim-ai-agents {
    position: absolute;
    width: 100%;
    height: 100%;
}

.card-animation .ai-agent {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0;
}

[data-animation="ai-powered"]:hover .agent-1,
[data-animation="ai-powered"].touch-active .agent-1,
[data-animation="ai-powered"].keyboard-active .agent-1 {
    animation: aiAgent1 2.5s ease-in-out infinite;
}

[data-animation="ai-powered"]:hover .agent-2,
[data-animation="ai-powered"].touch-active .agent-2,
[data-animation="ai-powered"].keyboard-active .agent-2 {
    animation: aiAgent2 2.5s ease-in-out 0.3s infinite;
}

[data-animation="ai-powered"]:hover .agent-3,
[data-animation="ai-powered"].touch-active .agent-3,
[data-animation="ai-powered"].keyboard-active .agent-3 {
    animation: aiAgent3 2.5s ease-in-out 0.6s infinite;
}

.card-animation .anim-code-flow {
    position: absolute;
    width: 100%;
    height: 100%;
}

.card-animation .flow-line {
    position: absolute;
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
}

[data-animation="ai-powered"]:hover .line-1,
[data-animation="ai-powered"].touch-active .line-1,
[data-animation="ai-powered"].keyboard-active .line-1 {
    animation: flowLine1 2.5s ease-in-out 0.8s infinite;
}

[data-animation="ai-powered"]:hover .line-2,
[data-animation="ai-powered"].touch-active .line-2,
[data-animation="ai-powered"].keyboard-active .line-2 {
    animation: flowLine2 2.5s ease-in-out 1.1s infinite;
}

[data-animation="ai-powered"]:hover .line-3,
[data-animation="ai-powered"].touch-active .line-3,
[data-animation="ai-powered"].keyboard-active .line-3 {
    animation: flowLine3 2.5s ease-in-out 1.4s infinite;
}

.card-animation .anim-output {
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 20px;
    font-weight: 800;
    opacity: 0;
}

[data-animation="ai-powered"]:hover .anim-output,
[data-animation="ai-powered"].touch-active .anim-output,
[data-animation="ai-powered"].keyboard-active .anim-output {
    animation: outputAppear 2.5s ease-in-out 1.8s infinite;
}

/* Digital Transformation Animation */
.card-animation .anim-legacy-system {
    position: absolute;
    left: 15%;
    top: 50%;
    transform: translateY(-50%);
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    color: white;
    font-weight: 700;
    opacity: 0;
}

[data-animation="digital-transform"]:hover .anim-legacy-system,
[data-animation="digital-transform"].touch-active .anim-legacy-system,
[data-animation="digital-transform"].keyboard-active .anim-legacy-system {
    animation: fadeInLeft 0.6s ease-out forwards;
}

.card-animation .anim-transform-arrow {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    color: white;
    opacity: 0;
}

[data-animation="digital-transform"]:hover .anim-transform-arrow,
[data-animation="digital-transform"].touch-active .anim-transform-arrow,
[data-animation="digital-transform"].keyboard-active .anim-transform-arrow {
    animation: pulse 1.5s ease-in-out 0.6s infinite;
}

.card-animation .anim-modern-system {
    position: absolute;
    right: 15%;
    top: 50%;
    transform: translateY(-50%);
    padding: 12px 20px;
    background: white;
    border-radius: 8px;
    color: var(--primary-color);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
}

[data-animation="digital-transform"]:hover .anim-modern-system,
[data-animation="digital-transform"].touch-active .anim-modern-system,
[data-animation="digital-transform"].keyboard-active .anim-modern-system {
    animation: fadeInRight 0.6s ease-out 1.2s forwards;
}

.card-animation .anim-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.card-animation .particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    opacity: 0;
}

[data-animation="digital-transform"]:hover .particle:nth-child(1),
[data-animation="digital-transform"].touch-active .particle:nth-child(1),
[data-animation="digital-transform"].keyboard-active .particle:nth-child(1) {
    animation: particle1 2s ease-in-out infinite;
}

[data-animation="digital-transform"]:hover .particle:nth-child(2),
[data-animation="digital-transform"].touch-active .particle:nth-child(2),
[data-animation="digital-transform"].keyboard-active .particle:nth-child(2) {
    animation: particle2 2s ease-in-out 0.3s infinite;
}

[data-animation="digital-transform"]:hover .particle:nth-child(3),
[data-animation="digital-transform"].touch-active .particle:nth-child(3),
[data-animation="digital-transform"].keyboard-active .particle:nth-child(3) {
    animation: particle3 2s ease-in-out 0.6s infinite;
}

/* Database Migration Animation */
.card-animation .anim-db {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    opacity: 0;
}

.card-animation .source-db {
    left: 15%;
}

.card-animation .target-db {
    right: 15%;
}

[data-animation="database-migration"]:hover .source-db,
[data-animation="database-migration"].touch-active .source-db,
[data-animation="database-migration"].keyboard-active .source-db {
    animation: fadeIn 0.5s ease-out forwards;
}

[data-animation="database-migration"]:hover .target-db,
[data-animation="database-migration"].touch-active .target-db,
[data-animation="database-migration"].keyboard-active .target-db {
    animation: fadeIn 0.5s ease-out 1.2s forwards;
}

.card-animation .db-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.card-animation .db-label {
    color: white;
    font-size: 12px;
    font-weight: 600;
}

.card-animation .anim-migration-arrow {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.card-animation .arrow-path {
    width: 60px;
    height: 3px;
    background: white;
    position: relative;
    opacity: 0;
}

.card-animation .arrow-path::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid white;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

[data-animation="database-migration"]:hover .arrow-path,
[data-animation="database-migration"].touch-active .arrow-path,
[data-animation="database-migration"].keyboard-active .arrow-path {
    animation: slideRight 1.5s ease-in-out 0.5s infinite;
}

/* ETL Pipeline Animation */
.card-animation .anim-data-source {
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
}

.card-animation .data-dot {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    margin: 4px 0;
    opacity: 0;
}

[data-animation="etl-pipeline"]:hover .data-dot:nth-child(1),
[data-animation="etl-pipeline"].touch-active .data-dot:nth-child(1),
[data-animation="etl-pipeline"].keyboard-active .data-dot:nth-child(1) {
    animation: dotTravel 3s ease-in-out infinite;
}

[data-animation="etl-pipeline"]:hover .data-dot:nth-child(2),
[data-animation="etl-pipeline"].touch-active .data-dot:nth-child(2),
[data-animation="etl-pipeline"].keyboard-active .data-dot:nth-child(2) {
    animation: dotTravel 3s ease-in-out 0.3s infinite;
}

[data-animation="etl-pipeline"]:hover .data-dot:nth-child(3),
[data-animation="etl-pipeline"].touch-active .data-dot:nth-child(3),
[data-animation="etl-pipeline"].keyboard-active .data-dot:nth-child(3) {
    animation: dotTravel 3s ease-in-out 0.6s infinite;
}

.card-animation .anim-pipe {
    position: absolute;
    top: 50%;
    width: 15%;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
}

.card-animation .pipe-1 {
    left: 18%;
    transform: translateY(-50%);
}

.card-animation .pipe-2 {
    left: 55%;
    transform: translateY(-50%);
}

.card-animation .anim-transform-box {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    color: var(--primary-color);
}

[data-animation="etl-pipeline"]:hover .anim-transform-box,
[data-animation="etl-pipeline"].touch-active .anim-transform-box,
[data-animation="etl-pipeline"].keyboard-active .anim-transform-box {
    animation: transformPulse 1.5s ease-in-out infinite;
}

.card-animation .anim-data-target {
    position: absolute;
    right: 15%;
    top: 50%;
    transform: translateY(-50%);
}

.card-animation .data-bar {
    width: 30px;
    height: 8px;
    background: white;
    margin: 4px 0;
    border-radius: 2px;
    opacity: 0;
}

[data-animation="etl-pipeline"]:hover .data-bar:nth-child(1),
[data-animation="etl-pipeline"].touch-active .data-bar:nth-child(1),
[data-animation="etl-pipeline"].keyboard-active .data-bar:nth-child(1) {
    animation: barGrow 0.4s ease-out 1.5s forwards;
}

[data-animation="etl-pipeline"]:hover .data-bar:nth-child(2),
[data-animation="etl-pipeline"].touch-active .data-bar:nth-child(2),
[data-animation="etl-pipeline"].keyboard-active .data-bar:nth-child(2) {
    animation: barGrow 0.4s ease-out 1.8s forwards;
}

[data-animation="etl-pipeline"]:hover .data-bar:nth-child(3),
[data-animation="etl-pipeline"].touch-active .data-bar:nth-child(3),
[data-animation="etl-pipeline"].keyboard-active .data-bar:nth-child(3) {
    animation: barGrow 0.4s ease-out 2.1s forwards;
}

/* JSON Flattening Animation */
.card-animation .anim-json-nested {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 24px;
    font-weight: 700;
    opacity: 0;
}

[data-animation="json-flatten"]:hover .anim-json-nested,
[data-animation="json-flatten"].touch-active .anim-json-nested,
[data-animation="json-flatten"].keyboard-active .anim-json-nested {
    animation: fadeIn 0.5s ease-out forwards;
}

.card-animation .json-nested-level {
    display: flex;
    gap: 4px;
    font-size: 18px;
}

[data-animation="json-flatten"]:hover .json-nested-level,
[data-animation="json-flatten"].touch-active .json-nested-level,
[data-animation="json-flatten"].keyboard-active .json-nested-level {
    animation: nestPulse 1.5s ease-in-out 0.5s infinite;
}

.card-animation .anim-flatten-arrow {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 28px;
    color: white;
    opacity: 0;
}

[data-animation="json-flatten"]:hover .anim-flatten-arrow,
[data-animation="json-flatten"].touch-active .anim-flatten-arrow,
[data-animation="json-flatten"].keyboard-active .anim-flatten-arrow {
    animation: arrowDown 1.5s ease-in-out 0.8s infinite;
}

.card-animation .anim-json-flat {
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
}

.card-animation .flat-row {
    height: 4px;
    background: white;
    margin: 6px 0;
    border-radius: 2px;
    opacity: 0;
}

[data-animation="json-flatten"]:hover .flat-row:nth-child(1),
[data-animation="json-flatten"].touch-active .flat-row:nth-child(1),
[data-animation="json-flatten"].keyboard-active .flat-row:nth-child(1) {
    animation: fadeIn 0.4s ease-out 1.5s forwards;
}

[data-animation="json-flatten"]:hover .flat-row:nth-child(2),
[data-animation="json-flatten"].touch-active .flat-row:nth-child(2),
[data-animation="json-flatten"].keyboard-active .flat-row:nth-child(2) {
    animation: fadeIn 0.4s ease-out 1.7s forwards;
}

[data-animation="json-flatten"]:hover .flat-row:nth-child(3),
[data-animation="json-flatten"].touch-active .flat-row:nth-child(3),
[data-animation="json-flatten"].keyboard-active .flat-row:nth-child(3) {
    animation: fadeIn 0.4s ease-out 1.9s forwards;
}

/* UI Automation Animation */
.card-animation .anim-browser {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 50%;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0;
}

[data-animation="ui-automation"]:hover .anim-browser,
[data-animation="ui-automation"].touch-active .anim-browser,
[data-animation="ui-automation"].keyboard-active .anim-browser {
    animation: fadeIn 0.5s ease-out forwards;
}

.card-animation .browser-bar {
    width: 100%;
    height: 20%;
    background: rgba(99, 102, 241, 0.3);
    border-bottom: 2px solid rgba(99, 102, 241, 0.5);
}

.card-animation .browser-content {
    padding: 12px;
}

.card-animation .ui-element {
    height: 12px;
    background: rgba(99, 102, 241, 0.2);
    margin: 8px 0;
    border-radius: 4px;
}

.card-animation .anim-cursor {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 8px solid white;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    opacity: 0;
}

[data-animation="ui-automation"]:hover .anim-cursor,
[data-animation="ui-automation"].touch-active .anim-cursor,
[data-animation="ui-automation"].keyboard-active .anim-cursor {
    animation: cursorMove 3s ease-in-out 0.5s infinite;
}

.card-animation .anim-clicks {
    position: absolute;
    width: 100%;
    height: 100%;
}

.card-animation .click-ripple {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-radius: 50%;
    opacity: 0;
}

[data-animation="ui-automation"]:hover .click-ripple,
[data-animation="ui-automation"].touch-active .click-ripple,
[data-animation="ui-automation"].keyboard-active .click-ripple {
    animation: clickEffect 3s ease-in-out 1.5s infinite;
}

.card-animation .anim-checkmark {
    position: absolute;
    bottom: 15%;
    right: 20%;
    font-size: 32px;
    color: white;
    opacity: 0;
}

[data-animation="ui-automation"]:hover .anim-checkmark,
[data-animation="ui-automation"].touch-active .anim-checkmark,
[data-animation="ui-automation"].keyboard-active .anim-checkmark {
    animation: checkmarkAppear 0.5s ease-out 2.5s forwards;
}

/* Rapid Prototyping Animation */
.card-animation .anim-idea {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 40px;
    opacity: 0;
}

[data-animation="rapid-prototype"]:hover .anim-idea,
[data-animation="rapid-prototype"].touch-active .anim-idea,
[data-animation="rapid-prototype"].keyboard-active .anim-idea {
    animation: ideaBounce 0.6s ease-out forwards;
}

.card-animation .anim-proto-stages {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 12px;
}

.card-animation .proto-stage {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid white;
    border-radius: 6px;
    opacity: 0;
}

[data-animation="rapid-prototype"]:hover .stage-1,
[data-animation="rapid-prototype"].touch-active .stage-1,
[data-animation="rapid-prototype"].keyboard-active .stage-1 {
    animation: stageAppear 0.4s ease-out 0.6s forwards;
}

[data-animation="rapid-prototype"]:hover .stage-2,
[data-animation="rapid-prototype"].touch-active .stage-2,
[data-animation="rapid-prototype"].keyboard-active .stage-2 {
    animation: stageAppear 0.4s ease-out 0.9s forwards;
}

[data-animation="rapid-prototype"]:hover .stage-3,
[data-animation="rapid-prototype"].touch-active .stage-3,
[data-animation="rapid-prototype"].keyboard-active .stage-3 {
    animation: stageAppear 0.4s ease-out 1.2s forwards;
}

.card-animation .anim-mvp {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background: white;
    color: var(--primary-color);
    font-weight: 800;
    font-size: 18px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
}

[data-animation="rapid-prototype"]:hover .anim-mvp,
[data-animation="rapid-prototype"].touch-active .anim-mvp,
[data-animation="rapid-prototype"].keyboard-active .anim-mvp {
    animation: mvpAppear 0.5s ease-out 1.6s forwards;
}

.card-animation .anim-speed-lines {
    position: absolute;
    width: 100%;
    height: 100%;
}

.card-animation .speed-line {
    position: absolute;
    height: 2px;
    background: white;
    opacity: 0;
}

[data-animation="rapid-prototype"]:hover .speed-line:nth-child(1),
[data-animation="rapid-prototype"].touch-active .speed-line:nth-child(1),
[data-animation="rapid-prototype"].keyboard-active .speed-line:nth-child(1) {
    animation: speedLine1 1.5s ease-out 0.8s infinite;
}

[data-animation="rapid-prototype"]:hover .speed-line:nth-child(2),
[data-animation="rapid-prototype"].touch-active .speed-line:nth-child(2),
[data-animation="rapid-prototype"].keyboard-active .speed-line:nth-child(2) {
    animation: speedLine2 1.5s ease-out 1s infinite;
}

[data-animation="rapid-prototype"]:hover .speed-line:nth-child(3),
[data-animation="rapid-prototype"].touch-active .speed-line:nth-child(3),
[data-animation="rapid-prototype"].keyboard-active .speed-line:nth-child(3) {
    animation: speedLine3 1.5s ease-out 1.2s infinite;
}

/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes promptAppear {
    0%, 100% { transform: translateX(-50%) scale(0); opacity: 0; }
    15%, 85% { transform: translateX(-50%) scale(1); opacity: 1; }
}

@keyframes codeLine {
    to { transform: scaleX(1); }
}

@keyframes appAppear {
    to { transform: translateX(-50%) scale(1); }
}

@keyframes aiAgent1 {
    0% { opacity: 0; top: 30%; left: 20%; }
    20%, 80% { opacity: 1; top: 35%; left: 25%; }
    100% { opacity: 0; top: 40%; left: 30%; }
}

@keyframes aiAgent2 {
    0% { opacity: 0; top: 30%; right: 20%; }
    20%, 80% { opacity: 1; top: 35%; right: 25%; }
    100% { opacity: 0; top: 40%; right: 30%; }
}

@keyframes aiAgent3 {
    0% { opacity: 0; top: 50%; left: 50%; }
    20%, 80% { opacity: 1; top: 45%; left: 50%; }
    100% { opacity: 0; top: 40%; left: 50%; }
}

@keyframes flowLine1 {
    0% { opacity: 0; top: 35%; left: 25%; }
    30%, 70% { opacity: 1; top: 55%; left: 35%; }
    100% { opacity: 0; top: 65%; left: 45%; }
}

@keyframes flowLine2 {
    0% { opacity: 0; top: 35%; right: 25%; }
    30%, 70% { opacity: 1; top: 55%; right: 35%; }
    100% { opacity: 0; top: 65%; right: 45%; }
}

@keyframes flowLine3 {
    0% { opacity: 0; top: 45%; left: 50%; }
    30%, 70% { opacity: 1; top: 60%; left: 50%; }
    100% { opacity: 0; top: 70%; left: 50%; }
}

@keyframes outputAppear {
    0%, 20% { opacity: 0; transform: translateX(-50%) scale(0.5); }
    30%, 90% { opacity: 1; transform: translateX(-50%) scale(1); }
    100% { opacity: 0; transform: translateX(-50%) scale(0.5); }
}

@keyframes fadeInLeft {
    to { opacity: 1; }
}

@keyframes fadeInRight {
    to { opacity: 1; }
}

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

@keyframes particle1 {
    0% { opacity: 0; left: 40%; top: 50%; }
    20%, 80% { opacity: 0.8; }
    100% { opacity: 0; left: 60%; top: 30%; }
}

@keyframes particle2 {
    0% { opacity: 0; left: 45%; top: 50%; }
    20%, 80% { opacity: 0.6; }
    100% { opacity: 0; left: 60%; top: 50%; }
}

@keyframes particle3 {
    0% { opacity: 0; left: 40%; top: 50%; }
    20%, 80% { opacity: 0.7; }
    100% { opacity: 0; left: 60%; top: 70%; }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes slideRight {
    0% { opacity: 0; transform: translateX(-20px); }
    30%, 70% { opacity: 1; transform: translateX(0); }
    100% { opacity: 0; transform: translateX(20px); }
}

@keyframes dotTravel {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

@keyframes transformPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes barGrow {
    from { transform: scaleX(0); opacity: 0; }
    to { transform: scaleX(1); opacity: 1; }
}

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

@keyframes arrowDown {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
    50% { transform: translateX(-50%) translateY(5px); opacity: 1; }
}

@keyframes cursorMove {
    0% { opacity: 0; top: 25%; left: 30%; }
    15%, 45% { opacity: 1; top: 35%; left: 40%; }
    50% { opacity: 0; }
    55% { opacity: 0; top: 45%; left: 35%; }
    65%, 85% { opacity: 1; top: 55%; left: 45%; }
    100% { opacity: 0; }
}

@keyframes clickEffect {
    0% { opacity: 0; transform: scale(0.5); top: 35%; left: 40%; }
    10% { opacity: 1; transform: scale(1); }
    20% { opacity: 0; transform: scale(1.5); }
    45% { opacity: 0; transform: scale(0.5); top: 55%; left: 45%; }
    55% { opacity: 1; transform: scale(1); }
    65% { opacity: 0; transform: scale(1.5); }
    100% { opacity: 0; }
}

@keyframes checkmarkAppear {
    from { opacity: 0; transform: scale(0) rotate(-45deg); }
    to { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes ideaBounce {
    0% { opacity: 0; transform: translateX(-50%) translateY(-20px); }
    50% { transform: translateX(-50%) translateY(5px); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes stageAppear {
    from { opacity: 0; transform: scale(0) rotate(0deg); }
    to { opacity: 1; transform: scale(1) rotate(360deg); }
}

@keyframes mvpAppear {
    from { opacity: 0; transform: translateX(-50%) scale(0.5); }
    to { opacity: 1; transform: translateX(-50%) scale(1); }
}

@keyframes speedLine1 {
    0% { opacity: 0; width: 0; top: 30%; left: 10%; }
    30% { opacity: 0.6; width: 40px; }
    60% { opacity: 0; width: 60px; left: 80%; }
    100% { opacity: 0; }
}

@keyframes speedLine2 {
    0% { opacity: 0; width: 0; top: 50%; left: 15%; }
    30% { opacity: 0.6; width: 35px; }
    60% { opacity: 0; width: 55px; left: 75%; }
    100% { opacity: 0; }
}

@keyframes speedLine3 {
    0% { opacity: 0; width: 0; top: 70%; left: 5%; }
    30% { opacity: 0.6; width: 45px; }
    60% { opacity: 0; width: 65px; left: 85%; }
    100% { opacity: 0; }
}

/* ===== EXPERIENCE SECTION ===== */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 3rem auto 0;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

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

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

.timeline-content {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}

.timeline-header {
    margin-bottom: 1rem;
}

.timeline-header h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-company {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-date {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    background: var(--bg-alt);
    border-radius: 20px;
}

.timeline-details {
    list-style: none;
    margin-top: 1rem;
}

.timeline-details li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.timeline-details li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ===== SKILLS SECTION ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.skill-category {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.skill-category h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.skill-tag:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: translateY(-2px);
}

/* ===== EDUCATION SECTION ===== */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.education-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

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

.education-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.education-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.education-school {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.education-date {
    color: var(--text-light);
    font-size: 0.875rem;
}

.certifications {
    max-width: 800px;
    margin: 3rem auto 0;
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.certifications h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.cert-list {
    list-style: none;
}

.cert-list li {
    position: relative;
    padding-left: 2rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.cert-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.25rem;
}

/* ===== CONTACT SECTION ===== */
.contact-content {
    max-width: 800px;
    margin: 3rem auto 0;
}

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

.contact-item {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    color: white;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--text-primary);
    color: white;
    padding: 2rem 0;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-primary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

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

    .hero {
        padding: 6rem 2rem 4rem;
        min-height: auto;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }

    .section {
        padding: 3rem 0;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .expertise-grid,
    .skills-grid,
    .education-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-item {
        padding-left: 1.5rem;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .navbar .container {
        padding: 1rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

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

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* ===== UTILITY CLASSES ===== */
.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; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
