/* CSS Variables */
:root {
    --font-primary: "Inter", sans-serif;
    --font-display: "Orbitron", monospace;
    --primary: #6366f1;
    --primary-light: #8b5cf6;
    --primary-dark: #4f46e5;
    --secondary: #06b6d4;
    --accent: #f59e0b;
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    --dark: #0f0f23;
    --surface: #1a1a2e;
    --surface-light: #16213e;
    --surface-lighter: #0f3460;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-dark: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 100%);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --neon-glow: 0 0 20px rgba(99, 102, 241, 0.5);
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

[data-theme="light"] {
    --dark: #f8fafc;
    --surface: #ffffff;
    --surface-light: #f1f5f9;
    --surface-lighter: #e2e8f0;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --glass-bg: rgba(0, 0, 0, 0.03);
    --glass-border: rgba(0, 0, 0, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    --neon-glow: 0 0 20px rgba(99, 102, 241, 0.3);
    --gradient-dark: linear-gradient(135deg, #f1f5f9 0%, #ffffff 100%);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: clamp(14px, 2.5vw, 16px);
    overflow-x: hidden;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

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

/* Background Effects */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
    background:
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(6, 182, 212, 0.3) 0%, transparent 50%);
}

[data-theme="light"] .bg-mesh {
    background:
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
}

/* Floating Particles for Hero Section */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.2;
    animation: float-particle 10s infinite ease-in-out;
}

[data-theme="light"] .particle {
    opacity: 0.15;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
}

@keyframes float-particle {
    0% { transform: translate(0, 0); opacity: 0.2; }
    50% { transform: translate(var(--translate-x), var(--translate-y)); opacity: 0.4; }
    100% { transform: translate(0, 0); opacity: 0.2; }
}

/* Loading Spinner */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-spinner.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--glass-border);
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

[data-theme="light"] .loading-spinner {
    background: var(--surface-light);
}

[data-theme="light"] .spinner {
    border: 5px solid var(--glass-border);
    border-top: 5px solid var(--primary-dark);
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 1001;
    transition: width 0.2s ease;
}

[data-theme="light"] .scroll-progress {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 35, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: var(--transition-normal);
}

[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--glass-border);
}

.navbar.scrolled {
    background: rgba(15, 15, 35, 0.95);
    box-shadow: var(--shadow-lg);
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 900;
    text-decoration: none;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition-bounce);
}

.logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));
}

.nav-right {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-links {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: clamp(0.9rem, 2vw, 1rem);
    position: relative;
    transition: var(--transition-normal);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

.nav-link.active {
    background: var(--glass-bg);
    color: var(--primary-light);
    border-radius: var(--radius-md);
}

[data-theme="light"] .nav-link.active {
    background: rgba(99, 102, 241, 0.15);
}

.theme-toggle {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    padding: var(--space-xs);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
}

[data-theme="light"] .theme-toggle {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

.theme-toggle:hover {
    background: var(--glass-border);
    transform: scale(1.1) rotate(360deg);
    box-shadow: var(--neon-glow);
}

.nav-link:focus, .btn:focus, .social-link:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Mobile Navigation */
.mobile-menu {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 20px;
    justify-content: space-between;
    z-index: 1002;
}

.hamburger {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 1px;
    transition: var(--transition-normal);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(80vw, 300px);
    background: rgba(15, 15, 35, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--glass-border);
    transform: translateX(100%);
    transition: var(--transition-normal);
    z-index: 1001;
    padding: var(--space-xl) var(--space-md);
    overflow-y: auto;
}

[data-theme="light"] .mobile-nav {
    background: rgba(255, 255, 255, 0.98);
    border-left: 1px solid var(--glass-border);
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--text-primary);
    background: none;
    border: none;
    transition: var(--transition-normal);
}

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

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.mobile-nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: clamp(1rem, 3vw, 1.1rem);
    padding: var(--space-sm);
    transition: var(--transition-normal);
}

.mobile-nav-link:hover {
    color: var(--primary);
    transform: translateX(10px);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    opacity: 0.5;
    visibility: hidden;
    transition: var(--transition-normal);
}

.mobile-nav-overlay.active {
    opacity: 0.6;
    visibility: visible;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--gradient-dark);
    overflow: hidden;
}

[data-theme="light"] .hero {
    background: var(--gradient-dark);
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at top left, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    padding: var(--space-md);
    z-index: 2;
    position: relative;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 8vw, 4.5rem);
    font-weight: 900;
    margin-bottom: var(--space-md);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5)); }
    to { filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.8)); }
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-tagline {
    padding: var(--space-md) 1rem;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
}

.btn {
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-xl);
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::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: left 0.5s ease;
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: var(--shadow-lg);
    animation: pulse 2s infinite ease-in-out;
}

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

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-2xl), var(--neon-glow);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    animation: pulse 2s infinite ease-in-out;
}

.btn-secondary:hover {
    background: var(--glass-border);
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: var(--space-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    transition: var(--transition-normal);
    min-width: 100px;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    color: var(--text-secondary);
    margin-top: var(--space-xs);
}

/* General Section Styles */
.section {
    padding: clamp(3rem, 8vw, 6rem) 0;
    position: relative;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-lg);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* About Section */
.about {
    background: var(--surface);
}

[data-theme="light"] .about {
    background: var(--surface-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-lg);
    align-items: center;
}

.about-image-container {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
}

.about-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: var(--radius-xl);
    object-fit: cover;
    border: 2px solid var(--glass-border);
    transition: var(--transition-normal);
    filter: grayscale(20%);
    box-shadow: var(--shadow-md);
}

.about-image:hover {
    transform: scale(1.05) rotate(2deg);
    filter: grayscale(0%);
    box-shadow: var(--shadow-xl);
}

.about-image-container::before {
    content: "";
    position: absolute;
    top: -6px;
    left: -6px;
    right: 8px;
    bottom: 8px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.3;
}

.about-text {
    margin-bottom: var(--space-md);
    position: relative;
    padding-left: var(--space-md);
    border-left: 3px solid var(--primary);
}

.about-text p {
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    line-height: 1.8;
}

.about-text p:first-child {
    font-size: clamp(1rem, 3vw, 1.2rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    margin-top: 0.8rem;
}

.about-text p:first-child::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--gradient-primary);
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Education Section */
.education {
    background: var(--surface);
}

[data-theme="light"] .education {
    background: var(--surface-light);
}

.education-timeline {
    position: relative;
    padding-left: calc(var(--space-lg) + 20px);
    margin: 0 auto;
    max-width: 800px;
}

.education-timeline::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

[data-theme="light"] .education-timeline::before {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
}

.education-item {
    position: relative;
    margin-bottom: var(--space-xl);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    backdrop-filter: blur(12px);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

[data-theme="light"] .education-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.education-item::before {
    content: "";
    position: absolute;
    left: -30px;
    top: 20px;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--surface), var(--neon-glow);
    transition: var(--transition-normal);
}

[data-theme="light"] .education-item::before {
    box-shadow: 0 0 0 4px var(--surface-light), 0 0 10px rgba(99, 102, 241, 0.2);
}

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

[data-theme="light"] .education-item:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.education-item h3 {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.education-date {
    color: var(--primary);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    margin-bottom: var(--space-sm);
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    background: rgba(99, 102, 241, 0.1);
}

[data-theme="light"] .education-date {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-dark);
}

.education-item p {
    color: var(--text-secondary);
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    line-height: 1.8;
    margin: 0;
}

.certification-list {
    list-style: none;
    padding: 0;
    margin-top: var(--space-md);
}

.certification-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    line-height: 1.7;
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-normal);
}

[data-theme="light"] .certification-list li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.certification-list li:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

.certification-list li i {
    color: var(--primary);
    margin-right: var(--space-sm);
}

.certification-name {
    flex: 1;
}

.certification-date {
    color: var(--text-muted);
    font-size: clamp(0.85rem, 2vw, 0.9rem);
}

/* Skills Section */
.skills {
    background: var(--surface);
}

[data-theme="light"] .skills {
    background: var(--surface-light);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.skill-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    backdrop-filter: blur(12px);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

[data-theme="light"] .skill-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

[data-theme="light"] .skill-card:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.skill-card h4 {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    position: relative;
}

.skill-card h4::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
}

.skill-item {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    margin-bottom: var(--space-sm);
    transition: var(--transition-normal);
}

.skill-item i {
    color: var(--primary);
    margin-right: var(--space-sm);
    font-size: 1.2rem;
}

.skill-item:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

/* Experience Section */
.experience {
    background: var(--surface);
}

[data-theme="light"] .experience {
    background: var(--surface-light);
}

.experience-timeline {
    position: relative;
    padding-left: calc(var(--space-lg) + 20px);
    margin: 0 auto;
    max-width: 800px;
}

.experience-timeline::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

[data-theme="light"] .experience-timeline::before {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
}

.experience-item {
    position: relative;
    margin-bottom: var(--space-xl);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    backdrop-filter: blur(12px);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

[data-theme="light"] .experience-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.experience-item::before {
    content: "";
    position: absolute;
    left: -30px;
    top: 20px;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--surface), var(--neon-glow);
    transition: var(--transition-normal);
}

[data-theme="light"] .experience-item::before {
    box-shadow: 0 0 0 4px var(--surface-light), 0 0 10px rgba(99, 102, 241, 0.2);
}

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

[data-theme="light"] .experience-item:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.experience-item h3 {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.experience-date {
    color: var(--primary);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    margin-bottom: var(--space-sm);
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    background: rgba(99, 102, 241, 0.1);
}

[data-theme="light"] .experience-date {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-dark);
}

.experience-item p {
    color: var(--text-secondary);
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    line-height: 1.8;
    margin: 0 0 var(--space-sm);
}

.experience-link {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    transition: var(--transition-normal);
}

.experience-link:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

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

[data-theme="light"] .projects {
    background: var(--surface-light);
}

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

.project-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
}

[data-theme="light"] .project-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

[data-theme="light"] .project-card:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition-normal);
}

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

.project-content {
    padding: var(--space-lg);
}

.project-title {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.project-description {
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.project-links {
    display: flex;
    gap: var(--space-md);
}

.project-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    transition: var(--transition-normal);
}

.project-link:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

/* Testimonials Section */
.testimonials {
    background: var(--surface);
}

[data-theme="light"] .testimonials {
    background: var(--surface-light);
}

.testimonials-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    backdrop-filter: blur(12px);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

[data-theme="light"] .testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

[data-theme="light"] .testimonial-card:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    line-height: 1.8;
    margin-bottom: var(--space-md);
    font-style: italic;
}

.testimonial-author-container {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-primary);
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
}

.testimonial-role {
    color: var(--text-muted);
    font-size: clamp(0.85rem, 2vw, 0.9rem);
}

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

[data-theme="light"] .contact {
    background: var(--surface-light);
}

.contact-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: var(--space-lg);
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto var(--space-lg);
}

#contact-form {
    display: grid;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.form-group input,
.form-group textarea {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-md);
    color: var(--text-primary);
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    outline: none;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.contact-info p {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.contact-info a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-normal);
}

.contact-info a:hover {
    color: var(--primary-light);
}

.contact-info i {
    margin-right: var(--space-xs);
}

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

.social-link {
    color: var(--text-primary);
    font-size: 1.5rem;
    transition: var(--transition-normal);
}

.social-link:hover {
    color: var(--primary);
    transform: scale(1.2);
}

/* Footer */
.footer {
    background: var(--surface-light);
    padding: var(--space-lg) 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

[data-theme="light"] .footer {
    background: var(--surface-lighter);
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.footer-content p {
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.footer-links {
    margin-top: var(--space-sm);
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    transition: var(--transition-normal);
}

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    background: var(--gradient-primary);
    color: var(--text-primary);
    border: none;
    border-radius: var(--radius-lg);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--neon-glow);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }

    .mobile-menu.active .hamburger {
        display: none;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image-container {
        margin-bottom: var(--space-lg);
    }

    .about-text {
        padding-left: 0;
        border-left: none;
        border-top: 3px solid var(--primary);
        padding-top: var(--space-md);
    }

    .about-text p:first-child::after {
        display: none;
    }

    .hero-title {
        font-size: clamp(1.8rem, 7vw, 3.5rem);
    }

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

    .hero-buttons {
        align-items: center;
    }

    .btn {
        text-align: center;
    }

    .hero-stats {
        align-items: center;
    }

    .stat-item {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: clamp(2rem, 6vw, 4rem) 0;
    }

    .section-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }

    .project-card {
        margin-bottom: var(--space-md);
    }

    .project-image {
        height: 150px;
    }

    .contact-form-container {
        padding: 0 var(--space-sm);
    }
}