/* ==========================================
   HIDE FLOATING PARTICLES
   ========================================== */
#particles-canvas {
    display: none !important;
    visibility: hidden !important;
}

/* ==========================================
   CSS CUSTOM PROPERTIES - DESIGN SYSTEM
   ========================================== */
:root {
    /* Colors - Apple-Inspired Clean Light Theme */
    --color-bg-primary: #FFFFFF;
    --color-bg-secondary: #F5F5F7;
    --color-bg-tertiary: #E8E8ED;
    --color-bg-elevated: #FBFBFD;

    /* Gradients - Minimal and subtle */
    --gradient-primary: linear-gradient(135deg, #4F46E5 0%, #6366F1 100%);
    --gradient-secondary: linear-gradient(135deg, #EC4899 0%, #F472B6 100%);
    --gradient-accent: linear-gradient(135deg, #06B6D4 0%, #22D3EE 100%);
    --gradient-hero: linear-gradient(180deg, #F5F5F7 0%, #FFFFFF 100%);
    --gradient-premium: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
    --gradient-success: linear-gradient(135deg, #10B981 0%, #34D399 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(79, 70, 229, 0.03) 0%, rgba(6, 182, 212, 0.03) 100%);

    /* Accent Colors - Apple-style restraint */
    --color-primary: #0071E3;
    --color-primary-light: #2997FF;
    --color-primary-dark: #0051A3;
    --color-secondary: #06B6D4;
    --color-secondary-light: #22D3EE;
    --color-accent: #EC4899;
    --color-success: #10B981;
    --color-warning: #F59E0B;

    /* Text Colors - Apple's subtle grays */
    --color-text-primary: #1D1D1F;
    --color-text-secondary: #6E6E73;
    --color-text-tertiary: #86868B;
    --color-text-muted: #A1A1A6;

    /* Glassmorphism - Minimal for light theme */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.06);
    --glass-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --glass-backdrop: blur(20px);

    /* Shadows - Apple's subtle approach */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-2xl: 0 16px 48px rgba(0, 0, 0, 0.14);
    --shadow-glow: 0 0 16px rgba(0, 113, 227, 0.15);
    --shadow-glow-lg: 0 0 32px rgba(0, 113, 227, 0.2);
    --shadow-glow-accent: 0 0 24px rgba(6, 182, 212, 0.15);
    --shadow-card-hover: 0 8px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
    --shadow-premium: 0 4px 20px rgba(0, 113, 227, 0.12);

    /* Typography - SF Pro inspired */
    --font-primary: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Courier New', monospace;

    /* Font Sizes - Apple's scale */
    --text-xs: 0.75rem;
    /* 12px */
    --text-sm: 0.875rem;
    /* 14px */
    --text-base: 1rem;
    /* 16px */
    --text-lg: 1.125rem;
    /* 18px */
    --text-xl: 1.25rem;
    /* 20px */
    --text-2xl: 1.5rem;
    /* 24px */
    --text-3xl: 1.875rem;
    /* 30px */
    --text-4xl: 2.5rem;
    /* 40px */
    --text-5xl: 3.5rem;
    /* 56px */
    --text-6xl: 4.5rem;
    /* 72px */

    /* Spacing - Apple's generous white space */
    --spacing-xs: 0.25rem;
    /* 4px */
    --spacing-sm: 0.5rem;
    /* 8px */
    --spacing-md: 1rem;
    /* 16px */
    --spacing-lg: 1.5rem;
    /* 24px */
    --spacing-xl: 2rem;
    /* 32px */
    --spacing-2xl: 3rem;
    /* 48px */
    --spacing-3xl: 4rem;
    /* 64px */
    --spacing-4xl: 5rem;
    /* 80px */
    --spacing-5xl: 6rem;
    /* 96px */
    --spacing-6xl: 8rem;
    /* 128px */

    /* Border Radius - Apple's subtle curves */
    --radius-sm: 0.375rem;
    /* 6px */
    --radius-md: 0.5rem;
    /* 8px */
    --radius-lg: 0.75rem;
    /* 12px */
    --radius-xl: 1rem;
    /* 16px */
    --radius-2xl: 1.5rem;
    /* 24px */
    --radius-3xl: 2rem;
    /* 32px */
    --radius-full: 9999px;

    /* Transitions - Smooth like Apple */
    --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.1, 1);
    --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-smooth: 600ms cubic-bezier(0.16, 1, 0.3, 1);

    /* Z-Index */
    --z-base: 1;
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1050;
}

/* ==========================================
   DARK MODE VARIABLES
   ========================================== */
[data-theme="dark"] {
    --color-bg-primary: #0D1117;
    --color-bg-secondary: #161B22;
    --color-bg-tertiary: #21262D;
    --color-bg-elevated: #1C2128;

    --gradient-hero: linear-gradient(180deg, #161B22 0%, #0D1117 100%);

    --color-text-primary: #F0F6FC;
    --color-text-secondary: #8B949E;
    --color-text-tertiary: #6E7681;
    --color-text-muted: #484F58;

    --glass-bg: rgba(22, 27, 34, 0.9);
    --glass-border: rgba(240, 246, 252, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.5);
    --shadow-card-hover: 0 12px 40px rgba(0, 113, 227, 0.2);
}

/* Dark mode - Body background */
[data-theme="dark"] body {
    background: var(--color-bg-primary);
}

/* Dark mode - Hero section */
[data-theme="dark"] .hero {
    background: var(--color-bg-primary);
}

[data-theme="dark"] .hero-overlay {
    background: rgba(13, 17, 23, 0.95);
}

/* Dark mode - Navbar */
[data-theme="dark"] .navbar {
    background: rgba(13, 17, 23, 0.9);
    border-bottom-color: rgba(240, 246, 252, 0.1);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(22, 27, 34, 0.95);
}

[data-theme="dark"] .nav-logo {
    color: var(--color-text-primary);
}

[data-theme="dark"] .nav-link {
    color: var(--color-text-secondary);
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
    color: var(--color-primary-light);
}

/* Dark mode - All sections */
[data-theme="dark"] .section {
    background: var(--color-bg-primary);
}

[data-theme="dark"] .about-section,
[data-theme="dark"] .work-experience-section,
[data-theme="dark"] .skills-section {
    background: var(--color-bg-primary);
}

[data-theme="dark"] .education-section,
[data-theme="dark"] .projects-section,
[data-theme="dark"] .contact-section {
    background: var(--color-bg-secondary);
}

[data-theme="dark"] .expertise-pillars-section {
    background: var(--color-bg-secondary);
}

/* Dark mode - Glass cards */
[data-theme="dark"] .glass-card {
    background: var(--glass-bg);
    border-color: var(--glass-border);
}

[data-theme="dark"] .glass-card:hover {
    background: rgba(33, 38, 45, 0.9);
    border-color: rgba(240, 246, 252, 0.15);
}

/* Dark mode - Education cards */
[data-theme="dark"] .education-card {
    background: rgba(22, 27, 34, 0.9);
    border-color: rgba(99, 102, 241, 0.2);
}

[data-theme="dark"] .education-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
}

/* Dark mode - Timeline */
[data-theme="dark"] .timeline-content {
    border-left-color: rgba(6, 182, 212, 0.3);
}

/* Dark mode - Project cards */
[data-theme="dark"] .project-card {
    background: rgba(22, 27, 34, 0.9);
}

/* Dark mode - Buttons */
[data-theme="dark"] .btn-secondary {
    background: transparent;
    color: var(--color-text-primary);
    border-color: var(--glass-border);
}

[data-theme="dark"] .btn-secondary:hover {
    background: rgba(240, 246, 252, 0.1);
}

/* Dark mode - Section titles */
[data-theme="dark"] .section-title {
    color: var(--color-text-primary);
}

/* Dark mode - Expertise pillar */
[data-theme="dark"] .expertise-pillar {
    background: rgba(22, 27, 34, 0.6);
}

[data-theme="dark"] .pillar-icon {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

[data-theme="dark"] .pillar-icon svg {
    color: #818CF8;
}

/* Dark mode - Project cards */
[data-theme="dark"] .project-card {
    background: rgba(22, 27, 34, 0.9);
    border-color: rgba(240, 246, 252, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .project-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
}

/* Theme Toggle Button */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    color: var(--color-text-primary);
    border: 1px solid var(--glass-border);
}

.theme-toggle:hover {
    background: var(--color-bg-tertiary);
    transform: scale(1.05);
}

.theme-toggle .sun-icon {
    display: block;
}

.theme-toggle .moon-icon {
    display: none;
}

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

[data-theme="dark"] .theme-toggle .moon-icon {
    display: block;
}

/* Hero Flip Card - 3D Effect */
.flip-card {
    width: 300px;
    height: 300px;
    perspective: 1000px;
    cursor: pointer;
    animation: fadeInRight 0.8s ease-out 0.4s backwards;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-2xl);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
}

.flip-card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

.flip-hint {
    margin-top: var(--spacing-md);
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.flip-card:hover .flip-hint {
    opacity: 1;
}

.flip-card-back .flip-hint {
    color: white;
    opacity: 0.9;
}

.profile-photo {
    width: 240px;
    height: 240px;
    border-radius: var(--radius-2xl);
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.hero-symbol {
    filter: drop-shadow(0 4px 20px rgba(0, 113, 227, 0.15));
    transition: all var(--transition-smooth);
}

.flip-card:hover .hero-symbol {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 30px rgba(0, 113, 227, 0.25));
}

@media (max-width: 768px) {
    .flip-card {
        width: 200px;
        height: 200px;
    }

    .hero-symbol {
        width: 200px;
        height: 200px;
    }

    .profile-photo {
        width: 140px;
        height: 140px;
    }
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Particle Canvas Background */
#particles-canvas {
    display: none;
    /* Disabled floating shapes for cleaner design */
}

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

h1 {
    font-size: clamp(2.5rem, 5vw, var(--text-5xl));
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, var(--text-4xl));
    font-weight: 700;
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, var(--text-3xl));
    font-weight: 600;
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, var(--text-2xl));
    font-weight: 600;
}

h5 {
    font-size: var(--text-xl);
    font-weight: 600;
}

h6 {
    font-size: var(--text-lg);
    font-weight: 600;
}

p {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
}

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

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

ul {
    list-style: none;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 32px);
}

/* Responsive container padding */
@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .container {
        padding: 0 24px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        padding: 0 32px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 40px;
    }
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    padding: clamp(24px, 4vw, 40px);
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-smooth);
    position: relative;
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(0, 0, 0, 0.08);
}

/* Mobile: reduce padding */
@media (max-width: 767px) {
    .glass-card {
        padding: 24px;
        border-radius: var(--radius-xl);
    }
}

.section {
    padding: clamp(60px, 10vw, 120px) 0;
    position: relative;
}

/* Mobile: 320px - 767px */
@media (max-width: 767px) {
    .section {
        padding: 48px 0;
    }
}

/* Tablet: 768px - 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
    .section {
        padding: 80px 0;
    }
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, var(--text-4xl));
    margin-bottom: clamp(48px, 8vw, 80px);
    color: var(--color-text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-premium);
    margin: 16px auto 0;
    border-radius: 4px;
}



/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--text-base);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: var(--text-sm);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary {
    background: var(--gradient-premium);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    position: relative;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6), 0 0 30px rgba(0, 242, 254, 0.3);
}

.btn-primary:active {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.4);
}

.about-intro {
    font-size: var(--text-lg);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text-secondary);
}

.about-text strong {
    background: var(--gradient-premium);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    position: relative;
}

.about-text strong::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-premium);
    opacity: 0.7;
    border-radius: 2px;
}

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

.btn-secondary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-premium);
    opacity: 0;
    transition: opacity var(--transition-base);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.btn-secondary:hover {
    color: white;
    border-color: transparent;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary:hover::after {
    opacity: 1;
}

.btn-secondary:active {
    transform: translateY(-2px) scale(1.01);
}

/* Tech Tags */
.tech-tag {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(0, 242, 254, 0.1));
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: var(--radius-md);
    color: var(--color-secondary);
    font-size: var(--text-sm);
    font-weight: 600;
    margin: 4px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.tech-tag::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-premium);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.tech-tag:hover {
    background: rgba(102, 126, 234, 0.25);
    border-color: var(--color-secondary);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    color: white;
}

.tech-tag:hover::before {
    opacity: 0.2;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    padding: 20px 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 15px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

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

.nav-logo {
    font-size: var(--text-2xl);
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all var(--transition-base);
    position: relative;
    z-index: 1001;
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--color-text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

.nav-menu {
    display: flex;
    gap: var(--spacing-xl);
    align-items: center;
}

.nav-link {
    color: var(--color-text-secondary);
    font-weight: 500;
    font-size: var(--text-sm);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width var(--transition-base);
}

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

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

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--spacing-2xl);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        border-left: 1px solid var(--glass-border);
        padding: var(--spacing-3xl) var(--spacing-xl);
    }

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

    .nav-item {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateX(30px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-menu.active .nav-item {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-menu.active .nav-item:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-menu.active .nav-item:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav-menu.active .nav-item:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav-menu.active .nav-item:nth-child(4) {
        transition-delay: 0.25s;
    }

    .nav-menu.active .nav-item:nth-child(5) {
        transition-delay: 0.3s;
    }

    .nav-menu.active .nav-item:nth-child(6) {
        transition-delay: 0.35s;
    }

    .nav-link {
        font-size: var(--text-lg);
        padding: 12px 24px;
        width: 100%;
        display: block;
    }

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

    .nav-link:hover,
    .nav-link.active {
        background: var(--glass-bg);
        border: 1px solid var(--glass-border);
    }

    /* Body scroll lock when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 100px 20px 80px;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(79, 70, 229, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 60% at 80% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 50% 80% at 60% 80%, rgba(236, 72, 153, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 40% 40% at 10% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%),
        var(--color-bg-primary);
    animation: heroGradientShift 12s ease-in-out infinite alternate;
}

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

    100% {
        background-position: 10% 10%, 90% 10%, 60% 90%, 10% 90%;
    }
}

/* Decorative gradient orb */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: floatOrb 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: floatOrb 10s ease-in-out infinite reverse;
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -20px);
    }
}

[data-theme="dark"] .hero {
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(79, 70, 229, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 60% at 80% 20%, rgba(6, 182, 212, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 50% 80% at 60% 80%, rgba(236, 72, 153, 0.08) 0%, transparent 50%),
        var(--color-bg-primary);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
}

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

/* New Flex Layout for Hero */
.hero-content-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 0 20px;
}

.hero-text-content {
    flex: 1;
    text-align: left;
}

.hero-image-wrapper {
    flex-shrink: 0;
    animation: fadeInRight 0.8s ease-out 0.4s backwards;
}

.profile-image-container {
    position: relative;
    width: 350px;
    height: 350px;
}

.profile-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.4;
    animation: pulse 3s ease-in-out infinite;
}

.hero-profile-image {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 0 0 10px rgba(102, 126, 234, 0.1),
        0 0 0 20px rgba(0, 242, 254, 0.05),
        0 20px 40px rgba(0, 0, 0, 0.5);
    transition: all var(--transition-smooth);
}

.hero-profile-image:hover {
    transform: scale(1.05) rotate(2deg);
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow:
        0 0 0 10px rgba(102, 126, 234, 0.2),
        0 0 0 20px rgba(0, 242, 254, 0.15),
        0 0 60px rgba(102, 126, 234, 0.6),
        0 0 80px rgba(0, 242, 254, 0.4),
        0 25px 50px rgba(0, 0, 0, 0.7);
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.6;
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-text-primary);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
    letter-spacing: -0.02em;
}

.hero-subtitle-wrapper {
    min-height: 60px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 500;
    color: var(--color-text-primary);
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

#typed-text {
    color: var(--color-primary);
    font-weight: 600;
}

.cursor {
    color: var(--color-secondary);
    animation: blink 1s infinite;
}

.hero-description {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin-bottom: 32px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.hero-social {
    display: flex;
    gap: 16px;
    animation: fadeInUp 0.8s ease-out 1s backwards;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-premium);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.social-link svg {
    position: relative;
    z-index: 1;
    transition: transform var(--transition-base);
}

.social-link:hover {
    color: white;
    transform: translateY(-5px) rotate(-5deg);
    box-shadow: var(--shadow-glow-lg);
    border-color: transparent;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover svg {
    transform: scale(1.1) rotate(5deg);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content-container {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .hero-text-content {
        text-align: center;
    }

    .profile-image-container {
        width: 280px;
        height: 280px;
    }

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

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

    .hero-description {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .profile-image-container {
        width: 220px;
        height: 220px;
    }

    .hero-cta {
        gap: 10px;
    }
}

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

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--color-secondary);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--color-secondary);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-section {
    background: var(--color-bg-primary);
}

.about-content {
    display: block;
}

.about-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-2xl);
    align-items: start;
}

.about-text {
    animation: fadeInLeft 0.8s ease-out;
}

.about-skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

/* About Stats */
.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-xl);
    background: linear-gradient(135deg,
            rgba(102, 126, 234, 0.15) 0%,
            rgba(0, 242, 254, 0.1) 100%);
    border-radius: var(--radius-xl);
    border: 2px solid rgba(102, 126, 234, 0.3);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-premium);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.stat-item:hover {
    background: linear-gradient(135deg,
            rgba(102, 126, 234, 0.2) 0%,
            rgba(0, 242, 254, 0.15) 100%);
    border-color: rgba(0, 242, 254, 0.8);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4), 0 0 40px rgba(0, 242, 254, 0.3);
}

.stat-item:hover::before {
    opacity: 0.1;
}

.stat-number {
    font-size: var(--text-4xl);
    font-weight: 900;
    margin-bottom: var(--spacing-sm);
    background: var(--gradient-premium);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    text-shadow: 0 0 30px rgba(0, 242, 254, 0.5);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-location {
    animation: fadeInRight 0.8s ease-out;
}

.about-location h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--spacing-lg);
}

.location-info {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.location-icon {
    color: var(--color-secondary);
    flex-shrink: 0;
}

/* Project Card */
.project-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(102, 126, 234, 0.3);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-premium);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
    z-index: 1;
}

.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-premium);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 0;
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card:hover::after {
    opacity: 0.05;
}

.project-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(0, 242, 254, 0.6);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4), 0 0 40px rgba(0, 242, 254, 0.3);
}

/* Featured projects get special styling */
.project-card:nth-child(1),
.project-card:nth-child(2),
.project-card:nth-child(3) {
    background: linear-gradient(135deg,
            rgba(102, 126, 234, 0.12) 0%,
            rgba(0, 242, 254, 0.08) 100%);
    border-color: rgba(0, 242, 254, 0.4);
}

.project-content h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
    transition: all var(--transition-base);
    position: relative;
    z-index: 1;
}

.project-card:hover .project-content h3 {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateX(4px);
}

.project-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.project-header h3 {
    flex: 1;
    margin-bottom: 0;
}

.project-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-lg);
    background: var(--color-bg-tertiary);
    color: var(--color-text-secondary);
    transition: all 0.3s ease;
}

.project-link:hover {
    background: var(--color-primary);
    color: white;
    transform: scale(1.1);
}

.project-type-badge {
    flex-shrink: 0;
    padding: 4px 12px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(102, 126, 234, 0.2));
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}


.location-region {
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
}

.language-skills h4 {
    font-size: var(--text-lg);
    margin-bottom: var(--spacing-md);
}

.language-item {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
}

.language-level {
    color: var(--color-secondary);
    font-weight: 600;
}

/* ==========================================
   EXPERIENCE SECTION (TIMELINE)
   ========================================== */
/* ==========================================
   EDUCATION SECTION
   ========================================== */
.education-section {
    background: var(--color-bg-secondary);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(24px, 4vw, 48px);
    max-width: 1100px;
    margin: 0 auto;
}

/* Mobile: single column */
@media (max-width: 767px) {
    .education-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Tablet: 2 columns */
@media (min-width: 768px) and (max-width: 1023px) {
    .education-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

.education-card {
    display: flex;
    flex-direction: column;
    padding: var(--spacing-2xl);
    transition: all var(--transition-smooth);
    position: relative;
    border: 2px solid rgba(79, 70, 229, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

.education-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.2);
    border-color: rgba(79, 70, 229, 0.3);
}

.education-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #818CF8 0%, #A78BFA 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 8px 20px rgba(129, 140, 248, 0.3);
}

.education-icon svg {
    color: white;
}

.education-content h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--spacing-xs);
    color: var(--color-text-primary);
}

.education-content h4 {
    font-size: var(--text-base);
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.education-date {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--color-primary);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(167, 139, 250, 0.1));
    padding: 6px 14px;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(79, 70, 229, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.education-location {
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
    margin-bottom: var(--spacing-md);
}

.education-description {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.education-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    font-size: var(--text-xs);
    font-weight: 700;
    border-radius: var(--radius-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
}

.current-badge {
    background: linear-gradient(135deg, #06B6D4 0%, #0EA5E9 100%);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {

    0%,
    100% {
        box-shadow: 0 0 0px rgba(6, 182, 212, 0.5);
    }

    50% {
        box-shadow: 0 0 20px rgba(6, 182, 212, 0.8);
    }
}

.education-stats {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
}

.stat-badge.distinction {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(251, 191, 36, 0.1));
    border-color: rgba(245, 158, 11, 0.3);
    color: #D97706;
}

.stat-badge svg {
    color: #F59E0B;
}

.stat-label {
    color: var(--color-text-tertiary);
    font-weight: 600;
    font-size: var(--text-xs);
}

.stat-value {
    color: var(--color-primary);
    font-weight: 700;
    font-size: var(--text-base);
}

/* ==========================================
   WORK EXPERIENCE SECTION
   ========================================== */
.work-experience-section {
    background: var(--color-bg-primary);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg,
            #06B6D4 0%,
            #0EA5E9 50%,
            #06B6D4 100%);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
    animation: timelinePulse 3s ease-in-out infinite;
}

@keyframes timelinePulse {

    0%,
    100% {
        opacity: 0.7;
        box-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 20px rgba(6, 182, 212, 0.6);
    }
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-3xl);
    animation: fadeInUp 0.8s ease-out;
}

/* Timeline Marker */
.timeline-marker {
    position: absolute;
    left: 0;
    top: 20px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 4px solid var(--color-bg-primary);
    z-index: 2;
    transition: all var(--transition-base);
}

.work-marker {
    background: linear-gradient(135deg, #06B6D4 0%, #0EA5E9 100%);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.2), 0 0 15px rgba(6, 182, 212, 0.3);
}

.education-marker {
    background: linear-gradient(135deg, #818CF8 0%, #A78BFA 100%);
    box-shadow: 0 0 0 4px rgba(129, 140, 248, 0.2), 0 0 15px rgba(129, 140, 248, 0.3);
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.3);
    box-shadow: 0 0 0 8px rgba(6, 182, 212, 0.3), 0 0 25px rgba(6, 182, 212, 0.5);
}

/* Timeline Content */
.timeline-content {
    margin-left: 60px;
    position: relative;
    border-left: 2px solid rgba(6, 182, 212, 0.15);
    padding-left: var(--spacing-lg);
    transition: all var(--transition-base);
}

.timeline-content:hover {
    border-left-color: rgba(6, 182, 212, 0.5);
}

.timeline-date {
    font-size: var(--text-sm);
    color: white;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #06B6D4 0%, #0EA5E9 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(6, 182, 212, 0.3);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.2);
    letter-spacing: 0.5px;
}

.timeline-content h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--spacing-sm);
}

.timeline-content h4 {
    font-size: var(--text-lg);
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}

.timeline-location {
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
    margin-bottom: var(--spacing-md);
}

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

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

.timeline-highlights li {
    position: relative;
    padding-left: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.timeline-highlights li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-size: var(--text-lg);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.achievement-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(245, 158, 11, 0.15));
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: var(--radius-lg);
    color: var(--color-success);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-top: var(--spacing-md);
    transition: all var(--transition-base);
    cursor: pointer;
}

.achievement-badge:hover {
    transform: translateX(5px) scale(1.05);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(245, 158, 11, 0.25));
}

.achievement-badge svg {
    color: var(--color-warning);
    flex-shrink: 0;
}

/* ==========================================
   PROJECTS SECTION
   ========================================== */
.projects-section {
    background: var(--color-bg-secondary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.project-card {
    overflow: hidden;
    transition: all var(--transition-base);
    cursor: pointer;
    animation: fadeInUp 0.8s ease-out;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.project-card.secondary {
    opacity: 0.9;
}

.project-card.secondary:hover {
    opacity: 1;
}

.project-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow), filter var(--transition-slow);
    filter: brightness(0.9);
}

.project-card:hover .project-image img {
    transform: scale(1.15) rotate(2deg);
    filter: brightness(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(0, 242, 254, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-status {
    padding: 12px 24px;
    background: white;
    color: var(--color-primary);
    font-weight: 700;
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }
}

.project-metrics {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.metric {
    padding: 10px 20px;
    background: white;
    color: var(--color-primary);
    font-weight: 700;
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
}

.project-content h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--spacing-md);
    color: var(--color-text-primary);
}

.project-description {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
    font-size: var(--text-base);
}

.project-highlights {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.project-highlights li {
    position: relative;
    padding-left: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
}

.project-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 700;
}

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

.skills-radar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--spacing-3xl);
    padding: var(--spacing-2xl);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    box-shadow: var(--glass-shadow);
}

#skills-radar {
    margin-bottom: var(--spacing-lg);
    filter: drop-shadow(0 0 20px rgba(0, 242, 254, 0.3));
}

.skills-radar-caption {
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-2xl);
}

.skill-category {
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.skill-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--gradient-premium);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    position: relative;
}

.skill-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--gradient-premium);
    border-radius: var(--radius-xl);
    opacity: 0;
    filter: blur(10px);
    transition: opacity var(--transition-base);
    z-index: -1;
}

.skill-category:hover .skill-icon {
    transform: rotateY(360deg) scale(1.15);
    box-shadow: var(--shadow-glow-lg);
}

.skill-category:hover .skill-icon::before {
    opacity: 0.8;
}

.skill-category h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--spacing-lg);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    justify-content: center;
}

.skill-tag {
    padding: 8px 16px;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.25);
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    transition: all var(--transition-base);
}

.skill-tag:hover {
    background: rgba(0, 242, 254, 0.2);
    color: var(--color-secondary);
    transform: scale(1.05);
}

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

.contact-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-info {
    animation: fadeInUp 0.8s ease-out;
}

.contact-info h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.contact-info>p {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    font-size: var(--text-lg);
}

.contact-details {
    margin-bottom: var(--spacing-2xl);
}

.contact-item {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
    padding: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.contact-item:hover {
    background: var(--gradient-subtle);
    transform: translateX(10px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.contact-item svg {
    color: var(--color-secondary);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
    margin-bottom: var(--spacing-xs);
}

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

.social-links-large {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
}

.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 14px 28px;
    background: var(--gradient-premium);
    border-radius: var(--radius-lg);
    color: white;
    font-weight: 600;
    font-size: var(--text-base);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.social-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-glow-lg);
}

.social-btn:hover::before {
    opacity: 1;
}

.social-btn svg {
    transition: transform var(--transition-base);
}

.social-btn:hover svg {
    transform: rotate(10deg) scale(1.1);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    text-align: center;
    padding: var(--spacing-2xl) 0;
    background: rgba(10, 14, 39, 0.9);
    border-top: 1px solid var(--glass-border);
}

.footer p {
    color: var(--color-text-tertiary);
    margin: 0;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-20px) translateX(-50%);
    }

    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

/* Tablet and small desktop (969px - 1024px) */
@media (max-width: 968px) {
    .container {
        padding: 0 var(--spacing-lg);
    }

    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }

    .about-content-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

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

/* Tablet (769px - 968px) */
@media (max-width: 768px) {
    :root {
        --text-5xl: 2.5rem;
        --text-4xl: 2rem;
        --text-3xl: 1.75rem;
        --text-2xl: 1.5rem;
    }

    .container {
        padding: 0 var(--spacing-md);
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: var(--text-3xl);
        margin-bottom: var(--spacing-2xl);
    }

    /* Removed duplicate nav-menu and nav-link styles (already in navigation section) */

    .hero {
        padding: 120px 15px 60px;
        min-height: auto;
    }

    .hero-content-container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.5rem);
    }

    .hero-description {
        font-size: var(--text-base);
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 24px;
    }

    .btn {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

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

    /* Expertise Section */
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .expertise-pillars-section {
        padding: var(--spacing-2xl) 0;
    }

    /* About Section */
    .about-content-wrapper {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .stat-number {
        font-size: var(--text-3xl);
    }

    .stat-label {
        font-size: var(--text-xs);
    }

    /* Timeline */
    .timeline {
        padding-left: 30px;
    }

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

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

    .timeline-content {
        margin-left: var(--spacing-md);
    }

    .timeline-content h3 {
        font-size: var(--text-xl);
    }

    .timeline-content h4 {
        font-size: var(--text-base);
    }

    /* Projects */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .project-image {
        height: 200px;
    }

    /* Contact */
    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .contact-item:hover {
        transform: translateX(0) scale(1.02);
    }

    .social-links-large {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .social-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile landscape and small tablets (641px - 768px) */
@media (max-width: 640px) {
    :root {
        --spacing-xl: 1.5rem;
        --spacing-2xl: 2rem;
        --spacing-3xl: 2.5rem;
    }

    .container {
        padding: 0 var(--spacing-md);
    }

    .section {
        padding: 50px 0;
    }

    .hero {
        padding: 100px 15px 50px;
    }

    .profile-image-container {
        width: 220px;
        height: 220px;
    }

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

    .about-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .stat-item {
        padding: var(--spacing-md);
    }

    .stat-number {
        font-size: var(--text-2xl);
    }

    .timeline-item {
        margin-bottom: var(--spacing-2xl);
    }

    .tech-tags {
        gap: 6px;
    }

    .tech-tag,
    .skill-tag {
        font-size: 0.7rem;
        padding: 5px 10px;
    }

    .project-content h3 {
        font-size: var(--text-lg);
    }

    .project-description {
        font-size: var(--text-sm);
    }

    .project-highlights li {
        font-size: 0.8rem;
    }
}

/* Small mobile devices (481px - 640px) */
@media (max-width: 480px) {
    :root {
        --text-5xl: 2rem;
        --text-4xl: 1.75rem;
        --text-3xl: 1.5rem;
    }

    .nav-container {
        padding: 0 var(--spacing-md);
    }

    .nav-logo {
        font-size: var(--text-xl);
    }

    .hero {
        padding: 90px 12px 40px;
    }

    .hero-content-container {
        padding: 0 12px;
        gap: 30px;
    }

    .hero-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: clamp(0.9rem, 3.5vw, 1.25rem);
    }

    .hero-description {
        font-size: var(--text-sm);
        margin-bottom: 20px;
    }

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

    .btn {
        padding: 12px 24px;
        font-size: var(--text-sm);
    }

    .social-link {
        width: 42px;
        height: 42px;
    }

    .profile-image-container {
        width: 200px;
        height: 200px;
    }

    .section-title {
        font-size: var(--text-2xl);
        margin-bottom: var(--spacing-xl);
    }

    .about-intro {
        font-size: var(--text-lg);
    }

    .about-stats {
        margin-top: var(--spacing-xl);
        grid-template-columns: 1fr;
    }

    .stat-item {
        padding: var(--spacing-sm);
    }

    .stat-number {
        font-size: var(--text-xl);
        margin-bottom: 4px;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .timeline {
        padding-left: 20px;
    }

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

    .timeline-marker {
        left: -20px;
        width: 12px;
        height: 12px;
        border-width: 3px;
    }

    .timeline-content {
        margin-left: var(--spacing-sm);
    }

    .timeline-date {
        font-size: 0.7rem;
        padding: 4px 10px;
    }

    .section {
        padding: 40px 0;
    }

    .glass-card {
        padding: var(--spacing-lg);
    }

    .project-image {
        height: 180px;
    }

    .skill-category h3 {
        font-size: var(--text-lg);
    }

    .skill-icon {
        width: 56px;
        height: 56px;
    }

    .contact-info h3 {
        font-size: var(--text-xl);
    }

    .contact-value {
        font-size: var(--text-sm);
        word-break: break-word;
    }
}

/* Extra small devices (< 375px) */
@media (max-width: 375px) {
    .hero-content-container {
        gap: 24px;
    }

    .profile-image-container {
        width: 180px;
        height: 180px;
    }

    .hero-social {
        gap: 12px;
    }

    .social-link {
        width: 38px;
        height: 38px;
    }

    .social-link svg {
        width: 20px;
        height: 20px;
    }

    .expertise-pillar h3 {
        font-size: var(--text-base);
    }

    .expertise-pillar p {
        font-size: 0.8rem;
    }

    .about-text,
    .about-location {
        padding: var(--spacing-md);
    }
}

/* ==========================================
   FLOATING DOCUMENT BUTTON
   ========================================== */
.floating-doc-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: var(--gradient-premium);
    color: white;
    cursor: pointer;
    z-index: var(--z-fixed);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.5), 0 0 40px rgba(99, 102, 241, 0.15);
    transition: all var(--transition-base);
    animation: fabPulse 2.5s ease-in-out infinite;
}

.floating-doc-btn:hover {
    transform: scale(1.12) translateY(-2px);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.6), 0 0 60px rgba(99, 102, 241, 0.2);
    animation: none;
}

.floating-doc-btn:active {
    transform: scale(0.95);
}

.fab-tooltip {
    position: absolute;
    right: 72px;
    background: var(--color-bg-elevated);
    color: var(--color-text-primary);
    padding: 6px 14px;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--glass-border);
}

.floating-doc-btn:hover .fab-tooltip {
    opacity: 1;
}

@keyframes fabPulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(99, 102, 241, 0.5), 0 0 0 0 rgba(99, 102, 241, 0.4);
    }

    50% {
        box-shadow: 0 4px 20px rgba(99, 102, 241, 0.5), 0 0 0 12px rgba(99, 102, 241, 0);
    }
}

/* ==========================================
   DOCUMENT MODAL
   ========================================== */
.doc-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.doc-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.doc-modal {
    background: var(--color-bg-elevated);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--glass-border);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.doc-modal-overlay.active .doc-modal {
    transform: translateY(0) scale(1);
}

.doc-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 32px 20px;
    border-bottom: 1px solid var(--glass-border);
}

.doc-modal-header h2 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0;
}

.doc-modal-close {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-lg);
    border: none;
    background: var(--color-bg-secondary);
    color: var(--color-text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.doc-modal-close:hover {
    background: var(--color-bg-tertiary);
    color: var(--color-text-primary);
    transform: rotate(90deg);
}

.doc-modal-body {
    padding: 24px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.doc-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
    background: var(--color-bg-secondary);
    transition: all var(--transition-base);
    cursor: default;
}

.doc-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.doc-card-icon {
    flex-shrink: 0;
    color: var(--color-primary);
    opacity: 0.8;
}

.doc-card-info {
    flex: 1;
    min-width: 0;
}

.doc-card-info h3 {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0 0 4px;
}

.doc-card-info p {
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
    margin: 0;
    line-height: 1.4;
}

.doc-download-btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-md);
    background: var(--gradient-premium);
    color: white;
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.doc-download-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

.doc-download-btn:active {
    transform: scale(0.97);
}

/* Dark mode styles for document modal */
[data-theme="dark"] .doc-modal {
    background: var(--color-bg-secondary);
    border-color: rgba(240, 246, 252, 0.1);
}

[data-theme="dark"] .doc-card {
    background: var(--color-bg-tertiary);
    border-color: rgba(240, 246, 252, 0.06);
}

[data-theme="dark"] .doc-modal-close {
    background: var(--color-bg-tertiary);
}

[data-theme="dark"] .fab-tooltip {
    background: var(--color-bg-tertiary);
    border-color: rgba(240, 246, 252, 0.1);
}

/* Mobile responsive for floating button and modal */
@media (max-width: 768px) {
    .floating-doc-btn {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }

    .floating-doc-btn svg {
        width: 24px;
        height: 24px;
    }

    .fab-tooltip {
        display: none;
    }

    .doc-modal {
        width: 95%;
        max-width: none;
        margin: 16px;
    }

    .doc-modal-header {
        padding: 20px 20px 16px;
    }

    .doc-modal-body {
        padding: 16px 20px 24px;
    }

    .doc-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 12px;
    }

    .doc-card-icon svg {
        width: 36px;
        height: 36px;
    }
}
/* ==========================================
   CLEAN PROFESSIONAL PROJECT SECTION STYLES
   ========================================== */
.projects-section {
    background: var(--color-bg-secondary);
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}
.project-card {
    background: var(--color-bg-primary) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 20px !important;
    padding: 32px !important;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
    height: 100%;
}
.project-card::before, .project-card::after {
    display: none !important;
}
.project-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: var(--shadow-xl) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}
.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}
.project-content h3 {
    font-size: 22px !important;
    font-weight: 600 !important;
    color: var(--color-text-primary) !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
}
.project-card:hover .project-content h3 {
    color: var(--color-primary) !important;
    transform: none !important;
}
.project-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-bg-secondary);
    color: var(--color-text-primary);
    transition: background 0.2s ease, transform 0.2s ease;
}
.project-link:hover {
    background: var(--color-primary);
    color: #fff;
    transform: scale(1.05);
}
.project-type-badge {
    align-self: flex-start;
    padding: 6px 12px !important;
    background: var(--color-bg-secondary) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: var(--color-text-secondary) !important;
    letter-spacing: normal !important;
    margin-bottom: 20px !important;
    text-transform: none !important;
}
.project-description {
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: var(--color-text-secondary) !important;
    margin-bottom: 24px !important;
    flex-grow: 1;
}
.project-highlights {
    margin-bottom: 24px !important;
    padding: 0 !important;
}
.project-highlights li {
    position: relative !important;
    padding-left: 20px !important;
    margin-bottom: 8px !important;
    font-size: 14px !important;
    color: var(--color-text-secondary) !important;
}
.project-highlights li::before {
    content: '→' !important;
    color: var(--color-primary) !important;
    left: 0 !important;
    font-weight: 400 !important;
}
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}
.tech-tag {
    background: var(--color-bg-secondary) !important;
    border: 1px solid var(--glass-border) !important;
    color: var(--color-text-secondary) !important;
    padding: 4px 10px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
    margin: 0 !important;
}
.tech-tag::before {
    display: none !important;
}
.tech-tag:hover {
    background: var(--color-primary) !important;
    color: #fff !important;
    border-color: var(--color-primary) !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-sm) !important;
}

/* Dark mode overrides for projects */
[data-theme="dark"] .projects-section {
    background: var(--color-bg-primary);
}
[data-theme="dark"] .project-card {
    background: var(--color-bg-secondary) !important;
    border-color: var(--glass-border) !important;
}
[data-theme="dark"] .project-card:hover {
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5) !important;
}
[data-theme="dark"] .project-type-badge,
[data-theme="dark"] .tech-tag {
    background: var(--color-bg-tertiary) !important;
    border-color: var(--glass-border) !important;
    color: var(--color-text-secondary) !important;
}
[data-theme="dark"] .tech-tag:hover {
    background: var(--color-primary) !important;
    color: #fff !important;
}
[data-theme="dark"] .project-link {
    background: var(--color-bg-tertiary);
    color: var(--color-text-primary);
}
[data-theme="dark"] .project-link:hover {
    background: var(--color-primary);
}
