/* ===== CSS VARIABLES ===== */
:root {
    --neon-blue: #00ffff;
    --neon-pink: #ff006e;
    --neon-purple: #8338ec;
    --neon-cyan: #06ffa5;
    --neon-orange: #ff7900;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --card-bg: rgba(20, 20, 20, 0.8);
    --text-light: #e0e0e0;
    --text-dark: #1a1a1a;
}

/* ===== LOADING SCREEN ===== */
/* Audio Control Styling */
.audio-control {
    position: fixed;
    top: 80px;
    right: 30px;
    z-index: 10000;
    transition: all 0.3s ease;
}

.audio-control.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
}

.audio-btn {
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.3),
        inset 0 0 20px rgba(0, 255, 255, 0.1);
}

.audio-btn:hover {
    background: rgba(0, 255, 255, 0.2);
    box-shadow: 
        0 0 30px rgba(0, 255, 255, 0.5),
        inset 0 0 30px rgba(0, 255, 255, 0.2);
    transform: scale(1.1);
}

.audio-btn i {
    color: var(--neon-cyan);
    font-size: 24px;
    text-shadow: 0 0 10px var(--neon-cyan);
}

.audio-btn.muted {
    background: rgba(255, 0, 0, 0.1);
    border-color: #ff4444;
    box-shadow: 
        0 0 20px rgba(255, 68, 68, 0.3),
        inset 0 0 20px rgba(255, 68, 68, 0.1);
}

.audio-btn.muted i {
    color: #ff4444;
    text-shadow: 0 0 10px #ff4444;
}

.audio-btn.muted:hover {
    background: rgba(255, 0, 0, 0.2);
    box-shadow: 
        0 0 30px rgba(255, 68, 68, 0.5),
        inset 0 0 30px rgba(255, 68, 68, 0.2);
}

/* Audio visualization effect */
@keyframes audioWave {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.audio-btn.playing {
    animation: audioWave 1.5s ease-in-out infinite;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(50, 50, 80, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(80, 50, 80, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(50, 50, 90, 0.04) 0%, transparent 50%),
        linear-gradient(135deg, #050505 0%, #0a0a0a 50%, #050505 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.loading-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: modernPulse 8s ease-in-out infinite;
}

.loading-content {
    position: relative;
    text-align: center;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    padding: 60px 40px;
    border-radius: 30px;
    border: 2px solid rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.7),
        0 0 50px rgba(0, 255, 255, 0.1),
        inset 0 0 30px rgba(0, 0, 0, 0.5);
    animation: modernFloat 6s ease-in-out infinite, borderGlow 4s ease-in-out infinite alternate;
    transform-style: preserve-3d;
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
    transform: scale(1.1);
    filter: blur(10px);
}

.loading-profile-image {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: modernProfileGlow 3s ease-in-out infinite alternate;
    position: relative;
}

.loading-profile-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    background: transparent;
    z-index: -1;
    
}

.loading-profile-image::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, var(--neon-cyan) 0%, transparent 70%);
    border-radius: 50%;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    animation: sparkOrbit 4s linear infinite;
    box-shadow: 
        0 0 15px var(--neon-cyan),
        0 0 30px var(--neon-cyan),
        0 0 45px rgba(0, 255, 255, 0.5);
    filter: blur(1px);
}

.spark {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    pointer-events: none;
}

.spark-1 {
    background: radial-gradient(circle, var(--neon-pink) 0%, transparent 70%);
    animation: sparkOrbit1 5s linear infinite;
    box-shadow: 
        0 0 12px var(--neon-pink),
        0 0 24px var(--neon-pink),
        0 0 36px rgba(255, 0, 110, 0.4);
    filter: blur(0.8px);
}

.spark-2 {
    background: radial-gradient(circle, var(--neon-purple) 0%, transparent 70%);
    animation: sparkOrbit2 6s linear infinite;
    box-shadow: 
        0 0 10px var(--neon-purple),
        0 0 20px var(--neon-purple),
        0 0 30px rgba(131, 56, 236, 0.4);
    filter: blur(0.6px);
}

.spark-3 {
    background: radial-gradient(circle, var(--neon-orange) 0%, transparent 70%);
    animation: sparkOrbit3 4.5s linear infinite;
    box-shadow: 
        0 0 8px var(--neon-orange),
        0 0 16px var(--neon-orange),
        0 0 24px rgba(255, 121, 0, 0.4);
    filter: blur(0.4px);
}

.loading-profile-image .profile-img {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid rgba(0, 255, 255, 0.8);
    box-shadow: 
        0 0 30px rgba(0, 255, 255, 0.6),
        0 0 60px rgba(0, 255, 255, 0.4),
        inset 0 0 20px rgba(0, 255, 255, 0.1);
    animation: modernImageFloat 4s ease-in-out infinite, modernImagePulse 2s ease-in-out infinite alternate;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1.1) contrast(1.1);
}

/* Modern Loading Animations */
@keyframes modernPulse {
    0%, 100% { 
        transform: scale(1);
        filter: brightness(1);
    }
    25% { 
        transform: scale(1.02);
        filter: brightness(1.1);
    }
    50% { 
        transform: scale(1);
        filter: brightness(1);
    }
    75% { 
        transform: scale(0.98);
        filter: brightness(0.9);
    }
}

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

@keyframes borderGlow {
    0% { 
        border-color: rgba(0, 255, 255, 0.3);
        box-shadow: 
            0 25px 50px rgba(0, 0, 0, 0.5),
            0 0 50px rgba(0, 255, 255, 0.2),
            inset 0 0 30px rgba(0, 0, 0, 0.3);
    }
    100% { 
        border-color: rgba(255, 0, 110, 0.4);
        box-shadow: 
            0 25px 50px rgba(0, 0, 0, 0.5),
            0 0 50px rgba(255, 0, 110, 0.3),
            inset 0 0 30px rgba(0, 0, 0, 0.3);
    }
}

@keyframes modernProfileGlow {
    0% { 
        filter: brightness(1) drop-shadow(0 0 20px rgba(0, 255, 255, 0.6));
    }
    100% { 
        filter: brightness(1.3) drop-shadow(0 0 40px rgba(255, 0, 110, 0.8));
    }
}

@keyframes sparkOrbit {
    0% {
        transform: translateX(-50%) rotate(0deg) translateY(-150px) rotate(0deg);
        opacity: 0;
        box-shadow: 
            0 0 10px var(--neon-cyan),
            0 0 20px var(--neon-cyan);
    }
    25% {
        opacity: 1;
        box-shadow: 
            0 0 15px var(--neon-blue),
            0 0 30px var(--neon-blue),
            0 0 45px rgba(0, 100, 255, 0.5);
    }
    50% {
        transform: translateX(-50%) rotate(180deg) translateY(-150px) rotate(0deg);
        opacity: 1;
        box-shadow: 
            0 0 15px var(--neon-pink),
            0 0 30px var(--neon-pink),
            0 0 45px rgba(255, 0, 110, 0.5);
    }
    75% {
        opacity: 1;
        box-shadow: 
            0 0 15px var(--neon-purple),
            0 0 30px var(--neon-purple),
            0 0 45px rgba(131, 56, 236, 0.5);
    }
    100% {
        transform: translateX(-50%) rotate(360deg) translateY(-150px) rotate(0deg);
        opacity: 0;
        box-shadow: 
            0 0 10px var(--neon-cyan),
            0 0 20px var(--neon-cyan);
    }
}

@keyframes sparkOrbit1 {
    0% {
        transform: rotate(120deg) translateY(-160px) rotate(-120deg);
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    75% {
        opacity: 1;
    }
    100% {
        transform: rotate(480deg) translateY(-160px) rotate(-480deg);
        opacity: 0;
    }
}

@keyframes sparkOrbit2 {
    0% {
        transform: rotate(240deg) translateY(-140px) rotate(-240deg);
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    70% {
        opacity: 1;
    }
    100% {
        transform: rotate(600deg) translateY(-140px) rotate(-600deg);
        opacity: 0;
    }
}

@keyframes sparkOrbit3 {
    0% {
        transform: rotate(0deg) translateY(-170px) rotate(0deg);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: rotate(360deg) translateY(-170px) rotate(-360deg);
        opacity: 0;
    }
}

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

@keyframes modernImageFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1) rotateZ(0deg); 
    }
    25% { 
        transform: translateY(-8px) scale(1.02) rotateZ(0.5deg); 
    }
    50% { 
        transform: translateY(-12px) scale(1.04) rotateZ(0deg); 
    }
    75% { 
        transform: translateY(-6px) scale(1.01) rotateZ(-0.5deg); 
    }
}

@keyframes modernImagePulse {
    0% { 
        box-shadow: 
            0 0 30px rgba(0, 255, 255, 0.6),
            0 0 60px rgba(0, 255, 255, 0.4),
            inset 0 0 20px rgba(0, 255, 255, 0.1);
    }
    100% { 
        box-shadow: 
            0 0 40px rgba(255, 0, 110, 0.8),
            0 0 80px rgba(255, 0, 110, 0.5),
            inset 0 0 25px rgba(255, 0, 110, 0.15);
    }
}

.welcome-text {
    font-family: 'Orbitron', monospace;
    font-size: 2.2rem;
    font-weight: 700;
    color: #e0e0e0;
    letter-spacing: 2px;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 0 5px rgba(0, 255, 255, 0.3),
        0 0 10px rgba(0, 255, 255, 0.2),
        0 0 15px rgba(0, 255, 255, 0.1);
    filter: brightness(0.9);
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.4;
    min-height: 60px;
    display: block;
    opacity: 1;
    position: relative;
    white-space: nowrap;
}

.typing-cursor {
    color: #00ffff;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 0 15px #00ffff, 
        0 0 25px #00ffff;
    animation: blink 1s infinite;
    display: inline;
}

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

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

@keyframes imageGlow {
    0% { 
        filter: brightness(1) drop-shadow(0 0 10px #00ffff);
        border-color: #00ffff;
    }
    100% { 
        filter: brightness(1.1) drop-shadow(0 0 15px #00ffff);
        border-color: #06ffa5;
    }
}

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

@keyframes textGlow {
    0% { 
        filter: brightness(1.2) contrast(1.1) drop-shadow(0 0 10px #00ffff);
    }
    100% { 
        filter: brightness(1.4) contrast(1.3) drop-shadow(0 0 20px #00ffff);
    }
}

.loading-spinner {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.5));
}

.spinner {
    width: 80px;
    height: 80px;
    position: relative;
    animation: modernSpinnerRotate 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.spinner::before,
.spinner::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.spinner::before {
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top: 4px solid var(--neon-cyan);
    border-right: 4px solid var(--neon-blue);
    animation: modernSpinnerPulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    filter: blur(0.5px);
}

.spinner::after {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border: 3px solid transparent;
    border-bottom: 3px solid var(--neon-pink);
    border-left: 3px solid var(--neon-purple);
    animation: modernSpinnerPulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite reverse;
    filter: blur(0.3px);
}

/* Loading dots around spinner */
.loading-spinner::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ffff;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    animation: dotPulse 2s ease-in-out infinite;
    box-shadow: 
        0 0 10px #00ffff,
        20px 20px 0 #06ffa5,
        -20px 20px 0 #ff006e,
        20px -20px 0 #8338ec,
        -20px -20px 0 #ff7900;
}

/* Modern Spinner Animations */
@keyframes modernSpinnerRotate {
    0% { 
        transform: rotate(0deg) scale(1);
        filter: hue-rotate(0deg);
    }
    25% { 
        transform: rotate(90deg) scale(1.05);
        filter: hue-rotate(90deg);
    }
    50% { 
        transform: rotate(180deg) scale(1.1);
        filter: hue-rotate(180deg);
    }
    75% { 
        transform: rotate(270deg) scale(1.05);
        filter: hue-rotate(270deg);
    }
    100% { 
        transform: rotate(360deg) scale(1);
        filter: hue-rotate(360deg);
    }
}

@keyframes modernSpinnerPulse {
    0%, 100% { 
        opacity: 1;
        transform: scale(1) rotate(0deg);
        border-width: 4px;
    }
    25% { 
        opacity: 0.8;
        transform: scale(1.1) rotate(90deg);
        border-width: 6px;
    }
    50% { 
        opacity: 0.6;
        transform: scale(1.2) rotate(180deg);
        border-width: 2px;
    }
    75% { 
        opacity: 0.9;
        transform: scale(1.05) rotate(270deg);
        border-width: 5px;
    }
}

@keyframes dotPulse {
    0%, 100% { 
        opacity: 1;
        transform: translateX(-50%) scale(1);
        box-shadow: 
            0 0 10px #00ffff,
            20px 20px 0 #06ffa5,
            -20px 20px 0 #ff006e,
            20px -20px 0 #8338ec,
            -20px -20px 0 #ff7900;
    }
    25% {
        box-shadow: 
            0 0 20px #00ffff,
            20px 20px 0 #00ffff,
            -20px 20px 0 #06ffa5,
            20px -20px 0 #ff006e,
            -20px -20px 0 #8338ec;
    }
    50% { 
        opacity: 0.8;
        transform: translateX(-50%) scale(1.2);
        box-shadow: 
            0 0 15px #06ffa5,
            20px 20px 0 #ff006e,
            -20px 20px 0 #8338ec,
            20px -20px 0 #ff7900,
            -20px -20px 0 #00ffff;
    }
    75% {
        box-shadow: 
            0 0 25px #ff006e,
            20px 20px 0 #8338ec,
            -20px 20px 0 #ff7900,
            20px -20px 0 #00ffff,
            -20px -20px 0 #06ffa5;
    }
}

.loading-progress {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.3),
        inset 0 0 10px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        var(--neon-cyan) 0%, 
        var(--neon-blue) 25%, 
        var(--neon-pink) 50%, 
        var(--neon-purple) 75%, 
        var(--neon-orange) 100%);
    background-size: 300% 100%;
    width: 0%;
    border-radius: 20px;
    animation: modernProgressGlow 2s ease-in-out infinite, modernProgressShimmer 4s linear infinite;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.progress-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 100%);
    animation: modernProgressLight 3s ease-in-out infinite;
}

.loading-text {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: #b0b0b0;
    text-shadow: 
        0 0 8px rgba(0, 255, 255, 0.2),
        0 0 15px rgba(0, 255, 255, 0.1);
    animation: modernTextPulse 3s ease-in-out infinite;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

@keyframes modernProgressGlow {
    0%, 100% { 
        box-shadow: 
            0 0 10px rgba(0, 255, 255, 0.6),
            0 0 20px rgba(0, 255, 255, 0.4),
            0 0 30px rgba(0, 255, 255, 0.2);
        filter: brightness(1);
    }
    50% { 
        box-shadow: 
            0 0 20px rgba(255, 0, 110, 0.8),
            0 0 40px rgba(255, 0, 110, 0.6),
            0 0 60px rgba(255, 0, 110, 0.4);
        filter: brightness(1.3);
    }
}

@keyframes modernProgressShimmer {
    0% { background-position: -300% 0; }
    100% { background-position: 300% 0; }
}

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

@keyframes modernTextPulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
        filter: brightness(1);
    }
    50% { 
        opacity: 0.8; 
        transform: scale(1.02);
        filter: brightness(1.3);
    }
}

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

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

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

.portfolio-content {
    filter: blur(0px);
    transition: filter 0.3s ease;
}

.portfolio-content.portfolio-hidden {
    display: none;
}

/* Mobile responsiveness for loading screen */
@media (max-width: 768px) {
    .loading-profile-image .profile-img {
        width: 180px;
        height: 180px;
        border-width: 4px;
    }
    
    .welcome-text {
        font-size: 2rem;
        margin: 0 20px;
        letter-spacing: 1.5px;
        min-height: 60px;
        text-shadow: 
            -1px -1px 0 #000,
            1px -1px 0 #000,
            -1px 1px 0 #000,
            1px 1px 0 #000,
            0 0 10px #00ffff,
            0 0 20px #00ffff,
            0 0 30px #00ffff;
        -webkit-text-stroke: 0.5px #000;
    }
    
    .spinner {
        width: 50px;
        height: 50px;
    }
    
    .loading-progress {
        width: 160px;
        top: 70px;
    }
    
    .loading-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .loading-profile-image .profile-img {
        width: 140px;
        height: 140px;
        border-width: 3px;
    }
    
    .loading-profile-image {
        margin-bottom: 20px;
    }
    
    .welcome-text {
        font-size: 1.6rem;
        letter-spacing: 1px;
        line-height: 1.4;
        min-height: 50px;
        text-shadow: 
            -1px -1px 0 #000,
            1px -1px 0 #000,
            -1px 1px 0 #000,
            1px 1px 0 #000,
            0 0 8px #00ffff,
            0 0 15px #00ffff,
            0 0 25px #00ffff;
        -webkit-text-stroke: 0.5px #000;
    }
    
    .spinner {
        width: 40px;
        height: 40px;
    }
    
    .loading-progress {
        width: 140px;
        top: 60px;
    }
    
    .loading-text {
        font-size: 0.7rem;
    }
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== SUBTLE ROUNDED CORNERS ===== */
.neon-card,
.project-card,
.skill-card,
.certificate-card,
.publication-card,
.achievement-card,
.timeline-content,
.btn,
.chip {
    border-radius: 5px !important;
}

.btn-floating {
    border-radius: 5px !important;
}

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.3);
    padding-top: 64px; /* Keep for content spacing from fixed navbar */
    margin: 0;
}

/* ===== PARTICLE BACKGROUND ===== */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(45deg, 
        rgba(0, 255, 255, 0.1) 0%, 
        rgba(255, 0, 110, 0.1) 50%, 
        rgba(131, 56, 236, 0.1) 100%);
}

/* ===== NEON TEXT EFFECTS ===== */
.neon-text {
    color: var(--neon-blue);
    font-weight: 600;
    -webkit-text-stroke: 1px #000000;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 0 2px var(--neon-blue),
        0 0 5px var(--neon-blue),
        0 0 10px var(--neon-blue),
        0 0 20px var(--neon-blue),
        0 0 35px var(--neon-blue),
        0 0 50px var(--neon-blue);
    animation: neonGlow 2s ease-in-out infinite alternate;
    filter: brightness(1.2);
}

.neon-text-blue {
    color: #ffffff;
    font-weight: 600;
    -webkit-text-stroke: 1px #000000;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 0 2px var(--neon-blue),
        0 0 5px var(--neon-blue),
        0 0 10px var(--neon-blue),
        0 0 20px var(--neon-blue),
        0 0 35px var(--neon-blue);
    filter: brightness(1.2);
}

.neon-text-pink {
    color: #ffffff;
    font-weight: 600;
    -webkit-text-stroke: 1px #000000;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 0 2px var(--neon-pink),
        0 0 5px var(--neon-pink),
        0 0 10px var(--neon-pink),
        0 0 20px var(--neon-pink),
        0 0 35px var(--neon-pink);
    filter: brightness(1.2);
}

.neon-text-cyan {
    color: #ffffff;
    font-weight: 600;
    -webkit-text-stroke: 1px #000000;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 0 2px var(--neon-cyan),
        0 0 5px var(--neon-cyan),
        0 0 10px var(--neon-cyan),
        0 0 20px var(--neon-cyan),
        0 0 35px var(--neon-cyan);
    filter: brightness(1.2);
}

.neon-text-purple {
    color: #ffffff;
    font-weight: 600;
    -webkit-text-stroke: 1px #000000;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 0 2px var(--neon-purple),
        0 0 5px var(--neon-purple),
        0 0 10px var(--neon-purple),
        0 0 20px var(--neon-purple),
        0 0 35px var(--neon-purple);
    filter: brightness(1.2);
}

.neon-text-orange {
    color: #ffffff;
    font-weight: 600;
    -webkit-text-stroke: 1px #000000;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 0 2px var(--neon-orange),
        0 0 5px var(--neon-orange),
        0 0 10px var(--neon-orange),
        0 0 20px var(--neon-orange),
        0 0 35px var(--neon-orange);
    filter: brightness(1.2);
}

.neon-text-green {
    color: #ffffff;
    font-weight: 600;
    -webkit-text-stroke: 1px #000000;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 0 2px #00ff00,
        0 0 5px #00ff00,
        0 0 10px #00ff00,
        0 0 20px #00ff00,
        0 0 35px #00ff00;
    filter: brightness(1.2);
}

/* ===== ANIMATIONS ===== */
@keyframes neonGlow {
    from {
        text-shadow: 
            -1px -1px 0 #000,
            1px -1px 0 #000,
            -1px 1px 0 #000,
            1px 1px 0 #000,
            0 0 2px var(--neon-blue),
            0 0 5px var(--neon-blue),
            0 0 10px var(--neon-blue),
            0 0 20px var(--neon-blue),
            0 0 35px var(--neon-blue);
        filter: brightness(1.2);
    }
    to {
        text-shadow: 
            -1px -1px 0 #000,
            1px -1px 0 #000,
            -1px 1px 0 #000,
            1px 1px 0 #000,
            0 0 4px var(--neon-blue),
            0 0 8px var(--neon-blue),
            0 0 15px var(--neon-blue),
            0 0 25px var(--neon-blue),
            0 0 40px var(--neon-blue),
            0 0 60px var(--neon-blue);
        filter: brightness(1.4);
    }
}

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

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

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

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

/* ===== GLITCH EFFECT ===== */
.glitch {
    position: relative;
    animation: glitch 3s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.3s infinite;
    color: var(--neon-pink);
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.3s infinite;
    color: var(--neon-cyan);
    z-index: -2;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(2px, 2px); }
    40% { transform: translate(2px, -2px); }
    60% { transform: translate(-2px, 2px); }
    80% { transform: translate(-2px, -2px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, -2px); }
    40% { transform: translate(-2px, 2px); }
    60% { transform: translate(2px, -2px); }
    80% { transform: translate(2px, 2px); }
}

/* ===== NAVIGATION ===== */
.navbar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0;
    z-index: 997;
}

.neon-nav {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    margin: 0;
    padding: 0;
    height: 64px;
    line-height: 64px;
}

.navbar-container {
    max-width: 95%;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    height: 64px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    height: 64px;
}

.nav-link {
    position: relative;
    color: var(--text-light) !important;
    transition: all 0.3s ease;
    margin: 0 5px;
    padding: 0 8px !important;
    font-size: 0.9rem;
    white-space: nowrap;
    line-height: 64px;
    height: 64px;
    display: flex;
    align-items: center;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--neon-blue) !important;
    text-shadow: 0 0 10px var(--neon-blue);
}

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

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: calc(100vh - 64px); /* Subtract navbar height */
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(45deg, transparent 0%, rgba(0, 255, 255, 0.05) 50%, transparent 100%);
    padding-top: 20px; /* Additional spacing from navbar */
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: 3px;
    color: #ffffff;
    -webkit-text-stroke: 2px #000000;
    text-shadow: 
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000,
        2px 2px 0 #000,
        0 0 2px var(--neon-blue),
        0 0 5px var(--neon-blue),
        0 0 10px var(--neon-blue),
        0 0 15px var(--neon-blue),
        0 0 25px var(--neon-blue);
    filter: brightness(1.1);
}

.typing-container {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.typing-text {
    font-size: 1.8rem;
    color: #ffffff;
    font-weight: 600;
    -webkit-text-stroke: 1px #000000;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 0 2px var(--neon-cyan),
        0 0 5px var(--neon-cyan),
        0 0 10px var(--neon-cyan),
        0 0 20px var(--neon-cyan);
    filter: brightness(1.2);
}

.cursor {
    font-size: 1.8rem;
    color: #ffffff;
    font-weight: 600;
    -webkit-text-stroke: 1px #000000;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 0 2px var(--neon-pink),
        0 0 5px var(--neon-pink),
        0 0 10px var(--neon-pink),
        0 0 20px var(--neon-pink);
    animation: blink 1s infinite;
}

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

.hero-subtitle {
    font-size: 1.4rem;
    margin: 30px 0;
    color: #ffffff;
    opacity: 0.9;
    font-weight: 500;
    text-shadow: 
        0 0 1px rgba(255, 255, 255, 0.8),
        0 0 3px rgba(0, 255, 255, 0.6);
}

.pulse-animation {
    animation: pulse 2s infinite;
}

.hero-social-links {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
    text-decoration: none;
    font-size: 24px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.3),
        inset 0 0 20px rgba(0, 255, 255, 0.1);
}

.social-link-hero:hover {
    background: rgba(0, 255, 255, 0.2);
    border-color: var(--neon-blue);
    color: var(--neon-blue);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 
        0 0 30px rgba(0, 255, 255, 0.6),
        0 10px 20px rgba(0, 255, 255, 0.3),
        inset 0 0 30px rgba(0, 255, 255, 0.2);
    text-shadow: 0 0 10px currentColor;
}

.social-link-hero i {
    transition: all 0.3s ease;
}

.social-link-hero:hover i {
    transform: rotate(360deg);
}

/* Special styling for different platforms */
.social-link-hero:nth-child(1):hover {
    border-color: #0077b5;
    color: #0077b5;
    box-shadow: 
        0 0 30px rgba(0, 119, 181, 0.6),
        0 10px 20px rgba(0, 119, 181, 0.3),
        inset 0 0 30px rgba(0, 119, 181, 0.2);
}

.social-link-hero:nth-child(2):hover {
    border-color: #333;
    color: #fff;
    background: rgba(51, 51, 51, 0.2);
    box-shadow: 
        0 0 30px rgba(255, 255, 255, 0.6),
        0 10px 20px rgba(255, 255, 255, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
}

.hero-buttons {
    margin-top: 40px;
}

.hero-buttons .btn {
    margin: 10px;
    border-radius: 50px;
}

/* ===== NEON BUTTONS ===== */
.neon-btn {
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-cyan));
    border: none;
    border-radius: 50px;
    color: var(--dark-bg) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.neon-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 0 30px rgba(0, 255, 255, 0.8),
        0 10px 20px rgba(0, 255, 255, 0.3);
}

.neon-btn-outline {
    background: transparent;
    border: 2px solid var(--neon-blue);
    color: var(--neon-blue) !important;
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.3),
        inset 0 0 20px rgba(0, 255, 255, 0.1);
}

.neon-btn-outline:hover {
    background: var(--neon-blue);
    color: var(--dark-bg) !important;
    box-shadow: 
        0 0 30px rgba(0, 255, 255, 0.8),
        0 10px 20px rgba(0, 255, 255, 0.3);
}

/* ===== FLOATING ELEMENTS ===== */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
}

.floating-elements div {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.float-1 {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--neon-blue), transparent);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.float-2 {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, var(--neon-pink), transparent);
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.float-3 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--neon-cyan), transparent);
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.float-4 {
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, var(--neon-purple), transparent);
    top: 30%;
    right: 30%;
    animation-delay: 1s;
}

/* ===== SECTIONS ===== */
.section {
    
    position: relative;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Orbitron', monospace;
    color: #ffffff;
    -webkit-text-stroke: 1.5px #000000;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
    filter: brightness(1.2);
}

.section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: #ffffff;
    opacity: 0.9;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.6);
}

.neon-divider {
    width: 60%;
    max-width: 300px;
    min-width: 150px;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink), var(--neon-cyan));
    margin: 0 auto 50px;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.05) 0%, rgba(0, 255, 255, 0.05) 100%);
}

.about-image-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.about-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

.neon-border {
    border: 3px solid var(--neon-blue);
    box-shadow: 
        0 0 30px rgba(0, 255, 255, 0.5),
        inset 0 0 30px rgba(0, 255, 255, 0.1);
    animation: neonGlow 2s ease-in-out infinite alternate;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content h4 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #ffffff;
    -webkit-text-stroke: 1px #000000;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 0 2px var(--neon-pink),
        0 0 5px var(--neon-pink),
        0 0 10px var(--neon-pink),
        0 0 20px var(--neon-pink);
    filter: brightness(1.2);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #ffffff;
    opacity: 0.9;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
}

.about-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Orbitron', monospace;
    -webkit-text-stroke: 1px #000000;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
    filter: brightness(1.2);
}

.stat-label {
    font-size: 1rem;
    color: #ffffff;
    opacity: 0.9;
    margin-top: 10px;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
}

/* ===== SKILLS SECTION ===== */
.skills-section {
    background: linear-gradient(135deg, rgba(131, 56, 236, 0.05) 0%, rgba(6, 255, 165, 0.05) 100%);
}

/* ===== EXPERIENCE SECTION ===== */
.experience-section {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05) 0%, rgba(255, 0, 110, 0.05) 100%);
    overflow-x: hidden; /* Prevent animations from going outside viewport */
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
    overflow-x: hidden; /* Prevent horizontal overflow */
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(180deg, var(--neon-blue), var(--neon-cyan), var(--neon-pink));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    animation: timelineGlow 3s ease-in-out infinite alternate;
}

@keyframes timelineGlow {
    from {
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    }
    to {
        box-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
    }
}

.timeline-item {
    padding: 20px 30px;
    position: relative;
    background-color: inherit;
    width: 52%;
    margin-bottom: 10px; /* Even smaller space between timeline items */
}

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

.timeline-item:nth-child(even) {
    left: 48%;
}

.timeline-item:last-child {
    margin-bottom: 0 !important;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    top: 50%; /* Position at the center of each item */
    right: 12px; /* Position arrow 2px from the timeline edge */
    border: 8px solid;
    border-color: transparent transparent transparent rgba(0, 255, 255, 0.3);
    transform: translateY(-50%); /* Center the arrow vertically */
}

.timeline-item:nth-child(even)::before {
    left: 12px; /* Position arrow 2px from the timeline edge */
    right: auto;
    border: 8px solid;
    border-color: transparent rgba(0, 255, 255, 0.3) transparent transparent;
}

.timeline-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    top: 48%; /* Position at 48% from the top of each item */
    border: 3px solid;
    z-index: 1;
    animation: markerPulse 2s ease-in-out infinite;
    transform: translateY(-50%); /* Center the marker vertically */
}

.neon-marker-blue {
    background: var(--neon-blue);
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.7);
    right: -10px; /* Center the 20px marker on the 4px timeline */
}

.neon-marker-cyan {
    background: var(--neon-cyan);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(6, 255, 165, 0.7);
    left: -10px; /* Center the 20px marker on the 4px timeline */
}

.neon-marker-pink {
    background: var(--neon-pink);
    border-color: var(--neon-pink);
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.7);
    right: -10px; /* Center the 20px marker on the 4px timeline */
}

.neon-marker-purple {
    background: var(--neon-purple);
    border-color: var(--neon-purple);
    box-shadow: 0 0 20px rgba(131, 56, 236, 0.7);
    left: -10px; /* Center the 20px marker on the 4px timeline */
}

.neon-marker-green {
    background: #00ff00;
    border-color: #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.7);
    right: -10px; /* Center the 20px marker on the 4px timeline */
}

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

.timeline-content {
    padding: 30px;
    position: relative;
    border-radius: 15px;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timeline-content p {
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0.9;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 255, 255, 0.3);
}

.company-logo {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-align: center;
}

.company-name {
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 10px;
    opacity: 0.9;
}

.timeline-date {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--neon-cyan);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.tech-stack {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* ===== EDUCATION SECTION ===== */
.education-section {
    background: linear-gradient(135deg, rgba(131, 56, 236, 0.05) 0%, rgba(255, 121, 0, 0.05) 100%);
    overflow-x: hidden; /* Prevent animations from going outside viewport */
}

.education-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.education-card:hover {
    transform: translateY(-10px) rotateY(5deg);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(131, 56, 236, 0.3);
}

.education-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.course-name {
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 10px;
    opacity: 0.9;
}

.institution-name {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.education-year {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 25px;
    background: rgba(131, 56, 236, 0.1);
    border: 2px solid var(--neon-purple);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(131, 56, 236, 0.3);
}

.achievements {
    text-align: left;
    margin-top: 20px;
}

.achievements p {
    margin: 8px 0;
    padding: 5px 0;
    color: #ffffff;
    opacity: 0.9;
    font-size: 0.95rem;
}

/* ===== RESPONSIVE TIMELINE ===== */
@media (max-width: 768px) {
    .timeline::after {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 20px;
        left: 0% !important;
        margin-bottom: 8px;
    }
    
    .timeline-item::before {
        left: 40px;
        border-color: transparent rgba(0, 255, 255, 0.3) transparent transparent;
    }
    
    .timeline-marker {
        left: 10px !important;
        right: auto !important;
    }
}

/* ===== ALTERNATIVE: LINEAR TIMELINE (Single Column) ===== */
/* Uncomment this section if you want a completely linear timeline */
/*
.timeline-item {
    width: 80% !important;
    left: 10% !important;
    margin-bottom: 40px;
}

.timeline-item::before {
    display: none;
}

.timeline::after {
    left: 10%;
    margin-left: 0;
}

.timeline-marker {
    left: -10px !important;
    right: auto !important;
}
*/

/* ===== SKILLS SECTION ===== */
.skills-section {
    background: linear-gradient(135deg, rgba(131, 56, 236, 0.05) 0%, rgba(6, 255, 165, 0.05) 100%);
}

.skill-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.neon-card {
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

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

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

.neon-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 255, 255, 0.3);
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.skill-card h5 {
    font-size: 1.6rem;
    margin: 20px 0;
    color: #ffffff;
    font-weight: 700;
    -webkit-text-stroke: 1px #000000;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 0 2px var(--neon-blue),
        0 0 5px var(--neon-blue),
        0 0 10px var(--neon-blue);
    text-align: center;
    width: 100%;
    filter: brightness(1.2);
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: auto;
}

.neon-chip {
    background: rgba(0, 255, 255, 0.25);
    border: 2px solid var(--neon-blue);
    color: #ffffff;
    border-radius: 20px;
    margin: 5px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 0 3px var(--neon-blue),
        0 0 8px var(--neon-blue);
    box-shadow: 
        0 0 15px rgba(0, 255, 255, 0.4),
        inset 0 0 15px rgba(0, 255, 255, 0.15);
    filter: brightness(1.1);
}

.neon-chip:hover {
    background: var(--neon-blue);
    color: var(--dark-bg);
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.7),
        0 0 30px rgba(0, 255, 255, 0.5);
    transform: translateY(-2px);
    text-shadow: none;
}

/* ===== SKILL PROGRESS BARS ===== */
.skill-progress-section {
    margin-top: 60px;
}

.skill-progress {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding: 10px 0;
}

.skill-progress span:first-child {
    width: 120px;
    font-weight: 700;
    color: #ffffff;
    font-size: 1.05rem;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 0 2px rgba(255, 255, 255, 0.8),
        0 0 5px rgba(0, 255, 255, 0.6);
    filter: brightness(1.1);
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 0 20px;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 10px;
    position: relative;
    width: 0;
    transition: width 2s ease-in-out;
}

.neon-progress {
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-cyan));
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.neon-progress::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 infinite;
}

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

.percentage {
    width: 50px;
    text-align: right;
    font-weight: 700;
    font-size: 1.05rem;
    color: #ffffff;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 0 2px var(--neon-cyan),
        0 0 5px var(--neon-cyan),
        0 0 10px var(--neon-cyan);
    filter: brightness(1.3);
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
    background: linear-gradient(135deg, rgba(255, 121, 0, 0.05) 0%, rgba(255, 0, 110, 0.05) 100%);
}

.project-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    min-height: 480px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 110, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 110, 0.1));
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.neon-btn-float {
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-cyan));
    border: none;
    color: var(--dark-bg) !important;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.neon-btn-float:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
}

.project-content {
    padding: 25px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    min-height: 220px;
    gap: 15px;
}

.project-content h5 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #ffffff;
    font-weight: 600;
    -webkit-text-stroke: 0.5px #000000;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 0 2px currentColor,
        0 0 5px currentColor,
        0 0 10px currentColor;
    filter: brightness(1.3);
    line-height: 1.3;
}

.project-content p {
    line-height: 1.5;
    margin-bottom: 18px;
    color: #ffffff;
    opacity: 0.9;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    flex: 1;
    display: flex;
    align-items: center;
    text-align: center;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== PROJECT GRID LAYOUT ===== */
.projects-section .row {
    margin-bottom: 30px;
}

.projects-section .col {
    margin-bottom: 30px;
}

.projects-section .col .project-card {
    width: 100%;
}

/* ===== RESPONSIVE PROJECT CARDS ===== */
@media (max-width: 992px) {
    .project-card {
        min-height: 420px;
    }
    
    .project-content h5 {
        font-size: 1.2rem;
    }
    
    .project-content p {
        font-size: 0.8rem;
    }
}

@media (max-width: 600px) {
    .project-card {
        min-height: 400px;
        margin-bottom: 20px;
    }
    
    .project-content {
        padding: 20px 15px;
        min-height: 180px;
    }
    
    .project-content h5 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .project-content p {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }
    
    .project-tech {
        gap: 6px;
    }
}

.neon-chip-small {
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    border-radius: 12px;
    font-size: 0.7rem;
    padding: 3px 8px;
    transition: all 0.3s ease;
}

.neon-chip-small:hover {
    background: var(--neon-blue);
    color: var(--dark-bg);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

/* ===== CERTIFICATES SECTION ===== */
.certificates-section {
    background: linear-gradient(135deg, rgba(6, 255, 165, 0.05) 0%, rgba(131, 56, 236, 0.05) 100%);
}

.certificate-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 280px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

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

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

.certificate-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 255, 255, 0.3);
}

.certificate-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.certificate-title {
    font-size: 1.3rem;
    margin: 15px 0;
    color: #ffffff;
    font-weight: 700;
    -webkit-text-stroke: 0.5px #000000;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 0 2px var(--neon-cyan),
        0 0 5px var(--neon-cyan),
        0 0 10px var(--neon-cyan);
    text-align: center;
    width: 100%;
    filter: brightness(1.2);
}

.certificate-description {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #ffffff;
    opacity: 0.9;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.6);
    text-align: center;
}

.certificate-provider {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 25px;
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid var(--neon-cyan);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 0 2px var(--neon-cyan),
        0 0 5px var(--neon-cyan);
    transition: all 0.3s ease;
    margin-top: auto;
}

.certificate-provider:hover {
    background: var(--neon-cyan);
    color: var(--dark-bg);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    text-shadow: none;
}

.certificate-list {
    width: 100%;
    margin: 15px 0;
}

.certificate-item {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    margin-bottom: 8px;
}

.certificate-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.certificate-item-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 0 2px var(--neon-blue),
        0 0 5px var(--neon-blue);
    filter: brightness(1.1);
}

.certificate-item-description {
    font-size: 0.85rem;
    color: #ffffff;
    opacity: 0.8;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
}

/* ===== PUBLICATIONS SECTION ===== */
.publications-section {
    background: linear-gradient(135deg, rgba(131, 56, 236, 0.05) 0%, rgba(255, 0, 110, 0.05) 100%);
}

.publication-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 400px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

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

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

.publication-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 255, 255, 0.3);
}

.publication-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.publication-title {
    font-size: 1.2rem;
    margin: 15px 0;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.4;
    -webkit-text-stroke: 0.5px #000000;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 0 2px var(--neon-blue),
        0 0 5px var(--neon-blue),
        0 0 10px var(--neon-blue);
    text-align: center;
    width: 100%;
    filter: brightness(1.2);
}

.publication-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 15px 0;
    padding: 0 10px;
}

.publication-journal {
    background: rgba(131, 56, 236, 0.1);
    border: 2px solid var(--neon-purple);
    color: var(--neon-purple);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 0 2px var(--neon-purple),
        0 0 5px var(--neon-purple);
    box-shadow: 0 0 15px rgba(131, 56, 236, 0.3);
    transition: all 0.3s ease;
}

.publication-journal:hover {
    background: var(--neon-purple);
    color: var(--dark-bg);
    text-shadow: none;
}

.publication-year {
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 0 2px var(--neon-cyan),
        0 0 5px var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.publication-year:hover {
    background: var(--neon-cyan);
    color: var(--dark-bg);
    text-shadow: none;
}

.publication-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 20px 0;
    color: #ffffff;
    opacity: 0.9;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.6);
    text-align: left;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.publication-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-top: auto;
    padding-top: 15px;
}

/* ===== ACHIEVEMENTS SECTION ===== */
.achievements-section {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05) 0%, rgba(255, 121, 0, 0.05) 100%);
}

.achievement-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 350px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

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

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

.achievement-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 255, 255, 0.3);
}

.achievement-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.achievement-title {
    font-size: 1.4rem;
    margin: 15px 0;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.3;
    -webkit-text-stroke: 0.5px #000000;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 0 2px var(--neon-cyan),
        0 0 5px var(--neon-cyan),
        0 0 10px var(--neon-cyan);
    text-align: center;
    width: 100%;
    filter: brightness(1.2);
}

.achievement-organization {
    background: rgba(255, 121, 0, 0.1);
    border: 2px solid var(--neon-orange);
    color: var(--neon-orange);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 10px 0 20px 0;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 0 2px var(--neon-orange),
        0 0 5px var(--neon-orange);
    box-shadow: 0 0 15px rgba(255, 121, 0, 0.3);
    transition: all 0.3s ease;
}

.achievement-organization:hover {
    background: var(--neon-orange);
    color: var(--dark-bg);
    text-shadow: none;
}

.achievement-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 20px 0;
    color: #ffffff;
    opacity: 0.9;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.6);
    text-align: left;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.achievement-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-top: auto;
    padding-top: 15px;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: linear-gradient(135deg, rgba(131, 56, 236, 0.05) 0%, rgba(0, 255, 255, 0.05) 100%);
}

.contact-info {
    padding: 20px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.contact-icon {
    font-size: 2rem;
    margin-right: 20px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid var(--neon-blue);
}

.contact-details h6 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #ffffff;
    font-weight: 600;
    -webkit-text-stroke: 0.5px #000000;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 0 2px rgba(255, 255, 255, 0.8);
}

.contact-details p {
    color: #ffffff;
    opacity: 0.9;
    margin: 0;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid var(--neon-blue);
    color: var(--neon-blue);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.neon-social:hover {
    background: var(--neon-blue);
    color: var(--dark-bg);
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

/* ===== CONTACT FORM ===== */
.neon-form {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.neon-form .input-field input,
.neon-form .input-field textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 10px;
    color: var(--text-light);
    padding: 15px;
    margin-bottom: 10px;
}

.neon-form .input-field input:focus,
.neon-form .input-field textarea:focus {
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.neon-label {
    color: var(--text-light) !important;
    opacity: 0.8;
}

.neon-label.active {
    color: var(--neon-blue) !important;
}

/* ===== FOOTER ===== */
.neon-footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--neon-blue);
    padding: 30px 0;
    margin-top: 0;
}

.neon-footer p {
    margin: 0;
    opacity: 0.8;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .nav-link {
        margin: 0 3px;
        padding: 0 6px !important;
        font-size: 0.85rem;
    }
    
    .navbar-container {
        max-width: 98%;
        padding: 0 15px;
    }
}

@media (max-width: 992px) {
    body {
        padding-top: 56px; /* Slightly smaller navbar on tablets */
    }
    
    .hero-section {
        min-height: calc(100vh - 56px);
    }
    
    .nav-link {
        margin: 0 2px;
        padding: 0 4px !important;
        font-size: 0.8rem;
    }
    
    .navbar-container {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .typing-text, .cursor {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .skill-progress span:first-child {
        width: 100px;
    }
}

@media (max-width: 600px) {
    body {
        padding-top: 56px; /* Mobile navbar height */
    }
    
    .hero-section {
        min-height: calc(100vh - 56px);
        padding-top: 10px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .typing-text, .cursor {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        margin: 10px auto;
        width: 200px;
    }
    
    .about-image {
        width: 250px;
        height: 250px;
    }
    
    .skill-progress {
        flex-direction: column;
        text-align: center;
    }
    
    .skill-progress span:first-child {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .progress-bar {
        margin: 10px 0;
    }
    
    .percentage {
        width: 100%;
        text-align: center;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* ===== CUSTOM ANIMATIONS ===== */
.bounce-in {
    animation: bounceIn 1s ease-out;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

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

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

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

/* ===== LOADING ANIMATION ===== */
.loading-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loading-animation.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(0, 255, 255, 0.1);
    border-top: 4px solid var(--neon-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ===== SCROLL ANIMATIONS ===== */
.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

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

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

.fade-in-left.animated {
    opacity: 1;
    transform: translateX(0);
}

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

.fade-in-right.animated {
    opacity: 1;
    transform: translateX(0);
}

/* ===== SCROLL BAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--neon-blue), var(--neon-cyan));
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--neon-cyan), var(--neon-blue));
}

/* ===== ENHANCED LOADING SCREEN BACKGROUND ANIMATIONS ===== */

/* Floating Particles */
.loading-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(0, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 80% 80%, rgba(6, 255, 165, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 40% 60%, rgba(255, 20, 147, 0.08) 1.5px, transparent 1.5px),
        radial-gradient(circle at 70% 30%, rgba(0, 255, 255, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 30% 90%, rgba(6, 255, 165, 0.06) 2px, transparent 2px);
    background-size: 200px 200px, 150px 150px, 180px 180px, 120px 120px, 250px 250px;
    animation: floatingParticles 20s linear infinite;
    z-index: 1;
}

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

/* Animated Grid Background */
.loading-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 15s linear infinite;
    z-index: 1;
}

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

/* Geometric Shapes Animation */
.loading-container {
    overflow: hidden;
}

.loading-container .floating-shape {
    position: absolute;
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    animation: modernFloatShape 15s infinite cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    backdrop-filter: blur(5px);
    background: rgba(0, 255, 255, 0.05);
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.2),
        inset 0 0 10px rgba(0, 255, 255, 0.1);
}

.loading-container .floating-shape:nth-child(1) {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    border-color: rgba(0, 255, 255, 0.4);
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 110, 0.05));
}

.loading-container .floating-shape:nth-child(2) {
    width: 80px;
    height: 80px;
    top: 65%;
    right: 12%;
    animation-delay: -4s;
    border-color: rgba(6, 255, 165, 0.4);
    border-radius: 20px;
    transform: rotate(45deg);
    background: linear-gradient(135deg, rgba(6, 255, 165, 0.1), rgba(131, 56, 236, 0.05));
}

.loading-container .floating-shape:nth-child(3) {
    width: 100px;
    height: 100px;
    bottom: 25%;
    left: 15%;
    animation-delay: -8s;
    border-color: rgba(255, 0, 110, 0.4);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    border-radius: 0;
    background: linear-gradient(90deg, rgba(255, 0, 110, 0.1), rgba(131, 56, 236, 0.05));
}

.loading-container .floating-shape:nth-child(4) {
    width: 60px;
    height: 60px;
    top: 25%;
    right: 25%;
    animation-delay: -12s;
    border-color: rgba(131, 56, 236, 0.4);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    border-radius: 0;
    background: linear-gradient(60deg, rgba(131, 56, 236, 0.1), rgba(255, 121, 0, 0.05));
}

@keyframes modernFloatShape {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.4;
        border-width: 2px;
    }
    20% {
        transform: translateY(-40px) rotate(72deg) scale(1.1);
        opacity: 0.8;
        border-width: 3px;
    }
    40% {
        transform: translateY(-80px) rotate(144deg) scale(0.9);
        opacity: 0.6;
        border-width: 1px;
    }
    60% {
        transform: translateY(-60px) rotate(216deg) scale(1.2);
        opacity: 0.9;
        border-width: 4px;
    }
    80% {
        transform: translateY(-20px) rotate(288deg) scale(0.8);
        opacity: 0.5;
        border-width: 2px;
    }
}

/* Pulsing Background Waves */
.loading-container .bg-wave {
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 255, 255, 0.02) 0%,
        rgba(6, 255, 165, 0.01) 30%,
        transparent 70%
    );
    animation: pulseWave 8s ease-in-out infinite;
    z-index: 1;
}

.loading-container .bg-wave:nth-child(5) {
    top: -50%;
    left: -50%;
    animation-delay: 0s;
}

.loading-container .bg-wave:nth-child(6) {
    top: -50%;
    left: -50%;
    animation-delay: -4s;
}

@keyframes pulseWave {
    0%, 100% {
        transform: scale(0.8) rotate(0deg);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.3;
    }
}

/* Circuit Lines Animation */
.loading-container .circuit-line {
    position: absolute;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 255, 255, 0.4) 50%, 
        transparent 100%
    );
    animation: circuitFlow 6s linear infinite;
    z-index: 2;
}

.loading-container .circuit-line:nth-child(7) {
    width: 2px;
    height: 100%;
    left: 15%;
    animation-delay: 0s;
}

.loading-container .circuit-line:nth-child(8) {
    width: 100%;
    height: 2px;
    top: 25%;
    animation-delay: -2s;
}

.loading-container .circuit-line:nth-child(9) {
    width: 2px;
    height: 100%;
    right: 20%;
    animation-delay: -4s;
}

.loading-container .circuit-line:nth-child(10) {
    width: 100%;
    height: 2px;
    bottom: 30%;
    animation-delay: -1s;
}

@keyframes circuitFlow {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    90% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0);
    }
}

/* Enhanced Progress Ring Animation */
.loading-spinner .ring:nth-child(4) {
    width: 200px;
    height: 200px;
    border: 3px solid transparent;
    border-top: 3px solid rgba(255, 20, 147, 0.6);
    border-right: 3px solid rgba(255, 20, 147, 0.3);
    animation: spin 4s linear infinite reverse;
}

.loading-spinner .ring:nth-child(5) {
    width: 240px;
    height: 240px;
    border: 2px solid transparent;
    border-top: 2px solid rgba(6, 255, 165, 0.4);
    border-left: 2px solid rgba(6, 255, 165, 0.2);
    animation: spin 6s linear infinite;
}

/* Glitch Effect for Background */
@keyframes backgroundGlitch {
    0%, 100% {
        background-position: 0% 0%;
        filter: hue-rotate(0deg);
    }
    20% {
        background-position: 2% 1%;
        filter: hue-rotate(5deg);
    }
    40% {
        background-position: -1% 2%;
        filter: hue-rotate(-3deg);
    }
    60% {
        background-position: 1% -1%;
        filter: hue-rotate(8deg);
    }
    80% {
        background-position: -2% 1%;
        filter: hue-rotate(-2deg);
    }
}

.loading-container {
    animation: backgroundGlitch 10s ease-in-out infinite;
}
