/* Clean Professional Portfolio Styles - Updated: 2024-01-26 16:45:00 */
:root {
    /* Professional Color Palette - Dark Mode (Default) */
    --primary-color: #3b82f6;
    --secondary-color: #1d4ed8;
    --accent-color: #10b981;
    --accent-primary: #3b82f6;
    --accent-secondary: #10b981;
    --accent-tertiary: #f59e0b;
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #252525;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #707070;
    --border-color: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(59, 130, 246, 0.5);
    
    /* Professional Gradients */
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    
    /* Clean Shadows */
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.25);
    
    /* Skill Card Theme Variables - Dark Mode */
    --skill-card-bg: #1e1e1e;
    --skill-card-text: #f9f9f9;
    --skill-card-border: rgba(0, 212, 255, 0.2);
    --skill-card-hover-bg: #2a2a2a;
    --skill-card-hover-text: #f9f9f9;
    --skill-card-hover-border: var(--primary-color);
    --skill-card-hover-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
    --skill-card-active-bg: #1d4ed8;
    --skill-card-active-text: #ffffff;
    --skill-card-active-border: #1d4ed8;
}

/* Light Mode Variables */
[data-theme="light"] {
    --primary-color: #2563eb;
    --secondary-color: #1d4ed8;
    --accent-color: #059669;
    --accent-primary: #2563eb;
    --accent-secondary: #059669;
    --accent-tertiary: #d97706;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border-color: rgba(0, 0, 0, 0.1);
    --border-hover: rgba(37, 99, 235, 0.5);
    
    /* Light Mode Shadows */
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
    
    /* Skill Card Theme Variables - Light Mode */
    --skill-card-bg: #ffffff;
    --skill-card-text: #000000;
    --skill-card-border: rgba(0, 0, 0, 0.1);
    --skill-card-hover-bg: #f0f4f8;
    --skill-card-hover-text: #1e1e1e;
    --skill-card-hover-border: rgba(0, 0, 0, 0.2);
    --skill-card-hover-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    --skill-card-active-bg: #e0e7ff;
    --skill-card-active-text: #000000;
    --skill-card-active-border: #e0e7ff;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    font-size: 16px;
    cursor: default;
}

/* Improved Typography */
p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.text-large {
    font-size: 1.125rem;
    line-height: 1.8;
}

.text-small {
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Clean Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--bg-tertiary);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 15, 15, 0.98);
    box-shadow: var(--shadow-medium);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1rem, 4vw, 2rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo,
.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover,
.nav-logo:hover {
    color: var(--secondary-color);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
}

.logo-subtitle {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-secondary);
    display: block;
}

.nav-links,
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-links a,
.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active,
.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    background-color: var(--bg-secondary);
}

/* Navigation Controls */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.theme-toggle:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

.theme-toggle i {
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-controls {
        order: -1;
        margin-right: 1rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-primary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-medium);
        padding: clamp(1rem, 4vw, 2rem) 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: clamp(0.5rem, 2vw, 1rem) 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr !important;
        gap: clamp(1.5rem, 4vw, 2rem) !important;
        text-align: center !important;
    }
    
    .section-title {
        font-size: clamp(1.5rem, 6vw, 2rem) !important;
        margin-bottom: clamp(1rem, 4vw, 2rem) !important;
    }
    
    .contact-card {
        width: min(95vw, 400px) !important;
        height: auto !important;
        min-height: 280px !important;
    }
}

/* Clean Hero Section */
.hero {
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    background: var(--bg-secondary) !important;
    padding: clamp(1rem, 4vw, 2rem) 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: hidden;
}

/* Global Background Effects */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    animation: backgroundPulse 8s ease-in-out infinite alternate;
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    background-size: 200% 200%;
    animation: gradientShift 10s ease-in-out infinite;
    z-index: -2;
    pointer-events: none;
}

/* Global Floating Particles */
.global-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.global-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: linear-gradient(45deg, #3b82f6, #10b981);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
    animation: heroParticleFloat 6s ease-in-out infinite;
}

.global-particle:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 5s;
}

.global-particle:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 1s;
    animation-duration: 6s;
}

.global-particle:nth-child(3) {
    top: 60%;
    left: 5%;
    animation-delay: 2s;
    animation-duration: 7s;
}

.global-particle:nth-child(4) {
    top: 80%;
    right: 20%;
    animation-delay: 3s;
    animation-duration: 5.5s;
}

.global-particle:nth-child(5) {
    top: 30%;
    left: 50%;
    animation-delay: 4s;
    animation-duration: 6.5s;
}

.global-particle:nth-child(6) {
    bottom: 20%;
    right: 40%;
    animation-delay: 5s;
    animation-duration: 5.8s;
}

.global-particle:nth-child(7) {
    top: 40%;
    left: 25%;
    animation-delay: 6s;
    animation-duration: 7.5s;
}

.global-particle:nth-child(8) {
    top: 70%;
    right: 35%;
    animation-delay: 7s;
    animation-duration: 6.2s;
}

.global-particle:nth-child(9) {
    top: 15%;
    left: 75%;
    animation-delay: 8s;
    animation-duration: 5.3s;
}

.global-particle:nth-child(10) {
    bottom: 30%;
    left: 60%;
    animation-delay: 9s;
    animation-duration: 6.8s;
}

/* Global Grid Lines */
.global-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    z-index: -3;
    pointer-events: none;
}

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

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

@keyframes heroParticleFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translateY(-20px) translateX(10px) scale(1.2);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-10px) translateX(-15px) scale(0.8);
        opacity: 0.6;
    }
    75% {
        transform: translateY(-30px) translateX(5px) scale(1.1);
        opacity: 0.9;
    }
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.hero-container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 clamp(1rem, 4vw, 2rem) !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
}

.hero-content {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: clamp(2rem, 6vw, 4rem) !important;
    align-items: center !important;
    min-height: 80vh !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    padding: 0 clamp(0.5rem, 2vw, 1rem) !important;
}

.hero-text {
    /* animation: fadeInLeft 1s ease-out; */
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: white !important;
}

.hero-image {
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    /* animation: fadeInRight 1s ease-out; */
    visibility: visible !important;
    opacity: 1 !important;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Profile Image Styles */
.profile-image-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    z-index: 10;
}

.profile-image {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 4px solid rgba(0, 212, 255, 0.8) !important;
    box-shadow: 
        0 0 30px rgba(0, 212, 255, 0.6),
        0 0 60px rgba(0, 212, 255, 0.4),
        0 0 90px rgba(0, 212, 255, 0.2),
        inset 0 0 30px rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s ease !important;
    animation: profileGlow 3s ease-in-out infinite alternate, profileFloat 6s ease-in-out infinite !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: none !important;
    z-index: 15 !important;
    position: relative !important;
    filter: brightness(1.1) contrast(1.1) saturate(1.2) !important;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 212, 255, 0.1) 50%, transparent 70%) !important;
    background-size: 200% 200% !important;
    animation: profileGlow 3s ease-in-out infinite alternate, profileFloat 6s ease-in-out infinite, holographicShine 4s linear infinite !important;
}

.profile-ring,
.profile-ring-outer {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(0, 212, 255, 0.3);
    animation: ringRotate 20s linear infinite;
    z-index: 5;
}

/* AI Particle Effects */
.ai-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 8;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #00d4ff, #ffffff);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
    animation: particleFloat 4s ease-in-out infinite;
}

.particle-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 3s;
}

.particle-2 {
    top: 80%;
    left: 20%;
    animation-delay: 0.5s;
    animation-duration: 4s;
}

.particle-3 {
    top: 30%;
    right: 15%;
    animation-delay: 1s;
    animation-duration: 3.5s;
}

.particle-4 {
    top: 70%;
    right: 10%;
    animation-delay: 1.5s;
    animation-duration: 4.5s;
}

.particle-5 {
    top: 10%;
    left: 50%;
    animation-delay: 2s;
    animation-duration: 3.2s;
}

.particle-6 {
    bottom: 10%;
    left: 60%;
    animation-delay: 2.5s;
    animation-duration: 3.8s;
}

.profile-ring {
    width: 320px;
    height: 320px;
    top: -10px;
    left: -10px;
    border-style: dashed;
}

.profile-ring-outer {
    width: 360px;
    height: 360px;
    top: -30px;
    left: -30px;
    border-style: dotted;
    animation-direction: reverse;
    animation-duration: 30s;
}

/* 3D Solar System Animation */
.solar-system {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    perspective: 1000px;
    transform-style: preserve-3d;
    z-index: 15;
}

.orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0, 212, 255, 0.1);
    top: 50%;
    left: 50%;
    transform-style: preserve-3d;
}

.orbit-inner {
    width: 350px;
    height: 350px;
    margin: -175px 0 0 -175px;
    animation: orbitRotate 20s linear infinite;
}

.orbit-middle {
    width: 480px;
    height: 480px;
    margin: -240px 0 0 -240px;
    animation: orbitRotate 30s linear infinite reverse;
}

.orbit-outer {
    width: 610px;
    height: 610px;
    margin: -305px 0 0 -305px;
    animation: orbitRotate 40s linear infinite;
}

.orbit-extended {
    width: 740px;
    height: 740px;
    margin: -370px 0 0 -370px;
    animation: orbitRotate 50s linear infinite reverse;
}

.planet {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 212, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.2);
    transform-style: preserve-3d;
}

.planet-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.planet:hover {
    transform: scale(1.2) translateZ(20px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.5);
    background: rgba(0, 212, 255, 0.1);
}

.planet:hover .planet-logo {
    transform: rotateY(360deg);
}

/* Planet Positioning - Inner Orbit (6 planets) */
.planet-1 { top: -25px; left: 50%; margin-left: -25px; animation: planetFloat 3s ease-in-out infinite; }
.planet-2 { top: 25%; right: -25px; margin-top: -25px; animation: planetFloat 3.5s ease-in-out infinite 0.5s; }
.planet-3 { top: 75%; right: -25px; margin-top: -25px; animation: planetFloat 4s ease-in-out infinite 1s; }
.planet-4 { bottom: -25px; left: 50%; margin-left: -25px; animation: planetFloat 3.2s ease-in-out infinite 1.5s; }
.planet-5 { top: 75%; left: -25px; margin-top: -25px; animation: planetFloat 3.8s ease-in-out infinite 2s; }
.planet-6 { top: 25%; left: -25px; margin-top: -25px; animation: planetFloat 3.3s ease-in-out infinite 2.5s; }

/* Planet Positioning - Middle Orbit (8 planets) */
.planet-7 { top: -25px; left: 50%; margin-left: -25px; animation: planetFloat 4.5s ease-in-out infinite; }
.planet-8 { top: 15%; right: -25px; margin-top: -25px; animation: planetFloat 4.8s ease-in-out infinite 0.6s; }
.planet-9 { top: 50%; right: -25px; margin-top: -25px; animation: planetFloat 5s ease-in-out infinite 1.2s; }
.planet-10 { top: 85%; right: -25px; margin-top: -25px; animation: planetFloat 4.2s ease-in-out infinite 1.8s; }
.planet-11 { bottom: -25px; left: 50%; margin-left: -25px; animation: planetFloat 4.7s ease-in-out infinite 2.4s; }
.planet-12 { top: 85%; left: -25px; margin-top: -25px; animation: planetFloat 4.4s ease-in-out infinite 3s; }
.planet-13 { top: 50%; left: -25px; margin-top: -25px; animation: planetFloat 4.9s ease-in-out infinite 3.6s; }
.planet-14 { top: 15%; left: -25px; margin-top: -25px; animation: planetFloat 4.6s ease-in-out infinite 4.2s; }

/* Planet Positioning - Outer Orbit (9 planets) */
.planet-15 { top: -25px; left: 50%; margin-left: -25px; animation: planetFloat 5.5s ease-in-out infinite; }
.planet-16 { top: 12%; right: -25px; margin-top: -25px; animation: planetFloat 5.8s ease-in-out infinite 0.7s; }
.planet-17 { top: 38%; right: -25px; margin-top: -25px; animation: planetFloat 6s ease-in-out infinite 1.4s; }
.planet-18 { top: 62%; right: -25px; margin-top: -25px; animation: planetFloat 5.2s ease-in-out infinite 2.1s; }
.planet-19 { top: 88%; right: -25px; margin-top: -25px; animation: planetFloat 5.7s ease-in-out infinite 2.8s; }
.planet-20 { bottom: -25px; left: 50%; margin-left: -25px; animation: planetFloat 5.3s ease-in-out infinite 3.5s; }
.planet-21 { top: 88%; left: -25px; margin-top: -25px; animation: planetFloat 5.9s ease-in-out infinite 4.2s; }
.planet-22 { top: 62%; left: -25px; margin-top: -25px; animation: planetFloat 5.4s ease-in-out infinite 4.9s; }
.planet-23 { top: 38%; left: -25px; margin-top: -25px; animation: planetFloat 5.6s ease-in-out infinite 5.6s; }

/* Planet Positioning - Extended Orbit (8 planets) */
.planet-24 { top: -25px; left: 50%; margin-left: -25px; animation: planetFloat 6.5s ease-in-out infinite; }
.planet-25 { top: 20%; right: -25px; margin-top: -25px; animation: planetFloat 6.8s ease-in-out infinite 0.8s; }
.planet-26 { top: 60%; right: -25px; margin-top: -25px; animation: planetFloat 7s ease-in-out infinite 1.6s; }
.planet-27 { bottom: -25px; left: 70%; margin-left: -25px; animation: planetFloat 6.2s ease-in-out infinite 2.4s; }
.planet-28 { bottom: -25px; left: 30%; margin-left: -25px; animation: planetFloat 6.7s ease-in-out infinite 3.2s; }
.planet-29 { top: 60%; left: -25px; margin-top: -25px; animation: planetFloat 6.3s ease-in-out infinite 4s; }
.planet-30 { top: 20%; left: -25px; margin-top: -25px; animation: planetFloat 6.9s ease-in-out infinite 4.8s; }
.planet-31 { top: 12%; left: -25px; margin-top: -25px; animation: planetFloat 6.4s ease-in-out infinite 5.6s; }

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    z-index: 4;
}

.stat-item {
    text-align: center;
    background: var(--bg-secondary);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

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

/* Hero Text Styles */
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.greeting {
    display: block;
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.name {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.role {
    display: block;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 500px;
}

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

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
}

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

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

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

@keyframes profileFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.02);
    }
}

@keyframes profileGlow {
    0% {
        box-shadow: 
            0 0 30px rgba(0, 212, 255, 0.6),
            0 0 60px rgba(0, 212, 255, 0.4),
            0 0 90px rgba(0, 212, 255, 0.2),
            inset 0 0 30px rgba(255, 255, 255, 0.1);
        border-color: rgba(0, 212, 255, 0.8);
    }
    100% {
        box-shadow: 
            0 0 40px rgba(0, 212, 255, 0.8),
            0 0 80px rgba(0, 212, 255, 0.6),
            0 0 120px rgba(0, 212, 255, 0.4),
            inset 0 0 40px rgba(255, 255, 255, 0.2);
        border-color: rgba(0, 212, 255, 1);
    }
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-15px) translateX(10px) scale(1.2);
        opacity: 1;
    }
    50% {
        transform: translateY(-30px) translateX(-5px) scale(0.8);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-10px) translateX(-15px) scale(1.1);
        opacity: 0.9;
    }
}

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

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

@keyframes orbitRotate {
    0% {
        transform: rotateZ(0deg) rotateX(15deg);
    }
    100% {
        transform: rotateZ(360deg) rotateX(15deg);
    }
}

@keyframes planetFloat {
    0%, 100% {
        transform: translateY(0px) rotateY(0deg) translateZ(0px);
        box-shadow: 0 5px 15px rgba(0, 212, 255, 0.2);
    }
    25% {
        transform: translateY(-8px) rotateY(90deg) translateZ(10px);
        box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
    }
    50% {
        transform: translateY(-15px) rotateY(180deg) translateZ(0px);
        box-shadow: 0 12px 25px rgba(0, 212, 255, 0.4);
    }
    75% {
        transform: translateY(-8px) rotateY(270deg) translateZ(-10px);
        box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
    }
}

@keyframes planetPulse {
    0%, 100% {
        border-color: rgba(0, 212, 255, 0.3);
        box-shadow: 0 5px 15px rgba(0, 212, 255, 0.2);
    }
    50% {
        border-color: rgba(0, 212, 255, 0.6);
        box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Removed typing animation and floating elements for cleaner design */

/* Clean Sections */
.section {
    padding: clamp(2rem, 8vw, 4rem) 0;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: clamp(1.5rem, 6vw, 3rem);
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
    padding: 0 clamp(1rem, 4vw, 2rem);
    /* Static section titles - no animations or effects */
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    margin-top: 4rem !important;
    padding-top: 2rem !important;
}

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

/* Clean Cards */
.card-3d {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: clamp(1rem, 4vw, 2rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.card-3d:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-primary);
}

/* Skills Section with 3D Effects */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: clamp(1rem, 4vw, 2rem);
    padding: 0 clamp(0.5rem, 2vw, 1rem);
    margin-top: clamp(1.5rem, 6vw, 3rem);
}

.skill-item {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: clamp(1rem, 4vw, 2rem);
    border: 1px solid rgba(0, 212, 255, 0.2);
    transform-style: preserve-3d;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.skill-item:hover::before {
    opacity: 0.05;
}

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

/* Skill Items Grid Layout */
.skill-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Skill Name Styling */
.skill-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    display: block;
}

.skill-item:hover {
    transform: translateY(-15px) rotateX(10deg) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 212, 255, 0.3);
}

.skill-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-item:hover .skill-icon {
    transform: rotateY(360deg) scale(1.1);
    filter: drop-shadow(0 5px 15px rgba(0, 212, 255, 0.5));
}

.skill-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 5px 15px rgba(0, 212, 255, 0.2));
}

.skill-item:hover .skill-logo {
    transform: scale(1.1) rotateY(10deg);
    filter: drop-shadow(0 10px 25px rgba(0, 212, 255, 0.4));
}

.skill-bar {
    display: none;
}

.skill-level {
    display: none;
}

/* Enhanced Sections - All Tool Categories */
.cloud-platforms-grid,
.devops-tools-grid,
.iac-tools-grid,
.cicd-tools-grid,
.containers-grid,
.monitoring-tools-grid,
.os-tools-grid,
.programming-tools-grid,
.devtools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
    align-items: flex-start;
}

/* Old skill card styles removed - using new theme-aware styles below */

/* Advanced Animation Keyframes */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes cardFloat {
    0%, 100% {
        transform: perspective(1200px) translateY(0px) rotateX(0deg) rotateY(0deg);
    }
    25% {
        transform: perspective(1200px) translateY(-5px) rotateX(2deg) rotateY(-1deg);
    }
    50% {
        transform: perspective(1200px) translateY(-8px) rotateX(0deg) rotateY(2deg);
    }
    75% {
        transform: perspective(1200px) translateY(-3px) rotateX(-1deg) rotateY(-1deg);
    }
}

.platform-icon,
.tool-icon {
    width: 40px;
    height: 40px;
    margin: 0;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.platform-logo,
.tool-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.platform-name,
.tool-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: inherit;
    margin: 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.platform-description,
.tool-description {
    display: none;
}

/* Simple skill name only layout */
.cloud-platform-card,
.devops-tool-card,
.iac-tool-card,
.cicd-tool-card,
.container-tool-card,
.monitoring-tool-card,
.os-tool-card,
.programming-tool-card,
.devtool-card {
    background: var(--skill-card-bg) !important;
    color: var(--skill-card-text) !important;
    border-radius: 25px;
    padding: 0.8rem 1.2rem;
    border: 1px solid var(--skill-card-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
    height: auto;
    min-height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex: 0 0 auto;
    width: auto;
    margin: 0.3rem;
    cursor: pointer;
    box-shadow: var(--shadow-light);
    /* Safari hover fix */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

/* Hover states with theme awareness */
.cloud-platform-card:hover,
.devops-tool-card:hover,
.iac-tool-card:hover,
.cicd-tool-card:hover,
.container-tool-card:hover,
.monitoring-tool-card:hover,
.os-tool-card:hover,
.programming-tool-card:hover,
.devtool-card:hover {
    background: var(--skill-card-hover-bg) !important;
    color: var(--skill-card-hover-text) !important;
    border-color: var(--skill-card-hover-border);
    box-shadow: var(--skill-card-hover-shadow);
    transform: translateY(-2px) scale(1.02);
}

/* Active states */
.cloud-platform-card:active,
.devops-tool-card:active,
.iac-tool-card:active,
.cicd-tool-card:active,
.container-tool-card:active,
.monitoring-tool-card:active,
.os-tool-card:active,
.programming-tool-card:active,
.devtool-card:active {
    background: var(--skill-card-active-bg);
    color: var(--skill-card-active-text);
    border-color: var(--skill-card-active-border);
    transform: translateY(0) scale(1);
    transition: all 0.1s ease;
}

/* Focus states for accessibility */
.cloud-platform-card:focus,
.devops-tool-card:focus,
.iac-tool-card:focus,
.cicd-tool-card:focus,
.container-tool-card:focus,
.monitoring-tool-card:focus,
.os-tool-card:focus,
.programming-tool-card:focus,
.devtool-card:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    background: var(--skill-card-hover-bg);
    color: var(--skill-card-hover-text);
}

/* Safari-specific hover reset */
@media (hover: hover) and (pointer: fine) {
    .cloud-platform-card:not(:hover):not(:active):not(:focus),
    .devops-tool-card:not(:hover):not(:active):not(:focus),
    .iac-tool-card:not(:hover):not(:active):not(:focus),
    .cicd-tool-card:not(:hover):not(:active):not(:focus),
    .container-tool-card:not(:hover):not(:active):not(:focus),
    .monitoring-tool-card:not(:hover):not(:active):not(:focus),
    .os-tool-card:not(:hover):not(:active):not(:focus),
    .programming-tool-card:not(:hover):not(:active):not(:focus),
    .devtool-card:not(:hover):not(:active):not(:focus) {
        background: var(--skill-card-bg);
        color: var(--skill-card-text);
        border-color: var(--skill-card-border);
        box-shadow: var(--shadow-light);
        transform: translateY(0) scale(1);
    }
}

.platform-icon,
.tool-icon {
    width: 20px;
    height: 20px;
    margin: 0;
    flex-shrink: 0;
}

.platform-name,
.tool-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: inherit;
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.tool-content {
    display: contents;
}

.cloud-platform-card:hover .platform-logo,
.devops-tool-card:hover .tool-logo,
.iac-tool-card:hover .tool-logo,
.cicd-tool-card:hover .tool-logo,
.container-tool-card:hover .tool-logo,
.monitoring-tool-card:hover .tool-logo,
.os-tool-card:hover .tool-logo,
.programming-tool-card:hover .tool-logo,
.devtool-card:hover .tool-logo {
    transform: scale(1.15) rotateY(15deg) rotateX(5deg) rotateZ(2deg);
    filter: drop-shadow(0 15px 35px rgba(0, 212, 255, 0.6)) brightness(1.1);
    animation: logoSpin 2s ease-in-out infinite;
}

/* Logo spinning animation */
@keyframes logoSpin {
    0%, 100% {
        transform: scale(1.15) rotateY(15deg) rotateX(5deg) rotateZ(2deg);
    }
    50% {
        transform: scale(1.2) rotateY(-10deg) rotateX(-3deg) rotateZ(-2deg);
    }
}

/* Content wrapper - not needed for compact layout */
.tool-content {
    display: contents;
}

.platform-name,
.tool-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    position: relative;
    z-index: 2;
    line-height: 1.3;
}

.platform-description,
.tool-description {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
    position: relative;
    z-index: 2;
}

.skill-level {
    display: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    position: relative;
    z-index: 2;
}

/* Responsive adjustments for enhanced sections */
@media (max-width: 768px) {
    .cloud-platforms-grid,
    .devops-tools-grid,
    .iac-tools-grid,
    .cicd-tools-grid,
    .containers-grid,
    .monitoring-tools-grid,
    .os-tools-grid,
    .programming-tools-grid,
    .devtools-grid {
        gap: 0.4rem;
        margin-top: 1rem;
    }
    
    .cloud-platform-card,
    .devops-tool-card,
    .iac-tool-card,
    .cicd-tool-card,
    .container-tool-card,
    .monitoring-tool-card,
    .os-tool-card,
    .programming-tool-card,
    .devtool-card {
        padding: 0.6rem 1rem;
        margin: 0.2rem;
        gap: 0.4rem;
    }
    
    .platform-icon,
    .tool-icon {
        width: 18px;
        height: 18px;
    }
    
    .platform-name,
    .tool-name {
        font-size: 0.85rem;
    }
}

/* Hero Section Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-text {
        order: 2;
    }
    
    .hero-image {
        order: 1;
    }
    
    .image-container {
        max-width: 400px;
        height: 400px;
    }
    
    .profile-image-wrapper {
        width: 250px;
        height: 250px;
    }
    
    .profile-ring {
        width: 270px;
        height: 270px;
    }
    
    .profile-ring-outer {
        width: 300px;
        height: 300px;
    }
    
    .tech-icon {
        width: 50px;
        height: 50px;
    }
    
    .floating-tech-logo {
        width: 28px;
        height: 28px;
    }
    
    .hero-stats {
        position: static;
        transform: none;
        justify-content: flex-start;
        margin-top: 2rem;
    }
    
    /* Solar System Tablet Adjustments */
    .solar-system {
        transform: scale(0.85);
    }
    
    .orbit-inner {
        width: 240px;
        height: 240px;
        margin: -120px 0 0 -120px;
    }
    
    .orbit-middle {
        width: 320px;
        height: 320px;
        margin: -160px 0 0 -160px;
    }
    
    .orbit-outer {
        width: 400px;
        height: 400px;
        margin: -200px 0 0 -200px;
    }
    
    .orbit-extended {
        width: 480px;
        height: 480px;
        margin: -240px 0 0 -240px;
    }
    
    .planet {
        width: 45px;
        height: 45px;
    }
    
    .planet-logo {
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 1rem 0;
    }
    
    .hero-container {
        padding: 0 1rem;
    }
    
    .hero-content {
        gap: 2rem;
        min-height: auto;
    }
    
    .image-container {
        max-width: 300px;
        height: 300px;
    }
    
    .profile-image-wrapper {
        width: 200px;
        height: 200px;
    }
    
    .profile-ring {
        width: 220px;
        height: 220px;
    }
    
    .profile-ring-outer {
        width: 250px;
        height: 250px;
    }
    
    .tech-icon {
        width: 40px;
        height: 40px;
    }
    
    .floating-tech-logo {
        width: 22px;
        height: 22px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .stat-item {
        padding: 0.75rem 1rem;
        min-width: 120px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .hero-description {
        max-width: none;
    }
    
    /* Solar System Responsive Adjustments */
    .solar-system {
        transform: scale(0.7);
    }
    
    .orbit-inner {
        width: 200px;
        height: 200px;
        margin: -100px 0 0 -100px;
    }
    
    .orbit-middle {
        width: 280px;
        height: 280px;
        margin: -140px 0 0 -140px;
    }
    
    .orbit-outer {
        width: 360px;
        height: 360px;
        margin: -180px 0 0 -180px;
    }
    
    .orbit-extended {
        width: 440px;
        height: 440px;
        margin: -220px 0 0 -220px;
    }
    
    .planet {
        width: 40px;
        height: 40px;
    }
    
    .planet-logo {
        width: 22px;
        height: 22px;
    }
}

/* Projects Section with Advanced 3D Cards */
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 10px;
    margin-bottom: 40px;
}

/* Project Filters */
.projects-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
    gap: clamp(1.5rem, 5vw, 3rem);
    margin-top: clamp(1.5rem, 6vw, 3rem);
    padding: 0 clamp(0.5rem, 2vw, 1rem);
}

.project-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transform-style: preserve-3d;
    transition: all 0.5s ease;
    position: relative;
    cursor: pointer;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 1;
}

.project-card:hover {
    transform: translateY(-30px) rotateX(15deg) rotateY(5deg) scale(1.05);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.8),
        0 0 50px rgba(0, 212, 255, 0.4),
        inset 0 0 50px rgba(0, 212, 255, 0.1);
}

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

/* Project Image and Demo Preview */
.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.project-demo-preview {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Terminal Demo */
.demo-terminal {
    background: #1e1e1e;
    border-radius: 8px;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.terminal-header {
    background: #2d2d2d;
    padding: 10px 15px;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27ca3f; }

.terminal-title {
    color: #ccc;
    font-size: 0.8rem;
    margin-left: auto;
}

.terminal-content {
    padding: 15px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
}

.terminal-line {
    color: #00ff00;
    margin-bottom: 5px;
}

.terminal-line.success {
    color: #00ff00;
}

/* Dashboard Demo */
.demo-dashboard {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    width: 100%;
    max-width: 350px;
    backdrop-filter: blur(10px);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.dashboard-header h4 {
    color: var(--text-primary);
    font-size: 0.9rem;
    margin: 0;
}

.status-indicator {
    color: #00ff00;
    font-size: 1.2rem;
}

.dashboard-metrics {
    display: flex;
    gap: 15px;
}

.metric-card {
    flex: 1;
    text-align: center;
}

.metric-title {
    color: var(--text-muted);
    font-size: 0.7rem;
    display: block;
    margin-bottom: 8px;
}

.metric-chart {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 2px;
    height: 30px;
    margin-bottom: 5px;
}

.chart-bar {
    width: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    animation: chartPulse 2s ease-in-out infinite;
}

@keyframes chartPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.progress-ring {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: conic-gradient(var(--primary-color) var(--progress, 0%), rgba(255, 255, 255, 0.1) 0%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 5px;
}

.metric-value {
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: 600;
}

/* Pipeline Demo */
.demo-pipeline {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    width: 100%;
    max-width: 350px;
    backdrop-filter: blur(10px);
}

.pipeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.pipeline-header h4 {
    color: var(--text-primary);
    font-size: 0.9rem;
    margin: 0;
}

.pipeline-status {
    background: #ff9500;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

.pipeline-status.running {
    background: #ff9500;
    animation: pulse 2s infinite;
}

.pipeline-stages {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.stage-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.stage.completed .stage-icon {
    background: #00ff00;
    color: white;
}

.stage.running .stage-icon {
    background: #ff9500;
    color: white;
    animation: spin 2s linear infinite;
}

.stage.pending .stage-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-muted);
}

.stage-name {
    color: var(--text-muted);
    font-size: 0.7rem;
}

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

/* Security Demo */
.demo-security {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    width: 100%;
    max-width: 350px;
    backdrop-filter: blur(10px);
}

.security-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.security-header h4 {
    color: var(--text-primary);
    font-size: 0.9rem;
    margin: 0;
}

.security-status {
    background: #00ff00;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

.security-metrics {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.security-icon {
    font-size: 1rem;
}

.security-text {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Project Overlay */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.project-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.project-link {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.project-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

/* Project Content */
.project-content {
    padding: 30px;
    position: relative;
    z-index: 2;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.project-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

.project-status {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-end;
}

.status-badge {
    background: #00ff00;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.production {
    background: #00ff00;
}

.project-impact {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
}

.project-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Project Metrics */
.project-metrics {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.metric {
    text-align: center;
    flex: 1;
}

.metric-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.metric-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Specific tech tag colors */
.tech-tag.aws { background: linear-gradient(45deg, #ff9900, #ff6600); }
.tech-tag.azure { background: linear-gradient(45deg, #0078d4, #005a9e); }
.tech-tag.terraform { background: linear-gradient(45deg, #623ce4, #4b2db8); }
.tech-tag.kubernetes { background: linear-gradient(45deg, #326ce5, #1a4db8); }
.tech-tag.docker { background: linear-gradient(45deg, #2496ed, #1a7bb8); }
.tech-tag.jenkins { background: linear-gradient(45deg, #d33833, #a82c27); }
.tech-tag.prometheus { background: linear-gradient(45deg, #e6522c, #b8421f); }
.tech-tag.grafana { background: linear-gradient(45deg, #f46800, #c5530a); }
.tech-tag.python { background: linear-gradient(45deg, #3776ab, #2d5d8a); }
.tech-tag.security { background: linear-gradient(45deg, #ff4757, #c44569); }
.tech-tag.vault { background: linear-gradient(45deg, #000000, #333333); }

.tech-tag::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;
}

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

.tech-tag:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: scale(1.05);
}

/* Demo Modal */
.demo-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.demo-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-modal-content {
    background: var(--bg-primary);
    border-radius: 20px;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.demo-modal-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-modal-header h3 {
    color: var(--text-primary);
    margin: 0;
    font-size: 1.3rem;
}

.demo-close {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.demo-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.demo-modal-body {
    padding: 30px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Project Card Filtering */
.project-card.hidden {
    display: none;
}

.project-card.show {
    animation: fadeInUp 0.6s ease forwards;
}

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

/* Interactive Contact Card */
.contact-card-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: clamp(2rem, 8vw, 4rem);
    perspective: 1000px;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.contact-card {
    width: min(680px, 95vw);
    height: clamp(360px, 50vw, 420px);
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    margin-bottom: clamp(1.5rem, 6vw, 3rem);
}

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

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 2rem;
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.1) 0%, 
        var(--bg-secondary) 50%, 
        rgba(0, 150, 255, 0.1) 100%);
    border: 1px solid rgba(0, 212, 255, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(0, 212, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, 
        rgba(0, 150, 255, 0.1) 0%, 
        rgba(26, 26, 26, 0.95) 50%, 
        rgba(0, 212, 255, 0.1) 100%);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.8rem;
}

.card-logo {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

.card-company {
    text-align: right;
    flex: 1;
    margin-left: 1rem;
}

.company-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.company-tagline {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-body {
    flex: 1;
}

.card-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.2rem 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.card-title {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0 0 0.8rem 0;
    font-weight: 500;
    line-height: 1.3;
}

.card-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    overflow: hidden;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-primary);
    line-height: 1.2;
    min-height: 1.2rem;
}

.contact-row i {
    width: 12px;
    color: var(--primary-color);
    font-size: 0.7rem;
}

.card-footer {
    margin-top: 0.8rem;
}

.card-skills {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
    max-height: 3rem;
    overflow: hidden;
}

.skill-tag {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--primary-color);
    padding: 0.15rem 0.4rem;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
    white-space: nowrap;
}

/* Card Back Styles */
.card-back-content h4 {
    color: var(--primary-color);
    margin: 0 0 0.6rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
}

.card-back-content p {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin: 0 0 0.8rem 0;
    line-height: 1.3;
}

.expertise-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    max-height: 8rem;
    overflow: hidden;
}

.expertise-list li {
    color: var(--text-primary);
    font-size: 0.7rem;
    margin-bottom: 0.2rem;
    padding-left: 0.8rem;
    position: relative;
    line-height: 1.2;
}

.expertise-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.6rem;
}

.achievements {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.achievement {
    text-align: center;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    padding: 0.5rem;
    flex: 1;
}

.achievement-number {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.achievement-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card Actions */
.card-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.card-flip-btn,
.card-download-btn {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.card-flip-btn:hover,
.card-download-btn:hover {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

.card-flip-btn i,
.card-download-btn i {
    font-size: 0.8rem;
}

/* Card Hover Effects */
.contact-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.contact-card.flipped:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(180deg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-card {
        width: 480px;
        height: 330px;
        margin-bottom: 2.5rem;
    }
    
    .card-front,
    .card-back {
        padding: 1.5rem;
    }
    
    .card-name {
        font-size: 1.5rem;
    }
    
    .card-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
        margin-bottom: 1.5rem !important;
        width: 100% !important;
    }
    
    .card-flip-btn,
    .card-download-btn {
        width: 220px !important;
        max-width: 220px !important;
        justify-content: center !important;
        margin: 0 auto !important;
        display: flex !important;
        align-items: center !important;
        position: relative !important;
    }
}

/* Additional fix for button overlap in mid-range screens */
@media (max-width: 900px) and (min-width: 481px) {
    .card-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
        margin-bottom: 1.5rem !important;
        width: 100% !important;
    }
    
    .card-flip-btn,
    .card-download-btn {
        width: 240px !important;
        max-width: 240px !important;
        justify-content: center !important;
        margin: 0 auto !important;
        display: flex !important;
        align-items: center !important;
        position: relative !important;
    }
}

@media (max-width: 480px) {
    .contact-card {
        width: 420px;
        height: 290px;
        margin-bottom: 2rem;
    }
    
    .card-actions {
        gap: 0.6rem !important;
        margin-bottom: 1rem !important;
    }
    
    .card-flip-btn,
    .card-download-btn {
        width: 180px !important;
        padding: 0.7rem 1.2rem !important;
        font-size: 0.85rem !important;
        margin: 0 !important;
    }

/* Interactive Skill Tooltips */
.skill-tooltip {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 250px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.skill-tooltip::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
}

.tooltip-content h4 {
    margin: 0 0 0.5rem 0;
    color: #64ffda;
    font-size: 1.1rem;
}

.tooltip-content p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

.tooltip-description {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #ccc;
}

.skill-item {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px) scale(1.02);
}

.skill-item.expanded {
    background: rgba(100, 255, 218, 0.1);
    border-color: #64ffda;
}

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

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

/* Achievement Notifications */
.achievement-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 10000;
    max-width: 300px;
}

.achievement-notification.show {
    transform: translateX(0);
}

.achievement-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.achievement-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.achievement-text h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    color: #fff;
}

.achievement-text p {
    margin: 0.125rem 0;
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Enhanced Project Cards */
.project-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-card:focus {
    outline: 2px solid #64ffda;
    outline-offset: 2px;
}

.project-card:active {
    transform: scale(0.98);
}
    
    .card-front,
    .card-back {
        padding: 1rem;
    }
    
    .card-name {
        font-size: 1.3rem;
    }
    
    .contact-row {
        font-size: 0.75rem;
    }
}

/* Clean Contact Section */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-form:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

/* Form Row Layout */
.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

/* Select Dropdown Styling */
.form-group select {
    width: 100%;
    padding: 0.875rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a0a0a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.875rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.form-group select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group select option {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 0.5rem;
}

/* Checkbox Styling */
.checkbox-group {
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 1.25rem;
    height: 1.25rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.checkbox-label:hover .checkmark {
    border-color: var(--accent-primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 0.375rem;
    top: 0.125rem;
    width: 0.375rem;
    height: 0.625rem;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Enhanced Button with Icon */
.btn-primary i {
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

/* Responsive Form Layout */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-row .form-group {
        margin-bottom: 1.5rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 1.5rem 1rem;
    }
    
    .checkbox-label {
        font-size: 0.85rem;
    }
}

/* Clean Buttons */
.btn-primary {
    background: var(--accent-primary);
    color: white;
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    background: transparent;
    color: var(--accent-primary);
    padding: 0.875rem 1.75rem;
    border: 1px solid var(--accent-primary);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 212, 255, 0.2);
    z-index: 9999;
}

.scroll-progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    width: 0;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px var(--primary-color);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    transform-style: preserve-3d;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) rotateZ(0deg);
}

.scroll-to-top:hover {
    transform: translateY(-5px) rotateZ(360deg) scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.5);
}

/* Custom cursor removed for better performance */

/* Responsive Design */
/* Tablet Styles */
@media (max-width: 1024px) {
    .hero-content {
        gap: clamp(2rem, 5vw, 3rem);
        padding: 0 clamp(1rem, 3vw, 1.5rem) !important;
    }
    
    .section-title {
        font-size: clamp(1.6rem, 4vw, 2rem);
        padding: 0 clamp(1rem, 3vw, 1.5rem);
    }
    
    .skills-grid,
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(280px, 90vw), 1fr));
        gap: clamp(1.2rem, 3vw, 2rem);
        padding: 0 clamp(0.75rem, 2vw, 1rem);
    }
    
    .container {
        padding: 0 clamp(1rem, 3vw, 1.5rem);
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: clamp(1.5rem, 4vw, 2rem);
        text-align: center;
    }
    
    .hero h1 {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }
    
    .hero-title .greeting,
    .hero-title .name,
    .hero-title .role {
        display: block;
        margin-bottom: clamp(0.3rem, 1vw, 0.5rem);
    }
    
    .hero-title .name {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }
    
    .hero-title .role {
        font-size: clamp(1.2rem, 4vw, 1.5rem);
    }
    
    .section {
        padding: clamp(2rem, 6vw, 3rem) 0;
    }
    
    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
        padding: 0 clamp(0.5rem, 2vw, 1rem);
    }
    
    .card-3d:hover,
    .project-card:hover {
        transform: translateY(-10px) scale(1.02);
    }
    
    .card-3d,
    .project-card {
        padding: clamp(1rem, 3vw, 1.5rem);
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* Animate-in class for interactive features - but not for section titles */
.animate-in:not(.section-title) {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

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

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

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

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

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease;
}

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

/* Loading Animation */
.loading {
    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: all 0.5s ease;
}

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

.loader {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(0, 212, 255, 0.2);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Notification System */
.notification {
    position: fixed;
    top: 100px;
    right: 2rem;
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-glow);
    transform: translateX(400px);
    transition: all 0.4s ease;
    z-index: 9999;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.notification.error {
    background: linear-gradient(135deg, #f44336, #da190b);
}

/* Enhanced Footer */
.footer {
    background: rgba(12, 12, 12, 0.95);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-primary);
    animation: footerGlow 3s ease-in-out infinite alternate;
}

@keyframes footerGlow {
    0% { opacity: 0.3; }
    100% { opacity: 1; }
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: all 0.4s ease;
    transform-style: preserve-3d;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-10px) rotateY(360deg) scale(1.2);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.4);
}

/* Project Showcase Enhancements */
.project-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: 25px;
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

.project-search {
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: var(--text-primary);
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-width: 250px;
}

.project-search:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.project-search::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Demo Modal Styles */
.demo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

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

.demo-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border-radius: 20px;
    border: 2px solid rgba(0, 212, 255, 0.3);
    overflow: hidden;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.demo-modal.active .demo-modal-content {
    transform: scale(1);
}

.demo-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: rgba(0, 212, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-title {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin: 0;
}

.demo-close {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.demo-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.demo-modal-body {
    height: calc(90vh - 100px);
    overflow: hidden;
}

.demo-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-tab {
    flex: 1;
    padding: 1rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.demo-tab.active {
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
}

.demo-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.demo-content {
    height: calc(100% - 60px);
    overflow-y: auto;
}

.demo-panel {
    display: none;
    padding: 2rem;
    height: 100%;
    overflow-y: auto;
}

.demo-panel.active {
    display: block;
}

/* Demo Overview Styles */
.project-overview {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: start;
}

.demo-image {
    width: 100%;
    border-radius: 10px;
    border: 2px solid rgba(0, 212, 255, 0.3);
}

.project-details h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.project-details p {
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.project-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Demo Features Styles */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.feature-item p {
    color: var(--text-primary);
    line-height: 1.5;
}

/* Demo Architecture Styles */
.architecture-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
}

.arch-component {
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 2px solid rgba(0, 212, 255, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.arch-component:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.3);
}

.component-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.arch-component h6 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.arch-component p {
    color: var(--text-primary);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Demo Simulation Styles */
.simulation-dashboard {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.simulation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.simulation-header h4 {
    color: var(--primary-color);
    margin: 0;
}

.simulation-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #4CAF50;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.metric-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.2);
}

.metric-card h5 {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.metric-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.metric-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.metric-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.simulation-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.sim-btn {
    padding: 0.8rem 1.5rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 25px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.sim-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
}

.deployment-log {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.deployment-log h5 {
    color: var(--primary-color);
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
}

.log-container {
    max-height: 200px;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.log-entry {
    color: #00ff00;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0;
    border-left: 2px solid transparent;
    padding-left: 0.5rem;
    animation: logEntry 0.3s ease;
}

.log-entry:last-child {
    border-left-color: var(--primary-color);
}

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

/* Responsive Design for Demo Modal */
@media (max-width: 768px) {
    .demo-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .demo-tabs {
        flex-wrap: wrap;
    }
    
    .demo-tab {
        flex: 1 1 50%;
        min-width: 120px;
    }
    
    .project-overview {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .architecture-flow {
        grid-template-columns: 1fr;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .simulation-actions {
        flex-direction: column;
    }
    
    .project-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .project-search {
        min-width: auto;
        width: 100%;
    }
}

/* Performance Optimizations */
.will-change {
    will-change: transform, opacity;
}

.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}



/* Experience Section Styles */
.experience-grid{display:grid;grid-template-columns:1fr;gap:2rem;margin-top:3rem}.experience-card{background:linear-gradient(135deg,var(--bg-secondary) 0%,rgba(59,130,246,0.05) 100%);border:2px solid rgba(59,130,246,0.2);border-radius:12px;padding:2rem;position:relative;overflow:hidden;transition:all 0.3s ease;box-shadow:var(--shadow-md)}.experience-card:hover{transform:translateY(-5px);border-color:var(--primary-color);box-shadow:var(--shadow-lg)}.experience-card.current-role{border:2px solid var(--primary-color);background:linear-gradient(135deg,var(--bg-secondary) 0%,rgba(59,130,246,0.1) 100%)}.experience-card.current-role::before{content:'';position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(59,130,246,0.1),transparent);animation:shimmer 3s infinite}.experience-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem}.experience-icon{width:50px;height:50px;background:linear-gradient(135deg,var(--primary-color),var(--accent-color));border-radius:12px;display:flex;align-items:center;justify-content:center;color:white;font-size:1.2rem;box-shadow:0 4px 15px rgba(59,130,246,0.3)}.experience-date{background:rgba(59,130,246,0.1);color:var(--primary-color);padding:0.5rem 1rem;border-radius:20px;font-size:0.9rem;font-weight:600;border:1px solid rgba(59,130,246,0.2)}.experience-content h3{color:var(--primary-color);font-size:1.3rem;font-weight:700;margin-bottom:0.5rem}.experience-content h4{color:var(--text-primary);font-size:1.1rem;font-weight:600;margin-bottom:0.3rem}.experience-location{color:var(--text-secondary);font-size:0.9rem;margin-bottom:1.5rem;font-style:italic}.experience-achievements{list-style:none;padding:0;margin:0}.experience-achievements li{display:flex;align-items:flex-start;gap:0.75rem;padding:0.75rem 0;color:var(--text-secondary);font-size:0.95rem;line-height:1.6;border-bottom:1px solid rgba(255,255,255,0.1);transition:all 0.3s ease}.experience-achievements li:last-child{border-bottom:none}.experience-achievements li:hover{color:var(--primary-color);transform:translateX(5px)}.experience-achievements li::before{content:'▶';color:var(--primary-color);font-size:0.8rem;margin-top:0.2rem;flex-shrink:0}@media (max-width:768px){.experience-grid{grid-template-columns:1fr;gap:1.5rem}.experience-card{padding:1.5rem}.experience-header{flex-direction:column;align-items:flex-start;gap:1rem}.experience-icon{width:40px;height:40px;font-size:1rem}}

/* AI-Enhanced Education Section Styles */
.education-card.ai-enhanced {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(59, 130, 246, 0.05) 100%);
    border: 2px solid rgba(59, 130, 246, 0.2);
    position: relative;
    overflow: hidden;
    padding: 2.5rem;
}

.education-card.ai-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.ai-pulse {
    animation: aiPulse 2s ease-in-out infinite;
    color: var(--primary-color);
}

@keyframes aiPulse {
    0%, 100% { 
        transform: scale(1);
        color: var(--primary-color);
    }
    50% { 
        transform: scale(1.1);
        color: var(--accent-color);
        text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    }
}

.ai-specialization {
    margin: 1.5rem 0;
    text-align: center;
}

.specialization-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: var(--shadow-medium);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.specialization-badge i {
    color: #ffd700;
    font-size: 1.1rem;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: var(--shadow-medium);
}

.ai-badge.floating {
    animation: floating 3s ease-in-out infinite;
}

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

.curriculum-highlights {
    margin: 2rem 0;
}

.curriculum-title {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    text-align: center;
}

.semester-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.semester-card {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.semester-card h5 {
    color: var(--primary-color);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(59, 130, 246, 0.2);
}

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

.subject-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.subject-list li:last-child {
    border-bottom: none;
}

.subject-list li:hover {
    color: var(--primary-color);
    transform: translateX(10px);
}

.subject-list li i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.education-achievements {
    margin: 2rem 0;
}

.achievement-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.achievement-item:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateX(5px);
}

.achievement-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.education-summary {
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.ai-focus-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: justify;
    margin: 0;
}

.ai-focus-description::first-letter {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
    float: left;
    line-height: 1;
    margin-right: 0.1em;
    margin-top: 0.1em;
}

.bounce-in {
    animation: bounceIn 0.8s ease-out;
    animation-fill-mode: both;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(50px);
    }
    50% {
        opacity: 1;
        transform: scale(1.05) translateY(-10px);
    }
    70% {
        transform: scale(0.95) translateY(5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

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

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

/* Responsive Design for AI Education Section */
@media (max-width: 768px) {
    .semester-grid {
        grid-template-columns: 1fr;
    }
    
    .ai-tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .achievement-item {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .ai-tools-grid {
        grid-template-columns: 1fr;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .scroll-to-top,
    .particle-container,
    .floating-elements {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .section {
        page-break-inside: avoid;
    }
}