/* styles.css */
:root {
    --neon-blue: #00f3ff;
    --matrix-green: #00ff4c;
    --cyber-purple: #bc13fe;
    --hacker-bg: #0a0a0f;
}

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Source+Code+Pro&display=swap');

body {
    margin-top: 56px;
    background: var(--hacker-bg);
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    overflow-x: hidden;
}





/* Cyberpunk Navigation Header */
.navbar {
    background: linear-gradient(45deg, var(--hacker-bg) 65%, rgba(20, 20, 30, 0.95));
    border-bottom: 2px solid var(--neon-blue);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.2);
    padding: 0.8rem 0;
    font-family: 'Orbitron', sans-serif;
    transition: all 0.3s ease;
}

.navbar-brand {
    color: var(--neon-blue) !important;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.4);
    font-weight: 700;
    letter-spacing: 1.5px;
    animation: textGlow 2s ease-in-out infinite alternate;
}

.nav-link {
    color: var(--neon-blue) !important;
    margin: 0 1rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Source Code Pro', monospace;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--matrix-green);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--matrix-green) !important;
    text-shadow: 0 0 15px rgba(0, 255, 76, 0.4);
}

.navbar-toggler {
    border-color: var(--neon-blue);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 243, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile Menu Styling */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(20, 20, 30, 0.95);
        border: 2px solid var(--cyber-purple);
        border-radius: 10px;
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: 0 0 25px rgba(188, 19, 254, 0.3);
    }
    
    .nav-item {
        margin: 0.5rem 0;
        border-bottom: 1px solid rgba(0, 243, 255, 0.1);
    }
}

/* Scanline Animation */
.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 243, 255, 0.05) 0px,
        rgba(0, 243, 255, 0.05) 1px,
        transparent 1px,
        transparent 20px
    );
    pointer-events: none;
    animation: scanline 6s linear infinite;
}









/* Cyberpunk Hero Section - Enhanced */
.hero {
    position: relative;
    background: 
        linear-gradient(45deg, rgba(10, 10, 15, 0.95) 25%, transparent 100%),
        url('https://source.unsplash.com/1600x900/?ai,quantum') center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 1000px;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    color: var(--neon-blue);
    text-shadow: 0 0 25px rgba(0, 243, 255, 0.4);
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
    animation: textGlow 2s ease-in-out infinite alternate;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            rgba(0, 243, 255, 0.05) 0px,
            rgba(0, 243, 255, 0.05) 1px,
            transparent 2px,
            transparent 8px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(0, 243, 255, 0.05) 0px,
            rgba(0, 243, 255, 0.05) 1px,
            transparent 2px,
            transparent 8px
        );
    animation: gridScan 20s linear infinite;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 243, 255, 0.1) 0%,
        rgba(0, 243, 255, 0) 20%,
        rgba(0, 243, 255, 0) 80%,
        rgba(0, 243, 255, 0.1) 100%
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    background: rgba(20, 20, 30, 0.95);
    padding: 3rem;
    border: 2px solid var(--neon-blue);
    border-radius: 15px;
    transform-style: preserve-3d;
    box-shadow: 
        0 0 40px rgba(0, 243, 255, 0.3),
        0 0 60px rgba(0, 243, 255, 0.1) inset;
    animation: 
        contentFloat 6s ease-in-out infinite alternate,
        textGlow 2s ease-in-out infinite alternate;
}

.hero-content::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(
        45deg,
        var(--neon-blue) 0%,
        transparent 50%,
        var(--matrix-green) 100%
    );
    z-index: -1;
    border-radius: 15px;
    filter: blur(20px);
    opacity: 0.4;
}

.hero-content::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 48%,
        rgba(0, 243, 255, 0.1) 50%,
        transparent 52%
    );
    animation: lightSweep 8s linear infinite;
}

/* Button Styling */
.btn-primary {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    padding: 12px 24px;
    border-radius: 10px;
    background: linear-gradient(45deg, var(--neon-blue), var(--matrix-green));
    border: none;
    color: rgb(0, 0, 0);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    transition: 0.3s ease-in-out;
    box-shadow: 0 0 15px var(--neon-blue);
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--matrix-green), var(--neon-blue));
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--matrix-green);
}

/* Animations */
@keyframes contentFloat {
    0% { transform: translateY(0px) rotateX(0deg); }
    100% { transform: translateY(-20px) rotateX(3deg); }
}

@keyframes lightSweep {
    0% { transform: rotate(45deg) translateY(-150%); }
    100% { transform: rotate(45deg) translateY(150%); }
}

@keyframes gridScan {
    0% { background-position: 0 0; }
    100% { background-position: 0 100px; }
}






/* Particle Effects */
.particle {
    position: absolute;
    background: var(--neon-blue);
    width: 2px;
    height: 2px;
    border-radius: 50%;
    animation: particleMove 20s linear infinite;
}

@keyframes particleMove {
    0% { 
        transform: translateY(0) translateX(0);
        opacity: 0; 
    }
    50% { 
        transform: translateY(-100vh) translateX(100vw);
        opacity: 0.4; 
    }
    100% { 
        transform: translateY(-200vh) translateX(200vw);
        opacity: 0; 
    }
}

/* Enhanced Card System */
.card {

    background: rgba(20, 20, 30, 0.95);
    border: 1px solid var(--cyber-purple);;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(5px);
    margin: 1rem 0;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.card-text {
    color: white;
}



.card:hover {
    transform: translateY(-10px) perspective(1000px) rotateX(5deg) scale(1.03);
    box-shadow: 0 0 40px var(--cyber-purple);
}




/* About Section - Cyberpunk Style */
#about {
    position: relative;
    background: linear-gradient(45deg, rgba(10, 10, 15, 0.9), rgba(20, 20, 30, 0.95));
    border: 2px solid var(--cyber-purple);
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(188, 19, 254, 0.3);
    margin: 2rem auto;
    overflow: hidden;
}

#about::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 243, 255, 0.1) 0px,
        rgba(0, 243, 255, 0.1) 1px,
        transparent 1px,
        transparent 20px
    );
    animation: scanline 6s linear infinite;
}

#about h2 {
    color: var(--neon-blue);
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
    position: relative;
    padding-bottom: 1rem;
    animation: textGlow 2s ease-in-out infinite alternate;
}

#about h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 13 0px;
    height: 3px;
    background: var(--cyber-gradient);
    box-shadow: 0 0 10px var(--neon-blue);
}

#about p {
    color: var(--matrix-green);
    font-family: 'Source Code Pro', monospace;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 8px rgba(0, 255, 76, 0.3);
    background: rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 76, 0.2);
}

@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}













/* Skill Items */
.skill-item {
    padding: 1.5rem;
    background: rgba(40, 40, 50, 0.9);
    border-radius: 12px;
    border: 1px solid var(--cyber-purple);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#skills h2 {
    color: var(--neon-blue);
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
    position: relative;
    padding-bottom: 1rem;
    animation: textGlow 2s ease-in-out infinite alternate;
}


.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(188, 19, 254, 0.4);
}

.skill-icon {
    height: 60px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.skill-icon:hover {
    transform: scale(1.1);
}

.concept-icon {
    font-size: 2.5rem;
    color: var(--matrix-green);
    margin-bottom: 1rem;
    position: relative;
}

.concept-icon .fa-search {
    position: absolute;
    font-size: 1.2rem;
    bottom: 0;
    right: 0;
    color: var(--neon-blue);
}

/* Project Section Enhancements */
.neon-text {
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.4);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.bg-cyber {
    background: rgba(188, 19, 254, 0.15);
    border: 1px solid var(--cyber-purple);
    color: var(--matrix-green);
    margin: 2px;
    font-family: 'Source Code Pro', monospace;
    font-size: 0.8rem;
}

.btn-cyber {
    background: linear-gradient(45deg, #bc13fe 0%, #00f3ff 100%);
    border: none;
    color: #000;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-cyber::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: 0.5s;
}

.btn-cyber:hover::before {
    left: 100%;
}

.btn-cyber:hover {
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.4);
}

.tech-stack {
    margin: 1rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Terminal Effect */
.terminal-ticker {
    font-family: 'Source Code Pro', monospace;
    color: var(--matrix-green);
    white-space: nowrap;
    animation: tickerScroll 30s linear infinite;
    font-size: 1.1rem;
    letter-spacing: 1.5px;
}

@keyframes textGlow {
    from { text-shadow: 0 0 10px var(--neon-blue); }
    to { text-shadow: 0 0 30px var(--neon-blue); }
}

@keyframes tickerScroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .card {
        margin: 1rem;
        min-height: auto;
    }
    
    .skill-item {
        padding: 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}