/* ====================================
   IMPORTS & VARIABLES
   ==================================== */

/* Import futuristic fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Exo+2:wght@300;400;600&display=swap');

/* CSS Variables for neon colors */
:root {
    --neon-blue: #00ffff;
    --neon-pink: #ff0080;
    --neon-purple: #8000ff;
    --neon-green: #39ff14;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --glow-size: 20px;
}

/* ====================================
   RESET AND BASE STYLES
   ==================================== */

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

body {
    font-family: 'Exo 2', sans-serif;
    background: var(--dark-bg);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* Enhanced animated background with 3D objects */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 128, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(128, 0, 255, 0.1) 0%, transparent 50%);
    z-index: -2;
    animation: backgroundPulse 6s ease-in-out infinite;
}

/* 3D Background Objects Container */
.bg-objects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

/* 3D Geometric Objects */
.bg-cube {
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    border: 1px solid var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    animation: floatCube 8s ease-in-out infinite;
    transform-style: preserve-3d;
    opacity: 0.7;
}

.bg-cube:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.bg-cube:nth-child(2) {
    top: 30%;
    right: 15%;
    animation-delay: -2s;
    animation-duration: 10s;
}

.bg-cube:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: -4s;
    animation-duration: 14s;
}

.bg-cube:nth-child(4) {
    top: 60%;
    right: 30%;
    animation-delay: -6s;
    animation-duration: 11s;
}

.bg-cube:nth-child(5) {
    bottom: 10%;
    right: 10%;
    animation-delay: -8s;
    animation-duration: 13s;
}

/* 3D Spheres */
.bg-sphere {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--neon-pink), var(--neon-purple));
    box-shadow:
        0 0 25px rgba(255, 0, 128, 0.4),
        inset -5px -5px 10px rgba(0, 0, 0, 0.3);
    animation: floatSphere 10s ease-in-out infinite;
    opacity: 0.8;
}

.bg-sphere:nth-child(6) {
    top: 15%;
    left: 70%;
    animation-delay: -1s;
    animation-duration: 9s;
}

.bg-sphere:nth-child(7) {
    top: 70%;
    left: 10%;
    animation-delay: -3s;
    animation-duration: 11s;
}

.bg-sphere:nth-child(8) {
    bottom: 30%;
    right: 20%;
    animation-delay: -5s;
    animation-duration: 8s;
}

.bg-sphere:nth-child(9) {
    top: 40%;
    left: 5%;
    animation-delay: -7s;
    animation-duration: 12s;
}

/* 3D Triangles */
.bg-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 35px solid var(--neon-green);
    filter: drop-shadow(0 0 15px rgba(57, 255, 20, 0.4));
    animation: floatTriangle 7s ease-in-out infinite;
    opacity: 0.6;
}

.bg-triangle:nth-child(10) {
    top: 25%;
    right: 40%;
    animation-delay: -2s;
    animation-duration: 10s;
}

.bg-triangle:nth-child(11) {
    bottom: 40%;
    left: 40%;
    animation-delay: -4s;
    animation-duration: 9s;
}

.bg-triangle:nth-child(12) {
    top: 80%;
    right: 60%;
    animation-delay: -6s;
    animation-duration: 11s;
}

/* 3D Hexagons */
.bg-hexagon {
    position: absolute;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    box-shadow: 0 0 20px rgba(128, 0, 255, 0.3);
    animation: floatHexagon 9s ease-in-out infinite;
    opacity: 0.7;
}

.bg-hexagon:nth-child(13) {
    top: 5%;
    left: 40%;
    animation-delay: -1s;
    animation-duration: 13s;
}

.bg-hexagon:nth-child(14) {
    bottom: 15%;
    left: 60%;
    animation-delay: -3s;
    animation-duration: 8s;
}

.bg-hexagon:nth-child(15) {
    top: 50%;
    right: 5%;
    animation-delay: -5s;
    animation-duration: 12s;
}

/* Floating Lines/Connections */
.bg-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    animation: floatLine 6s ease-in-out infinite;
    opacity: 0.4;
}

.bg-line:nth-child(16) {
    top: 20%;
    left: 0;
    width: 200px;
    animation-delay: 0s;
}

.bg-line:nth-child(17) {
    bottom: 30%;
    right: 0;
    width: 150px;
    animation-delay: -2s;
}

.bg-line:nth-child(18) {
    top: 60%;
    left: 50%;
    width: 180px;
    animation-delay: -4s;
    transform: rotate(45deg);
}

/* Orbiting Particles */
.bg-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--neon-pink);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-pink);
    animation: orbit 15s linear infinite;
    opacity: 0.8;
}

.bg-particle:nth-child(19) {
    top: 30%;
    left: 30%;
    animation-delay: 0s;
}

.bg-particle:nth-child(20) {
    top: 70%;
    right: 30%;
    animation-delay: -5s;
}

.bg-particle:nth-child(21) {
    bottom: 20%;
    left: 50%;
    animation-delay: -10s;
}

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

/* Content Area */
.content {
    margin-top: 80px;
    padding: 2rem 0;
    position: relative;
    z-index: 1;
}

/* ====================================
   ANIMATIONS
   ==================================== */

@keyframes backgroundPulse {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

/* 3D Object Animations */
@keyframes floatCube {

    0%,
    100% {
        transform: translateY(0) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }

    25% {
        transform: translateY(-30px) rotateX(90deg) rotateY(45deg) rotateZ(15deg);
    }

    50% {
        transform: translateY(-60px) rotateX(180deg) rotateY(90deg) rotateZ(30deg);
    }

    75% {
        transform: translateY(-30px) rotateX(270deg) rotateY(135deg) rotateZ(45deg);
    }
}

@keyframes floatSphere {

    0%,
    100% {
        transform: translateY(0) translateX(0) scale(1);
        box-shadow: 0 0 25px rgba(255, 0, 128, 0.4), inset -5px -5px 10px rgba(0, 0, 0, 0.3);
    }

    33% {
        transform: translateY(-40px) translateX(20px) scale(1.1);
        box-shadow: 0 0 35px rgba(0, 255, 255, 0.5), inset -8px -8px 15px rgba(0, 0, 0, 0.4);
    }

    66% {
        transform: translateY(-20px) translateX(-15px) scale(0.9);
        box-shadow: 0 0 30px rgba(128, 0, 255, 0.6), inset -3px -3px 8px rgba(0, 0, 0, 0.2);
    }
}

@keyframes floatTriangle {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        filter: drop-shadow(0 0 15px rgba(57, 255, 20, 0.4));
    }

    50% {
        transform: translateY(-50px) rotate(180deg);
        filter: drop-shadow(0 0 25px rgba(0, 255, 255, 0.6));
    }
}

@keyframes floatHexagon {

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

    25% {
        transform: translateY(-25px) rotate(60deg) scale(1.1);
    }

    50% {
        transform: translateY(-50px) rotate(120deg) scale(0.9);
    }

    75% {
        transform: translateY(-25px) rotate(180deg) scale(1.05);
    }
}

@keyframes floatLine {

    0%,
    100% {
        transform: translateY(0) scaleX(1);
        opacity: 0.4;
    }

    50% {
        transform: translateY(-30px) scaleX(1.5);
        opacity: 0.8;
    }
}

@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(60px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(60px) rotate(-360deg);
    }
}

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

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

@keyframes textGlow {
    from {
        filter: brightness(1);
    }

    to {
        filter: brightness(1.2);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glowFade {
    from {
        text-shadow: 0 0 40px var(--neon-pink);
    }

    to {
        text-shadow: 0 0 50px var(--neon-blue);
    }
}

@keyframes profileGlow {
    from {
        box-shadow:
            0 0 30px var(--neon-blue),
            inset 0 0 30px rgba(0, 255, 255, 0.1);
    }

    to {
        box-shadow:
            0 0 50px var(--neon-pink),
            inset 0 0 50px rgba(255, 0, 128, 0.1);
        border-color: var(--neon-pink);
    }
}

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

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

@keyframes slideBanner {
    0% {
        transform: translateX(0%);
    }

    10% {
        transform: translateX(0%);
    }

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

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

    25% {
        transform: translateX(-200%);
    }

    35% {
        transform: translateX(-200%);
    }

    37.5% {
        transform: translateX(-300%);
    }

    47.5% {
        transform: translateX(-300%);
    }

    50% {
        transform: translateX(-400%);
    }

    60% {
        transform: translateX(-400%);
    }

    62.5% {
        transform: translateX(-500%);
    }

    72.5% {
        transform: translateX(-500%);
    }

    75% {
        transform: translateX(-600%);
    }

    85% {
        transform: translateX(-600%);
    }

    87.5% {
        transform: translateX(-700%);
    }

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

/* ====================================
   NAVIGATION STYLES
   ==================================== */

.navbar {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--neon-blue);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), var(--neon-pink), transparent);
    animation: borderGlow 3s linear infinite;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.navbar h3,
.logo {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--neon-blue);
    text-decoration: none;
    text-shadow: 0 0 10px var(--neon-blue);
    transition: all 0.3s ease;
}

.navbar h3:hover,
.logo:hover {
    color: var(--neon-pink);
    text-shadow: 0 0 20px var(--neon-pink);
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 400;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    font-family: 'Orbitron', monospace;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink));
    border-radius: 5px;
    transition: width 0.3s ease;
    z-index: -1;
}

.nav-links a:hover {
    color: var(--text-white);
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    text-shadow: 0 0 10px var(--neon-blue);
}

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

/* ====================================
   Mobile Nav
   ==================================== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001;
    padding: 8px;
    transition: all 0.3s ease;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--neon-blue);
    display: block;
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}

.hamburger:hover span {
    background: var(--neon-pink);
    box-shadow: 0 0 10px rgba(255, 0, 128, 0.5);
}

/* Hamburger animation when active */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: var(--neon-pink);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    background: var(--neon-pink);
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 1000;
        transition: left 0.3s ease;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 0;
    }

    .nav-links a {
        font-size: 1.8rem;
        padding: 1rem 2rem;
        color: var(--text-white);
        text-decoration: none;
        border: 2px solid transparent;
        border-radius: 15px;
        transition: all 0.3s ease;
        display: block;
        text-align: center;
        min-width: 200px;
    }

    .nav-links a:hover {
        border-color: var(--neon-blue);
        background: rgba(0, 255, 255, 0.1);
        color: var(--neon-blue);
        text-shadow: 0 0 10px var(--neon-blue);
        transform: scale(1.05);
    }

    .navbar .container {
        justify-content: space-between;
        align-items: center;
        padding: 1rem 20px;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

/* Animation for mobile nav items */
@keyframes slideInNav {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Additional mobile responsiveness improvements */
@media (max-width: 480px) {
    .nav-links a {
        font-size: 1.3rem;
        padding: 0.8rem 1.5rem;
    }

    .navbar h3 {
        font-size: 1.5rem;
    }
}

/* ====================================
   HOME SECTION
   ==================================== */

.home {
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70vh;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.home-content {
    flex: 1;
    max-width: 700px;
}

.home-content h1 {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-pink), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 2s ease-in-out infinite alternate;
}

.home-content p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 700px;
    line-height: 1.8;
    margin: 1rem 0 2rem 0;
    animation: fadeIn 2s ease forwards;
}

.tagline {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    color: var(--neon-pink);
    text-shadow: 0 0 10px var(--neon-blue);
    margin: 0.5rem 0 2rem 0;
    animation: glowFade 5s ease-in-out infinite alternate;
    letter-spacing: 1px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: var(--text-gray);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border: 1px solid transparent;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* Fallback icons if Font Awesome doesn't load */
.social-links a[href*="facebook"]:empty::before {
    content: "📘";
}

.social-links a[href*="instagram"]:empty::before {
    content: "📷";
}

.social-links a[href*="github"]:empty::before {
    content: "🐙";
}

.social-links a[href*="linkedin"]:empty::before {
    content: "💼";
}

.social-links a:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 15px var(--neon-blue);
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    transform: translateY(-3px);
}

.social-links a:nth-child(2):hover {
    color: var(--neon-pink);
    text-shadow: 0 0 15px var(--neon-pink);
    border-color: var(--neon-pink);
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.3);
}

.social-links a:nth-child(3):hover {
    color: var(--neon-purple);
    text-shadow: 0 0 15px var(--neon-purple);
    border-color: var(--neon-purple);
    box-shadow: 0 0 20px rgba(128, 0, 255, 0.3);
}

.social-links a:nth-child(4):hover {
    color: var(--neon-green);
    text-shadow: 0 0 15px var(--neon-green);
    border-color: var(--neon-green);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
}

/* CV Button */
.cv-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-pink));
    color: var(--text-white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-family: 'Orbitron', monospace;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    border: 1px solid var(--neon-blue);
    position: relative;
    overflow: hidden;
}

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

.cv-button:hover::before {
    left: 100%;
}

.cv-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.6);
    text-shadow: 0 0 10px var(--text-white);
}

/* Profile Section */
.profile-section {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 3px solid var(--neon-blue);
    box-shadow:
        0 0 30px var(--neon-blue),
        inset 0 0 30px rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
    animation: profileGlow 3s ease-in-out infinite alternate;
    object-fit: cover;
}

.profile-img:hover {
    transform: scale(1.05);
    box-shadow:
        0 0 60px var(--neon-purple),
        inset 0 0 60px rgba(128, 0, 255, 0.2);
}

/* ====================================
   BANNER SLIDER SECTION
   ==================================== */

.banner-wrapper {
    margin-top: 4rem;
    text-align: center;
    background: transparent;
    padding: 2rem 0;
    position: relative;
    z-index: 1;
}

.slider-heading {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-pink);
    margin-bottom: 1rem;
}

.banner-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 600px;
}

.slides {
    display: flex;
    width: 100%;
    /* Now accommodates 8 images */
    transition: transform 0.5s ease-in-out;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 10, 10, 0.7);
    color: var(--neon-blue);
    border: 2px solid var(--neon-blue);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.slider-btn:hover {
    background: var(--neon-blue);
    color: var(--dark-bg);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.slide {
    flex: 0 0 100%;
    height: 600px;
}

.slide img {
    width: 80%;
    height: 100%;
    object-fit: cover;
    border: 3px solid var(--neon-blue);
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}


/* ====================================
   RESPONSIVE DESIGN - UPDATED
   ==================================== */

@media (max-width: 868px) {
    .banner-slider {
        height: 200px;
    }

    .slide {
        padding: 0 5px;
    }

    .slide img {
        width: 100%;
        height: 200px;
        border-radius: 15px;
        border: 2px solid var(--neon-blue);
        object-fit: contain;
    }

    .slider-heading {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .banner-wrapper {
        padding: 1.5rem 0;
        margin-top: 2rem;
    }
}

@media (max-width: 780px) {
    .banner-slider {
        height: 200px;
    }

    .slide {
        padding: 0 3px;
    }

    .slide img {
        width: 100%;
        height: 200px;
        border-radius: 12px;
        border: 2px solid var(--neon-blue);
        object-fit: contain;
    }

    .slider-heading {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .banner-wrapper {
        padding: 1rem 0;
        margin-top: 1.5rem;
    }
}

/* Additional improvements for better mobile experience */
@media (max-width: 375px) {
    .banner-slider {
        height: 200px;
    }

    .slide img {
        width: 100%;
        border-radius: 10px;
        object-fit: contain;
    }

    .slider-heading {
        font-size: 1.3rem;
    }
}


/* ====================================
   ABOUT SECTION
   ==================================== */

.about {
    padding: 4rem 2rem;
    background: rgba(5, 5, 5, 0.8);
    margin: 2rem 0;
    border-top: 1px solid var(--neon-blue);
    border-bottom: 1px solid var(--neon-pink);
}

.about h1 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(45deg, var(--text-white), var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
}

.bio p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    text-align: justify;
}

.bio h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
    border-bottom: 2px solid var(--neon-blue);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.bio ul {
    list-style: none;
    padding-left: 0;
}

.bio li {
    margin-bottom: 0.8rem;
    padding: 1rem;
    background: rgba(0, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 3px solid var(--neon-blue);
    transition: all 0.3s ease;
    position: relative;
}

.bio li::before {
    content: '▶';
    color: var(--neon-blue);
    margin-right: 0.5rem;
}

.bio li:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateX(10px);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.resume-link {
    display: inline-block;
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-pink));
    color: var(--text-white);
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(128, 0, 255, 0.3);
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    text-transform: uppercase;
}

.resume-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(128, 0, 255, 0.6);
    text-shadow: 0 0 10px var(--text-white);
}

/* ====================================
   PROJECTS SECTION - UPDATED
   ==================================== */

.projects {
    padding: 4rem 2rem;
    background: rgba(10, 10, 10, 0.8);
}

.projects h1 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-list {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    max-width: 1200px;
    margin: 0 auto 3rem auto;
}

.project {
    background: rgba(5, 5, 5, 0.8);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--neon-blue);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink), var(--neon-purple));
    animation: projectBorder 3s linear infinite;
}

.project:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.2);
    border-color: var(--neon-pink);
}

.project h2 {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}

.project p {
    margin-bottom: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ====================================
   PROJECT IMAGES SECTION - UPDATED
   ==================================== */

.project-images {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 3rem auto;
    max-width: 1200px;
}

.project-img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 500px;
    border-radius: 10px;
    border: 2px solid var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-img:hover {
    transform: scale(1.03);
    box-shadow: 0 0 30px rgba(255, 0, 128, 0.4);
}

/* ====================================
   PROJECT VIDEO SECTION
   ==================================== */

.project-video {
    max-width: 900px;
    margin: 3rem auto 0 auto;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.project-video video {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* ====================================
   RESPONSIVE - PROJECTS
   ==================================== */

@media (max-width: 768px) {
    .project-list {
        grid-template-columns: 1fr;
    }

    .project-img {
        max-width: 100%;
        height: auto;
    }
}

/* ====================================    CONTACT SECTION    ==================================== */
.contact {
    padding: 4rem 2rem;
    background: rgba(5, 5, 5, 0.95);
    border-top: 1px solid var(--neon-pink);
    min-height: 100vh;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 20, 147, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.contact h1 {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(45deg, var(--neon-green), var(--neon-blue), var(--neon-pink));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
    position: relative;
    z-index: 1;
}

.contact-info {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Form Styles */
.contact-info form {
    background: rgba(10, 10, 10, 0.8);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--neon-blue);
    box-shadow:
        0 0 30px rgba(0, 255, 255, 0.2),
        inset 0 0 20px rgba(0, 255, 255, 0.05);
    margin-bottom: 3rem;
    backdrop-filter: blur(10px);
}

.contact-info form p {
    margin-bottom: 1.5rem;
}

.contact-info label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--neon-green);
    font-family: 'Orbitron', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.contact-info input,
.contact-info textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.contact-info input:focus,
.contact-info textarea:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow:
        0 0 15px rgba(0, 255, 255, 0.4),
        inset 0 0 10px rgba(0, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-2px);
}

.contact-info textarea {
    resize: vertical;
    min-height: 120px;
}

/* Submit Button */
.cv-button {
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-pink));
    color: var(--bg-dark);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

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

.cv-button:hover::before {
    left: 100%;
}

.cv-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 25px rgba(0, 255, 255, 0.6);
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-green));
}

/* Divider */
hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    margin: 3rem 0;
    position: relative;
}

hr::before {
    content: '◆';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-dark);
    color: var(--neon-blue);
    padding: 0 1rem;
    font-size: 1.2rem;
}

/* Contact Information Cards */
.contact-info>p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    padding: 1.5rem;
    background: rgba(0, 255, 255, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--neon-blue);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.contact-info>p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--neon-pink), var(--neon-green));
    transition: height 0.3s ease;
}

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

.contact-info>p:hover::before {
    height: 100%;
}

.contact-info>p:hover::after {
    width: 100%;
}

.contact-info>p:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateX(15px);
    box-shadow:
        0 5px 25px rgba(0, 255, 255, 0.2),
        0 0 15px rgba(255, 20, 147, 0.1);
    border-left-color: var(--neon-pink);
}

.contact-info strong {
    color: var(--neon-green);
    font-family: 'Orbitron', monospace;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info a {
    color: var(--neon-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px var(--neon-blue);
    position: relative;
}

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

.contact-info a:hover::after {
    width: 100%;
}

.contact-info a:hover {
    color: var(--neon-pink);
    text-shadow: 0 0 15px var(--neon-pink);
    transform: translateY(-2px);
}

.contact-info form .form-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.flash {
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Orbitron', monospace;
    text-transform: uppercase;
    animation: slideInDown 0.4s ease;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
    white-space: nowrap;
}

.flash.success {
    background: rgba(0, 255, 0, 0.12);
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
}

.flash.error {
    background: rgba(255, 0, 0, 0.12);
    border: 1px solid #ff4444;
    color: #ff4444;
}


/* Flash Messages */
.flash {
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    border-radius: 10px;
    font-weight: 500;
    text-align: center;
    animation: slideInDown 0.5s ease;
}

.flash.success {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
}

.flash.error {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff4444;
    color: #ff4444;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.2);
}

/* Animations */
@keyframes gradientShift {

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

    50% {
        background-position: 100% 50%;
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact {
        padding: 2rem 1rem;
    }

    .contact h1 {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }

    .contact-info form {
        padding: 1.5rem;
    }

    .contact-info>p {
        padding: 1rem;
    }

    .contact-info>p:hover {
        transform: translateX(10px);
    }
}

@media (max-width: 480px) {
    .contact h1 {
        font-size: 1.8rem;
    }

    .cv-button {
        width: 100%;
        padding: 1rem;
    }
}

/* ====================================
   SCROLLBAR STYLING
   ==================================== */

::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--neon-blue), var(--neon-pink));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(var(--neon-pink), var(--neon-purple));
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .content {
        margin-top: 140px;
    }

    .home {
        flex-direction: column-reverse;
        text-align: center;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .home-content h1 {
        font-size: 2.5rem;
    }

    .profile-img {
        width: 250px;
        height: 250px;
    }

    .banner-slider {
        height: 400px;
    }

    .about h1,
    .projects h1,
    .contact h1 {
        font-size: 2rem;
    }

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

    .social-links {
        justify-content: center;
    }

    .project-images {
        flex-direction: column;
        align-items: center;
    }

    .project-img {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .content {
        margin-top: 200px;
    }

    .home-content h1 {
        font-size: 2rem;
    }

    .profile-img {
        width: 200px;
        height: 200px;
    }

    .banner-slider {
        height: 300px;
    }

    .home,
    .about,
    .projects,
    .contact {
        padding: 2rem 1rem;
    }

    .slider-heading {
        font-size: 1.5rem;
    }

    .cv-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ====================================
   ADMIN DASHBOARD SECTION
   ==================================== */

.dashboard {
    padding: 4rem 2rem;
    background: rgba(10, 10, 10, 0.9);
    min-height: 80vh;
    border-top: 1px solid var(--neon-blue);
}

.dashboard h1 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 0, 128, 0.3);
}

.admin-nav {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 0;
}

.admin-nav li {
    background: rgba(0, 255, 255, 0.05);
    border: 2px solid var(--neon-blue);
    border-radius: 15px;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
}

.admin-nav li:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.3);
    transform: translateY(-5px);
}

.admin-nav a {
    font-family: 'Orbitron', monospace;
    color: var(--text-white);
    text-decoration: none;
    font-size: 1.2rem;
    text-shadow: 0 0 10px var(--neon-blue);
    transition: all 0.3s ease;
}

.admin-nav a:hover {
    color: var(--neon-pink);
    text-shadow: 0 0 15px var(--neon-pink);
}

/* ====================================
   ADMIN MESSAGES PAGE
   ==================================== */

.admin-section {
    padding: 4rem 2rem;
    background: rgba(10, 10, 10, 0.95);
    min-height: 80vh;
    border-top: 2px solid var(--neon-blue);
    border-bottom: 2px solid var(--neon-pink);
}

.admin-section h1 {
    font-family: 'Orbitron', monospace;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.admin-section ul {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.admin-section li {
    background: rgba(0, 255, 255, 0.03);
    border-left: 4px solid var(--neon-blue);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.admin-section li:hover {
    transform: translateY(-5px);
    background: rgba(0, 255, 255, 0.05);
    box-shadow: 0 0 25px rgba(255, 0, 128, 0.2);
}

.admin-section strong {
    color: var(--neon-blue);
    font-size: 1.2rem;
    font-family: 'Orbitron', monospace;
}

.admin-section em {
    color: var(--neon-pink);
    font-style: normal;
    font-weight: bold;
    display: block;
    margin: 0.5rem 0;
    font-size: 1.05rem;
}

.admin-section p {
    color: var(--text-gray);
    line-height: 1.6;
}

.admin-section hr {
    margin-top: 1rem;
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--neon-purple), transparent);
}

/* Fallback for no messages */
.admin-section p:first-of-type {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-top: 2rem;
}

/* ====================================
   SERVICES SECTION
   ==================================== */

.services {
    padding: 4rem 2rem;
    background: rgba(5, 5, 5, 0.95);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(0, 255, 255, 0.1), transparent 60%),
        radial-gradient(circle at 70% 70%, rgba(255, 0, 128, 0.1), transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.services h1 {
    font-family: 'Orbitron', monospace;
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-pink), var(--neon-purple));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 0 25px rgba(0, 255, 255, 0.4);
    z-index: 1;
    position: relative;
}

.intro-text {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    z-index: 1;
    position: relative;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.service-box {
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.service-box:hover {
    transform: translateY(-5px);
    border-color: var(--neon-pink);
    box-shadow: 0 0 30px rgba(255, 0, 128, 0.2);
}

.service-box h2 {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}

.service-box p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-gray);
}

/* ====================================
   FOOTER SECTION (REUSABLE)
   ==================================== */

.footer {
    background: rgba(5, 5, 5, 0.9);
    color: var(--text-gray);
    text-align: center;
    padding: 2rem 1rem;
    border-top: 1px solid var(--neon-blue);
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    z-index: 10;
    position: relative;
}


.footer a:hover {
    color: var(--neon-pink);
    text-shadow: 0 0 10px var(--neon-pink);
}

/* ====================================
   RESPONSIVE
   ==================================== */

@media (max-width: 768px) {
    .services h1 {
        font-size: 2.2rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    .service-box {
        padding: 1.5rem;
    }

    .service-box h2 {
        font-size: 1.2rem;
    }

    .service-box p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .services {
        padding: 2rem 1rem;
    }

    .services h1 {
        font-size: 1.8rem;
    }

    .service-box {
        padding: 1.2rem;
    }
}