@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Mono&display=swap');

:root {
    --primary-color: #0a192f;
    --secondary-color: #64ffda;
    --accent-color: #00ff88;
    --text-primary: #ccd6f6;
    --text-secondary: #8892b0;
    --background: #0a192f;
    --card-background: rgba(2, 12, 27, 0.7);
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    cursor: none;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 5px;
}

/* Custom Cursor */
.cursor {
    width: 10px;
    height: 10px;
    background: var(--secondary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.2s ease;
}

.cursor-follower {
    width: 30px;
    height: 30px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.4s ease;
}

/* Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7d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d4IKH2LAg5TdVhlCafZvpskfncCfx8pOhJzd76bJWeYFnFciwcYfubRc12Ip/ppIhA1/mSZ/RxjFDrJC5xifFjJpY2Xl5zXdguFqYyTR1zSp1Y9p+tktDYYSNflcxI0iyO4TPBdlRcpeqjK/piF5bklq77VSEaA+z8qmJTFzIWiitbnzR794USKBUaT0NTEsVjZqLaFVqJoPN9ODG70IPbfBHKK+/q/AWR0tJzYHRULOa4MP+W/HfGadZUbfw177G7j/OGbIs8TahLyynl4X4RinF793Oz+BU0saXtUHrVBFT/DnA3ctNPoGbs4hRIjTok8i+algT1lTHi4SxFvONKNrgQFAq2/gFnWMXgwffgYMJpiKYkmW3tTg3ZQ9Jq+f8XN+A5eeUKHWvJWJ2sgJ1Sop+wwhqFVijqWaJhwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==');
    opacity: 0.03;
    pointer-events: none;
    z-index: 9999;
    animation: noiseAnimation 0.5s infinite;
}

/* Navigation */
.nav-glass {
    position: fixed;p
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}

.nav-logo .logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-logo:hover .logo-glow {
    opacity: 0.5;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-link span {
    position: relative;
    z-index: 1;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

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

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    text-align: center;
    z-index: 2;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.glitch {
    font-size: 5em;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    text-shadow: 0.05em 0 0 rgba(255,0,0,0.75),
                -0.025em -0.05em 0 rgba(0,255,0,0.75),
                0.025em 0.05em 0 rgba(0,0,255,0.75);
    animation: glitch 500ms infinite;
}

.cyberpunk-title {
    font-family: 'Space Mono', monospace;
    font-size: 1.5em;
    color: var(--secondary-color);
    margin: 20px 0;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.5s;
}

.gradient-text {
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1.2em;
    margin-top: 10px;
}

/* About Section */
.about {
    padding: 100px 0;
    position: relative;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.profile-card {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 40px;
    background: var(--card-background);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 255, 218, 0.1);
    transform-style: preserve-3d;
    transition: transform 0.5s var(--transition-smooth);
}

.profile-image-container {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    transform-style: preserve-3d;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.5s var(--transition-smooth);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(100, 255, 218, 0.2),
        rgba(0, 255, 136, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-image-container:hover .image-overlay {
    opacity: 1;
}

.profile-image-container:hover .profile-image {
    transform: scale(1.1);
}

.profile-content {
    flex: 1;
}

/* Skills Section */
.skills {
    padding: 100px 0;
    background: linear-gradient(to bottom, 
        var(--background), 
        rgba(10, 25, 47, 0.95));
}

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.skill-item {
    background: var(--card-background);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(100, 255, 218, 0.1);
    transition: all 0.3s var(--transition-smooth);
}

.skill-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.1);
}

.skill-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.skill-header i {
    font-size: 24px;
    color: var(--secondary-color);
    margin-right: 15px;
}

.skill-bar-wrapper {
    position: relative;
}

.skill-bar {
    height: 8px;
    background: rgba(100, 255, 218, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    width: 0;
    position: relative;
    transition: width 1.5s cubic-bezier(0.1, 0.7, 1.0, 0.1);
}

.progress-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--secondary-color));
    filter: blur(3px);
    animation: progressGlow 2s linear infinite;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--background);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    background: var(--card-background);
    border-radius: 15px;
    border: 1px solid rgba(100, 255, 218, 0.1);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s var(--transition-smooth);
}

.social-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(100, 255, 218, 0.15);
}

.social-card i {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.social-card:hover i {
    transform: scale(1.2);
}

/* Footer */
footer {
    padding: 30px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, 
        var(--secondary-color) 0%, 
        transparent 100%);
    opacity: 0.1;
}

/* Animations */
@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 rgba(255,0,0,0.75),
                    -0.05em -0.025em 0 rgba(0,255,0,0.75),
                    -0.025em 0.05em 0 rgba(0,0,255,0.75);
    }
    14% {
        text-shadow: 0.05em 0 0 rgba(255,0,0,0.75),
                    -0.05em -0.025em 0 rgba(0,255,0,0.75),
                    -0.025em 0.05em 0 rgba(0,0,255,0.75);
    }
    15% {
        text-shadow: -0.05em -0.025em 0 rgba(255,0,0,0.75),
                    0.025em 0.025em 0 rgba(0,255,0,0.75),
                    -0.05em -0.05em 0 rgba(0,0,255,0.75);
    }
    49% {
        text-shadow: -0.05em -0.025em 0 rgba(255,0,0,0.75),
                    0.025em 0.025em 0 rgba(0,255,0,0.75),
                    -0.05em -0.05em 0 rgba(0,0,255,0.75);
    }
    50% {
        text-shadow: 0.025em 0.05em 0 rgba(255,0,0,0.75),
                    0.05em 0 0 rgba(0,255,0,0.75),
                    0 -0.05em 0 rgba(0,0,255,0.75);
    }
    99% {
        text-shadow: 0.025em 0.05em 0 rgba(255,0,0,0.75),
                    0.05em 0 0 rgba(0,255,0,0.75),
                    0 -0.05em 0 rgba(0,0,255,0.75);
    }
    100% {
        text-shadow: -0.025em 0 0 rgba(255,0,0,0.75),
                    -0.025em -0.025em 0 rgba(0,255,0,0.75),
                    -0.025em -0.05em 0 rgba(0,0,255,0.75);
    }
}

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

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

@keyframes noiseAnimation {
    0% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -5%); }
    20% { transform: translate(-10%, 5%); }
    30% { transform: translate(5%, -10%); }
    40% { transform: translate(-5%, 15%); }
    50% { transform: translate(-10%, 5%); }
    60% { transform: translate(15%, 0); }
    70% { transform: translate(0, 10%); }
    80% { transform: translate(-15%, 0); }
    90% { transform: translate(10%, 5%); }
    100% { transform: translate(5%, 0); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .profile-card {
        flex-direction: column;
        text-align: center;
    }

    .glitch {
        font-size: 4em;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-glass {
        padding: 15px 20px;
    }

    .nav-links {
        gap: 15px;
    }

    .profile-image-container {
        width: 250px;
        height: 250px;
    }

    .glitch {
        font-size: 3em;
    }

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

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

@media (max-width: 480px) {
    .profile-image-container {
        width: 200px;
        height: 200px;
    }

    .nav-links {
        display: none;
    }

    .glitch {
        font-size: 2.5em;
    }
}

/* AOS Animations */
[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Style */
::selection {
    background: var(--secondary-color);
    color: var(--background);
}