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

:root {
    --font-space: 'Space Grotesk', sans-serif;
    --font-inter: 'Inter', sans-serif;
    
    /* Light theme colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #ffffff;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-tertiary: #9ca3af;
    --border-color: #e5e7eb;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    /* Accent colors */
    --accent-blue: #2563eb;
    --accent-cyan: #06b6d4;
    --accent-purple: #9333ea;
    --accent-gradient: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
}

[data-theme="dark"] {
    /* Dark theme colors */
    --bg-primary: #111827;
    --bg-secondary: #030712;
    --bg-tertiary: #1f2937;
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-tertiary: #9ca3af;
    --border-color: #374151;
    --glass-bg: rgba(0, 0, 0, 0.3);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    /* Dark theme accents */
    --accent-blue: #06b6d4;
    --accent-cyan: #00f0ff;
    --accent-purple: #b026ff;
    --accent-gradient: linear-gradient(135deg, #06b6d4 0%, #2563eb 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-inter);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
    position: relative;
}

/* Animated background gradient */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(147, 51, 234, 0.1) 0%, transparent 50%);
    animation: gradientRotate 20s ease infinite;
    pointer-events: none;
    z-index: -1;
}

[data-theme="dark"] body::before {
    background: 
        radial-gradient(circle at 20% 50%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(176, 38, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
}

@keyframes gradientRotate {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

.gradient-text {
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 50%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientShift 5s ease infinite;
}

[data-theme="dark"] .gradient-text {
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientShift 5s ease infinite;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

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

.nav-logo {
    font-family: var(--font-space);
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
}

.logo-text {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: 8px;
    color: white;
    font-weight: 700;
    transition: all 0.3s ease;
}

.nav-logo:hover .logo-text {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.2s ease;
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link:hover {
    color: var(--accent-blue);
    transform: translateY(-2px);
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Theme Toggle */
.theme-toggle {
    position: relative;
    width: 56px;
    height: 32px;
    border-radius: 9999px;
    background: #d1d5db;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

[data-theme="dark"] .theme-toggle {
    background: #374151;
}

.theme-toggle-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="dark"] .theme-toggle-slider {
    transform: translateX(24px);
}

.theme-toggle-slider::before {
    content: '🌙';
    font-size: 12px;
}

[data-theme="light"] .theme-toggle-slider::before {
    content: '☀️';
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 64px;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
}

[data-theme="light"] .hero {
    background: radial-gradient(ellipse at bottom, #d4e4f7 0%, #f5f9fc 100%);
}

.hero-background {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: overlay;
}

[data-theme="dark"] .hero-background {
    opacity: 0.2;
}

.space-theme {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.stars-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.planets-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.planet {
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 
        inset -15px -15px 30px rgba(0, 0, 0, 0.8),
        inset 15px 15px 30px rgba(255, 255, 255, 0.1),
        0 0 30px rgba(255, 255, 255, 0.2),
        0 0 60px rgba(255, 255, 255, 0.1),
        0 0 100px rgba(255, 255, 255, 0.05);
}

.planet::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.5), transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.planet::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: 
        radial-gradient(ellipse at 70% 70%, rgba(0, 0, 0, 0.6) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 40%);
    pointer-events: none;
    z-index: 2;
}

.planet-1 {
    width: 90px;
    height: 90px;
    background: 
        radial-gradient(circle at 20% 20%, #ff6b6b 0%, #d32f2f 25%, #b71c1c 50%, #880e4f 75%, #4a148c 100%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(0, 0, 0, 0.2) 10px,
            rgba(0, 0, 0, 0.2) 20px
        );
    top: 10%;
    right: 15%;
    animation: orbitPlanet1 20s linear infinite;
}

.planet-1::before {
    background: radial-gradient(circle at 25% 25%, rgba(255, 183, 77, 0.4), transparent 55%);
}

.planet-2 {
    width: 70px;
    height: 70px;
    background: 
        radial-gradient(circle at 25% 25%, #4ecdc4 0%, #00acc1 30%, #00838f 60%, #006064 85%, #004d40 100%),
        repeating-conic-gradient(
            from 0deg,
            transparent 0deg,
            transparent 30deg,
            rgba(0, 150, 136, 0.3) 30deg,
            rgba(0, 150, 136, 0.3) 60deg
        );
    top: 20%;
    left: 10%;
    animation: orbitPlanet2 25s linear infinite;
}

.planet-2::before {
    background: radial-gradient(circle at 30% 30%, rgba(129, 212, 250, 0.5), transparent 60%);
}

.planet-3 {
    width: 110px;
    height: 110px;
    background: 
        radial-gradient(circle at 15% 15%, #ffd54f 0%, #ffb300 20%, #ff8f00 40%, #e65100 60%, #bf360c 80%, #8b0000 100%),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 8px,
            rgba(139, 0, 0, 0.3) 8px,
            rgba(139, 0, 0, 0.3) 16px
        );
    top: auto;
    bottom: 15%;
    right: 20%;
    animation: orbitPlanet3 30s linear infinite;
}

.planet-3::before {
    background: radial-gradient(circle at 20% 20%, rgba(255, 241, 118, 0.6), transparent 50%);
}

.planet-4 {
    width: 80px;
    height: 80px;
    background: 
        radial-gradient(circle at 30% 30%, #ba68c8 0%, #9575cd 25%, #7e57c2 50%, #5e35b1 75%, #4527a0 90%, #311b92 100%),
        repeating-radial-gradient(
            circle at center,
            transparent 0px,
            transparent 15px,
            rgba(78, 52, 46, 0.2) 15px,
            rgba(78, 52, 46, 0.2) 20px
        );
    top: auto;
    bottom: 25%;
    left: 15%;
    animation: orbitPlanet4 22s linear infinite;
}

.planet-4::before {
    background: radial-gradient(circle at 35% 35%, rgba(206, 147, 216, 0.5), transparent 65%);
}

@keyframes orbitPlanet1 {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(50px, 50px) rotate(90deg);
    }
    50% {
        transform: translate(100px, 30px) rotate(180deg);
    }
    75% {
        transform: translate(50px, -30px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

@keyframes orbitPlanet2 {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(-40px, 60px) rotate(90deg);
    }
    50% {
        transform: translate(-80px, 40px) rotate(180deg);
    }
    75% {
        transform: translate(-40px, -40px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

@keyframes orbitPlanet3 {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(-60px, -50px) rotate(90deg);
    }
    50% {
        transform: translate(-120px, -30px) rotate(180deg);
    }
    75% {
        transform: translate(-60px, 50px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

@keyframes orbitPlanet4 {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(45px, -55px) rotate(90deg);
    }
    50% {
        transform: translate(90px, -35px) rotate(180deg);
    }
    75% {
        transform: translate(45px, 45px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

.star.small {
    width: 1px;
    height: 1px;
}

.star.medium {
    width: 2px;
    height: 2px;
}

.star.large {
    width: 3px;
    height: 3px;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .star {
    background: #3b82f6;
}

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

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent-cyan);
    opacity: 0.5;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px);
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-text-content {
    text-align: center;
    flex: 1;
    min-width: 300px;
}

/* Hero Image Styles */
.hero-image-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto 2rem;
    animation: floatImage 6s ease-in-out infinite;
    cursor: pointer;
}

@keyframes floatImage {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-10px) rotate(-1deg) scale(1.02);
    }
    50% {
        transform: translateY(-20px) rotate(2deg) scale(1);
    }
    75% {
        transform: translateY(-10px) rotate(1deg) scale(1.02);
    }
}

.hero-image-wrapper:hover {
    animation-play-state: paused;
    transform: scale(1.1) rotate(5deg);
}

.hero-image-glow {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: var(--accent-gradient);
    opacity: 0.3;
    filter: blur(20px);
    animation: pulseGlow 3s ease-in-out infinite;
}

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

.hero-image {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--bg-primary);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
    z-index: 2;
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.05);
}

.hero-image-border {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        var(--accent-blue),
        var(--accent-cyan),
        var(--accent-purple),
        var(--accent-blue),
        var(--accent-blue)
    );
    z-index: 1;
    animation: rotateBorder 3s linear infinite;
    opacity: 0.8;
    filter: blur(2px);
}

.hero-image-wrapper:hover .hero-image-border {
    animation-duration: 1s;
    opacity: 1;
    filter: blur(0px);
    inset: -12px;
}

@keyframes rotateBorder {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

[data-theme="dark"] .hero-image {
    border-color: var(--bg-primary);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.2),
                0 0 80px rgba(176, 38, 255, 0.1);
}

.hero-title {
    font-family: var(--font-space);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-tagline {
    font-size: clamp(1.25rem, 4vw, 1.875rem);
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-roles {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--text-secondary);
    min-height: 2rem;
    margin-bottom: 2rem;
}

.typewriter-cursor {
    display: inline-block;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-gradient);
    background-size: 200% auto;
    color: white;
    box-shadow: 0 4px 14px 0 rgba(0, 118, 255, 0.39);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.btn-primary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.btn-primary i {
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 30px 0 rgba(0, 118, 255, 0.6);
    background-position: right center;
}

.btn-primary:hover i {
    transform: translateX(5px);
}

.btn-secondary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.btn-secondary i {
    transition: transform 0.3s ease;
}

.btn-secondary:hover i {
    transform: scale(1.1);
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.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.5s ease;
}

.btn-secondary:hover {
    transform: translateY(-2px) scale(1.05);
    border-color: var(--accent-blue);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

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

.btn-secondary:active {
    transform: translateY(0) scale(0.98);
}

.btn-full {
    width: 100%;
}

.hero-social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--accent-gradient);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: 0;
}

.social-link i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.15) rotate(5deg);
    color: white;
    border-color: transparent;
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

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

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

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

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-tertiary);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding: 4px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--text-tertiary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(12px);
        opacity: 0;
    }
}

/* Sections */
section {
    padding: 5rem 0;
    position: relative;
    transition: transform 0.1s ease-out;
}

.section-title {
    font-family: var(--font-space);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #2563eb 0%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientShift 5s ease infinite;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 2px;
    transition: width 0.8s ease;
}

.scroll-fade-in.visible.section-title::after {
    width: 80px;
}

[data-theme="dark"] .section-title {
    background: linear-gradient(135deg, #06b6d4 0%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientShift 5s ease infinite;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

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

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

.about-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.about-card {
    padding: 2rem;
    border-radius: 1rem;
}

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

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

.expertise-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.bullet {
    color: var(--accent-cyan);
}

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

.skill-card {
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    position: relative;
    overflow: hidden;
}

.skill-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-card:hover::after {
    opacity: 1;
}

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

.skill-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.skill-card:hover {
    transform: scale(1.1) translateY(-10px) rotate(2deg);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.3);
}

.skill-icon {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.skill-card:hover .skill-icon {
    transform: scale(1.2) rotate(10deg);
}

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.skill-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.skill-progress {
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: 9999px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

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

.skill-level {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

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

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

.project-card {
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    opacity: 0;
    transform: translateY(50px) rotateX(10deg);
    transform-style: preserve-3d;
    perspective: 1000px;
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.project-card > * {
    position: relative;
    z-index: 1;
}

.project-card.visible {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
}

.project-card:hover {
    transform: translateY(-10px) scale(1.03) rotateY(2deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
                0 0 30px rgba(37, 99, 235, 0.2);
}

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

.project-image {
    height: 200px;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

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

.project-tag {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-blue);
}

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

.project-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: var(--accent-blue);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

.modal-content {
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    animation: slideUp 0.3s ease;
}

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

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-primary);
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s ease;
}

.modal-close:hover {
    transform: scale(1.2);
}

.modal-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.modal-description {
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.modal-technologies {
    margin-bottom: 1.5rem;
}

.modal-technologies h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

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

.modal-buttons {
    display: flex;
    gap: 1rem;
}

/* Tech Stack Section */
.tech-stack {
    background: var(--bg-primary);
}

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

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: scale(0.8) rotate(-10deg);
}

.tech-item.visible {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.tech-item:hover {
    transform: translateY(-10px) scale(1.15) rotate(10deg) !important;
    z-index: 10;
}

.tech-icon-wrapper {
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tech-item:hover .tech-icon-wrapper {
    transform: rotate(-10deg) scale(1.1);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
    background: var(--accent-gradient);
}

.tech-item:hover .tech-icon {
    transform: scale(1.3) rotate(10deg);
    filter: drop-shadow(0 0 10px currentColor);
}

.tech-icon-wrapper {
    width: 100%;
    aspect-ratio: 1;
    padding: 1.5rem;
    border-radius: 0.75rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    transition: transform 0.3s ease;
}

.tech-item:hover .tech-icon-wrapper {
    transform: rotate(-10deg);
}

.tech-icon {
    font-size: 2.5rem;
}

.tech-name {
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    color: var(--text-primary);
}

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

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

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

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

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

.contact-card:hover {
    transform: scale(1.08) translateX(10px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover .contact-icon {
    transform: scale(1.2) rotate(10deg);
    background: var(--accent-gradient);
}

.contact-icon {
    transition: transform 0.4s ease, background 0.3s ease;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-blue);
}

.contact-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.form-group input,
.form-group textarea {
    transition: all 0.3s ease;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
}

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

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

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

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

.footer-links a {
    color: var(--text-secondary);
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.fade-in-left {
    animation: fadeInLeft 0.6s ease forwards;
}

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

.fade-in-right {
    animation: fadeInRight 0.6s ease forwards;
}

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

/* Scroll Animations */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.scroll-rotate {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-rotate.visible {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Stagger animation delays */
.scroll-stagger-1 { transition-delay: 0.1s; }
.scroll-stagger-2 { transition-delay: 0.2s; }
.scroll-stagger-3 { transition-delay: 0.3s; }
.scroll-stagger-4 { transition-delay: 0.4s; }
.scroll-stagger-5 { transition-delay: 0.5s; }

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Floating Animation for Multiple Elements */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.floating-delay-1 {
    animation-delay: 0.5s;
}

.floating-delay-2 {
    animation-delay: 1s;
}

.floating-delay-3 {
    animation-delay: 1.5s;
}

/* Glowing Text Effect */
.glowing-text {
    text-shadow: 
        0 0 10px currentColor,
        0 0 20px currentColor,
        0 0 30px currentColor;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 
            0 0 10px currentColor,
            0 0 20px currentColor,
            0 0 30px currentColor;
    }
    to {
        text-shadow: 
            0 0 20px currentColor,
            0 0 30px currentColor,
            0 0 40px currentColor;
    }
}

/* Shimmer Effect */
.shimmer {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Spinning Border */
@keyframes spinBorder {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.spinning-border {
    position: relative;
    overflow: hidden;
}

.spinning-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: conic-gradient(from 0deg, transparent, var(--accent-blue), var(--accent-cyan), var(--accent-purple), transparent);
    animation: spinBorder 3s linear infinite;
    z-index: -1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   ENHANCED STYLES - Premium Portfolio Design
   ============================================ */

/* Section Headers with Numbers */
.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-number {
    font-family: var(--font-space);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-blue);
    opacity: 0.5;
}

.section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-blue), transparent);
    max-width: 300px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    min-width: 120px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-space);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Intro Badge */
.intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.intro-badge i {
    color: var(--accent-cyan);
}

.about-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-family: var(--font-space);
}

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

.about-text strong {
    color: var(--accent-blue);
    font-weight: 600;
}

/* About Highlights */
.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-card {
    padding: 2rem;
    border-radius: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.highlight-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.highlight-list {
    list-style: none;
    padding: 0;
}

.highlight-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.highlight-list strong {
    color: var(--accent-blue);
}

/* Timeline/Experience Section */
.experience {
    background: var(--bg-secondary);
    position: relative;
}

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


.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
    align-items: flex-start;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

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

.timeline-marker {
    display: none;
}

.timeline-dot {
    display: none;
}


.timeline-line {
    display: none;
}

.timeline-content {
    flex: 1;
    padding: 2rem;
    border-radius: 1rem;
    position: relative;
    text-align: left;
}

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

.timeline-item:nth-child(even) .timeline-header {
    flex-direction: row;
}

.timeline-role {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-family: var(--font-space);
}

.timeline-company {
    font-size: 1.125rem;
    color: var(--accent-blue);
    font-weight: 600;
}

.timeline-period {
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
}

.timeline-location {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-location i {
    color: var(--accent-cyan);
    font-size: 0.875rem;
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.timeline-achievements {
    margin-bottom: 1.5rem;
}

.timeline-achievements h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.timeline-achievements ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.timeline-achievements li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
    text-align: left;
}

.timeline-achievements i {
    color: var(--accent-cyan);
    font-size: 0.875rem;
}

.timeline-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-start;
}

/* Consistent alignment for all timeline items */
.timeline-achievements {
    text-align: left;
}

.timeline-achievements ul {
    align-items: flex-start;
}

.timeline-tech {
    justify-content: flex-start;
}

.tech-badge {
    padding: 0.375rem 0.75rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background: var(--accent-gradient);
    color: white;
    transform: translateY(-2px);
}

/* Skills Section */
.skills-section {
    background: var(--bg-primary);
    padding: 5rem 0;
}


/* Project Enhancements */
.project-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    font-weight: 900;
    font-family: var(--font-space);
    color: rgba(255, 255, 255, 0.05);
    z-index: 1;
    pointer-events: none;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.8) 0%, rgba(147, 51, 234, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.project-category {
    padding: 0.25rem 0.75rem;
    background: var(--accent-gradient);
    color: white;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    height: fit-content;
}

.project-metrics {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.metric {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--glass-bg);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.metric i {
    color: var(--accent-cyan);
}

.view-details {
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    font: inherit;
}

/* Enhanced Responsive for New Sections */
@media (max-width: 768px) {
    /* Planets Responsive */
    .planet-1 {
        width: 50px;
        height: 50px;
        top: 5%;
        right: 10%;
    }
    
    .planet-2 {
        width: 40px;
        height: 40px;
        top: 15%;
        left: 5%;
    }
    
    .planet-3 {
        width: 60px;
        height: 60px;
        bottom: 10%;
        right: 15%;
    }
    
    .planet-4 {
        width: 45px;
        height: 45px;
        bottom: 20%;
        left: 10%;
    }
    
    /* Reduce planet shadows on mobile for performance */
    .planet {
        box-shadow: 
            inset -8px -8px 15px rgba(0, 0, 0, 0.8),
            inset 8px 8px 15px rgba(255, 255, 255, 0.1),
            0 0 15px rgba(255, 255, 255, 0.2),
            0 0 30px rgba(255, 255, 255, 0.1);
    }
    
    /* Reduce stars count for better performance */
    .star.large {
        width: 2px;
        height: 2px;
    }
    
    /* Smaller orbit movements on tablets */
    .planet-1 {
        animation: orbitPlanet1Mobile 20s linear infinite;
    }
    
    .planet-2 {
        animation: orbitPlanet2Mobile 25s linear infinite;
    }
    
    .planet-3 {
        animation: orbitPlanet3Mobile 30s linear infinite;
    }
    
    .planet-4 {
        animation: orbitPlanet4Mobile 22s linear infinite;
    }
    
    @keyframes orbitPlanet1Mobile {
        0% { transform: translate(0, 0) rotate(0deg); }
        25% { transform: translate(30px, 30px) rotate(90deg); }
        50% { transform: translate(60px, 20px) rotate(180deg); }
        75% { transform: translate(30px, -20px) rotate(270deg); }
        100% { transform: translate(0, 0) rotate(360deg); }
    }
    
    @keyframes orbitPlanet2Mobile {
        0% { transform: translate(0, 0) rotate(0deg); }
        25% { transform: translate(-25px, 35px) rotate(90deg); }
        50% { transform: translate(-50px, 25px) rotate(180deg); }
        75% { transform: translate(-25px, -25px) rotate(270deg); }
        100% { transform: translate(0, 0) rotate(360deg); }
    }
    
    @keyframes orbitPlanet3Mobile {
        0% { transform: translate(0, 0) rotate(0deg); }
        25% { transform: translate(-35px, -30px) rotate(90deg); }
        50% { transform: translate(-70px, -20px) rotate(180deg); }
        75% { transform: translate(-35px, 30px) rotate(270deg); }
        100% { transform: translate(0, 0) rotate(360deg); }
    }
    
    @keyframes orbitPlanet4Mobile {
        0% { transform: translate(0, 0) rotate(0deg); }
        25% { transform: translate(28px, -32px) rotate(90deg); }
        50% { transform: translate(55px, -22px) rotate(180deg); }
        75% { transform: translate(28px, 28px) rotate(270deg); }
        100% { transform: translate(0, 0) rotate(360deg); }
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-item {
        min-width: 100px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .section-line {
        width: 100%;
        max-width: 100px;
    }
    
    .timeline {
        padding: 1rem 0;
    }
    
    .timeline-item {
        flex-direction: column !important;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .timeline-item:nth-child(even) {
        flex-direction: column !important;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
    }
    
    .timeline-item .timeline-marker {
        position: relative !important;
        left: auto !important;
        transform: none !important;
        width: 100%;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin-bottom: 1rem;
        margin-top: 0;
    }
    
    .timeline-item .timeline-achievements {
        text-align: left !important;
    }
    
    .timeline-item .timeline-achievements ul {
        align-items: flex-start !important;
    }
    
    .timeline-item .timeline-tech {
        justify-content: flex-start !important;
    }
    
    .timeline-item .timeline-header {
        flex-direction: column !important;
        gap: 0.75rem;
    }
    
    .timeline-line {
        width: 60px;
        height: 2px;
        margin: 0 0.5rem;
        min-height: 2px;
        max-height: 2px;
        flex: none;
    }
    
    .timeline-content {
        width: 100%;
        padding: 1.5rem;
    }
    
    .timeline-marker {
        align-self: center;
        margin-top: 0;
    }
    
    .timeline-period {
        align-self: flex-start;
    }
    
    .about-highlights {
        margin-top: 2rem;
    }
    
    .project-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 1rem;
    }
    
    .tech-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 1rem;
    }
    
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-image-wrapper {
        width: 220px;
        height: 220px;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    /* Smaller planets for very small screens */
    .planet-1 {
        width: 40px;
        height: 40px;
        top: 3%;
        right: 8%;
    }
    
    .planet-2 {
        width: 30px;
        height: 30px;
        top: 12%;
        left: 3%;
    }
    
    .planet-3 {
        width: 50px;
        height: 50px;
        bottom: 8%;
        right: 12%;
    }
    
    .planet-4 {
        width: 35px;
        height: 35px;
        bottom: 18%;
        left: 8%;
    }
    
    /* Smaller orbit movements on very small screens */
    .planet-1 {
        animation: orbitPlanet1Small 20s linear infinite;
    }
    
    .planet-2 {
        animation: orbitPlanet2Small 25s linear infinite;
    }
    
    .planet-3 {
        animation: orbitPlanet3Small 30s linear infinite;
    }
    
    .planet-4 {
        animation: orbitPlanet4Small 22s linear infinite;
    }
    
    @keyframes orbitPlanet1Small {
        0% { transform: translate(0, 0) rotate(0deg); }
        25% { transform: translate(25px, 25px) rotate(90deg); }
        50% { transform: translate(50px, 15px) rotate(180deg); }
        75% { transform: translate(25px, -15px) rotate(270deg); }
        100% { transform: translate(0, 0) rotate(360deg); }
    }
    
    @keyframes orbitPlanet2Small {
        0% { transform: translate(0, 0) rotate(0deg); }
        25% { transform: translate(-20px, 30px) rotate(90deg); }
        50% { transform: translate(-40px, 20px) rotate(180deg); }
        75% { transform: translate(-20px, -20px) rotate(270deg); }
        100% { transform: translate(0, 0) rotate(360deg); }
    }
    
    @keyframes orbitPlanet3Small {
        0% { transform: translate(0, 0) rotate(0deg); }
        25% { transform: translate(-30px, -25px) rotate(90deg); }
        50% { transform: translate(-60px, -15px) rotate(180deg); }
        75% { transform: translate(-30px, 25px) rotate(270deg); }
        100% { transform: translate(0, 0) rotate(360deg); }
    }
    
    @keyframes orbitPlanet4Small {
        0% { transform: translate(0, 0) rotate(0deg); }
        25% { transform: translate(22px, -27px) rotate(90deg); }
        50% { transform: translate(45px, -17px) rotate(180deg); }
        75% { transform: translate(22px, 22px) rotate(270deg); }
        100% { transform: translate(0, 0) rotate(360deg); }
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .tech-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .timeline-content {
        padding: 1rem;
    }
    
    .highlight-card {
        padding: 1.5rem;
    }
}
