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



/* Browser compatibility fallbacks */
@supports not (display: grid) {
    .projects-grid {
        display: flex;
        flex-wrap: wrap;
    }
    
    .project-card {
        flex: 1 1 300px;
        margin: 1rem;
    }
}

@supports not (backdrop-filter: blur(10px)) {
    .nav-menu {
        background: rgba(0, 0, 0, 0.95) !important;
    }
    
    .project-overlay {
        background: rgba(0, 0, 0, 0.9) !important;
    }
}

/* Enhanced box-sizing for all major layout elements */
.section,
.container,
.grid,
[class*="grid"],
[class*="container"],
.card,
[class*="card"],
.item,
[class*="item"],
.project-card,
.certificate-card,
.category-card,
.info-item,
.stat-item,
.badge-item,
.timeline-item,
.milestone-card,
.skill-item,
.design-card,
.achievement-card {
    box-sizing: border-box;
    width: 100%;
}

/* Ensure all flex and grid children don't overflow */
.projects-grid > *,
.skills-categories > *,
.certificates-grid > *,
.about-info > *,
.design-stats > *,
.holographic-grid > *,
.contact-container > * {
    min-width: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

/* =============== CUSTOM SCROLLBAR DESIGN =============== */

/* Webkit Scrollbar Styling (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
    position: relative;
}

::-webkit-scrollbar-track::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(100, 255, 218, 0.2) 25%, 
        rgba(100, 255, 218, 0.4) 50%, 
        rgba(100, 255, 218, 0.2) 75%, 
        transparent 100%);
    animation: scrollTrackGlow 3s ease-in-out infinite;
}

@keyframes scrollTrackGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, 
        rgba(100, 255, 218, 0.8) 0%, 
        rgba(0, 188, 212, 0.9) 30%, 
        rgba(100, 255, 218, 1) 50%, 
        rgba(0, 188, 212, 0.9) 70%, 
        rgba(100, 255, 218, 0.8) 100%);
    border-radius: 10px;
    border: 1px solid rgba(100, 255, 218, 0.3);
    box-shadow: 
        0 0 10px rgba(100, 255, 218, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, 
        rgba(100, 255, 218, 1) 0%, 
        rgba(0, 188, 212, 1) 30%, 
        rgba(100, 255, 218, 1) 50%, 
        rgba(0, 188, 212, 1) 70%, 
        rgba(100, 255, 218, 1) 100%);
    box-shadow: 
        0 0 20px rgba(100, 255, 218, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    transform: scaleX(1.1);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(100, 255, 218, 1) 20%, 
        rgba(0, 188, 212, 1) 50%, 
        rgba(100, 255, 218, 1) 80%, 
        rgba(255, 255, 255, 0.9) 100%);
    box-shadow: 
        0 0 25px rgba(100, 255, 218, 1),
        inset 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: scaleX(1.2);
}

/* Scrollbar Corner */
::-webkit-scrollbar-corner {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

/* Firefox Scrollbar Styling */
html {
    scrollbar-width: thin;
    scrollbar-color: rgba(100, 255, 218, 0.8) rgba(26, 26, 26, 0.8);
}

/* Enhanced Scrollbar with Animated Elements */
::-webkit-scrollbar-track {
    position: relative;
    overflow: hidden;
}

::-webkit-scrollbar-track::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 8px,
        rgba(100, 255, 218, 0.1) 8px,
        rgba(100, 255, 218, 0.1) 9px
    );
    animation: scrollPattern 2s linear infinite;
}

@keyframes scrollPattern {
    0% { transform: translateY(0); }
    100% { transform: translateY(18px); }
}

/* Scrollbar Thumb with Pulse Effect */
::-webkit-scrollbar-thumb::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.3) 0%, 
        transparent 30%, 
        transparent 70%, 
        rgba(255, 255, 255, 0.3) 100%);
    border-radius: 8px;
    animation: scrollThumbPulse 2s ease-in-out infinite;
}

@keyframes scrollThumbPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

/* Section-Specific Scrollbar Variations */
.skills::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, 
        rgba(255, 193, 7, 0.8) 0%, 
        rgba(255, 152, 0, 0.9) 50%, 
        rgba(255, 193, 7, 0.8) 100%);
}

.projects::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, 
        rgba(76, 175, 80, 0.8) 0%, 
        rgba(139, 195, 74, 0.9) 50%, 
        rgba(76, 175, 80, 0.8) 100%);
}

.contact::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, 
        rgba(156, 39, 176, 0.8) 0%, 
        rgba(233, 30, 99, 0.9) 50%, 
        rgba(156, 39, 176, 0.8) 100%);
}

/* Scrollbar Progress Indicator */
/* .scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(26, 26, 26, 0.8);
    z-index: 9999;
    backdrop-filter: blur(10px);
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, 
        #64ffda 0%, 
        #00bcd4 25%, 
        #64ffda 50%, 
        #00bcd4 75%, 
        #64ffda 100%);
    background-size: 200% 100%;
    width: 0%;
    transition: width 0.1s ease;
    animation: scrollProgressGlow 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.5);
}

@keyframes scrollProgressGlow {
    0%, 100% { 
        background-position: 0% 0%;
        box-shadow: 0 0 10px rgba(100, 255, 218, 0.5);
    }
    50% { 
        background-position: 100% 0%;
        box-shadow: 0 0 20px rgba(100, 255, 218, 0.8);
    }
} */

/* =============== CREATIVE TOUCH EFFECTS FOR MOBILE =============== */

/* Touch Ripple Effect */
.touch-ripple {
    position: fixed;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.4) 0%, rgba(100, 255, 218, 0.1) 40%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    animation: touchRippleEffect 0.8s ease-out forwards;
}

@keyframes touchRippleEffect {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(4);
        opacity: 0;
    }
}

/* Touch Particles */
.touch-particle {
    position: fixed;
    width: 4px;
    height: 4px;
    background: #64ffda;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    animation: touchParticleFloat 1.2s ease-out forwards;
}

@keyframes touchParticleFloat {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(0) rotate(360deg);
        opacity: 0;
    }
}

/* Touch Wave Effect */
.touch-wave {
    position: fixed;
    border: 2px solid rgba(100, 255, 218, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    animation: touchWaveEffect 1s ease-out forwards;
}

@keyframes touchWaveEffect {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
        transform: translate(-50%, -50%);
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
        transform: translate(-50%, -50%);
    }
}

/* Enhanced Touch Feedback for Interactive Elements */
.touch-feedback {
    position: relative;
    overflow: hidden;
}

.touch-feedback::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.touch-feedback.active::after {
    width: 100%;
    height: 100%;
    padding-bottom: 100%;
}

/* Pulse effect for long press */
.long-press-pulse {
    animation: longPressPulse 0.6s ease-in-out;
}

@keyframes longPressPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(100, 255, 218, 0.4);
    }
}

/* Stat item ripple effect animation */
@keyframes statRippleEffect {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* Touch glow effect */
.touch-glow {
    position: fixed;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9996;
    transform: translate(-50%, -50%);
    animation: touchGlowEffect 1.5s ease-out forwards;
}

@keyframes touchGlowEffect {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.4;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Performance Optimizations for Low-End Devices */
.low-performance .touch-particle,
.low-performance .heart-particle {
    display: none !important;
}

.low-performance .touch-ripple {
    animation-duration: 0.4s;
}

.low-performance .touch-glow {
    animation-duration: 0.8s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 1px;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 3px;
    background: linear-gradient(90deg, #ffffff, #666666);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid #ffffff;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #ffffff;
    transition: all 0.3s ease;
    z-index: 1;
}

.btn:hover::before {
    left: 0;
}

.btn:hover {
    color: #000000;
}

.btn span,
.btn {
    position: relative;
    z-index: 2;
}

.btn-primary {
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    color: #000000;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    background: linear-gradient(135deg, #000000, #333333);
    transform: translateX(-100%) rotateZ(45deg);
    transform-origin: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-primary:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover::before {
    transform: translateX(0) rotateZ(45deg);
}

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

.btn-secondary {
    border-color: #666666;
    color: #ffffff;
}

.btn-secondary::before {
    background: #666666;
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    color: #ffffff;
    padding: 12px 30px;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.btn-outline::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2));
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.8);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.btn-outline:hover::before {
    transform: translateY(0);
}

.btn-outline:active {
    transform: translateY(-1px);
    transition: transform 0.1s ease;
}

/* =============== CREATIVE NAVBAR STYLES =============== */

/* Header and Navigation */
.header.creative-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.95) 0%, rgba(25, 25, 25, 0.98) 100%);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0);
    overflow: hidden;
}

/* Navbar Background Effects */
.nav-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.nav-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.nav-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(100, 255, 218, 0.6);
    border-radius: 50%;
    animation: floatParticles 8s infinite linear;
}

.nav-particles .particle:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.nav-particles .particle:nth-child(2) {
    left: 40%;
    animation-delay: 2s;
    animation-duration: 8s;
}

.nav-particles .particle:nth-child(3) {
    left: 60%;
    animation-delay: 4s;
    animation-duration: 7s;
}

.nav-particles .particle:nth-child(4) {
    left: 80%;
    animation-delay: 1s;
    animation-duration: 9s;
}

.nav-particles .particle:nth-child(5) {
    left: 10%;
    animation-delay: 3s;
    animation-duration: 5s;
}

@keyframes floatParticles {
    0% {
        transform: translateY(100px) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

/* .nav-gradient-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.5px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #64ffda 25%, 
        #00bcd4 50%, 
        #64ffda 75%, 
        transparent 100%);
    animation: gradientMove 3s ease-in-out infinite;
}

@keyframes gradientMove {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
} */

.header.creative-nav.scrolled {
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.98) 0%, rgba(25, 25, 25, 0.99) 100%);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(25px);
}

/* Enhanced Navigation Structure */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 0;
    padding: 0.8rem 2rem;
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
}

/* Creative Logo Section */
.nav-logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.nav-logo .logo-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo .logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s ease;
}

.nav-logo .logo-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 2px solid rgba(100, 255, 218, 0.4);
    border-radius: 50%;
    animation: navLogoPulse 2s ease-in-out infinite;
    opacity: 0;
}

@keyframes navLogoPulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; }
}

/* Logo text removed as requested */

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(135deg, #ffffff, #cccccc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

/* Removed unwanted line effect */

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

.logo-link:hover .logo-glow {
    opacity: 1;
}

.logo-link:hover .logo-pulse {
    opacity: 1;
}

.navbar-logo {
    height: 35px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 2;
    position: relative;
}

/* Logo pulse animation on page load */
.navbar-logo {
    animation: logoEntrance 1s ease-out;
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(-10px);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1) translateY(2px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Subtle breathing animation when idle */
.navbar-logo {
    animation: logoEntrance 1s ease-out, logoBreathe 4s ease-in-out infinite 2s;
}

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

/* Logo glow effect on hover - REMOVED to fix white box issue */

/* Remove any unwanted focus/active states that cause white box */
.logo-link {
    outline: none !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

.logo-link:focus,
.logo-link:active,
.logo-link:visited {
    outline: none !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

.logo-container {
    background: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Override any global link styles for logo */
.nav-logo a,
.nav-logo a:link,
.nav-logo a:visited,
.nav-logo a:hover,
.nav-logo a:active,
.nav-logo a:focus {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

/* Logo click animation */
.logo-link:active .navbar-logo {
    transform: scale(0.95) translateY(0);
    transition: all 0.1s ease;
}

/* Logo spin animation on specific events */
.navbar-logo.spin {
    animation: logoSpin 0.8s ease-in-out;
}

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

.nav-center {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    
}

/* Desktop navigation menu */
@media (min-width: 769px) {
    .nav-menu {
        display: flex;
        align-items: center;
    }
}

/* Mobile nav-menu styles moved to responsive.css to avoid conflicts */

.nav-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    margin: 0;
    padding: 0.6rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #fff;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-weight: 500;
    font-size: 0.8rem;
    padding: 0.6rem 0.8rem;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.link-icon {
    font-size: 1rem;
    transition: all 0.3s ease;
    filter: grayscale(1);
}

.link-text {
    transition: all 0.3s ease;
}

.link-underline {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #64ffda, #00bcd4);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translateX(-50%);
}

.link-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.1), rgba(0, 188, 212, 0.1));
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 25px;
}

.nav-link:hover {
    color: #64ffda;
    transform: translateY(-3px);
    background: rgba(100, 255, 218, 0.1);
    border-color: rgba(100, 255, 218, 0.3);
    box-shadow: 0 10px 25px rgba(100, 255, 218, 0.2);
}

.nav-link:hover .link-icon {
    filter: grayscale(0);
    transform: scale(1.2) rotate(10deg);
}

.nav-link:hover .link-underline {
    width: 80%;
}

.nav-link:hover .link-glow {
    opacity: 1;
}

.nav-link.active {
    color: #64ffda;
    background: rgba(100, 255, 218, 0.15);
    border-color: rgba(100, 255, 218, 0.4);
}

.nav-link.active .link-icon {
    filter: grayscale(0);
}

/* Creative Menu Toggle */
.nav-toggle {
    display: none;
    cursor: pointer;
    position: relative;
    padding: 1rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.hamburger {
    width: 24px;
    height: 18px;
    position: relative;
}

/* Desktop hamburger line styles */
@media (min-width: 769px) {
    .hamburger .line {
        display: block;
        width: 100%;
        height: 2px;
        background: #ffffff;
        margin: 4px 0;
        transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
        transform-origin: center;
    }
}

.toggle-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    transform: scale(1.1);
    background: rgba(100, 255, 218, 0.1);
    border-color: rgba(100, 255, 218, 0.3);
}

.nav-toggle:hover .toggle-glow {
    opacity: 1;
}

.nav-toggle.active .line1 {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active .line2 {
    opacity: 0;
}

.nav-toggle.active .line3 {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Theme toggle removed as requested */

/* Scroll Progress Bar */
/* .scroll-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.progress-bar-nav {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #64ffda, #00bcd4, #64ffda);
    background-size: 200% 100%;
    animation: progressGradient 2s ease-in-out infinite;
    transition: width 0.1s ease;
}

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

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.nav-toggle i {
    transition: all 0.3s ease;
} */

/* Sections */
.section {
    padding: 100px 0;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Home Section */
.home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 30% 20%, #1a1a1a 0%, #000000 50%, #0a0a0a 100%);
}

.home-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Interactive Infinite Zoom Grid Background */
.infinite-grid-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.infinite-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%);
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: infiniteZoom 20s linear infinite;
    opacity: 0.6;
}

.infinite-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(100, 255, 218, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 255, 218, 0.02) 1px, transparent 1px);
    background-size: 200px 200px;
    animation: infiniteZoomSlow 30s linear infinite reverse;
}

.infinite-grid::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: infiniteZoomMedium 25s linear infinite;
}

@keyframes infiniteZoom {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0.6;
    }
}

@keyframes infiniteZoomSlow {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        opacity: 0.2;
    }
    100% {
        transform: scale(1.5);
        opacity: 0.4;
    }
}

@keyframes infiniteZoomMedium {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        opacity: 0.1;
    }
    100% {
        transform: scale(1.8);
        opacity: 0.3;
    }
}

/* Grid ripple effect animation */
@keyframes gridRippleEffect {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

/* Enhanced grid interaction effects */
.infinite-grid:hover {
    opacity: 0.8;
}

/* Mobile optimizations for grid */
@media (max-width: 768px) {
    .infinite-grid {
        background-size: 30px 30px;
        animation-duration: 15s;
    }
    
    .infinite-grid::before {
        background-size: 120px 120px;
        animation-duration: 20s;
    }
    
    .infinite-grid::after {
        background-size: 60px 60px;
        animation-duration: 18s;
    }
    
    /* Disable mouse interactions on mobile */
    .infinite-grid-container {
        pointer-events: none;
    }
}

/* Geometric Shapes Animation */
.geometric-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 20s infinite linear;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 20%;
    animation-delay: -5s;
    animation-duration: 30s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 15%;
    animation-delay: -10s;
    animation-duration: 35s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 10%;
    right: 10%;
    animation-delay: -15s;
    animation-duration: 40s;
}

.shape-5 {
    width: 40px;
    height: 40px;
    bottom: 20%;
    right: 30%;
    animation-delay: -20s;
    animation-duration: 20s;
}

/* Particles */
.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: particleFloat 15s infinite linear;
}

.home-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.home-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 5rem;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    width: 100%;
    box-sizing: border-box;
}

/* Profile Image */
.profile-image-container {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    animation: slideInLeft 1.5s ease forwards;
}

.profile-glow {
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

.profile-image {
    width: 480px;
    height: 480px;
    border-radius: 50%;
    object-fit: cover;
    filter: grayscale(100%) contrast(110%) brightness(110%);
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
}

.profile-image:hover {
    filter: grayscale(50%) contrast(120%) brightness(120%);
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.4);
}

.profile-ring {
    position: absolute;
    width: 480px;
    height: 480px;
    border: 2px solid transparent;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    border-right: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
}

.profile-dots {
    position: absolute;
    width: 550px;
    height: 550px;
}

.dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

.dot:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.dot:nth-child(2) {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0.7s;
}

.dot:nth-child(3) {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    animation-delay: 1.4s;
}

/* Home Text */
.home-text {
    animation: slideInRight 1.5s ease forwards;
    
}

.home-greeting {
    font-size: 1.1rem;
    color: #888888;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease 1s forwards;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
    position: relative;
}

.glitch-text {
    position: relative;
    animation: glitch 4s infinite;
}

.home-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    opacity: 0;
    animation: fadeInUp 1s ease 1.2s forwards;
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    letter-spacing: 1px;
}

.title-line {
    display: block;
    font-weight: 400;
    color: #cccccc;
}

.title-name {
    display: block;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    white-space: nowrap;
}

.title-name::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffffff, #666666);
    animation: lineExpand 2s ease 2s forwards;
}

.home-subtitle {
    font-size: 1.8rem;
    color: #aaaaaa;
    margin-bottom: 2rem;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeInUp 1s ease 1.4s forwards;
    white-space: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.1rem;
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
}

.subtitle-item {
    display: inline;
    font-weight: 500;
}

.subtitle-divider {
    display: inline;
    color: #666666;
    font-weight: 300;
    margin: 0 0.5rem;
    opacity: 0.7;
}

.subtitle-item {
    position: relative;
    transition: color 0.3s ease;
}

.subtitle-item:hover {
    color: #ffffff;
}

/* Typewriter Effect */
.typewriter-container {
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease 1.6s forwards;
}

.typewriter-wrapper {
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 500;
    min-height: 50px;
}

.typewriter-prefix {
    color: #cccccc;
}

.typewriter-text {
    color: #ffffff;
    margin-left: 0.3rem;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.typewriter-cursor {
    color: #ffffff;
    animation: blink 1s infinite;
    margin-left: 2px;
}

/* Stats */
.home-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease 1.8s forwards;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.home-stats .stat-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
    padding: 1rem 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.home-stats .stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.home-stats .stat-item:hover::before {
    left: 100%;
}

.home-stats .stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.home-stats .stat-item:active {
    transform: translateY(-2px) scale(0.98);
}

.home-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.achievement-stats .stat-number,
.cert-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #cccccc;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Specific styles for home stats */
.home-stats .stat-label {
    font-size: 0.85rem;
    color: #aaaaaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 400;
}

/* Wiggle animation for stat boxes */
@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(1deg); }
    75% { transform: rotate(-1deg); }
}

@keyframes wiggleHover {
    0%, 100% { transform: translateY(-5px) rotate(0deg); }
    25% { transform: translateY(-5px) rotate(2deg); }
    75% { transform: translateY(-5px) rotate(-2deg); }
}

.home-stats .stat-item {
    animation: wiggle 3s ease-in-out infinite;
    animation-delay: var(--wiggle-delay, 0s);
}

.home-stats .stat-item:hover {
    animation: wiggleHover 0.5s ease-in-out infinite;
}

.home-stats .stat-item:nth-child(1) { --wiggle-delay: 0s; }
.home-stats .stat-item:nth-child(2) { --wiggle-delay: 0.5s; }
.home-stats .stat-item:nth-child(3) { --wiggle-delay: 1s; }
.home-stats .stat-item:nth-child(4) { --wiggle-delay: 1.5s; }

/* Mobile touch feedback */
@media (max-width: 768px) {
    .home-stats .stat-item {
        padding: 1.2rem 0.8rem;
        min-width: 140px;
    }
    
    .home-stats .stat-item:active {
        transform: scale(0.95);
        background: rgba(255, 255, 255, 0.15);
        animation: none;
    }
    
    /* Reduce wiggle intensity on mobile */
    @keyframes wiggle {
        0%, 100% { transform: rotate(0deg); }
        25% { transform: rotate(0.5deg); }
        75% { transform: rotate(-0.5deg); }
    }
}

/* Specific styles for achievement and cert stats */
.achievement-stats .stat-label,
.cert-stats .stat-label {
    font-size: 0.9rem;
    color: #cccccc;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Action Buttons */
.home-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease 2s forwards;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

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

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

.btn-hover-fill {
    position: relative;
    overflow: hidden;
}

.btn-hover-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: width 0.3s ease;
    z-index: 1;
}

.btn-hover-fill:hover::after {
    width: 100%;
}

.btn-text,
.btn-icon {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.btn-text {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn:hover .btn-text {
    transform: translateX(-2px);
    letter-spacing: 0.5px;
}

.btn-icon {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(5px);
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(5px);
    }
    40% {
        transform: translateX(8px) scale(1.1);
    }
    60% {
        transform: translateX(3px) scale(0.9);
    }
}

/* Resume Download Button */
.btn-resume {
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    color: #000000;
    border: 2px solid #ffffff;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    order: -1; /* Places it first in the flex container */
}

.btn-resume::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-resume:hover {
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

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

.btn-resume:hover .btn-icon {
    animation: downloadPulse 0.6s ease;
}

.btn-download:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

@keyframes downloadPulse {
    0%, 100% { transform: translateX(5px) scale(1); }
    50% { transform: translateX(5px) scale(1.2); }
}

/* Glow effect for primary button */
.btn-glow {
    position: relative;
    animation: pulseGlow 3s ease-in-out infinite;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    border-radius: inherit;
    opacity: 0;
    filter: blur(15px);
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-glow:hover::after {
    opacity: 0.7;
    animation: none;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0 8px 30px rgba(255, 255, 255, 0.4);
    }
}

/* Hover fill effect for outline button */
.btn-hover-fill {
    position: relative;
    overflow: hidden;
}

.btn-hover-fill::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 50%;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translate(-50%, -50%);
    z-index: 1;
}

.btn-hover-fill:hover::before {
    width: 300%;
    height: 300%;
}

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

@keyframes rippleAnimation {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

/* Same Animation as Download Resume Button for Explore My Work Button */
.btn-glow {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

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

.btn-glow:hover .btn-icon {
    animation: explorePulse 0.6s ease;
}

.btn-glow:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
}

@keyframes explorePulse {
    0%, 100% { transform: translateX(5px) scale(1); }
    50% { transform: translateX(5px) scale(1.2); }
}

/* Enhanced Interactive About Section Animations */

/* Animated Title with Typewriter Cursor */
.animate-title {
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%;
    margin-bottom: 3rem;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Title cursor removed as requested */

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

/* Interactive Background Elements */
.about-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.about {
    position: relative;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    animation: floatCircle 6s ease-in-out infinite;
}

.bg-circle-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.bg-circle-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.bg-circle-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes floatCircle {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Interactive Image Enhancements */
.interactive-image {
    position: relative;
    cursor: pointer;
}

.interactive-image:hover .about-img {
    transform: scale(1.05) rotate(2deg) !important;
    filter: brightness(1.1) contrast(1.1) !important;
}

.image-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.interactive-image:hover .image-particles {
    opacity: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: particleFloat 2s ease-in-out infinite;
}

.particle:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.particle:nth-child(2) { top: 40%; right: 20%; animation-delay: 0.4s; }
.particle:nth-child(3) { bottom: 40%; left: 30%; animation-delay: 0.8s; }
.particle:nth-child(4) { bottom: 20%; right: 30%; animation-delay: 1.2s; }
.particle:nth-child(5) { top: 60%; left: 50%; animation-delay: 1.6s; }

@keyframes particleFloat {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.8; }
    50% { transform: translateY(-15px) scale(1.2); opacity: 1; }
}

.image-glow-effect {
    position: absolute;
    inset: -10px;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.interactive-image:hover .image-glow-effect {
    opacity: 1;
    animation: rotateGlow 3s linear infinite;
}

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

/* Floating Stats Bubbles */
.floating-stats {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.stat-bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 12px 16px;
    font-size: 0.75rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
}

.interactive-image:hover .stat-bubble {
    opacity: 1;
    transform: scale(1);
}

.stat-1 {
    top: -10px;
    right: -20px;
    animation: float 3s ease-in-out infinite;
}

.stat-2 {
    bottom: 50%;
    left: -40px;
    animation: float 3s ease-in-out infinite 1s;
}

.stat-3 {
    bottom: -10px;
    right: 20%;
    animation: float 3s ease-in-out infinite 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
}

.stat-bubble:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 1);
}

.stat-icon {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

/* Typewriter Effect */
.typewriter-container {
    min-height: 120px;
    display: flex;
    align-items: flex-start;
    padding-top: 10px;
}

.typewriter {
    white-space: normal;
    overflow: visible;
    font-family: 'JetBrains Mono', 'Courier New', 'Courier', monospace;
    font-size: 1rem;
    line-height: 1.6;
    width: 100%;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
    word-wrap: break-word;
    position: relative;
    border: none;
    background: none;
    letter-spacing: 0.5px;
}

/* Typing cursor - inline element */
.typing-cursor {
    display: inline;
    color: rgba(255, 255, 255, 0.8);
    animation: blinkCursor 1s infinite;
    font-weight: bold;
    margin-left: 2px;
    font-family: 'JetBrains Mono', monospace;
}

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

/* Interactive Cards with Tilt Effect */
.interactive-card {
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.interactive-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

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

.interactive-card:hover {
    transform: translateY(-8px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Pulse Icons with Ripple Effect */
.pulse-icon {
    position: relative;
    transition: all 0.3s ease;
}

.pulse-icon:hover {
    transform: scale(1.2);
}

.icon-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}

.pulse-icon:hover .icon-ripple {
    animation: rippleEffect 0.6s ease-out;
}

@keyframes rippleEffect {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Animated Progress Bars */
.info-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    border-radius: 2px;
    width: 0%;
    transition: width 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Animated Tags */
.animated-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-animate {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tag-animate:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Location Indicator */
.location-indicator {
    position: relative;
    display: inline-block;
    margin-top: 8px;
}

.location-dot {
    width: 8px;
    height: 8px;
    background: #ff4757;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.location-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #ff4757;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: locationPulse 2s ease-in-out infinite;
}

@keyframes locationPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

/* Achievement Badges */
.achievement-badges {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
    justify-content: space-around;
}

.badge-item {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffd700, #ffb347);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.badge-item:hover {
    transform: scale(1.1) rotateY(15deg);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
}

.badge-icon {
    font-size: 1.5rem;
    z-index: 2;
}

.badge-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.badge-item:hover .badge-shine {
    opacity: 1;
    animation: shine 0.6s ease-in-out;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Fix About Container Positioning */
.about .container {
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.about-container {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}

/* Fix Image Wrapper */
.about-img-wrapper {
    position: relative;
    z-index: 5;
}

/* Ensure floating stats are positioned correctly */
.floating-stats {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 6;
}

/* Fix typewriter container */
.typewriter-container {
    min-height: 100px;
    display: flex;
    align-items: flex-start;
    padding-top: 10px;
    overflow: hidden;
}

/* Ensure interactive cards are working */
.interactive-card {
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 5;
}

/* Responsive Design */

/* Additional CSS Animations for About Section */
@keyframes badgeBounce {
    0%, 100% { transform: scale(1) rotateY(0deg); }
    25% { transform: scale(1.2) rotateY(90deg); }
    75% { transform: scale(1.1) rotateY(270deg); }
}

@keyframes extraFloat {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-15px); }
}

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

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

/* Clean and removed carousel styles - keeping original design */

.btn-glow::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%) rotate(45deg);
    transition: all 0.8s ease;
}

.btn-glow:hover::before {
    transform: translateX(100%) rotate(45deg);
}

/* Enhanced Hover Fill Effect */
.btn-hover-fill:hover .btn-icon {
    animation: iconPulse 0.6s ease;
}

@keyframes iconPulse {
    0%, 100% { transform: translateX(5px) scale(1); }
    25% { transform: translateX(8px) scale(1.3); }
    50% { transform: translateX(3px) scale(0.8); }
    75% { transform: translateX(6px) scale(1.1); }
}

/* Social Preview */
.social-preview {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease 2.2s forwards;
}

.social-icon {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cccccc;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
}

.social-icon:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.05);
}

.social-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.social-icon:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -35px;
}

/* Enhanced Scroll Indicator */
.home-scroll {
    position: absolute;
    bottom: 2rem;
    right: 3rem;
    z-index: 10;
    opacity: 0;
    animation: fadeInUp 1s ease 2.5s forwards;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    transform: translateY(-5px);
}

.scroll-text {
    font-size: 0.8rem;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 1px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.scroll-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.scroll-line::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: rgba(255, 255, 255, 0.8);
    animation: scrollMove 2s infinite;
}

.scroll-triangle {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid rgba(255, 255, 255, 0.6);
    margin-top: 5px;
    animation: arrowBounce 2s ease-in-out infinite;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.floating-item {
    position: absolute;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.1);
    animation: floatMove 20s infinite linear;
}

.floating-item:nth-child(1) {
    top: 20%;
    left: 80%;
    animation-delay: 0s;
}

.floating-item:nth-child(2) {
    top: 60%;
    left: 5%;
    animation-delay: -5s;
}

.floating-item:nth-child(3) {
    bottom: 30%;
    right: 10%;
    animation-delay: -10s;
}

.floating-item:nth-child(4) {
    bottom: 10%;
    left: 70%;
    animation-delay: -15s;
}

/* Enhanced Animations */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(0) rotate(180deg); }
    75% { transform: translateY(-10px) rotate(270deg); }
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) translateX(100px); opacity: 0; }
}

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

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

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

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

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

@keyframes glitch {
    0%, 90%, 100% { transform: translateX(0); }
    10% { transform: translateX(-2px); }
    20% { transform: translateX(2px); }
    30% { transform: translateX(-1px); }
    40% { transform: translateX(1px); }
}

@keyframes lineExpand {
    from { width: 0; }
    to { width: 100%; }
}

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

@keyframes scrollMove {
    0% { top: -20px; }
    100% { top: 60px; }
}

@keyframes arrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

@keyframes floatMove {
    0% { transform: translateY(0) translateX(0) rotate(0deg); }
    25% { transform: translateY(-100px) translateX(50px) rotate(90deg); }
    50% { transform: translateY(0) translateX(100px) rotate(180deg); }
    75% { transform: translateY(-50px) translateX(50px) rotate(270deg); }
    100% { transform: translateY(0) translateX(0) rotate(360deg); }
}

/* Missing Critical Animation Keyframes for Homepage */
@keyframes float {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.1;
    }
    25% { 
        transform: translateY(-20px) translateX(10px) rotate(90deg);
        opacity: 0.3;
    }
    50% { 
        transform: translateY(-40px) translateX(20px) rotate(180deg);
        opacity: 0.1;
    }
    75% { 
        transform: translateY(-20px) translateX(10px) rotate(270deg);
        opacity: 0.3;
    }
}

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

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

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

@keyframes glitch {
    0%, 100% { 
        transform: translateX(0);
        filter: hue-rotate(0deg);
    }
    20% { 
        transform: translateX(-2px);
        filter: hue-rotate(90deg);
    }
    40% { 
        transform: translateX(-2px);
        filter: hue-rotate(180deg);
    }
    60% { 
        transform: translateX(2px);
        filter: hue-rotate(270deg);
    }
    80% { 
        transform: translateX(2px);
        filter: hue-rotate(360deg);
    }
}

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

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

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}



/* About Section */
.about {
    background: #111111;
    overflow: hidden;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.about-image {
    text-align: center;
    position: relative;
}

.about-img-wrapper {
    position: relative;
    display: inline-block;
    width: 300px;
    height: 300px;
}

.about-img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    filter: grayscale(100%) contrast(110%);
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
    object-fit: cover;
}

.about-img:hover {
    filter: grayscale(30%) contrast(120%);
}

.about-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(0, 0, 0, 0.3) 100%);
    border-radius: 20px;
    z-index: 3;
    transition: opacity 0.3s ease;
}

.about-img-wrapper:hover .about-img-overlay {
    opacity: 0.7;
}

.about-img-frame {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    z-index: 1;
    transition: all 0.3s ease;
}

.about-img-wrapper:hover .about-img-frame {
    border-color: rgba(255, 255, 255, 0.4);
    transform: rotate(2deg);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #cccccc;
}

.about-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #333333;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.info-item:hover {
    border-color: #666666;
    background: #0a0a0a;
}

.info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #333333;
    border-radius: 50%;
    font-size: 1.2rem;
}

.info-content h4 {
    margin-bottom: 0.5rem;
}

.info-content p {
    color: #999999;
    font-size: 0.9rem;
}

/* =============== CREATIVE EDUCATION TIMELINE =============== */

.education.creative-timeline {
    background: linear-gradient(135deg, #000000 0%, #111111 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 6rem 0;
}

/* Make all emojis in education section monochromatic */
.education .stat-icon,
.education .badge-icon,
.education .school-logo,
.education .insight-icon,
.education .floating-element,
.education .achievement-stats .stat-icon,
.education .insight-card .insight-icon {
    filter: grayscale(100%) brightness(1.2) !important;
}

/* Make navigation education icon monochromatic when education section is active */
.nav-link[href="#education"] .link-icon {
    filter: grayscale(100%) brightness(1.2);
}

/* Animated Background Effects */
.education-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 200vh;
    pointer-events: none;
    z-index: 1;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    font-size: 2rem;
    opacity: 0.12;
    animation: floatElements 15s linear infinite;
    filter: grayscale(100%) brightness(1.2) contrast(0.8);
    pointer-events: none;
    color: rgba(255, 255, 255, 0.4);
}

/* Vary sizes for visual interest */
.floating-element:nth-child(3n) {
    font-size: 1.5rem;
    opacity: 0.18;
}

.floating-element:nth-child(5n) {
    font-size: 2.5rem;
    opacity: 0.08;
}

/* Top section emojis */
.element-1 { left: 10%; animation-delay: 0s; animation-duration: 20s; }
.element-2 { left: 25%; animation-delay: 5s; animation-duration: 18s; }
.element-3 { left: 45%; animation-delay: 10s; animation-duration: 22s; }
.element-4 { left: 65%; animation-delay: 2s; animation-duration: 16s; }
.element-5 { left: 80%; animation-delay: 8s; animation-duration: 25s; }
.element-6 { left: 15%; animation-delay: 12s; animation-duration: 19s; }
.element-7 { left: 55%; animation-delay: 6s; animation-duration: 21s; }
.element-8 { left: 75%; animation-delay: 14s; animation-duration: 17s; }

/* Middle section emojis */
.element-9 { left: 20%; animation-delay: 3s; animation-duration: 24s; }
.element-10 { left: 35%; animation-delay: 9s; animation-duration: 20s; }
.element-11 { left: 50%; animation-delay: 15s; animation-duration: 18s; }
.element-12 { left: 70%; animation-delay: 7s; animation-duration: 26s; }
.element-13 { left: 85%; animation-delay: 11s; animation-duration: 19s; }
.element-14 { left: 12%; animation-delay: 16s; animation-duration: 23s; }
.element-15 { left: 60%; animation-delay: 4s; animation-duration: 21s; }
.element-16 { left: 78%; animation-delay: 13s; animation-duration: 17s; }

/* Bottom section emojis */
.element-17 { left: 18%; animation-delay: 1s; animation-duration: 22s; }
.element-18 { left: 32%; animation-delay: 8s; animation-duration: 24s; }
.element-19 { left: 48%; animation-delay: 14s; animation-duration: 20s; }
.element-20 { left: 68%; animation-delay: 6s; animation-duration: 18s; }
.element-21 { left: 82%; animation-delay: 10s; animation-duration: 25s; }
.element-22 { left: 8%; animation-delay: 17s; animation-duration: 19s; }
.element-23 { left: 58%; animation-delay: 3s; animation-duration: 23s; }
.element-24 { left: 73%; animation-delay: 12s; animation-duration: 21s; }

@keyframes floatElements {
    0% { 
        transform: translateY(120vh) rotate(0deg);
        opacity: 0;
    }
    5% { opacity: 0.15; }
    95% { opacity: 0.15; }
    100% { 
        transform: translateY(-120px) rotate(360deg);
        opacity: 0;
    }
}

.education-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.education-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: educationParticles 8s infinite linear;
}

.education-particles .particle:nth-child(1) { left: 15%; animation-delay: 0s; }
.education-particles .particle:nth-child(2) { left: 35%; animation-delay: 2s; }
.education-particles .particle:nth-child(3) { left: 55%; animation-delay: 4s; }
.education-particles .particle:nth-child(4) { left: 75%; animation-delay: 1s; }
.education-particles .particle:nth-child(5) { left: 85%; animation-delay: 3s; }
.education-particles .particle:nth-child(6) { left: 5%; animation-delay: 5s; }

@keyframes educationParticles {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
        filter: blur(0);
    }
    10% { opacity: 1; }
    50% { 
        filter: blur(2px);
    }
    90% { opacity: 1; }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
        filter: blur(4px);
    }
}

/* Education Header */
.education-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

/* Journey Progress Bar */
.journey-progress {
    margin: 3rem auto;
    max-width: 600px;
}

.progress-track {
    position: relative;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), #ffffff, rgba(255, 255, 255, 0.5));
    border-radius: 3px;
    width: 0%;
    transition: width 2s ease-in-out;
    background-size: 200% 100%;
    animation: progressShimmer 2s ease-in-out infinite;
}

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

.progress-indicators {
    position: absolute;
    top: -8px;
    left: 0;
    width: 100%;
    height: 22px;
}

.indicator {
    position: absolute;
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border: 2px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #fff;
    transition: all 0.3s ease;
}

.indicator[data-year="2020"] { left: 0; transform: translateX(-50%); }
.indicator[data-year="2022"] { left: 50%; transform: translateX(-50%); }
.indicator[data-year="2026"] { left: 100%; transform: translateX(-50%); }

.indicator.current {
    background: linear-gradient(135deg, #ffffff, #cccccc);
    border-color: #ffffff;
    animation: currentIndicatorPulse 2s ease-in-out infinite;
}

@keyframes currentIndicatorPulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.2); }
}

/* Timeline Container */
.education-timeline-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-path {
    position: absolute;
    left: 50%;
    top: 0;
    height: 100%;
    width: 6px;
    transform: translateX(-50%);
}

.path-line {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 20%, 
        #ffffff 50%, 
        rgba(255, 255, 255, 0.3) 80%, 
        transparent 100%);
    border-radius: 3px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.animated-dots {
    position: absolute;
    width: 100%;
    height: 100%;
}

.dot {
    position: absolute;
    width: 2px;
    height: 2px;
    background: radial-gradient(circle, #ffffff, rgba(255, 255, 255, 0.5));
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    animation: dotMove 4s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.dot:nth-child(1) { animation-delay: 0s; }
.dot:nth-child(2) { animation-delay: 1.3s; }
.dot:nth-child(3) { animation-delay: 2.6s; }

@keyframes dotMove {
    0% { top: -10px; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Timeline Container */
.timeline-container {
    position: relative;
    padding: 4rem 0;
}

/* Timeline Milestones */
.timeline-milestone {
    position: relative;
    margin-bottom: 8rem;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.timeline-milestone.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Milestone Markers */
.milestone-marker {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: 10;
}

.milestone-marker.current {
    z-index: 20;
    top: -0.5px;
}

.current-milestone {
    padding-top: 1.1rem;
}

.marker-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.1), transparent);
    border-radius: 50%;
    animation: markerPulse 3s ease-in-out infinite;
}

@keyframes markerPulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.5); opacity: 0.3; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

.marker-core {
    position: relative;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #333333, #000000);
    border: 3px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.2rem;
}

.marker-core:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 0 40px rgba(100, 255, 218, 0.6);
}

.marker-icon {
    font-size: 2rem;
    z-index: 2;
}

.marker-ring {
    position: absolute;
    width: 90px;
    height: 90px;
    border: 2px solid rgba(100, 255, 218, 0.3);
    border-radius: 50%;
    animation: markerRingRotate 10s linear infinite;
}

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

.milestone-year {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    min-width: 60px;
}

/* Current Milestone Special Styling */
.current-milestone .marker-pulse {
    animation: currentMarkerPulse 2s ease-in-out infinite;
}

@keyframes currentMarkerPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        background: radial-gradient(circle, rgba(100, 255, 218, 0.2), transparent);
        opacity: 1;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.3);
        background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
        opacity: 0.7;
    }
}

.current-core {
    border-color: #ffffff !important;
    background: linear-gradient(135deg, #64ffda, #00bcd4) !important;
    animation: currentCoreGlow 2s ease-in-out infinite;
}

@keyframes currentCoreGlow {
    0%, 100% { box-shadow: 0 0 30px rgba(100, 255, 218, 0.4); }
    50% { box-shadow: 0 0 50px rgba(255, 255, 255, 0.6); }
}

.current-ring {
    border-color: #ffffff !important;
}

.current-year {
    color: #ffffff !important;
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    top: 90px !important;
}

/* Milestone Cards */
.milestone-card {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(10, 10, 10, 0.95));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1.8rem;
    max-width: 380px;
    margin-top: 8rem;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 5;
    opacity: 1;
    transform: translateY(0);
}

.milestone-card:hover {
    transform: translateY(-10px);
    border-color: rgba(100, 255, 218, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.card-left {
    margin-left: 0;
    margin-right: auto;
}

.card-right {
    margin-left: auto;
    margin-right: 0;
}

.card-center {
    margin-left: auto;
    margin-right: auto;
}

.card-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(100, 255, 218, 0.1), 
        transparent);
    transition: left 0.8s ease;
}

.milestone-card:hover .card-glow {
    left: 100%;
}

.current-card {
    border-color: rgba(255, 255, 255, 0.3) !important;
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.9), rgba(20, 20, 20, 0.95));
    margin-top: 4rem !important;
    z-index: 8;
}

/* Compact Card Content Styling */
.card-header h3 {
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
    line-height: 1.2;
}

.card-header h4 {
    font-size: 1rem;
    margin-bottom: 0.6rem;
    opacity: 0.9;
}

.school-info {
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.school-details {
    flex: 1;
}

.school-name {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    font-weight: 500;
}

.school-duration {
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 0;
}

.subjects-cloud {
    margin: 1rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.subject-bubble {
    padding: 0.3rem 0.7rem;
    font-size: 0.8rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.milestone-description {
    margin: 1rem 0 0.5rem 0;
}

.milestone-description p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.future-goals {
    margin-top: 1rem;
}

.future-goals h5 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: none; /* Hide the heading to save space */
}

.goals-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.goal-item {
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 12px;
}

.current-glow {
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent) !important;
}

/* Education Badges */
.education-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.education-badge.foundation {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
}

.education-badge.specialization {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
}

.education-badge.current {
    background: linear-gradient(135deg, #64ffda, #00bcd4);
    color: #000;
    animation: currentBadgePulse 2s ease-in-out infinite;
}

@keyframes currentBadgePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Card Headers */
.card-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff, #64ffda);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-header h4 {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

/* School Information */
.school-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.school-logo {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 10px rgba(100, 255, 218, 0.3));
}

.school-details p {
    margin: 0.3rem 0;
    color: rgba(255, 255, 255, 0.9);
}

.school-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.school-location, .school-duration {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Achievement Stats */
.achievement-stats,
.cert-stats {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 2rem;
    flex-wrap: nowrap;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    align-items: stretch;
}

.achievement-stats .stat-item,
.cert-stats .stat-item {
    flex: 1;
    min-width: 120px;
    max-width: none;
    text-align: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    box-sizing: border-box;
    height: auto;
}

.achievement-stats .stat-item:hover,
.cert-stats .stat-item:hover {
    transform: translateY(-5px);
    background: rgba(100, 255, 218, 0.1);
    border-color: rgba(100, 255, 218, 0.3);
}

.achievement-stats .stat-item.highlighted,
.cert-stats .stat-item.highlighted {
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.1), rgba(0, 188, 212, 0.1));
    border-color: rgba(100, 255, 218, 0.4);
}

.achievement-stats .stat-icon,
.cert-stats .stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.achievement-stats .stat-value,
.cert-stats .stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    display: block;
    margin-bottom: 0.3rem;
}

.achievement-stats .stat-max,
.cert-stats .stat-max {
    font-size: 0.9rem;
    color: #888888;
    font-weight: 400;
    margin-top: -0.2rem;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-max {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Subject Bubbles */
.subjects-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.subject-bubble {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    cursor: pointer;
}

.subject-bubble:hover {
    transform: translateY(-3px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

/* Subject-specific colors */
.subject-bubble.physics { border-color: rgba(244, 67, 54, 0.4); }
.subject-bubble.chemistry { border-color: rgba(76, 175, 80, 0.4); }
.subject-bubble.mathematics { border-color: rgba(33, 150, 243, 0.4); }
.subject-bubble.computer { border-color: rgba(156, 39, 176, 0.4); }
.subject-bubble.ai { border-color: rgba(255, 193, 7, 0.4); }
.subject-bubble.programming { border-color: rgba(255, 87, 34, 0.4); }

/* Milestone Descriptions */
.milestone-description {
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid #64ffda;
    padding: 1rem 1.5rem;
    border-radius: 0 10px 10px 0;
    margin-bottom: 1.5rem;
}

.milestone-description strong {
    color: #64ffda;
}

/* Future Goals (Current Milestone Only) */
.future-goals {
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.1), rgba(0, 188, 212, 0.1));
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.future-goals h5 {
    color: #64ffda;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.goals-list {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.goal-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.goal-item:hover {
    background: rgba(100, 255, 218, 0.2);
    border-color: rgba(100, 255, 218, 0.4);
    transform: scale(1.05);
}

/* Educational Dashboard */
.education-dashboard {
    margin-top: 0rem;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.5), rgba(10, 10, 10, 0.7));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 25px;
    padding: 3rem;
    position: relative;
    z-index: 2;
}

.dashboard-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 3rem;
}

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

.insight-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.insight-card:hover {
    transform: translateY(-10px);
    background: rgba(100, 255, 218, 0.05);
    border-color: rgba(100, 255, 218, 0.3);
}

.insight-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(100, 255, 218, 0.3));
}

.insight-content h4 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.insight-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Growth Chart */
.growth-chart {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: end;
    height: 60px;
    margin: 1rem 0;
}

.growth-bar {
    width: 20px;
    background: linear-gradient(180deg, #64ffda, #00bcd4);
    border-radius: 3px;
    transition: height 1s ease;
    position: relative;
}

.growth-bar[data-growth="80"] { height: 40%; }
.growth-bar[data-growth="89"] { height: 60%; }
.growth-bar[data-growth="86"] { height: 80%; }

/* Timeline Stats */
.timeline-stats {
    margin: 1rem 0;
}

.timeline-point {
    font-size: 1.1rem;
    font-weight: 600;
    color: #64ffda;
}

/* Evolution Path */
.evolution-path {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.evo-step {
    background: rgba(100, 255, 218, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(100, 255, 218, 0.3);
    font-size: 0.9rem;
    color: #64ffda;
}

.evo-arrow {
    color: rgba(255, 255, 255, 0.5);
    font-weight: bold;
}

/* Mobile Responsive for Creative Timeline */

/* Extra small mobile devices */

/* Skills Section */
.skills {
    background: radial-gradient(circle at center, #111111 0%, #000000 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Projects Section */
.projects {
    background: linear-gradient(135deg, #0a0a0a 0%, #111111 50%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 6rem 0;
}

/* Projects Interactive Background */
.projects-interactive-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

#projectsCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: all;
}

/* Projects Grid Background */
.projects-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: projectsGridFlow 20s linear infinite;
}

@keyframes projectsGridFlow {
    0% {
        transform: translate(0, 0);
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: translate(60px, 60px);
        opacity: 0.3;
    }
}

/* Floating Code Blocks */
.floating-code-blocks {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.code-block {
    position: absolute;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: #888888;
    backdrop-filter: blur(5px);
    animation: codeFloat 15s linear infinite;
}

.cb-1 { top: 10%; left: 10%; animation-duration: 20s; }
.cb-2 { top: 20%; right: 15%; animation-duration: 25s; animation-direction: reverse; }
.cb-3 { top: 60%; left: 5%; animation-duration: 22s; }
.cb-4 { bottom: 20%; right: 20%; animation-duration: 18s; animation-direction: reverse; }
.cb-5 { top: 40%; left: 80%; animation-duration: 24s; }
.cb-6 { bottom: 40%; left: 15%; animation-duration: 19s; animation-direction: reverse; }
.cb-7 { top: 30%; left: 50%; animation-duration: 21s; }
.cb-8 { bottom: 15%; left: 60%; animation-duration: 23s; animation-direction: reverse; }

@keyframes codeFloat {
    0% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 0.8;
    }
    100% {
        transform: translateY(0px) rotate(360deg);
        opacity: 0.4;
    }
}

/* Data Streams */
.data-streams {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.stream {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: dataFlow 8s linear infinite;
}

.stream-1 { left: 20%; animation-delay: 0s; }
.stream-2 { left: 40%; animation-delay: 2s; }
.stream-3 { left: 65%; animation-delay: 4s; }
.stream-4 { left: 85%; animation-delay: 6s; }

@keyframes dataFlow {
    0% {
        top: -100px;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Neural Connections */
.neural-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.neural-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #666666, transparent);
    border-radius: 50%;
    animation: neuralPulse 3s ease-in-out infinite;
}

.neural-node::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: neuralRipple 3s ease-in-out infinite;
}

.node-1 { top: 15%; left: 20%; animation-delay: 0s; }
.node-2 { top: 25%; right: 25%; animation-delay: 0.6s; }
.node-3 { bottom: 30%; left: 30%; animation-delay: 1.2s; }
.node-4 { bottom: 20%; right: 15%; animation-delay: 1.8s; }
.node-5 { top: 50%; left: 50%; animation-delay: 2.4s; }

@keyframes neuralPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

@keyframes neuralRipple {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(2);
        opacity: 0.1;
    }
}

/* Projects Introduction */
.projects-intro {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 5;
}

.intro-text {
    font-size: 1.2rem;
    color: #ccd6f6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.projects-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-bubble {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1rem 1.5rem;
    text-align: center;
    animation: statFloat 4s ease-in-out infinite;
}

.stat-bubble:nth-child(2) { animation-delay: 1s; }
.stat-bubble:nth-child(3) { animation-delay: 2s; }

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #64ffda;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #ccd6f6;
    opacity: 0.8;
}

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

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 5;
    width: 100%;
    box-sizing: border-box;
}

/* Enhanced responsive grid for projects */

/* Enhanced Project Cards */
.project-card {
    background: rgba(17, 25, 40, 0.8);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(100, 255, 218, 0.1);
}

.project-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(100, 255, 218, 0.5);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(100, 255, 218, 0.3),
        0 0 50px rgba(100, 255, 218, 0.2);
}

.project-card.featured {
    border: 2px solid rgba(100, 255, 218, 0.4);
    background: rgba(17, 25, 40, 0.9);
}

.project-card.featured:hover {
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 2px rgba(100, 255, 218, 0.5),
        0 0 80px rgba(100, 255, 218, 0.3);
}

/* Project Glow Effect */
.project-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(100, 255, 218, 0.3),
        transparent,
        rgba(100, 255, 218, 0.2),
        transparent
    );
    border-radius: 22px;
    opacity: 0;
    animation: projectGlow 3s linear infinite;
    z-index: -1;
}

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

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

/* Project Image */
.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    filter: brightness(0.8) contrast(1.1);
}

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

/* Project Overlay */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(100, 255, 218, 0.9) 0%,
        rgba(17, 25, 40, 0.9) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

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

.overlay-content {
    text-align: center;
    color: white;
}

.project-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.project-stats .stat-item {
    text-align: center;
    padding: 0.5rem 1rem;
    min-height: auto;
    height: auto;
}

.project-stats .stat-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.project-stats .stat-desc {
    font-size: 0.8rem;
    opacity: 0.9;
    line-height: 1.2;
    margin: 0;
}

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

.action-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 0.8rem 1.5rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Project Content */
.project-content {
    padding: 2rem;
}

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

.project-category {
    background: rgba(100, 255, 218, 0.2);
    color: #64ffda;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-status {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-status.active {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.project-status.completed {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.project-status.development {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.project-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ccd6f6;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.project-content p {
    color: #8892b0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Enhanced Project Tags */
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tags .tag {
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tag.primary {
    background: rgba(100, 255, 218, 0.2);
    color: #64ffda;
    border: 1px solid rgba(100, 255, 218, 0.3);
}

.tag.secondary {
    background: rgba(139, 69, 19, 0.2);
    color: #ffa500;
    border: 1px solid rgba(139, 69, 19, 0.3);
}

.tag.accent {
    background: rgba(138, 43, 226, 0.2);
    color: #da70d6;
    border: 1px solid rgba(138, 43, 226, 0.3);
}

.tag.highlight {
    background: rgba(30, 144, 255, 0.2);
    color: #87ceeb;
    border: 1px solid rgba(30, 144, 255, 0.3);
}

.project-tags .tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Project Metrics */
.project-metrics {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    gap: 1rem;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    padding: 0.5rem;
    min-width: 0; /* Allow shrinking */
}

.metric-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.metric-text {
    font-size: 0.8rem;
    color: #ccd6f6;
    font-weight: 600;
    line-height: 1.2;
    word-wrap: break-word;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

/* Project Links */
.project-links {
    display: flex;
    gap: 1rem;
}

.project-links .btn {
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
}

.project-links .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

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

.btn-primary {
    background: linear-gradient(135deg, #333333, #444444);
    color: #ffffff;
    border: 1px solid #555555;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #444444, #555555);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: #666666;
}

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

.btn-outline {
    background: transparent;
    color: #ccd6f6;
    border: 2px solid #555555;
    position: relative;
}

.btn-outline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-outline:hover {
    color: #ffffff;
    border-color: #777777;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

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

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

/* Responsive Design */

/* CREATIVE UNIVERSE GALLERY */
.creative-universe {
    background: linear-gradient(135deg, #0a0a0a 0%, #111111 50%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 0rem 0;
    perspective: 2000px;
    transform-style: preserve-3d;
}

/* MIND-BLOWING UNIVERSE BACKGROUND */
.universe-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* CREATIVE UNIVERSE BACKGROUND */
/* .universe-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.creative-universe::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 25%, rgba(44, 48, 47, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 85% 75%, rgba(36, 33, 36, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 45% 85%, rgba(35, 37, 37, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 75% 15%, rgba(255, 200, 100, 0.08) 1px, transparent 1px);
    background-size: 60px 60px, 80px 80px, 70px 70px, 90px 90px;
    animation: creativeFloat 25s linear infinite;
    z-index: 1;
    pointer-events: none;
}

.creative-universe::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(100, 255, 218, 0.02) 49%, rgba(100, 255, 218, 0.02) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255, 100, 255, 0.02) 49%, rgba(255, 100, 255, 0.02) 51%, transparent 52%);
    background-size: 100px 100px, 120px 120px;
    animation: creativeLines 30s linear infinite;
    z-index: 1;
    pointer-events: none;
}

#universeCanvas {
    display: none;
} */

/* MONOCHROMATIC PORTFOLIO SHOWCASE - FULL PAGE WITH SUBTLE ANIMATIONS */
.portfolio-ring-section {
    position: relative;
    padding: 4rem 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #111111 50%, #0c0c0c 100%);
    min-height: 100vh;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Animated Smoke-like Background */
.portfolio-ring-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle 300px at 20% 30%, rgba(0, 0, 0, 0.534) 0%, transparent 60%),
        radial-gradient(circle 400px at 80% 70%, rgba(255, 255, 255, 0.322) 0%, transparent 60%),
        radial-gradient(circle 250px at 60% 20%, rgba(12, 12, 12, 0.342) 0%, transparent 60%);
    animation: smokeFloat 30s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.portfolio-ring-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.623) 50%, transparent 70%);
    animation: subtleShift 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes smokeFloat {
    0%, 100% { 
        transform: translate(0px, 0px) scale(1);
        opacity: 0.3;
    }
    25% { 
        transform: translate(-10px, -15px) scale(1.05);
        opacity: 0.4;
    }
    50% { 
        transform: translate(15px, -10px) scale(0.95);
        opacity: 0.5;
    }
    75% { 
        transform: translate(-5px, 10px) scale(1.02);
        opacity: 0.3;
    }
}

@keyframes subtleShift {
    0%, 100% { 
        transform: translateX(0px);
        opacity: 0.1;
    }
    50% { 
        transform: translateX(20px);
        opacity: 0.2;
    }
}

.portfolio-ring-section .section-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: #ffffff;
    text-align: center;
    margin: 2rem auto 1rem auto;
    padding: 0 2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    z-index: 10;
    width: 100%;
    display: block;
    animation: titleGlow 6s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { 
        text-shadow: 
            0 0 5px rgba(255, 255, 255, 0.1),
            0 0 10px rgba(255, 255, 255, 0.05);
    }
    50% { 
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.2),
            0 0 20px rgba(255, 255, 255, 0.1),
            0 0 30px rgba(255, 255, 255, 0.05);
    }
}

.portfolio-subtitle {
    text-align: center;
    color: #666;
    font-size: 1rem;
    font-weight: 400;
    margin: 0 auto 3rem auto;
    padding: 0 2rem;
    letter-spacing: 1px;
    width: 100%;
    display: block;
    position: relative;
    z-index: 10;
}

.ring-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
    width: 100%;
}

/* Floating Dot Elements */
.portfolio-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.floating-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: floatDot 8s ease-in-out infinite;
}

.floating-dot.large {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
}

.floating-dot.small {
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
}

@keyframes floatDot {
    0%, 100% { 
        transform: translateY(0px) translateX(0px);
        opacity: 0.3;
    }
    25% { 
        transform: translateY(-15px) translateX(10px);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-5px) translateX(-5px);
        opacity: 0.8;
    }
    75% { 
        transform: translateY(-20px) translateX(15px);
        opacity: 0.4;
    }
}

/* Subtle Light Streaks */
.light-streak {
    position: absolute;
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
    animation: streakMove 12s ease-in-out infinite;
}

@keyframes streakMove {
    0%, 100% { 
        transform: translateY(0px) scaleY(1);
        opacity: 0.2;
    }
    50% { 
        transform: translateY(-30px) scaleY(1.5);
        opacity: 0.5;
    }
}

/* Portfolio Filter */
.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 2rem;
    background: transparent;
    border: 1px solid #333;
    color: #999;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: #ffffff;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

/* Portfolio Grid */
.image-ring {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    padding: 1rem 0;
}

.ring-image {
    position: relative;
    background: #111;
    border: 1px solid #222;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    overflow: hidden;
    aspect-ratio: 5/5;
    animation: portfolioItemPulse 4s ease-in-out infinite;
}

/* Shine Effect for Portfolio Items */
.ring-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 20%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.1) 80%,
        transparent 100%
    );
    transform: skewX(-20deg);
    animation: portfolioShine 6s ease-in-out infinite var(--shine-delay, 0s);
    pointer-events: none;
    z-index: 5;
}

.ring-image:hover::after {
    animation: portfolioShineHover 0.8s ease-out;
}

@keyframes portfolioShine {
    0% {
        left: -100%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    20% {
        left: 100%;
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes portfolioShineHover {
    0% {
        left: -100%;
        opacity: 0;
    }
    50% {
        left: 100%;
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes portfolioItemPulse {
    0%, 100% { 
        box-shadow: 
            0 0 0 0 rgba(255, 255, 255, 0.05),
            0 5px 15px rgba(0, 0, 0, 0.3);
    }
    50% { 
        box-shadow: 
            0 0 0 2px rgba(255, 255, 255, 0.02),
            0 8px 25px rgba(0, 0, 0, 0.4);
    }
}

.ring-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.ring-image:hover::before {
    opacity: 0;
}

.ring-image:hover {
    transform: translateY(-10px);
    border-color: #444;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 10px 20px rgba(0, 0, 0, 0.3);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1) brightness(0.9);
    transition: filter 0.4s ease;
    position: relative;
    z-index: 1;
}

.ring-image:hover .portfolio-image {
    filter: grayscale(0%) contrast(1.2) brightness(1.1);
}

/* Additional shine layer for images */
.portfolio-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 30%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.08) 70%,
        transparent 100%
    );
    transform: skewX(-25deg);
    animation: imageShine 8s ease-in-out infinite var(--image-shine-delay, 0s);
    pointer-events: none;
    z-index: 2;
}

@keyframes imageShine {
    0% {
        left: -150%;
        opacity: 0;
    }
    15% {
        opacity: 0.6;
    }
    30% {
        left: 150%;
        opacity: 0.6;
    }
    100% {
        left: 150%;
        opacity: 0;
    }
}

/* Image Info Overlay */
.ring-image-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        transparent 0%,
        rgba(0, 0, 0, 0.7) 50%,
        rgba(0, 0, 0, 0.95) 100%
    );
    color: white;
    padding: 3rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 3;
}

.ring-image:hover .ring-image-info {
    transform: translateY(0);
}

.image-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.image-category {
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 300;
}

/* Category Badge */
.category-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #333;
    z-index: 3;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.ring-image:hover .category-badge {
    opacity: 1;
    transform: translateY(0);
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 4rem;
}

.load-more-btn {
    padding: 1rem 3rem;
    background: transparent;
    border: 2px solid #333;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
}

.load-more-btn:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

/* MONOCHROMATIC BOTTOM MARQUEE WITH THICK BORDERS - REDUCED HEIGHT */
.bottom-marquee-section {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 0;
    overflow: hidden;
    background: #0a0a0a;
    border-top: 5px solid #333;
    border-bottom: 5px solid #333;
    padding: 2rem 0;
    box-shadow: 
        inset 0 5px 10px rgba(0, 0, 0, 0.5),
        inset 0 -5px 10px rgba(0, 0, 0, 0.5);
}

.bottom-marquee-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 3px,
        rgba(255, 255, 255, 0.02) 3px,
        rgba(255, 255, 255, 0.02) 6px
    );
    pointer-events: none;
}

.marquee-track {
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.marquee-content {
    display: flex;
    gap: 8rem;
    animation: marqueeScroll 45s linear infinite;
    white-space: nowrap;
    width: max-content;
}

.marquee-content span {
    font-size: 2rem;
    font-weight: 300;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 4px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.4s ease;
    opacity: 0.8;
}

.marquee-content span:hover {
    opacity: 1;
    transform: scale(1.02);
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.marquee-content span::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -15px;
    right: -15px;
    bottom: -8px;
    border: 1px solid transparent;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.marquee-content span:hover::before {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.02);
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Monochromatic Full-Page Responsive Design */

/* COSMIC GRID SYSTEM */
.cosmic-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px, 50px 50px, 50px 50px;
    animation: cosmicFlow 30s linear infinite;
}

@keyframes cosmicFlow {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.3;
    }
    33% {
        transform: translate(50px, 25px) rotate(120deg) scale(1.1);
        opacity: 0.6;
    }
    66% {
        transform: translate(-25px, 50px) rotate(240deg) scale(0.9);
        opacity: 0.4;
    }
    100% {
        transform: translate(0, 0) rotate(360deg) scale(1);
        opacity: 0.3;
    }
}

/* ENERGY FIELDS */
.energy-fields {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.energy-field {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    animation: energyPulse 8s ease-in-out infinite;
}

.field-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.field-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.field-3 {
    width: 250px;
    height: 250px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.field-4 {
    width: 180px;
    height: 180px;
    top: 30%;
    right: 30%;
    animation-delay: 6s;
}

@keyframes energyPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.5) rotate(180deg);
        opacity: 0.6;
    }
}

/* QUANTUM PARTICLES */
.quantum-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.quantum-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #ffffff, transparent);
    border-radius: 50%;
    animation: quantumFloat 12s linear infinite;
}

.q1 { top: 15%; left: 20%; animation-delay: 0s; animation-duration: 15s; }
.q2 { top: 25%; right: 25%; animation-delay: 2s; animation-duration: 18s; }
.q3 { bottom: 30%; left: 30%; animation-delay: 4s; animation-duration: 12s; }
.q4 { bottom: 20%; right: 15%; animation-delay: 6s; animation-duration: 20s; }
.q5 { top: 50%; left: 50%; animation-delay: 8s; animation-duration: 16s; }
.q6 { top: 70%; left: 60%; animation-delay: 10s; animation-duration: 14s; }
.q7 { top: 40%; right: 40%; animation-delay: 12s; animation-duration: 22s; }
.q8 { bottom: 50%; left: 70%; animation-delay: 14s; animation-duration: 19s; }

@keyframes quantumFloat {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(100px, -50px) scale(1.5);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50px, 100px) scale(0.8);
        opacity: 0.5;
    }
    75% {
        transform: translate(150px, 50px) scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
}

/* HOLOGRAPHIC LAYERS */
.holographic-layers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.holo-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.02) 50%,
        transparent 70%
    );
    animation: holoShift 20s linear infinite;
}

.layer-1 { animation-delay: 0s; }
.layer-2 { animation-delay: 7s; transform: rotate(120deg); }
.layer-3 { animation-delay: 14s; transform: rotate(240deg); }

@keyframes holoShift {
    0% {
        transform: translateX(-100%) skewX(0deg);
        opacity: 0;
    }
    50% {
        transform: translateX(0%) skewX(10deg);
        opacity: 1;
    }
    100% {
        transform: translateX(100%) skewX(0deg);
        opacity: 0;
    }
}

/* NEURAL WEB SVG */
.neural-web {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.neural-svg {
    width: 100%;
    height: 100%;
}

/* SECTION HEADER STYLING */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 100;
    padding: 2rem 0;
}

.holographic-title {
    position: relative;
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 
        0 0 30px rgba(100, 255, 218, 0.8),
        0 0 60px rgba(100, 255, 218, 0.5),
        0 0 90px rgba(100, 255, 218, 0.3);
    filter: drop-shadow(0 0 20px rgba(100, 255, 218, 0.5));
}

.title-layer {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    background: linear-gradient(45deg, #64ffda, #ffffff, #ff64ff, #64ffda);
    background-size: 400% 400%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #ffffff;
    animation: titleGlow 6s ease-in-out infinite;
    z-index: 10;
}

.layer-1 {
    animation-delay: 0s;
    filter: blur(0px);
    position: relative;
    z-index: 3;
    opacity: 1;
}

.layer-2 {
    animation-delay: 2s;
    filter: blur(1px);
    opacity: 0.8;
    z-index: 2;
    transform: translateX(-50%) translateY(2px);
}

.layer-3 {
    animation-delay: 4s;
    filter: blur(2px);
    opacity: 0.6;
    z-index: 1;
    transform: translateX(-50%) translateY(4px);
}

/* Fallback for browsers that don't support background-clip */
@supports not (-webkit-background-clip: text) {
    .title-layer {
        -webkit-text-fill-color: #ffffff;
        color: #ffffff;
    }
}

@keyframes titleGlow {
    0%, 100% {
        background-position: 0% 50%;
        transform: translateX(-50%) scale(1);
    }
    25% {
        background-position: 25% 50%;
        transform: translateX(-50%) scale(1.01);
    }
    50% {
        background-position: 100% 50%;
        transform: translateX(-50%) scale(1.02);
    }
    75% {
        background-position: 75% 50%;
        transform: translateX(-50%) scale(1.01);
    }
}

.title-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* DIMENSION SELECTOR */
.dimension-selector {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
    padding: 2rem 0;
}

.selector-ring {
    display: flex;
    gap: 3rem;
    position: relative;
}

.dimension-tab {
    position: relative;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.tab-core {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(15px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.tab-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 90px;
    height: 90px;
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 50%;
    animation: ringRotate 15s linear infinite;
}

.tab-label {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    font-weight: 700;
    color: #888888;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.dimension-tab.active .tab-core {
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.3), rgba(100, 255, 218, 0.1));
    border-color: rgba(100, 255, 218, 0.6);
    box-shadow: 
        0 0 40px rgba(100, 255, 218, 0.4),
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.dimension-tab.active .tab-label {
    color: #ffffff;
}

.dimension-tab:hover .tab-core {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

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

/* MODERN GALLERY CONTAINER */
.holographic-gallery {
    position: relative;
    z-index: 5;
    margin-bottom: 4rem;
    padding: 3rem 2rem;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 30px;
    margin: 2rem auto 4rem auto;
    max-width: 1600px;
}

.gallery-universe {
    position: relative;
    min-height: 600px;
}

.dimension-space {
    display: none;
    width: 100%;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.dimension-space.active {
    display: block;
    opacity: 1;
}

/* Fallback: Show first dimension space if JavaScript fails */
.dimension-space:first-child {
    display: block;
    opacity: 1;
}

.dimension-space.active:first-child {
    display: block;
    opacity: 1;
}

/* MODERN GALLERY GRID */
.holographic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    padding: 3rem 2rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

/* Enhanced responsive grid adjustments */

/* MODERN GALLERY CARDS */
.holo-card {
    position: relative;
    height: 400px;
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.holo-card:hover {
    transform: translateY(-20px) rotateX(10deg) rotateY(10deg) scale(1.05);
}

.card-hologram {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.holo-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.holo-card:hover .holo-frame {
    transform: scale(1.02);
}

.holo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    filter: brightness(0.95) contrast(1.05) saturate(1.1);
    display: block;
    opacity: 1;
    border-radius: 20px;
    background: linear-gradient(45deg, #333, #555);
}

/* Fallback for broken images */
.holo-frame img[alt="Image not found"] {
    background: linear-gradient(45deg, #333, #555);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
}

.holo-card:hover .holo-frame img {
    transform: scale(1.03);
    filter: brightness(1.1) contrast(1.1) saturate(1.2);
}

/* HOLO OVERLAY */
.holo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

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

/* SCAN LINES EFFECT */
.scan-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.03) 2px,
        rgba(255, 255, 255, 0.03) 4px
    );
    animation: scanMove 2s linear infinite;
}

@keyframes scanMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(4px); }
}

/* HOLO INFO */
.holo-info {
    position: relative;
    z-index: 2;
}

.holo-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.holo-desc {
    font-size: 1rem;
    color: #cccccc;
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* HOLO TAGS */
.holo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.holo-tag {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.holo-tag:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

/* HOLO EFFECTS */
.holo-effects {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.effect-1, .effect-2, .effect-3 {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: effectSweep 3s ease-in-out infinite;
}

.effect-1 { top: 20%; animation-delay: 0s; }
.effect-2 { top: 50%; animation-delay: 1s; }
.effect-3 { top: 80%; animation-delay: 2s; }

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

/* QUANTUM NAVIGATION */
.quantum-navigation {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
    position: relative;
    z-index: 5;
}

.nav-quantum-field {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.quantum-btn {
    position: relative;
    width: 80px;
    height: 80px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
}

.quantum-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.quantum-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: quantumSpin 8s linear infinite;
}

.ring-1 {
    width: 60px;
    height: 60px;
    top: -30px;
    left: -30px;
    animation-duration: 8s;
}

.ring-2 {
    width: 70px;
    height: 70px;
    top: -35px;
    left: -35px;
    animation-duration: 12s;
    animation-direction: reverse;
}

.ring-3 {
    width: 80px;
    height: 80px;
    top: -40px;
    left: -40px;
    animation-duration: 16s;
}

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

.quantum-label {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 700;
    color: #888888;
    transition: all 0.3s ease;
}

.quantum-btn:hover .quantum-core {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.quantum-btn:hover .quantum-label {
    color: #ffffff;
}

/* QUANTUM INDICATORS */
.quantum-indicators {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.quantum-indicators .quantum-dot {
    position: relative;
    width: 15px;
    height: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantum-indicators .quantum-dot.active {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    transform: scale(1.2);
}

/* RESPONSIVE DESIGN */

/* Interactive Background */
.interactive-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: all;
}

/* Tech Grid */
.tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridPulse 4s ease-in-out infinite;
}

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

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(2px);
    animation: shapeFloat 20s linear infinite;
}

.shape-1 {
    width: 60px;
    height: 60px;
    top: 10%;
    left: 10%;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation-duration: 25s;
}

.shape-2 {
    width: 40px;
    height: 40px;
    top: 20%;
    right: 15%;
    border-radius: 50%;
    animation-duration: 30s;
    animation-direction: reverse;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 25%;
    left: 20%;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    animation-duration: 35s;
}

.shape-4 {
    width: 50px;
    height: 50px;
    top: 60%;
    right: 25%;
    transform: rotate(45deg);
    animation-duration: 28s;
    animation-direction: reverse;
}

.shape-5 {
    width: 70px;
    height: 70px;
    bottom: 15%;
    right: 10%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation-duration: 32s;
}

.shape-6 {
    width: 35px;
    height: 35px;
    top: 40%;
    left: 5%;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation-duration: 27s;
    animation-direction: reverse;
}

@keyframes shapeFloat {
    0% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.6;
    }
    100% {
        transform: translateY(0px) rotate(360deg);
        opacity: 0.3;
    }
}

.skills-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.floating-skills-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px, 60px 60px;
    animation: skillsBgFloat 20s linear infinite;
}

.skills-constellation {
    position: relative;
    height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4rem 0;
    overflow: visible;
    z-index: 5;
}

/* Central Hub */
.skills-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.skills-hub::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 50%;
    animation: electromagneticField 4s linear infinite;
    z-index: -1;
}

@keyframes electromagneticField {
    0% {
        transform: rotate(0deg);
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: rotate(360deg);
        opacity: 0.3;
    }
}

/* Energy Waves */
.energy-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -2;
}

.energy-wave {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: energyPulse 4s ease-out infinite;
}

.wave-1 {
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    animation-delay: 0s;
}

.wave-2 {
    width: 250px;
    height: 250px;
    margin: -125px 0 0 -125px;
    animation-delay: 1s;
}

.wave-3 {
    width: 350px;
    height: 350px;
    margin: -175px 0 0 -175px;
    animation-delay: 2s;
}

.wave-4 {
    width: 450px;
    height: 450px;
    margin: -225px 0 0 -225px;
    animation-delay: 3s;
}

@keyframes energyPulse {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.hub-core {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #333333, #000000);
    border: 3px solid #ffffff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.hub-icon {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.hub-core h3 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
}

.hub-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring {
    position: absolute;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
}

.ring::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    border-radius: 50%;
    animation: ringRotate 6s linear infinite;
    z-index: 1;
}

.ring::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: radial-gradient(circle, transparent 70%, rgba(0, 0, 0, 0.9) 100%);
    border-radius: 50%;
    z-index: 2;
}

.ring-1 {
    width: 200px;
    height: 200px;
    animation: ringRotate 12s linear infinite;
    will-change: transform;
}

.ring-1::before {
    animation: ringRotate 8s linear infinite;
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
}

.ring-2 {
    width: 300px;
    height: 300px;
    animation: ringRotate 18s linear infinite reverse;
    will-change: transform;
}

.ring-2::before {
    animation: ringRotate 12s linear infinite reverse;
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
}

.ring-3 {
    width: 400px;
    height: 400px;
    animation: ringRotate 24s linear infinite;
    will-change: transform;
}

.ring-3::before {
    animation: ringRotate 16s linear infinite;
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
}

/* Skill Orbits */
.skill-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbit-1 {
    width: 200px;
    height: 200px;
    animation: orbitRotate 30s linear infinite;
    will-change: transform;
}

.orbit-2 {
    width: 300px;
    height: 300px;
    animation: orbitRotate 40s linear infinite reverse;
    will-change: transform;
}

.orbit-3 {
    width: 400px;
    height: 400px;
    animation: orbitRotate 50s linear infinite;
    will-change: transform;
}

.orbit-4 {
    width: 500px;
    height: 500px;
    animation: orbitRotate 60s linear infinite reverse;
    will-change: transform;
}

.orbit-5 {
    width: 600px;
    height: 600px;
    animation: orbitRotate 70s linear infinite;
    will-change: transform;
}

.orbit-6 {
    width: 700px;
    height: 700px;
    animation: orbitRotate 80s linear infinite reverse;
    will-change: transform;
}

.orbit-7 {
    width: 800px;
    height: 800px;
    animation: orbitRotate 90s linear infinite;
    will-change: transform;
}

/* Orbital Paths */
.orbit-path {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.path-1 {
    width: 200px;
    height: 200px;
    animation: pathGlow 4s ease-in-out infinite;
}

.path-2 {
    width: 300px;
    height: 300px;
    animation: pathGlow 5s ease-in-out infinite;
    animation-delay: 1s;
}

.path-3 {
    width: 400px;
    height: 400px;
    animation: pathGlow 6s ease-in-out infinite;
    animation-delay: 2s;
}

.path-4 {
    width: 500px;
    height: 500px;
    animation: pathGlow 7s ease-in-out infinite;
    animation-delay: 3s;
}

.path-5 {
    width: 600px;
    height: 600px;
    animation: pathGlow 8s ease-in-out infinite;
    animation-delay: 4s;
}

.path-6 {
    width: 700px;
    height: 700px;
    animation: pathGlow 9s ease-in-out infinite;
    animation-delay: 5s;
}

.path-7 {
    width: 800px;
    height: 800px;
    animation: pathGlow 10s ease-in-out infinite;
    animation-delay: 6s;
}

@keyframes pathGlow {
    0%, 100% {
        border-color: rgba(255, 255, 255, 0.1);
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
    }
    50% {
        border-color: rgba(255, 255, 255, 0.3);
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    }
}

/* Orbital Trails */
.orbit-trail {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.trail-1 {
    width: 200px;
    height: 200px;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(255, 255, 255, 0.2) 60deg,
        transparent 120deg,
        transparent 360deg
    );
    animation: trailRotate 30s linear infinite;
    opacity: 0.6;
    will-change: transform;
}

.trail-2 {
    width: 300px;
    height: 300px;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(255, 255, 255, 0.15) 80deg,
        transparent 160deg,
        transparent 360deg
    );
    animation: trailRotate 40s linear infinite reverse;
    opacity: 0.5;
    will-change: transform;
}

.trail-3 {
    width: 400px;
    height: 400px;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(255, 255, 255, 0.12) 100deg,
        transparent 200deg,
        transparent 360deg
    );
    animation: trailRotate 50s linear infinite;
    opacity: 0.4;
    will-change: transform;
}

.trail-4 {
    width: 500px;
    height: 500px;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(255, 255, 255, 0.1) 120deg,
        transparent 240deg,
        transparent 360deg
    );
    animation: trailRotate 60s linear infinite reverse;
    opacity: 0.35;
    will-change: transform;
}

.trail-5 {
    width: 600px;
    height: 600px;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(255, 255, 255, 0.08) 140deg,
        transparent 280deg,
        transparent 360deg
    );
    animation: trailRotate 70s linear infinite;
    opacity: 0.3;
    will-change: transform;
}

.trail-6 {
    width: 700px;
    height: 700px;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(255, 255, 255, 0.06) 160deg,
        transparent 320deg,
        transparent 360deg
    );
    animation: trailRotate 80s linear infinite reverse;
    opacity: 0.25;
    will-change: transform;
}

.trail-7 {
    width: 800px;
    height: 800px;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(255, 255, 255, 0.05) 180deg,
        transparent 360deg
    );
    animation: trailRotate 90s linear infinite;
    opacity: 0.2;
    will-change: transform;
}

@keyframes trailRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Floating Skills */
.floating-skill {
    position: absolute;
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: transform 0.3s ease;
    overflow: hidden;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    will-change: transform;
}

.floating-skill::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 50%;
    animation: skillGlow 4s ease-in-out infinite;
    z-index: 0;
}

.floating-skill > * {
    position: relative;
    z-index: 1;
}

@keyframes skillGlow {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.1);
    }
}

.floating-skill:hover {
    transform: scale(1.2);
    z-index: 100;
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.3),
        0 0 40px rgba(255, 255, 255, 0.2),
        0 0 60px rgba(255, 255, 255, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    animation: quantumGlow 0.5s ease-in-out;
}

.floating-skill:hover::before {
    animation-duration: 0.5s;
}

@keyframes quantumGlow {
    0% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.5) saturate(1.2);
    }
    100% {
        filter: brightness(1.2);
    }
}

.floating-skill:hover .skill-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-10px);
}

/* Perfect Skill Positioning System - No Overlaps, Mathematical Distribution */

/* Orbit 1 - Core Technology (1 skill) - Top position only */
.orbit-1 .floating-skill:nth-child(1) { 
    top: -30px; 
    left: 50%; 
    transform: translateX(-50%); 
}

/* Orbit 2 - Primary Languages (2 skills) - 180° apart */
.orbit-2 .floating-skill:nth-child(1) { 
    top: -30px; 
    left: 50%; 
    transform: translateX(-50%); 
}
.orbit-2 .floating-skill:nth-child(2) { 
    bottom: -30px; 
    left: 50%; 
    transform: translateX(-50%); 
}

/* Orbit 3 - Web Technologies (3 skills) - 120° apart */
.orbit-3 .floating-skill:nth-child(1) { 
    top: -30px; 
    left: 50%; 
    transform: translateX(-50%); 
}
.orbit-3 .floating-skill:nth-child(2) { 
    bottom: 60px; 
    right: -30px; 
    transform: translateY(50%); 
}
.orbit-3 .floating-skill:nth-child(3) { 
    bottom: 60px; 
    left: -30px; 
    transform: translateY(50%); 
}

/* Orbit 4 - Backend & Frameworks (4 skills) - 90° apart */
.orbit-4 .floating-skill:nth-child(1) { 
    top: -30px; 
    left: 50%; 
    transform: translateX(-50%); 
}
.orbit-4 .floating-skill:nth-child(2) { 
    top: 50%; 
    right: -30px; 
    transform: translateY(-50%); 
}
.orbit-4 .floating-skill:nth-child(3) { 
    bottom: -30px; 
    left: 50%; 
    transform: translateX(-50%); 
}
.orbit-4 .floating-skill:nth-child(4) { 
    top: 50%; 
    left: -30px; 
    transform: translateY(-50%); 
}

/* Orbit 5 - Development Tools (5 skills) - 72° apart */
.orbit-5 .floating-skill:nth-child(1) { 
    top: -30px; 
    left: 50%; 
    transform: translateX(-50%); 
}
.orbit-5 .floating-skill:nth-child(2) { 
    top: 20%; 
    right: -20px; 
    transform: translateY(-50%); 
}
.orbit-5 .floating-skill:nth-child(3) { 
    bottom: 20%; 
    right: -20px; 
    transform: translateY(50%); 
}
.orbit-5 .floating-skill:nth-child(4) { 
    bottom: 20%; 
    left: -20px; 
    transform: translateY(50%); 
}
.orbit-5 .floating-skill:nth-child(5) { 
    top: 20%; 
    left: -20px; 
    transform: translateY(-50%); 
}

/* Orbit 6 - Creative & Database (6 skills) - 60° apart */
.orbit-6 .floating-skill:nth-child(1) { 
    top: -30px; 
    left: 50%; 
    transform: translateX(-50%); 
}
.orbit-6 .floating-skill:nth-child(2) { 
    top: 25%; 
    right: -25px; 
    transform: translateY(-50%); 
}
.orbit-6 .floating-skill:nth-child(3) { 
    bottom: 25%; 
    right: -25px; 
    transform: translateY(50%); 
}
.orbit-6 .floating-skill:nth-child(4) { 
    bottom: -30px; 
    left: 50%; 
    transform: translateX(-50%); 
}
.orbit-6 .floating-skill:nth-child(5) { 
    bottom: 25%; 
    left: -25px; 
    transform: translateY(50%); 
}
.orbit-6 .floating-skill:nth-child(6) { 
    top: 25%; 
    left: -25px; 
    transform: translateY(-50%); 
}

/* Orbit 7 - Cloud & Advanced (7 skills) - 51.43° apart */
.orbit-7 .floating-skill:nth-child(1) { 
    top: -30px; 
    left: 50%; 
    transform: translateX(-50%); 
}
.orbit-7 .floating-skill:nth-child(2) { 
    top: 15%; 
    right: -20px; 
    transform: translateY(-50%); 
}
.orbit-7 .floating-skill:nth-child(3) { 
    top: 60%; 
    right: -20px; 
    transform: translateY(-50%); 
}
.orbit-7 .floating-skill:nth-child(4) { 
    bottom: -30px; 
    right: 30%; 
    transform: translateX(50%); 
}
.orbit-7 .floating-skill:nth-child(5) { 
    bottom: -30px; 
    left: 30%; 
    transform: translateX(-50%); 
}
.orbit-7 .floating-skill:nth-child(6) { 
    top: 60%; 
    left: -20px; 
    transform: translateY(-50%); 
}
.orbit-7 .floating-skill:nth-child(7) { 
    top: 15%; 
    left: -20px; 
    transform: translateY(-50%); 
}

.skill-logo {
    width: 56px;
    height: 56px;
    background: radial-gradient(circle, rgba(40, 40, 40, 0.9), rgba(20, 20, 20, 0.95));
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #ffffff;
    position: relative;
    z-index: 3;
    margin: 0;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
    will-change: transform;
    flex-shrink: 0;
}

.skill-logo i {
    position: relative;
    z-index: 2;
}

.floating-skill:hover .skill-logo {
    border-color: rgba(255, 255, 255, 1);
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.4),
        0 0 30px rgba(255, 255, 255, 0.2),
        inset 0 0 15px rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.skill-tooltip {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 0.8rem;
    min-width: 120px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

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

.skill-text {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: max-content;
    max-width: 80px;
    z-index: 4;
}

.skill-name {
    display: block;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.7rem;
    line-height: 1.2;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.skill-meter {
    width: 100px;
    height: 4px;
    background: #333333;
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.meter-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffffff, #888888);
    border-radius: 2px;
    width: 0;
    transition: width 0.8s ease;
}

/* Skills Categories */
.skills-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    width: 100%;
    box-sizing: border-box;
}

/* Enhanced responsive grid for skills */

.category-card {
    background: linear-gradient(135deg, #111111, #0a0a0a);
    border: 1px solid #333333;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow, border-color;
}

.category-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(-45deg);
    animation: holographicShimmer 3s ease-in-out infinite;
    z-index: 0;
}

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

@keyframes holographicShimmer {
    0% {
        transform: translateX(-100%) rotate(-45deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%) rotate(-45deg);
        opacity: 0;
    }
}

.category-card:hover {
    border-color: rgba(100, 255, 218, 0.4);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(100, 255, 218, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.category-card:active {
    transform: translateY(-4px) scale(1.01);
    transition: all 0.1s ease;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #333333, #555555);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: #ffffff;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
    /* Prevent rapid state changes */
    transition-delay: 0.05s;
}

.category-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(100, 255, 218, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 1;
}

.category-card {
    transition: all 0.8s ease;
    /* Prevent hover state flickering */
    transition-delay: 0.1s;
}

.category-card:hover .category-icon {
    transform: scale(1.1) translateZ(0);
    background: linear-gradient(135deg, #555555, #777777);
    box-shadow: 
        0 0 25px rgba(100, 255, 218, 0.6),
        0 0 40px rgba(100, 255, 218, 0.3),
        inset 0 0 15px rgba(100, 255, 218, 0.1);
    animation: categoryIconPulse 2s ease-in-out infinite;
}

.category-card:hover .category-icon::before {
    opacity: 1;
    transition-delay: 0.1s;
}

.category-icon i {
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    will-change: transform, text-shadow;
}

.category-card:hover .category-icon i {
    transform: scale(1.15) translateZ(0) rotateY(5deg);
    text-shadow: 
        0 0 15px rgba(100, 255, 218, 0.8),
        0 0 25px rgba(100, 255, 218, 0.4);
    transition-delay: 0.05s;
    animation: iconFloat 3s ease-in-out infinite;
}

/* Enhanced Category Icon Animations */
@keyframes categoryIconPulse {
    0%, 100% {
        box-shadow: 
            0 0 25px rgba(100, 255, 218, 0.6),
            0 0 40px rgba(100, 255, 218, 0.3),
            inset 0 0 15px rgba(100, 255, 218, 0.1);
        transform: scale(1.1) translateZ(0);
    }
    50% {
        box-shadow: 
            0 0 35px rgba(100, 255, 218, 0.8),
            0 0 55px rgba(100, 255, 218, 0.4),
            inset 0 0 20px rgba(100, 255, 218, 0.15);
        transform: scale(1.12) translateZ(0);
    }
}

@keyframes iconFloat {
    0%, 100% {
        transform: scale(1.15) translateZ(0) rotateY(5deg) translateY(0px);
    }
    33% {
        transform: scale(1.18) translateZ(0) rotateY(-2deg) translateY(-2px);
    }
    66% {
        transform: scale(1.16) translateZ(0) rotateY(3deg) translateY(1px);
    }
}

.category-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.category-card p {
    color: #aaaaaa;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Animations */
@keyframes skillsBgFloat {
    0% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-20px) translateX(10px); }
    50% { transform: translateY(0) translateX(20px); }
    75% { transform: translateY(-10px) translateX(10px); }
    100% { transform: translateY(0) translateX(0); }
}

/* Matrix Rain Effect */
.matrix-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.1;
    z-index: 1;
}

.matrix-column {
    position: absolute;
    top: -100%;
    width: 2px;
    height: 100%;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: #00ff41;
    animation: matrixFall 8s linear infinite;
    text-shadow: 0 0 5px #00ff41;
}

.matrix-column span {
    display: block;
    margin-bottom: 10px;
    opacity: 0.8;
}

@keyframes matrixFall {
    0% {
        transform: translateY(-100vh);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* Tech Particles */
.tech-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.tech-particle {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.3;
    filter: grayscale(100%) brightness(1.5) contrast(0.8);
    animation: techFloat 12s ease-in-out infinite;
    color: rgba(255, 255, 255, 0.4);
}

.particle-1 { left: 10%; top: 20%; animation-delay: 0s; }
.particle-2 { left: 80%; top: 15%; animation-delay: 2s; }
.particle-3 { left: 15%; top: 70%; animation-delay: 4s; }
.particle-4 { left: 75%; top: 80%; animation-delay: 1s; }
.particle-5 { left: 25%; top: 40%; animation-delay: 6s; }
.particle-6 { left: 65%; top: 30%; animation-delay: 3s; }
.particle-7 { left: 35%; top: 85%; animation-delay: 5s; }
.particle-8 { left: 90%; top: 50%; animation-delay: 7s; }

@keyframes techFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) rotate(90deg) scale(1.2);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-10px) rotate(180deg) scale(0.8);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-30px) rotate(270deg) scale(1.1);
        opacity: 0.5;
    }
}

/* Neural Network Lines */
.neural-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.neural-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0.3;
    animation: neuralPulse 6s ease-in-out infinite;
}

.line-1 {
    top: 20%;
    left: 0;
    width: 100%;
    height: 1px;
    animation-delay: 0s;
}

.line-2 {
    top: 0;
    left: 30%;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation-delay: 1s;
}

.line-3 {
    top: 60%;
    left: 0;
    width: 100%;
    height: 1px;
    animation-delay: 2s;
}

.line-4 {
    top: 0;
    left: 70%;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation-delay: 3s;
}

.line-5 {
    top: 40%;
    left: 0;
    width: 100%;
    height: 1px;
    animation-delay: 4s;
}

.line-6 {
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation-delay: 5s;
}

@keyframes neuralPulse {
    0%, 100% {
        opacity: 0.1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.02);
    }
}

/* Lightning Connections */
.lightning-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.lightning-svg {
    width: 100%;
    height: 100%;
}

.lightning-path {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: lightningFlow 4s ease-in-out infinite;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.5));
}

.path-1 { animation-delay: 0s; }
.path-2 { animation-delay: 1s; }
.path-3 { animation-delay: 2s; }
.path-4 { animation-delay: 3s; }

@keyframes lightningFlow {
    0% {
        stroke-dashoffset: 200;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        stroke-dashoffset: 0;
        opacity: 0.8;
    }
    90% {
        opacity: 1;
    }
    100% {
        stroke-dashoffset: -200;
        opacity: 0;
    }
}

/* Quantum Dots */
.quantum-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.quantum-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.2));
    border-radius: 50%;
    animation: quantumFloat 6s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.dot-1 { top: 20%; left: 15%; animation-delay: 0s; }
.dot-2 { top: 30%; left: 85%; animation-delay: 1s; }
.dot-3 { top: 70%; left: 20%; animation-delay: 2s; }
.dot-4 { top: 80%; left: 75%; animation-delay: 3s; }
.dot-5 { top: 50%; left: 10%; animation-delay: 4s; }
.dot-6 { top: 60%; left: 90%; animation-delay: 5s; }

@keyframes quantumFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(20px, -15px) scale(1.2);
        opacity: 1;
    }
    50% {
        transform: translate(-10px, -20px) scale(0.8);
        opacity: 0.8;
    }
    75% {
        transform: translate(15px, 10px) scale(1.1);
        opacity: 0.9;
    }
}

@keyframes ringRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbitRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

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

/* Designs Section */
.designs {
    background: linear-gradient(135deg, #0a0a0a 0%, #111111 100%);
    position: relative;
    overflow: hidden;
}

.designs-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.designs-intro p {
    font-size: 1.2rem;
    color: #aaaaaa;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 3D Gallery */
.gallery-3d {
    perspective: 1200px;
    margin-bottom: 4rem;
}

.gallery-container {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(135deg, #111111, #222222);
    border: 1px solid #333333;
}

.gallery-track {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
}

.design-card {
    min-width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: all 0.5s ease;
}

.design-card:not(.active) {
    transform: rotateY(-15deg) scale(0.9);
    opacity: 0.7;
}

.design-card.active {
    transform: rotateY(0deg) scale(1);
    opacity: 1;
    z-index: 10;
}

.design-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.design-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(110%);
    transition: all 0.5s ease;
}

.design-card:hover .design-image img {
    filter: grayscale(30%) contrast(120%);
    transform: scale(1.05);
}

.design-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

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

.design-info {
    text-align: center;
    padding: 2rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.design-card:hover .design-info {
    transform: translateY(0);
}

.design-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.design-info p {
    font-size: 1rem;
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.design-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.design-tags .tag {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

/* Gallery Controls */
.gallery-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #333333, #111111);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-btn:hover {
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
    background: linear-gradient(135deg, #555555, #333333);
}

.gallery-indicators {
    display: flex;
    gap: 0.8rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #ffffff;
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Design Categories */
.design-categories {
    margin-bottom: 4rem;
}

.design-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #cccccc;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: rgba(255, 255, 255, 0.8);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Design Stats */
.design-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.design-stats .stat-item {
    background: linear-gradient(135deg, #111111, #0a0a0a);
    border: 1px solid #333333;
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.design-stats .stat-item:hover {
    border-color: #666666;
    transform: translateY(-5px);
}

.design-stats .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.design-stats .stat-label {
    color: #aaaaaa;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Projects Section */
.projects {
    background: #000000;
}

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

.project-card {
    background: #111111;
    border: 1px solid #333333;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    border-color: #666666;
    transform: translateY(-5px);
}

.project-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.project-card:hover .project-image img {
    filter: grayscale(50%);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.project-content p {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.tag {
    background: #333333;
    color: #ffffff;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Achievements Section */
.achievements {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
}

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

.achievement-card {
    background: linear-gradient(135deg, #111111, #0a0a0a);
    border: 1px solid #333333;
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement-card.featured {
    border-color: #ffaa00;
    background: linear-gradient(135deg, #1a1a0a, #0f0f0a);
}

.achievement-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffaa00, #ff6600);
}

.achievement-card:hover {
    transform: translateY(-5px);
    border-color: #666666;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.achievement-card.featured:hover {
    border-color: #ffaa00;
    box-shadow: 0 10px 30px rgba(255, 170, 0, 0.2);
}

.achievement-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #333333, #555555);
    border-radius: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.achievement-card.featured .achievement-icon {
    background: linear-gradient(135deg, #ffaa00, #ff6600);
    color: #000000;
}

.achievement-card:hover .achievement-icon {
    transform: scale(1.1);
}

.achievement-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.achievement-description {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.achievement-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.achievement-year,
.achievement-type {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.achievement-card.featured .achievement-year,
.achievement-card.featured .achievement-type {
    background: rgba(255, 170, 0, 0.2);
    border-color: rgba(255, 170, 0, 0.3);
}

/* Personal Interests */
.personal-interests {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid #333333;
}

.personal-interests h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #ffffff;
}

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

.interest-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #111111, #0a0a0a);
    border: 1px solid #333333;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.interest-item:hover {
    transform: translateY(-5px);
    border-color: #666666;
}

.interest-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #333333, #555555);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffffff;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.interest-item:hover .interest-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #555555, #777777);
}

.interest-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.interest-item p {
    color: #aaaaaa;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Certificates Section */
.certificates {
    background: #111111;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
}

/* Enhanced responsive grid for certificates */

.certificate-card {
    background: #000000;
    border: 1px solid #333333;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.certificate-card:hover {
    border-color: #666666;
    background: #0a0a0a;
}

.certificate-icon {
    width: 80px;
    height: 80px;
    background: #333333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #ffffff;
}

.certificate-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.certificate-issuer {
    color: #cccccc;
    margin-bottom: 0.5rem;
}

.certificate-date {
    color: #666666;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Contact Section */
.contact {
    background: #000000;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    width: 100%;
    box-sizing: border-box;
}

/* Enhanced responsive grid for contact */

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: #333333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #ffffff;
}

.contact-content h4 {
    margin-bottom: 0.5rem;
}

.contact-content p {
    color: #cccccc;
}

.contact-form {
    background: #111111;
    padding: 2rem;
    border: 1px solid #333333;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: #000000;
    border: 1px solid #333333;
    color: #ffffff;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #666666;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666666;
}

/* =============== CREATIVE INTERACTIVE FOOTER =============== */

.footer.creative-footer {
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    overflow: visible;
    min-height: 300px;
    width: 100%;
    box-sizing: border-box;
}

/* Animated Background Effects */
.footer-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

/* Floating Particles */
.footer-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.footer-particles::before,
.footer-particles::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(100, 255, 218, 0.6);
    border-radius: 50%;
    animation: floatFooterParticles 15s infinite linear;
}

.footer-particles::before {
    left: 20%;
    top: 20%;
    animation-delay: 0s;
}

.footer-particles::after {
    left: 80%;
    top: 80%;
    animation-delay: 7s;
}

@keyframes floatFooterParticles {
    0% {
        transform: translateX(0) translateY(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(100px) translateY(-200px) scale(0);
        opacity: 0;
    }
}

/* Animated Waves */
.footer-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(100, 255, 218, 0.1), transparent);
    animation: waveAnimation 8s ease-in-out infinite;
}

.wave-1 {
    animation-delay: 0s;
    opacity: 0.3;
}

.wave-2 {
    animation-delay: 2s;
    opacity: 0.2;
    animation-duration: 12s;
}

.wave-3 {
    animation-delay: 4s;
    opacity: 0.1;
    animation-duration: 16s;
}

@keyframes waveAnimation {
    0%, 100% {
        transform: translateX(-50%) scaleY(0.5);
    }
    50% {
        transform: translateX(-25%) scaleY(1);
    }
}

/* Gradient Orbs */
.footer-gradient-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.15) 0%, transparent 70%);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 100, 150, 0.1) 0%, transparent 70%);
    top: 60%;
    right: 20%;
    animation-delay: 7s;
}

.orb-3 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(150, 100, 255, 0.12) 0%, transparent 70%);
    bottom: 30%;
    left: 60%;
    animation-delay: 14s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
    }
    33% {
        transform: translateY(-30px) translateX(20px) scale(1.1);
    }
    66% {
        transform: translateY(20px) translateX(-15px) scale(0.9);
    }
}

/* Footer Content Layout */
.footer-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

/* Main Footer Content */
.footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    position: relative;
    z-index: 5;
}

/* Creative Love Message */
.footer-love-message {
    display: block;
    font-size: 1.2rem;
    font-weight: 500;
    color: #cccccc;
    margin-bottom: 1rem;
    position: relative;
    z-index: 10;
    width: 100%;
    text-align: center;
    line-height: 1.4;
}

.love-text {
    color: #cccccc;
    transition: all 0.3s ease;
    display: inline;
    white-space: nowrap;
    margin: 0;
    padding: 0;
}

.footer-love-message:hover .love-text {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Glowing Heart Container */
.love-heart-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.1rem;
}

.footer-love-message .love-heart {
    font-size: 1.4rem;
    color: #ff6b6b;
    animation: heartBeat 2s ease-in-out infinite;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline;
    margin: 0 0.1rem;
}

.love-heart:hover {
    transform: scale(1.2);
    filter: brightness(1.3);
}

/* Heart Glow Effect */
.heart-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, rgba(255, 100, 100, 0.6) 0%, rgba(255, 100, 100, 0.3) 40%, transparent 70%);
    border-radius: 50%;
    animation: heartGlow 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes heartBeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1.05);
    }
    75% {
        transform: scale(1.15);
    }
}

@keyframes heartGlow {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* Heart Particles */
.heart-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 100;
}

/* =============== INTERACTIVE LOVE MESSAGE ENHANCEMENTS =============== */

/* Enhanced Interactive Love Message Container */
.interactive-love-message {
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease;
    padding: 1rem 2rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

