:root {
    --neon-pink: #e6f7ff;
    --neon-blue: #bae7ff;
    --neon-green: #91d5ff;
    --neon-purple: #69c0ff;
    --neon-gold: #1890ff;
    --dark-space: #002766;
    --deep-space: #003a8c;
    --cosmic-dust: #2a2a4a;
    --starlight: #e0e0ff;
    --electric-blue: #36cfc9;
    --magenta: #002766;
}


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

body {
    font-family: 'Exo 2', sans-serif;
    background: var(--dark-space);
    color: var(--starlight);
    overflow-x: hidden;
    line-height: 1.7;
    cursor: none;
}

.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--neon-pink);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid var(--neon-blue);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.15s ease;
    mix-blend-mode: difference;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

/* Cosmic Background with Enhanced Animation */
.cosmic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -4;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 0, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(57, 255, 20, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 60% 60%, rgba(191, 0, 255, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, var(--dark-space) 0%, var(--deep-space) 50%, var(--dark-space) 100%);
    animation: cosmicShift 30s infinite alternate;
}

@keyframes cosmicShift {
    0% {
        filter: hue-rotate(0deg) brightness(1);
        background-position: 0% 0%;
    }

    25% {
        filter: hue-rotate(90deg) brightness(1.1);
        background-position: 100% 0%;
    }

    50% {
        filter: hue-rotate(180deg) brightness(1.2);
        background-position: 100% 100%;
    }

    75% {
        filter: hue-rotate(270deg) brightness(1.1);
        background-position: 0% 100%;
    }

    100% {
        filter: hue-rotate(360deg) brightness(1);
        background-position: 0% 0%;
    }
}

/* Animated Stars with Enhanced Effects */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle var(--duration) infinite ease-in-out;
    box-shadow: 0 0 10px currentColor;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.1;
        transform: scale(1) rotate(0deg);
    }

    50% {
        opacity: 1;
        transform: scale(1.5) rotate(180deg);
    }
}

/* Enhanced Matrix Rain Effect */
.matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.08;
    pointer-events: none;
}

/* Holographic Navigation with Enhanced Effects */
.hologram-nav {
    background: rgba(10, 10, 22, 0.85) !important;
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 0, 255, 0.4);
    padding: 1.2rem 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 0 30px rgba(255, 0, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hologram-nav.scrolled {
    background: rgba(10, 10, 22, 0.95) !important;
    border-bottom: 1px solid rgba(0, 255, 255, 0.4);
    box-shadow:
        0 0 40px rgba(0, 255, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: 0.8rem 0;
}

.navbar-brand {
    font-weight: 900;
    font-size: 2rem;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-blue), var(--neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow:
        0 0 20px rgba(255, 0, 255, 0.5),
        0 0 40px rgba(0, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.navbar-brand::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.6s ease;
}

.navbar-brand:hover::before {
    left: 100%;
}

.nav-link {
    color: var(--starlight) !important;
    font-weight: 600;
    margin: 0 0.8rem;
    position: relative;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.5rem 1rem !important;
    border-radius: 25px;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-blue));
    border-radius: 25px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
    z-index: -1;
}

.nav-link:hover::before {
    opacity: 1;
    transform: scale(1);
}

.nav-link:hover {
    color: white !important;
    text-shadow: 0 0 10px white;
    transform: translateY(-2px);
}

/* Quantum Cards with Enhanced Effects */
.quantum-card {
    background: linear-gradient(135deg,
            rgba(42, 42, 74, 0.4) 0%,
            rgba(21, 21, 43, 0.6) 100%);
    backdrop-filter: blur(5px) saturate(180%);
    border-radius: 20px;
    border: 1px solid rgba(255, 0, 255, 0.3);
    padding: 3rem;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 30px rgba(255, 0, 255, 0.2),
        inset 0 0 30px rgba(255, 255, 255, 0.05);
}

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

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

.quantum-card:hover {
    transform: translateY(-20px) rotateX(10deg) rotateY(5deg);
    border-color: rgba(0, 255, 255, 0.6);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(255, 0, 255, 0.3),
        0 0 100px rgba(0, 255, 255, 0.2);
}

/* Enhanced Neon Buttons */
.btn-neon {
    background: transparent;
    border: 2px solid var(--neon-pink);
    color: var(--neon-pink);
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow:
        0 0 15px var(--neon-pink),
        inset 0 0 10px rgba(255, 0, 255, 0.1);
}

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

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

.btn-neon::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-blue), var(--neon-green));
    border-radius: 52px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.btn-neon:hover {
    color: rgb(29, 151, 196);
    background: var(--neon-pink);
    box-shadow:
        0 0 30px var(--neon-pink),
        0 0 60px var(--neon-pink),
        inset 0 0 20px rgba(255, 255, 255, 0.3);
    transform: translateY(-5px) scale(1.05);
}

.btn-neon.blue {
    border-color: var(--neon-blue);
    color: var(--neon-blue);
    box-shadow: 0 0 15px var(--neon-blue);
}

.btn-neon.blue:hover {
    background: var(--neon-blue);
    box-shadow:
        0 0 30px var(--neon-blue),
        0 0 60px var(--neon-blue);
}

.btn-neon.green {
    border-color: var(--neon-green);
    color: var(--neon-green);
    box-shadow: 0 0 15px var(--neon-green);
}

.btn-neon.green:hover {
    background: var(--neon-green);
    box-shadow:
        0 0 30px var(--neon-green),
        0 0 60px var(--neon-green);
}

/* Enhanced Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-blue), var(--neon-green), var(--neon-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow:
        0 0 40px rgba(255, 0, 255, 0.5),
        0 0 80px rgba(0, 255, 255, 0.3),
        0 0 120px rgba(57, 255, 20, 0.2);
    animation: titleGlow 4s ease-in-out infinite alternate;
    position: relative;
    line-height: 1.1;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,
            var(--neon-pink),
            var(--neon-blue),
            var(--neon-green),
            var(--neon-purple));
    transform: scaleX(0);
    transform-origin: left;
    animation: titleLine 4s ease-in-out infinite alternate;
    box-shadow: 0 0 20px var(--neon-pink);
}

@keyframes titleGlow {
    0% {
        text-shadow:
            0 0 20px rgba(255, 0, 255, 0.5),
            0 0 40px rgba(0, 255, 255, 0.3);
    }

    100% {
        text-shadow:
            0 0 30px rgba(0, 255, 255, 0.5),
            0 0 60px rgba(57, 255, 20, 0.3),
            0 0 90px rgba(191, 0, 255, 0.2);
    }
}

@keyframes titleLine {
    0% {
        transform: scaleX(0);
    }

    100% {
        transform: scaleX(1);
    }
}

/* Enhanced Holographic Profile */
.hologram-profile {
    position: relative;
    width: 380px;
    height: 380px;
    margin: 0 auto;
}

.profile-frame {
    width: 90%;
    height: 100%;
    border-radius: 60%;
    position: relative;
    background: conic-gradient(from 0deg,
            var(--neon-pink),
            var(--neon-blue),
            var(--neon-green),
            var(--neon-purple),
            var(--neon-pink));
    padding: 10px;
    box-shadow:
        0 0 40px rgba(255, 0, 255, 0.6),
        0 0 80px rgba(0, 255, 255, 0.4);
}

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

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

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: var(--dark-space);
    padding: 10px;
    position: relative;
    z-index: 2;
}

/* Enhanced Cyber Skill Bars */
.cyber-skill {
    margin-bottom: 2.5rem;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.skill-name {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.1rem;
}

.skill-percent {
    color: var(--neon-green);
    font-weight: 800;
    font-size: 1.2rem;
}

.cyber-bar {
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow:
        inset 0 0 15px rgba(0, 0, 0, 0.5),
        0 0 10px rgba(255, 255, 255, 0.1);
}

.cyber-level {
    height: 100%;
    border-radius: 8px;
    background: linear-gradient(90deg,
            var(--neon-pink),
            var(--neon-blue),
            var(--neon-green));
    position: relative;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 0 15px var(--neon-pink),
        inset 0 0 10px rgba(255, 255, 255, 0.3);
}

.cyber-level::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: cyberShine 3s infinite;
}

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

    100% {
        transform: translateX(100%);
    }
}

/* Enhanced Project Grid with 3D Effect */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: linear-gradient(135deg,
            rgba(42, 42, 74, 0.4) 0%,
            rgba(21, 21, 43, 0.6) 100%);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 0, 255, 0.3);
    transform-style: preserve-3d;
    perspective: 1000px;
    box-shadow:
        0 0 25px rgba(255, 0, 255, 0.2),
        inset 0 0 25px rgba(255, 255, 255, 0.05);
}

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

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

.project-card:hover {
    transform: translateY(-20px) rotateX(10deg) rotateY(5deg);
    border-color: rgba(0, 255, 255, 0.6);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(255, 0, 255, 0.3),
        0 0 100px rgba(0, 255, 255, 0.2);
}

.project-icon {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-blue), var(--neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s ease;
    display: inline-block;
}

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

/* Enhanced Binary Matrix Footer */
.matrix-footer {
    background: linear-gradient(135deg,
            rgba(10, 10, 22, 0.95) 0%,
            rgba(21, 21, 43, 0.9) 100%);
    border-top: 1px solid rgba(0, 255, 255, 0.4);
    padding: 4rem 0;
    margin-top: 6rem;
    position: relative;
    overflow: hidden;
}

.matrix-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(transparent 90%, rgba(0, 255, 255, 0.1)),
        repeating-linear-gradient(90deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 255, 0.08) 2px,
            rgba(0, 255, 255, 0.08) 4px);
    pointer-events: none;
    animation: matrixScan 12s linear infinite;
}

@keyframes matrixScan {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-30px);
    }
}

/* Enhanced Social Icons with Hover Effects */
.cyber-social {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.cyber-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--starlight);
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    backdrop-filter: blur(5px);
}

.cyber-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg,
            var(--neon-pink),
            var(--neon-blue),
            var(--neon-green),
            var(--neon-purple),
            var(--neon-pink));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cyber-icon:hover::before {
    opacity: 1;
}

.cyber-icon i {
    position: relative;
    z-index: 1;
    transition: all 0.5s ease;
    font-size: 1.5rem;
}

.cyber-icon:hover {
    transform: translateY(-8px) scale(1.15);
    color: white;
    box-shadow:
        0 0 30px rgba(255, 0, 255, 0.6),
        0 0 60px rgba(0, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Enhanced Section Headers with Neon Underline */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.section-header h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-blue), var(--neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
    text-shadow: 0 0 30px rgba(255, 0, 255, 0.4);
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg,
            var(--neon-pink),
            var(--neon-blue),
            var(--neon-green));
    box-shadow: 0 0 15px var(--neon-pink);
    animation: sectionLine 4s infinite alternate;
}

@keyframes sectionLine {
    0% {
        width: 150px;
        filter: hue-rotate(0deg);
    }

    100% {
        width: 250px;
        filter: hue-rotate(180deg);
    }
}

/* Floating Elements Animation */
.floating {
    animation: floating 8s ease-in-out infinite;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-25px) rotate(3deg);
    }

    66% {
        transform: translateY(15px) rotate(-3deg);
    }
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-blue), var(--neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Badge Styles */
.badge {
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    transition: all 0.4s ease;
    border: 1px solid transparent;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
}

.badge:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Form Enhancements */
.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 0, 255, 0.4);
    color: var(--starlight);
    border-radius: 12px;
    padding: 15px 20px;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--neon-blue);
    box-shadow:
        0 0 20px rgba(0, 255, 255, 0.4),
        inset 0 0 10px rgba(255, 255, 255, 0.1);
    color: var(--starlight);
    transform: translateY(-2px);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Particle Container */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Special Surprise Elements */
.surprise-element {
    position: fixed;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--neon-pink), transparent);
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    z-index: 1000;
    transition: opacity 0.4s ease;
}

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

.loading-spinner {
    width: 100px;
    height: 100px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--neon-pink);
    border-right: 4px solid var(--neon-blue);
    border-bottom: 4px solid var(--neon-green);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
    box-shadow:
        0 0 30px var(--neon-pink),
        0 0 60px var(--neon-blue);
    position: relative;
}

.loading-spinner::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid transparent;
    border-top: 2px solid var(--neon-purple);
    border-radius: 50%;
    animation: spin 2s linear infinite reverse;
}

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

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

/* Enhanced Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--dark-space);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-blue), var(--neon-green));
    border-radius: 6px;
    border: 2px solid var(--dark-space);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-pink), var(--neon-purple));
    box-shadow: 0 0 10px var(--neon-pink);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-blue));
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow:
        0 0 20px rgba(255, 0, 255, 0.5),
        0 0 40px rgba(0, 255, 255, 0.3);
}

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

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow:
        0 0 30px rgba(255, 0, 255, 0.7),
        0 0 60px rgba(0, 255, 255, 0.5);
}

/* Alert Styles */
.alert {
    border: none;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    margin: 1rem 0;
}

.alert-success {
    background: rgba(57, 255, 20, 0.15);
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    box-shadow:
        0 0 20px rgba(57, 255, 20, 0.4),
        inset 0 0 10px rgba(57, 255, 20, 0.1);
}

.alert-danger {
    background: rgba(255, 0, 0, 0.15);
    border: 1px solid #ff4444;
    color: #ff4444;
    box-shadow:
        0 0 20px rgba(255, 0, 0, 0.4),
        inset 0 0 10px rgba(255, 0, 0, 0.1);
}

/* Main Content Spacing */
.main-content {
    position: relative;
    z-index: 1;
}

section {
    padding: 120px 0;
    position: relative;
}

/* Education and About Sections */
.education-item {
    border-left: 5px solid var(--neon-pink);
    padding-left: 25px;
    margin-bottom: 3rem;
    position: relative;
}

.education-item::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--neon-pink);
    border-radius: 50%;
    box-shadow:
        0 0 15px var(--neon-pink),
        0 0 30px var(--neon-pink);
    animation: pulse 2s infinite;
}


@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

/* Skill Icons */
.skill-item {
    transition: all 0.4s ease;
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--neon-blue);
    transition: all 0.4s ease;
}

.skill-item:hover .skill-icon {
    transform: scale(1.2) rotate(10deg);
    color: var(--neon-pink);
    filter: drop-shadow(0 0 10px currentColor);
}

/* Contact Info Cards */
.contact-info .quantum-card {
    padding: 1rem;
    text-align: center;
    transition: all 0.5s ease;
}

.contact-info .quantum-card:hover {
    transform: translateY(-10px);
}

/* Responsive Design */
@media (max-width: 800px) {
    .hero-title {
        font-size: 3rem;
    }

    .hologram-profile {
        width: 280px;
        height: 280px;
    }

    .quantum-card {
        padding: 2rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .cyber-social {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding-top: 120px;
        text-align: center;
    }

    .btn-neon {
        padding: 14px 28px;
        font-size: 0.9rem;
    }

    .navbar-brand {
        font-size: 1.6rem;
    }

    .custom-cursor,
    .cursor-follower {
        display: none;
    }

    body {
        cursor: auto;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .quantum-card {
        padding: 1.5rem;
    }

    .cyber-icon {
        width: 55px;
        height: 55px;
    }

    .cyber-icon i {
        font-size: 1.3rem;
    }

    .hologram-profile {
        width: 220px;
        height: 220px;
    }
}

/* Print Styles */
@media print {

    .cosmic-bg,
    .stars,
    .matrix-rain,
    #particles-js,
    .surprise-element,
    .loading-screen,
    .hologram-nav,
    .matrix-footer,
    .custom-cursor,
    .cursor-follower,
    .scroll-to-top {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
        cursor: auto !important;
    }

    .quantum-card {
        background: white !important;
        border: 1px solid #ddd !important;
        box-shadow: none !important;
    }

    .text-gradient {
        background: none !important;
        -webkit-text-fill-color: black !important;
        color: black !important;
    }
}


.project-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.project-modal-content {
  background: #111;
  color: #fff;
  padding: 4rem;
  border-radius: 25px;
  width:90%;
  max-width: 1000px;
  max-height: 400px;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 0 15px rgba(255,255,255,0.1);
  animation: fadeIn 0.3s ease;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 40px;
  font-weight: bold;
  color: var(--seafoam-light);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(27, 38, 59, 0.8);
}

.close-btn:hover {
  color: var(--coral);
  transform: scale(1.1);
  background: rgba(231, 111, 81, 0.2);
  box-shadow: 0 0 15px rgba(231, 111, 81, 0.4);
}

.modal-image {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

@k.closeeyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}