/* Premium Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loading-content {
    text-align: center;
    animation: fadeInUp 0.8s ease;
}

.loading-logo {
    position: relative;
    margin-bottom: var(--spacing-xl);
}

.logo-text {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-mono);
    margin-bottom: var(--spacing-md);
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid var(--border-primary);
    border-top: 3px solid var(--text-accent);
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 1s linear infinite;
}

.loading-text {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

.loading-message {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-mono);
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.loading-dots span {
    width: 6px;
    height: 6px;
    background: var(--text-accent);
    border-radius: 50%;
    animation: loadingDots 1.4s ease-in-out infinite both;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }
.loading-dots span:nth-child(3) { animation-delay: 0s; }

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

@keyframes loadingDots {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

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

*::before,
*::after {
    box-sizing: border-box;
}

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

:root {
    /* Modern Blue/Cyan color palette */
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --secondary-color: #06b6d4;
    --accent-color: #0891b2;
    --danger-color: #ef4444;
    
    /* Background colors */
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-tertiary: #1f2937;
    --bg-canvas: #030712;
    --border-default: #374151;
    --border-muted: #1f2937;
    
    /* Text colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-link: #60a5fa;
    --text-accent: #3b82f6;
    
    /* Premium Shadows & Effects */
    --shadow-small: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-medium: 0 3px 6px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.12);
    --shadow-large: 0 10px 20px rgba(0, 0, 0, 0.15), 0 3px 6px rgba(0, 0, 0, 0.10);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);
    --shadow-cyan: 0 0 20px rgba(6, 182, 212, 0.2);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --border-glow: rgba(59, 130, 246, 0.4);
    
    /* Modern Blue/Cyan Gradients */
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    --gradient-accent: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    --gradient-1: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    
    /* Transitions */
    --transition-fast: all 0.15s ease;
    --transition-normal: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    
    /* Typography */
    --font-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Consolas', monospace;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif;
    --font-display: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif;
    --font-primary: var(--font-sans);
    
    /* Modern Spacing - Compact Desktop */
    --spacing-xs: 3px;
    --spacing-sm: 6px;
    --spacing-md: 12px;
    --spacing-lg: 18px;
    --spacing-xl: 24px;
    --spacing-2xl: 36px;
    --spacing-3xl: 48px;
    --spacing-4xl: 60px;
    
    /* Modern Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
    
    /* Animation Variables */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

/* Ensure all headings use consistent font */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

/* Ensure all text elements use consistent font */
p, span, div, a, button, input, textarea, label {
    font-family: var(--font-primary);
}

/* Universal font rule for complete consistency */
* {
    font-family: var(--font-primary);
}

/* Strategic monospace usage for design impact */
.hero-subtitle,
.section-title,
.timeline-date,
.tech-tag,
.project-tech span,
.loading-message,
.logo-text,
code,
pre {
    font-family: var(--font-mono) !important;
}

/* Monospace for navigation status */
.hero-subtitle::before {
    font-family: var(--font-mono);
}

/* Override for monospace elements that should remain monospace */
code, pre, .tech-tag, .timeline-date, .loading-message {
    font-family: var(--font-mono) !important;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 120%;
    height: 120%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: backgroundFloat 20s ease-in-out infinite;
    transform: translateZ(0);
}

@keyframes backgroundFloat {
    0%, 100% { transform: translate(-10px, -10px) rotate(0deg); }
    33% { transform: translate(10px, -5px) rotate(1deg); }
    66% { transform: translate(-5px, 10px) rotate(-1deg); }
}

#main-content {
    position: relative;
    z-index: 1;
}

/* Premium Selection Styles */
::selection {
    background: rgba(99, 102, 241, 0.3);
    color: var(--text-primary);
}

::-moz-selection {
    background: rgba(99, 102, 241, 0.3);
    color: var(--text-primary);
}



/* Premium Section Styles */
.section {
    min-height: 85vh;
    padding: var(--spacing-3xl) var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.section-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

/* Premium Container */
.container {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.5;
}

/* Glass Card Effect */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: var(--transition-normal);
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--border-glow);
}

.glass-card:hover::before {
    opacity: 1;
}

/* Premium Hero Section */
#hero {
    background: transparent;
    padding: 80px var(--spacing-lg) var(--spacing-3xl);
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: float 6s ease-in-out infinite;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: float 8s ease-in-out infinite reverse;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--spacing-2xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-text {
    position: relative;
    animation: heroFloat 6s ease-in-out infinite;
}

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

.hero-text h1 {
    font-family: var(--font-sans);
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 0%, #a8a8a8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: textReveal 1.2s ease-out;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

@keyframes textReveal {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.hero-text h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 6px;
    background: var(--gradient-1);
    border-radius: 3px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    position: relative;
    font-family: var(--font-mono);
    letter-spacing: 0.02em;
}

.hero-subtitle::before {
    content: '💻';
    margin-right: var(--spacing-sm);
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
    max-width: 550px;
}

.hero-description .highlight {
    color: var(--text-accent);
    font-weight: 600;
    background: linear-gradient(135deg, var(--text-accent), #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    border: 1px solid transparent;
    font-family: var(--font-mono);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateZ(0);
    will-change: transform;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    border-color: transparent;
    box-shadow: 
        0 10px 25px rgba(59, 130, 246, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

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

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

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

.btn-primary:hover::after {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.03) rotateX(5deg);
    box-shadow: 
        0 20px 40px rgba(59, 130, 246, 0.5),
        0 0 0 2px rgba(96, 165, 250, 0.6),
        0 0 30px rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    filter: brightness(1.1) saturate(1.2);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
    transition: all 0.1s ease;
}

.btn-secondary {
    background: rgba(59, 130, 246, 0.1);
    color: var(--text-primary);
    border: 2px solid rgba(59, 130, 246, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: all var(--transition-normal);
    z-index: -1;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-secondary:hover::before {
    opacity: 0.2;
}

.btn-secondary:hover::after {
    left: 100%;
}

.btn-secondary:hover {
    border-color: rgba(96, 165, 250, 0.6);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 10px 25px rgba(59, 130, 246, 0.2),
        0 0 0 1px rgba(96, 165, 250, 0.4);
    background: rgba(59, 130, 246, 0.15);
}

/* Premium Avatar */
.hero-avatar {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 2rem;
}

.hero-avatar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: 
        radial-gradient(circle at 20% 20%, rgba(75, 85, 99, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 80% 80%, rgba(107, 114, 128, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(156, 163, 175, 0.04) 0%, transparent 50%);
    border-radius: 50%;
    z-index: 1;
    animation: pulse 6s ease-in-out infinite;
}



.avatar-container {
    position: relative;
    width: 350px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-container::before {
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    right: -40px;
    bottom: -40px;
    background: #374151;
    border-radius: 50%;
    opacity: 0.7;
    animation: rotate 3s linear infinite;
    z-index: 1;
    mask: radial-gradient(circle, transparent 85%, black 90%, transparent 95%);
    -webkit-mask: radial-gradient(circle, transparent 85%, black 90%, transparent 95%);
}

.avatar-container::after {
    content: '';
    position: absolute;
    top: -25px;
    left: -25px;
    right: -25px;
    bottom: -25px;
    background: #4b5563;
    border-radius: 50%;
    opacity: 0.6;
    animation: rotate 4s linear infinite reverse;
    z-index: 1;
    mask: radial-gradient(circle, transparent 88%, black 92%, transparent 96%);
    -webkit-mask: radial-gradient(circle, transparent 88%, black 92%, transparent 96%);
}

/* Enhanced rotating rings on hover */
.avatar-container:hover::before {
    opacity: 1;
    animation: rotate 1.5s linear infinite;
    transform: scale(1.05);
}

.avatar-container:hover::after {
    opacity: 0.9;
    animation: rotate 2s linear infinite reverse;
    transform: scale(1.03);
}

.avatar-image {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #374151;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 3;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(107, 114, 128, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.avatar-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(75, 85, 99, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(107, 114, 128, 0.1) 0%, transparent 50%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.avatar-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236b7280' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50%;
    z-index: 2;
}

.avatar-image:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.2),
        0 0 0 2px rgba(107, 114, 128, 0.4),
        0 0 30px rgba(75, 85, 99, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.avatar-image:hover::before {
    opacity: 1;
}

.avatar-image:hover::after {
    opacity: 1;
    animation: rotate 8s linear infinite;
}

.avatar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
    filter: brightness(1.02) contrast(1.05);
}

.avatar-image:hover img {
    filter: brightness(1.05) contrast(1.08);
}

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

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

.avatar-status {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-full);
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    box-shadow: var(--shadow-md);
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: #06b6d4;
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

.status-text {
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.4);
    }
    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 4px rgba(6, 182, 212, 0);
    }
}

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

.photo-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    filter: brightness(1.1) contrast(1.1);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.avatar-container:hover .profile-photo {
    transform: scale(1.1);
    filter: brightness(1.2) contrast(1.2);
}

.avatar-container:hover .photo-overlay {
    opacity: 1;
}

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

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-top: 2rem;
    perspective: 1000px;
}

.stat-item {
    text-align: center;
    padding: 1.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform;
    animation: statsFloat 6s ease-in-out infinite;
}

.stat-item:nth-child(1) {
    animation-delay: 0s;
}

.stat-item:nth-child(2) {
    animation-delay: 2s;
}

.stat-item:nth-child(3) {
    animation-delay: 4s;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left;
}

.stat-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:hover::after {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-8px) rotateX(5deg) rotateY(2deg) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(99, 102, 241, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(99, 102, 241, 0.05);
}

.stat-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1.2rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.stat-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-item:hover .stat-icon {
    transform: translateY(-5px) scale(1.1) rotateY(15deg);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
}

.stat-item:hover .stat-icon::before {
    opacity: 0.3;
    animation: iconPulse 2s ease-in-out infinite;
}

.stat-number {
    display: block;
    font-size: 2.4rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--primary-color);
    margin-bottom: 0.4rem;
    text-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.stat-number::after {
    content: '+';
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
    color: #60a5fa;
    text-shadow: 0 4px 20px rgba(96, 165, 250, 0.5);
}

.stat-item:hover .stat-number::after {
    opacity: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    font-family: var(--font-mono);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1.4;
}

.stat-item:hover .stat-label {
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* Floating Animation */
@keyframes statsFloat {
    0%, 100% {
        transform: translateY(0px) rotateX(0deg);
    }
    50% {
        transform: translateY(-5px) rotateX(1deg);
    }
}

/* Icon Pulse Animation */
@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
}

/* Skills Section */
.about-skills {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-item span {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-1);
    width: 0;
    transition: width 1.5s ease;
    border-radius: 4px;
}

/* Experience Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--gradient-1);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 2rem;
    margin-bottom: 2rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 3rem;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 3rem;
}

.timeline-marker {
    position: absolute;
    top: 2rem;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid var(--bg-primary);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.timeline-item:nth-child(odd) .timeline-marker {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -10px;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.timeline-date {
    display: inline-block;
    background: var(--gradient-1);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.tech-tag {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid var(--primary-color);
}

/* Premium Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    transform: translateZ(0);
    will-change: transform;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    opacity: 0;
    transition: var(--transition-normal);
    pointer-events: none;
}

.project-card:hover {
    transform: translateY(-12px) scale(1.03) rotateX(5deg) rotateY(2deg);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 30px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.project-card:hover .project-content {
    transform: translateY(-2px);
}

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

    .project-image {
    height: 200px;
    position: relative;
    overflow: hidden;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: var(--transition-normal);
}

.project-card:hover .project-image::after {
    opacity: 1;
}

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

.project-card:hover .project-img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.project-placeholder {
    font-size: 3rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.project-content {
    padding: var(--spacing-lg);
    position: relative;
}

.project-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    line-height: 1.3;
    text-decoration: none;
}

.project-content h3:hover {
    text-decoration: underline;
}

.project-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    font-size: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
}

.project-tech span {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-mono);
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.project-tech span::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: var(--transition-normal);
}

.project-tech span:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 8px 16px rgba(99, 102, 241, 0.2),
        0 0 0 1px rgba(99, 102, 241, 0.1);
}

.project-tech {
    animation: techTagsReveal 0.8s ease-out;
}

@keyframes techTagsReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-tech span:hover::before {
    left: 100%;
}

.project-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    flex-wrap: wrap;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 12px 20px;
    background: var(--gradient-1);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    min-width: 120px;
    justify-content: center;
    box-shadow: var(--shadow-small);
}

.project-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-slow);
}

.project-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.project-link:hover::before {
    left: 100%;
}

.project-link:nth-child(2) {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid var(--border-default);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.project-link:nth-child(2):hover {
    background: var(--bg-tertiary);
    border-color: var(--border-glow);
}

.project-link i {
    font-size: 16px;
}

/* Premium Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: start;
}

.contact-info {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-accent);
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xl);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.contact-info h3::before {
    content: '📧';
}

.contact-info p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-2xl);
    font-size: 1.1rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    color: var(--text-secondary);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(8px);
}

.contact-method i {
    width: 24px;
    color: var(--text-accent);
    font-size: 1.2rem;
}

.contact-method h4 {
    margin-bottom: 4px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
}

.contact-method p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-slow);
}

.social-link:hover {
    transform: translateY(-6px) scale(1.1);
    box-shadow: var(--shadow-large);
}

.social-link:hover::before {
    left: 100%;
}

.social-link:nth-child(2) {
    background: var(--gradient-secondary);
}

.social-link:nth-child(3) {
    background: var(--gradient-accent);
}

/* Premium Contact Form */
.contact-form {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
}

.form-group {
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-size: 16px;
    font-family: var(--font-primary);
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--text-accent);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

/* Premium Navigation Dock */
#nav-dock {
    position: fixed;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.dock-container {
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-2xl);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.dock-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
}

.dock-item {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    background: transparent;
    border: 1px solid transparent;
    overflow: hidden;
    font-family: var(--font-primary);
}

.dock-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    border-radius: inherit;
    opacity: 0;
    transition: all var(--transition-normal);
    z-index: -1;
}

.dock-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.3), transparent 70%);
    border-radius: inherit;
    opacity: 0;
    transition: all var(--transition-normal);
    z-index: -1;
}

.dock-item:hover::before {
    opacity: 0.15;
}

.dock-item:hover::after {
    opacity: 1;
}

.dock-item.active::before {
    opacity: 0.3;
    background: var(--gradient-accent);
}

.dock-item.active::after {
    opacity: 1;
    background: radial-gradient(circle at center, rgba(96, 165, 250, 0.4), transparent 70%);
}

.dock-item:hover,
.dock-item.active {
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 10px 25px rgba(59, 130, 246, 0.2),
        0 0 0 1px rgba(59, 130, 246, 0.3);
}

.dock-item i {
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
    z-index: 1;
}

.dock-item:hover i {
    color: #60a5fa;
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}

.dock-item.active i {
    color: #ffffff;
    transform: scale(1.15);
    text-shadow: 0 0 15px rgba(96, 165, 250, 0.8);
}

/* Tooltip Enhancement */
.tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: rgba(17, 24, 39, 0.95);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: var(--radius-lg);
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-normal);
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.tooltip::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(17, 24, 39, 0.95);
}

.dock-item:hover .tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(-12px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .dock-container {
        position: fixed;
        bottom: 24px;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        background: var(--bg-secondary);
        border: 1px solid var(--border-default);
        border-radius: 12px;
        padding: 8px;
        gap: 8px;
        box-shadow: var(--shadow-large);
    }
    
    .dock-item {
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border-radius: 8px;
        font-size: 0;
    }
    
    .dock-item i {
        display: block;
        font-size: 20px;
    }
    
    #nav-dock {
        position: static;
        background: transparent;
        border: none;
    }
}

/* Premium About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.about-text {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    position: relative;
    overflow: hidden;
}

.about-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-accent);
}

.about-text h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

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

.about-text ul {
    list-style: none;
    padding: 0;
}

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

.about-text li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--text-accent);
    font-size: 0.8rem;
}

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

/* Premium Skills */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.skill-category {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.6;
}

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

.skill-category h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.skill-item {
    background: rgba(99, 102, 241, 0.1);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-family: var(--font-mono);
    font-weight: 500;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: var(--transition-normal);
}

.skill-item:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.skill-item:hover::before {
    left: 100%;
}

/* Stats Enhancement */
.about-text ul li strong {
    font-size: 1.3rem;
    margin-right: var(--spacing-xs);
}

/* Premium Experience Section */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-3xl);
    width: 50%;
    padding: 0 var(--spacing-xl);
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-marker {
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    border: 4px solid var(--bg-primary);
    box-shadow: var(--shadow-medium);
}

.timeline-item:nth-child(odd) .timeline-marker {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -10px;
}

.timeline-content {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-accent);
}

.timeline-content:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-large);
    border-color: var(--primary-color);
}

.timeline-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.timeline-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.timeline-date {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: var(--text-accent);
    padding: 4px 12px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-mono);
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

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

.tech-tags .tech-tag {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border-color: rgba(59, 130, 246, 0.2);
}

/* Desktop Optimizations for Compact Layout */
@media (min-width: 1201px) {
    .section {
        min-height: 80vh;
        padding: var(--spacing-2xl) var(--spacing-lg);
    }
    
    .section-title {
        font-size: clamp(2rem, 3.5vw, 3rem);
        margin-bottom: var(--spacing-xl);
    }
    
    .hero-text h1 {
        font-size: clamp(2.5rem, 4.5vw, 3.8rem);
    }
    
    .hero-subtitle {
        font-size: clamp(1.1rem, 2vw, 1.4rem);
    }
    
    .stats-grid {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .stat-item {
        padding: 1.2rem 1rem;
    }
    
    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .projects-grid {
        gap: var(--spacing-lg);
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
    
    .project-image {
        height: 180px;
    }
    
    .project-content {
        padding: var(--spacing-md);
    }
    
    .contact-grid {
        gap: var(--spacing-xl);
    }
    
    .contact-info {
        padding: var(--spacing-lg);
    }
}

/* Premium Responsive Design */
@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        text-align: center;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
}

@media (max-width: 768px) {
    .section {
        padding: var(--spacing-3xl) var(--spacing-md);
    }
    
    .section-title {
        font-size: clamp(2rem, 4vw, 3rem);
        margin-bottom: var(--spacing-xl);
    }
    
    .hero-text h1 {
        font-size: clamp(2.5rem, 6vw, 4rem);
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: clamp(1.25rem, 3vw, 1.75rem);
        margin-bottom: var(--spacing-xl);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: var(--spacing-md);
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        padding: 16px 24px;
        font-size: 1rem;
        min-height: 48px; /* Better touch target */
    }
    
    /* Enhanced Stats Section for Mobile */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        margin-top: var(--spacing-xl);
        padding: 0 var(--spacing-sm);
    }
    
    .stat-item {
        padding: var(--spacing-xl) var(--spacing-lg);
        margin: 0 auto;
        max-width: 320px;
        width: 100%;
        transform: none !important; /* Disable 3D transforms on mobile */
        animation: none; /* Disable floating animation on mobile */
    }
    
    .stat-item:hover {
        transform: translateY(-4px) scale(1.02) !important;
        animation: none;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: var(--spacing-md);
    }
    
    .stat-number {
        font-size: 2.5rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .stat-label {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .project-card {
        min-width: unset;
        margin: 0 auto;
        max-width: 400px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: var(--spacing-2xl);
    }
    
    .timeline-marker {
        left: 10px !important;
        right: auto !important;
    }
    
    .dock-container {
        padding: 12px 18px;
        gap: 8px;
        border-radius: var(--radius-xl);
        max-width: 90vw;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .dock-container::-webkit-scrollbar {
        display: none;
    }
    
    .dock-item {
        width: 48px;
        height: 48px;
        border-radius: var(--radius-lg);
        min-width: 48px; /* Prevent shrinking */
        flex-shrink: 0;
    }
    
    .dock-item i {
        font-size: 1.2rem;
    }
    
    .dock-item:hover,
    .dock-item.active {
        transform: translateY(-2px) scale(1.05);
    }
    
    .tooltip {
        font-size: 0.75rem;
        padding: 8px 12px;
        white-space: nowrap;
    }
    
    /* Better form elements for mobile */
    .contact-form input,
    .contact-form textarea {
        font-size: 16px; /* Prevent zoom on iOS */
        padding: 16px;
        min-height: 48px;
    }
    
    .contact-form textarea {
        min-height: 120px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: var(--spacing-2xl) var(--spacing-sm);
    }
    
    .hero-text h1 {
        font-size: clamp(2rem, 8vw, 3rem);
        line-height: 1.1;
        margin-bottom: var(--spacing-md);
    }
    
    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        margin-bottom: var(--spacing-lg);
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.25rem);
        margin-bottom: var(--spacing-lg);
        line-height: 1.4;
    }
    
    .hero-buttons {
        gap: var(--spacing-sm);
    }
    
    .btn-primary,
    .btn-secondary {
        max-width: 260px;
        padding: 14px 20px;
        font-size: 0.95rem;
    }
    
    /* Ultra-responsive stats for small phones */
    .stats-grid {
        gap: var(--spacing-md);
        margin-top: var(--spacing-lg);
        padding: 0;
    }
    
    .stat-item {
        padding: var(--spacing-lg) var(--spacing-md);
        max-width: 280px;
        border-radius: var(--radius-lg);
    }
    
    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .stat-number {
        font-size: 2.2rem;
        margin-bottom: 4px;
    }
    
    .stat-label {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
        line-height: 1.3;
    }
    
    .contact-form,
    .contact-info,
    .project-content,
    .about-text,
    .timeline-content {
        padding: var(--spacing-md);
    }
    
    .project-card {
        max-width: 100%;
        margin: 0;
    }
    
    .project-image {
        height: 180px;
    }
    
    .avatar-container {
        width: 220px;
        height: 220px;
    }
    
    .avatar-image {
        width: 180px;
        height: 180px;
    }
    
    #hero {
        padding: var(--spacing-3xl) var(--spacing-sm) var(--spacing-2xl);
        min-height: 80vh;
    }
    
    #nav-dock {
        bottom: var(--spacing-md);
        left: 50%;
        transform: translateX(-50%);
    }
    
    .dock-container {
        padding: 8px 12px;
        gap: 6px;
        max-width: 85vw;
    }
    
    .dock-item {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }
    
    .dock-item i {
        font-size: 1rem;
    }
    
    .tooltip {
        font-size: 0.7rem;
        padding: 6px 10px;
    }
    
    /* Better text readability on small screens */
    .about-text p,
    .project-description,
    .timeline-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .tech-tags {
        gap: 6px;
    }
    
    .tech-tag {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
}

/* Premium Modern Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--glass-bg);
    border-radius: 4px;
    backdrop-filter: blur(10px);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: var(--transition-normal);
    border: 1px solid var(--glass-border);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary);
    box-shadow: var(--shadow-glow);
    transform: scale(1.1);
}

/* Premium Utility Classes */
.text-center {
    text-align: center;
}

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

.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
}

.hover-lift {
    transition: var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-large);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--border-default);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Focus States for Accessibility */
.dock-item:focus,
.btn-primary:focus,
.btn-secondary:focus,
.project-links a:focus,
.social-links a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Ultra-wide phones (iPhone 14 Pro Max, Samsung Galaxy S23 Ultra, etc.) */
@media (max-width: 430px) and (min-width: 390px) {
    .hero-text h1 {
        font-size: clamp(2.2rem, 7vw, 3.2rem);
    }
    
    .stats-grid {
        gap: var(--spacing-lg);
    }
    
    .stat-item {
        max-width: 300px;
        padding: var(--spacing-xl) var(--spacing-lg);
    }
    
    .dock-container {
        max-width: 88vw;
        gap: 8px;
    }
    
    .dock-item {
        width: 46px;
        height: 46px;
        min-width: 46px;
    }
}

/* Very small phones (iPhone SE, older Android phones) */
@media (max-width: 375px) {
    .section {
        padding: var(--spacing-xl) var(--spacing-xs);
    }
    
    .hero-text h1 {
        font-size: clamp(1.8rem, 9vw, 2.8rem);
        margin-bottom: var(--spacing-sm);
    }
    
    .section-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
        margin-bottom: var(--spacing-md);
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 4.5vw, 1.1rem);
        margin-bottom: var(--spacing-md);
    }
    
    .btn-primary,
    .btn-secondary {
        max-width: 240px;
        padding: 12px 18px;
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    .stats-grid {
        gap: var(--spacing-sm);
        margin-top: var(--spacing-md);
    }
    
    .stat-item {
        padding: var(--spacing-md) var(--spacing-sm);
        max-width: 260px;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .stat-number {
        font-size: 2rem;
        margin-bottom: 2px;
    }
    
    .stat-label {
        font-size: 0.7rem;
        letter-spacing: 0.3px;
    }
    
    .avatar-container {
        width: 200px;
        height: 200px;
    }
    
    .avatar-image {
        width: 160px;
        height: 160px;
    }
    
    .dock-container {
        padding: 6px 10px;
        gap: 4px;
        max-width: 82vw;
    }
    
    .dock-item {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
    
    .dock-item i {
        font-size: 0.9rem;
    }
    
    .project-image {
        height: 160px;
    }
    
    .contact-form,
    .contact-info,
    .project-content,
    .about-text,
    .timeline-content {
        padding: var(--spacing-sm);
    }
}

/* Landscape orientation for phones */
@media (max-height: 500px) and (orientation: landscape) {
    #hero {
        padding: var(--spacing-xl) var(--spacing-md);
        min-height: 90vh;
    }
    
    .hero-content {
        gap: var(--spacing-lg);
    }
    
    .hero-text h1 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: var(--spacing-xs);
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 3vw, 1.3rem);
        margin-bottom: var(--spacing-sm);
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: var(--spacing-sm);
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .btn-primary,
    .btn-secondary {
        max-width: 200px;
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .avatar-container {
        width: 180px;
        height: 180px;
    }
    
    .avatar-image {
        width: 150px;
        height: 150px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-sm);
        margin-top: var(--spacing-md);
    }
    
    .stat-item {
        padding: var(--spacing-sm);
        max-width: none;
    }
    
    .stat-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .stat-number {
        font-size: 1.8rem;
        margin-bottom: 2px;
    }
    
    .stat-label {
        font-size: 0.65rem;
        letter-spacing: 0.2px;
    }
    
    .section {
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: var(--spacing-sm);
    }
    
    #nav-dock {
        bottom: var(--spacing-sm);
    }
    
    .dock-container {
        padding: 6px 12px;
        gap: 6px;
    }
    
    .dock-item {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }
    
    .dock-item i {
        font-size: 0.9rem;
    }
}

/* High DPI displays (Retina, etc.) */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .stat-icon,
    .dock-item,
    .avatar-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .stat-item:hover,
    .project-card:hover,
    .dock-item:hover {
        transform: none !important;
    }
    
    .stat-item:active,
    .project-card:active,
    .dock-item:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .btn-primary:active,
    .btn-secondary:active {
        transform: scale(0.96);
    }
    
    /* Disable animations that might cause performance issues on touch devices */
    .stat-item {
        animation: none !important;
    }
    
    .stat-icon::before {
        animation: none !important;
    }
}

/* Print Styles */
@media print {
    #nav-dock {
        display: none;
    }
    
    .section {
        display: block !important;
        page-break-inside: avoid;
    }
    
    .project-card,
    .timeline-item {
        page-break-inside: avoid;
    }
}

/* Mobile-specific utility classes */
.mobile-hidden {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-hidden {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }
    
    .mobile-center {
        text-align: center !important;
    }
    
    .mobile-full-width {
        width: 100% !important;
    }
    
    .mobile-no-margin {
        margin: 0 !important;
    }
    
    .mobile-small-text {
        font-size: 0.85rem !important;
    }
    
    /* Improved touch targets */
    .touch-target {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Better spacing for mobile */
    .mobile-spacing-sm {
        padding: var(--spacing-sm) !important;
    }
    
    .mobile-spacing-md {
        padding: var(--spacing-md) !important;
    }
    
    .mobile-spacing-lg {
        padding: var(--spacing-lg) !important;
    }
    
    /* Mobile-optimized animations */
    .mobile-no-animation * {
        animation: none !important;
        transition: none !important;
    }
    
    /* Reduce motion for users who prefer it */
    @media (prefers-reduced-motion: reduce) {
        .stat-item,
        .project-card,
        .dock-item {
            animation: none !important;
            transition: opacity 0.2s ease, transform 0.2s ease !important;
        }
        
        .stat-item:hover,
        .project-card:hover {
            transform: none !important;
        }
    }
    
    /* Better focus indicators for mobile */
    .dock-item:focus,
    .btn-primary:focus,
    .btn-secondary:focus {
        outline: 3px solid var(--primary-color);
        outline-offset: 2px;
        box-shadow: 0 0 0 6px rgba(99, 102, 241, 0.2);
    }
    
    /* Improved form elements for mobile */
    input, textarea, select {
        font-size: 16px !important; /* Prevent zoom on iOS */
        border-radius: var(--radius-md);
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }
    
    input:focus, textarea:focus, select:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
        outline: none;
    }
    
    /* Better scrolling on mobile */
    .scroll-smooth {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Mobile-optimized images */
    img {
        max-width: 100%;
        height: auto;
        image-rendering: -webkit-optimize-contrast;
    }
    
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }
    
    /* Better text selection on mobile */
    ::selection {
        background: rgba(99, 102, 241, 0.2);
        color: var(--text-primary);
    }
    
    ::-moz-selection {
        background: rgba(99, 102, 241, 0.2);
        color: var(--text-primary);
    }
}

/* Safe area insets for phones with notches */
@supports (padding: max(0px)) {
    .safe-area-top {
        padding-top: max(var(--spacing-md), env(safe-area-inset-top));
    }
    
    .safe-area-bottom {
        padding-bottom: max(var(--spacing-md), env(safe-area-inset-bottom));
    }
    
    .safe-area-left {
        padding-left: max(var(--spacing-sm), env(safe-area-inset-left));
    }
    
    .safe-area-right {
        padding-right: max(var(--spacing-sm), env(safe-area-inset-right));
    }
    
    #nav-dock {
        bottom: max(var(--spacing-lg), env(safe-area-inset-bottom));
    }
}

/* Performance optimizations for mobile */
@media (max-width: 768px) {
    * {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    input, textarea, [contenteditable] {
        -webkit-user-select: text;
        -moz-user-select: text;
        -ms-user-select: text;
        user-select: text;
    }
    
    /* GPU acceleration for smooth animations */
    .stat-item,
    .project-card,
    .dock-item,
    .btn-primary,
    .btn-secondary {
        will-change: transform;
        transform: translateZ(0);
        backface-visibility: hidden;
    }
}

.mb-4 {
    margin-bottom: 24px;
}

.mt-4 {
    margin-top: 24px;
}