/* ===== CSS VARIABLES ===== */
:root {
    /* Vibrant Gradient Colors */
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-5: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f5576c;
    --success-color: #43e97b;
    
    --bg-primary: #0f0f1e;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    --bg-glass: rgba(255, 255, 255, 0.05);
    
    --text-primary: #ffffff;
    --text-secondary: #b8b8d1;
    --text-tertiary: #8989a2;
    
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.4);
    --shadow-colored: 0 20px 60px rgba(102, 126, 234, 0.3);
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Mode */
[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --bg-glass: rgba(0, 0, 0, 0.03);
    
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a68;
    --text-tertiary: #6c6c85;
    
    --border-color: rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.2);
    --shadow-colored: 0 20px 60px rgba(102, 126, 234, 0.15);
}


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

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

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

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

strong {
    font-weight: 600;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.section {
    padding: 4rem 0;
    position: relative;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glassmorphism Card */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-colored);
    border-color: rgba(102, 126, 234, 0.5);
}


/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 15, 30, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.8);
}

.header.scrolled {
    box-shadow: var(--shadow-glow);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    transition: var(--transition);
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

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

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

.theme-toggle {
    width: 44px;
    height: 44px;
    border: none;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    cursor: pointer;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.theme-toggle:hover {
    background: var(--gradient-1);
    color: white;
    transform: rotate(180deg);
    box-shadow: var(--shadow-glow);
}

.nav-toggle,
.nav-close {
    display: none;
}


/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: var(--shadow-glow);
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    opacity: 0.03;
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.2rem;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}

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

.badge-dot {
    width: 10px;
    height: 10px;
    background: var(--gradient-4);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 20px rgba(67, 233, 123, 0.6);
}

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

.hero-title {
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 600;
}

.hero-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding: 0.6rem 1rem;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 350px;
    aspect-ratio: 1;
}

.hero-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
    position: relative;
    z-index: 2;
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: var(--gradient-1);
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.3;
    z-index: 1;
    animation: pulse-glow 4s ease-in-out infinite;
}

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


/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--gradient-1);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: white;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}

.section-title {
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

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

.about-paragraph {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    text-align: center;
}

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

.highlight-card {
    padding: 1.5rem;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    text-align: center;
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-colored);
    border-color: rgba(102, 126, 234, 0.5);
}

.highlight-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: var(--radius-md);
    color: white;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.highlight-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.highlight-card p {
    font-size: 0.95rem;
}

/* ===== FEATURED PROJECTS ===== */
.featured-projects {
    background: var(--bg-secondary);
}

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

.featured-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-colored);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
}

.featured-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 64px rgba(102, 126, 234, 0.4);
    border-color: rgba(102, 126, 234, 0.6);
}

.featured-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.4rem 1rem;
    background: var(--gradient-2);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(245, 87, 108, 0.4);
}

.featured-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: var(--radius-md);
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.5);
}

.featured-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.featured-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.featured-impact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

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

.impact-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.impact-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.3rem;
}

.featured-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tag {
    padding: 0.4rem 0.9rem;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.featured-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}


/* ===== PROJECTS SECTION ===== */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: rgba(102, 126, 234, 0.5);
    color: var(--text-primary);
}

.filter-btn.active {
    background: var(--gradient-1);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.project-card {
    padding: 1.5rem;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-colored);
    border-color: rgba(102, 126, 234, 0.5);
}

.project-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: var(--radius-md);
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.project-title {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.project-description {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.project-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-text {
    background: none;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-text:hover {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

/* ===== SKILLS SECTION ===== */
.skills {
    background: var(--bg-secondary);
}

.skills-categories {
    display: grid;
    gap: 2rem;
}

.skill-category {
    padding: 2rem;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.skill-category:hover {
    box-shadow: var(--shadow-colored);
    border-color: rgba(102, 126, 234, 0.5);
}

.category-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 700;
}

.category-title i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: var(--radius-md);
    color: white;
    font-size: 1.2rem;
}

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

.skill-item {
    display: grid;
    gap: 0.5rem;
}

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

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

.skill-percent {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.skill-bar {
    height: 8px;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-1);
    border-radius: var(--radius-full);
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.skill-progress.animate {
    width: var(--progress-width);
}

/* ===== LANGUAGES SECTION ===== */
.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.language-card {
    padding: 1.5rem;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.language-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-colored);
    border-color: rgba(102, 126, 234, 0.5);
}

.language-flag {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.language-name {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.language-level {
    font-size: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.language-detail {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ===== TIMELINE (EXPERIENCE & EDUCATION) ===== */
.timeline {
    position: relative;
    padding-left: var(--spacing-xl);
}

.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: var(--spacing-xl);
}

.timeline-dot {
    position: absolute;
    left: calc(-1 * var(--spacing-xl) - 6px);
    top: 0;
    width: 16px;
    height: 16px;
    background-color: var(--primary-color);
    border: 3px solid var(--bg-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--bg-secondary);
}

.timeline-content {
    padding: var(--spacing-lg);
    background-color: var(--bg-secondary);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

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

.timeline-header {
    display: grid;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.timeline-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.timeline-company {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.timeline-meta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.timeline-date,
.timeline-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.timeline-list {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.timeline-list li {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    color: var(--text-secondary);
}

.timeline-list li::before {
    content: 'â€¢';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.timeline-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* ===== REFERENCES SECTION ===== */
.references {
    background-color: var(--bg-secondary);
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.reference-card {
    padding: var(--spacing-xl);
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.quote-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: var(--radius-md);
    color: white;
    margin-bottom: var(--spacing-md);
}

.reference-text {
    font-size: 1rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    color: var(--text-secondary);
}

.reference-author {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.author-image {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.reference-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.author-title,
.author-company {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.author-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.references-note {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background-color: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.references-note p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

/* ===== CERTIFICATIONS ===== */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.cert-card {
    padding: var(--spacing-lg);
    background-color: var(--bg-secondary);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

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

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

.cert-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.cert-issuer {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.cert-date {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-bottom: var(--spacing-md);
}

.cert-description {
    font-size: 0.9375rem;
    margin-bottom: var(--spacing-md);
}

/* ===== CONTACT SECTION ===== */
.contact {
    background-color: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.contact-info {
    display: grid;
    gap: var(--spacing-lg);
}

.contact-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background-color: var(--bg-primary);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.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: var(--radius-md);
    color: white;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact-details a,
.contact-details p {
    font-size: 0.9375rem;
}

.contact-social {
    padding: var(--spacing-lg);
    background-color: var(--bg-primary);
    border-radius: var(--radius-md);
}

.contact-social h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
}

.social-links {
    display: grid;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: var(--spacing-md);
    background-color: var(--bg-secondary);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    transition: var(--transition);
}

.social-link:hover {
    transform: translateX(4px);
    background-color: var(--bg-tertiary);
}

.cv-download h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
}

.cv-buttons {
    display: grid;
    gap: var(--spacing-sm);
}

/* ===== FOOTER ===== */
.footer {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
}

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

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

.back-to-top {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(10, 132, 255, 0.3);
}

/* ===== MODALS ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
}

.modal-large {
    max-width: 900px;
}

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

.modal-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background-color: var(--bg-tertiary);
}

.modal-title {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
}

.modal-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.modal-actions {
    display: grid;
    gap: var(--spacing-md);
}

.transcript-container {
    position: relative;
}

.watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-tertiary);
    opacity: 0.1;
    pointer-events: none;
    white-space: nowrap;
    z-index: 1;
}

.transcript-notice {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background-color: var(--bg-secondary);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
}

.transcript-notice p {
    font-size: 0.875rem;
}

.transcript-content {
    padding: var(--spacing-lg);
    background-color: var(--bg-secondary);
    border-radius: var(--radius-md);
    min-height: 400px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .image-wrapper {
        max-width: 280px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .image-wrapper {
        max-width: 250px;
    }
    
    .nav-menu {
        position: fixed;
        top: 64px;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: calc(100vh - 64px);
        background-color: var(--bg-primary);
        border-left: 1px solid var(--border-color);
        padding: var(--spacing-xl);
        transition: right 0.3s ease;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .nav-link {
        display: block;
        padding: var(--spacing-md);
    }
    
    .nav-toggle,
    .nav-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: none;
        background: none;
        color: var(--text-primary);
        cursor: pointer;
    }
    
    .nav-close {
        position: absolute;
        top: var(--spacing-md);
        right: var(--spacing-md);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .featured-card-large {
        grid-column: auto;
    }
    
    .timeline {
        padding-left: var(--spacing-lg);
    }
    
    .timeline-dot {
        left: calc(-1 * var(--spacing-lg) - 6px);
    }
}

@media (max-width: 480px) {
    .section {
        padding: var(--spacing-xl) 0;
    }
    
    .image-wrapper {
        max-width: 200px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .languages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

/* ===== ACCESSIBILITY ===== */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 12px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--text-tertiary);
    border-radius: var(--radius-sm);
}

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

/* ===== PRINT STYLES ===== */
@media print {
    .header,
    .nav,
    .footer,
    .back-to-top,
    .modal {
        display: none !important;
    }
}

/* ===== TIMELINE (EXPERIENCE & EDUCATION) ===== */
.timeline {
    position: relative;
    padding-left: 2.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-1);
    border-radius: var(--radius-full);
}

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

.timeline-dot {
    position: absolute;
    left: calc(-2.5rem - 8px);
    top: 0;
    width: 18px;
    height: 18px;
    background: var(--gradient-1);
    border: 3px solid var(--bg-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 6px var(--bg-glass), var(--shadow-glow);
    z-index: 2;
}

.timeline-content {
    padding: 1.75rem;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
}

.timeline-content:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-colored);
    border-color: rgba(102, 126, 234, 0.5);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    gap: 1rem;
}

.timeline-header > div:first-child {
    flex: 1;
}

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

.timeline-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.timeline-company {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.timeline-date,
.timeline-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.timeline-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: var(--radius-md);
    background: white;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
}

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

.timeline-list li {
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.timeline-list li::before {
    content: 'â–¸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.timeline-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .timeline-header {
        flex-direction: column;
    }
    
    .timeline-meta {
        align-items: flex-start;
        width: 100%;
    }
    
    .timeline-img {
        width: 50px;
        height: 50px;
    }
}

/* ===== REFERENCES ===== */
.references {
    background: var(--bg-secondary);
}

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

.reference-card {
    padding: 2rem;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

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

.quote-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-2);
    border-radius: var(--radius-md);
    color: white;
    margin-bottom: 1rem;
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.4);
}

.reference-text {
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.reference-author {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.author-image {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(102, 126, 234, 0.3);
}

.reference-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.author-title,
.author-company {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.references-note {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.references-note p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

/* ===== CERTIFICATIONS ===== */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.cert-card {
    padding: 1.75rem;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.cert-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-colored);
}

.cert-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-3);
    border-radius: var(--radius-md);
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.4);
}

.cert-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.cert-issuer {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.cert-date {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
}

.cert-description {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* ===== CONTACT ===== */
.contact {
    background: var(--bg-secondary);
}

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

.contact-info {
    display: grid;
    gap: 1rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-colored);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: var(--radius-md);
    color: white;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.contact-details h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact-details a,
.contact-details p {
    font-size: 0.95rem;
    font-weight: 500;
}

.contact-social {
    padding: 2rem;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.contact-social h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.social-links {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.social-link:hover {
    transform: translateX(6px);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: var(--shadow-glow);
}

.cv-buttons {
    display: grid;
    gap: 0.75rem;
}

/* ===== FOOTER ===== */
.footer {
    padding: 2rem 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

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

.footer-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

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

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

.back-to-top {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.6);
}

/* ===== MODALS ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-colored);
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
    border: 1px solid var(--border-color);
}

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

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--gradient-2);
    color: white;
    transform: rotate(90deg);
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.modal-actions {
    display: grid;
    gap: 1rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 150px 1fr;
        gap: 2rem;
        align-items: start;
    }
    
    .hero-image {
        order: 1;
    }
    
    .hero-content {
        order: 2;
    }
    
    .image-wrapper {
        width: 150px;
        height: 150px;
    }
    
    .skills-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .hero-container {
        grid-template-columns: 120px 1fr;
        gap: 1.5rem;
    }
    
    .image-wrapper {
        width: 120px;
        height: 120px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: calc(100vh - 70px);
        background: var(--bg-secondary);
        border-left: 1px solid var(--border-color);
        padding: 2rem;
        transition: right 0.3s ease;
        backdrop-filter: blur(20px);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .nav-link {
        display: block;
        padding: 1rem;
    }
    
    .nav-toggle,
    .nav-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border: none;
        background: var(--bg-glass);
        backdrop-filter: blur(10px);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        color: var(--text-primary);
        cursor: pointer;
    }
    
    .nav-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .featured-impact {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline {
        padding-left: 2rem;
    }
    
    .timeline-dot {
        left: calc(-2rem - 8px);
    }
}

@media (max-width: 480px) {
    .section {
        padding: 3rem 0;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .languages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-impact {
        grid-template-columns: 1fr;
    }
}

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

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

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: var(--radius-full);
}

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

/* ===== PRINT ===== */
@media print {
    .header, .nav, .footer, .back-to-top, .modal {
        display: none !important;
    }
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.05rem;
    width: 100%;
    justify-content: center;
}
