    /*code by: Arif billah */
    :root {
            --dark-bg: #0a0a1a;
            --darker-bg: #050510;
            --card-bg: rgba(15, 15, 35, 0.6);
            --neon-blue: #00f3ff;
            --neon-purple: #bd00ff;
            --neon-green: #00ff9d;
            --text-primary: #ffffff;
            --text-secondary: #b8b8d0;
        }

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

        body {
            font-family: 'Roboto', sans-serif;
            background: var(--dark-bg);
            color: var(--text-primary);
            line-height: 1.6;
            overflow-x: hidden;
            background-image: 
                radial-gradient(circle at 10% 20%, rgba(15, 15, 35, 0.7) 0%, transparent 20%),
                radial-gradient(circle at 90% 80%, rgba(15, 15, 35, 0.7) 0%, transparent 20%);
        }

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

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

        section {
            padding: 80px 0;
        }

        /* Loading Animation */
        #loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--darker-bg);
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            z-index: 9999;
            transition: opacity 0.8s ease-out, visibility 0.8s;
        }

        #loader.hidden {
            opacity: 0;
            visibility: hidden;
        }

        .loader-container {
            position: relative;
            width: 300px;
            height: 300px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .loader-circle {
            width: 260px;
            height: 260px;
            border-radius: 50%;
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            isolation: isolate;
        }

        .loader-circle::before {
            content: '';
            position: absolute;
            inset: 4px;
            border: 3px solid rgba(0, 243, 255, 0.12);
            border-top-color: var(--neon-blue);
            border-right-color: var(--neon-blue);
            border-radius: 50%;
            animation: ringSpin 3.2s linear infinite !important;
            box-shadow: 0 0 12px rgba(0, 243, 255, 0.7);
            z-index: 1;
        }

        .loader-circle::after {
            content: '';
            position: absolute;
            inset: 15px;
            border: 3px solid rgba(189, 0, 255, 0.12);
            border-bottom-color: var(--neon-purple);
            border-left-color: var(--neon-purple);
            border-radius: 50%;
            animation: ringSpinReverse 4.8s linear infinite !important;
            box-shadow: 0 0 12px rgba(189, 0, 255, 0.55);
            z-index: 1;
        }

        .loader-orbit {
            position: absolute;
            border-radius: 50%;
            pointer-events: none;
            transform-origin: center;
        }

        .loader-orbit-one {
            inset: -8px;
            border: 2px solid rgba(0, 255, 157, 0.18);
            border-top-color: var(--neon-green);
            border-left-color: var(--neon-green);
            animation: ringSpin 5.5s linear infinite !important;
            box-shadow: 0 0 14px rgba(0, 255, 157, 0.25);
            z-index: 1;
        }

        .loader-orbit-two {
            inset: -19px;
            border: 2px solid rgba(255, 255, 255, 0.14);
            border-right-color: rgba(255, 255, 255, 0.9);
            border-bottom-color: rgba(189, 0, 255, 0.9);
            animation: ringSpinReverse 8s linear infinite !important;
            z-index: 1;
        }

        .loader-orbit-dot {
            position: absolute;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            pointer-events: none;
            z-index: 5;
        }

        .loader-orbit-dot-one {
            top: -10px;
            left: calc(50% - 4px);
            transform-origin: 4px 140px;
            background: var(--neon-green);
            box-shadow: 0 0 12px var(--neon-green);
            animation: dotOrbitOne 5.5s linear infinite !important;
        }

        .loader-orbit-dot-two {
            right: -17px;
            top: calc(50% - 4px);
            transform-origin: -136px 4px;
            background: var(--neon-purple);
            box-shadow: 0 0 12px var(--neon-purple);
            animation: dotOrbitTwo 8s linear infinite !important;
        }

        @keyframes ringSpin {
            to { transform: rotate(360deg); }
        }

        @keyframes ringSpinReverse {
            to { transform: rotate(-360deg); }
        }

        @keyframes dotOrbitOne {
            0% {
                transform: rotate(0deg) scale(0.8);
                opacity: 0.65;
            }
            50% {
                opacity: 1;
            }
            100% {
                transform: rotate(360deg) scale(1.15);
                opacity: 0.65;
            }
        }

        @keyframes dotOrbitTwo {
            0% {
                transform: rotate(0deg) scale(0.8);
                opacity: 0.55;
            }
            50% {
                opacity: 1;
            }
            100% {
                transform: rotate(-360deg) scale(1.15);
                opacity: 0.55;
            }
        }

        .image-container {
            position: absolute;
            width: 180px;
            height: 180px;
            border-radius: 50%;
            overflow: hidden;
            z-index: 2;
            background: var(--darker-bg);
            border: 2px solid rgba(255, 255, 255, 0.35);
            box-shadow: 0 0 18px rgba(0, 243, 255, 0.35);
            opacity: 0;
            transition: opacity 0.8s ease-in-out;
        }
        

        .image-container.active {
            opacity: 1;
        }

        .loader-image {
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center;
            display: block;
            background: var(--darker-bg);
        }

        .loader-image-fill {
            object-fit: cover;
            object-position: center;
            transform: scale(1.02);
        }

        #loader .image-container {
            width: 180px;
            height: 180px;
            border-radius: 50%;
            z-index: 3;
        }

        .loader-content {
            position: absolute;
            bottom: -80px;
            text-align: center;
            width: 100%;
        }

        .loader-name {
            font-family: 'Orbitron', sans-serif;
            font-size: 2rem;
            color: var(--neon-blue);
            text-shadow: 0 0 15px var(--neon-blue);
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
        }

        .loader-name::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 100%;
            height: 3px;
            background: var(--neon-blue);
            transform: scaleX(0);
            transform-origin: bottom right;
            transition: transform 0.5s ease-out;
            box-shadow: 0 0 10px var(--neon-blue);
        }

        #loader:hover .loader-name::after {
            transform: scaleX(1);
            transform-origin: bottom left;
        }

        .cyber-text {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.2rem;
            color: var(--neon-green);
            text-shadow: 0 0 10px var(--neon-green);
            margin-top: 10px;
            position: relative;
            overflow: hidden;
            height: 30px;
        }

        .cyber-text span {
            display: block;
            position: absolute;
            width: 100%;
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.35s ease, transform 0.35s ease;
            animation: none;
        }

        .cyber-text span.active {
            opacity: 1;
            transform: translateY(0);
        }

        .cyber-text span:nth-child(2) {
            animation-delay: 0s;
        }
        .cyber-text span:nth-child(3) {
            animation-delay: 0s;
        }
        .cyber-text span:nth-child(4) {
            animation-delay: 0s;
        }

        /* Keep the loader captions visible even when the OS limits motion. */
        #loader .cyber-text {
            display: block;
            visibility: visible;
            min-height: 30px;
        }

        @media (max-width: 576px) {
            #loader .loader-content {
                bottom: -95px;
                padding: 0 12px;
            }

            #loader .cyber-text {
                font-size: 0.9rem;
            }
        }

        .loader-text {
            margin-top: 30px;
            color: var(--text-secondary);
            font-size: 1.1rem;
            position: relative;
        }

        .loader-text::after {
            content: '';
            animation: dots 1.5s steps(4, end) infinite;
        }

        img {
            max-width: 100%;
        }

        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                scroll-behavior: auto !important;
                transition-duration: 0.01ms !important;
            }

            #loader .cyber-text span.active {
                opacity: 1 !important;
                transform: translateY(0) !important;
            }
        }

        /* The loader preview remains animated so its progress is visible. */
        #loader .loader-circle::before {
            animation-duration: 3.2s !important;
            animation-iteration-count: infinite !important;
        }

        #loader .loader-circle::after {
            animation-duration: 4.8s !important;
            animation-iteration-count: infinite !important;
        }

        #loader .loader-orbit-one {
            animation-duration: 5.5s !important;
            animation-iteration-count: infinite !important;
        }

        #loader .loader-orbit-two {
            animation-duration: 8s !important;
            animation-iteration-count: infinite !important;
        }

        #loader .loader-orbit-dot-one {
            animation-duration: 5.5s !important;
            animation-iteration-count: infinite !important;
        }

        #loader .loader-orbit-dot-two {
            animation-duration: 8s !important;
            animation-iteration-count: infinite !important;
        }

        .floating-particles {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            z-index: -1;
        }

        .particle {
            position: absolute;
            background: var(--neon-blue);
            border-radius: 50%;
            opacity: 0.7;
            animation: portfolioParticleRise 28s infinite linear;
            will-change: transform, opacity;
        }

        body > .particles {
            position: fixed;
            inset: 0;
            height: 100vh;
            overflow: hidden;
            pointer-events: none;
            z-index: 0;
        }

        body > .particles .particle {
            z-index: 1;
            opacity: 0.9 !important;
            filter: drop-shadow(0 0 6px currentColor);
            animation: portfolioParticleRise 28s linear infinite !important;
            animation-timing-function: linear !important;
            animation-iteration-count: infinite !important;
            animation-fill-mode: both !important;
        }

        @keyframes portfolioParticleRise {
            0% {
                transform: translate3d(0, 30vh, 0) scale(0.9);
            }
            100% {
                transform: translate3d(45px, -80vh, 0) scale(1.15);
            }
        }

        .particle:nth-child(1) {
            width: 6px;
            height: 6px;
            top: 20%;
            left: 20%;
            animation-delay: 0s;
            background: var(--neon-blue);
        }

        .particle:nth-child(2) {
            width: 8px;
            height: 8px;
            top: 60%;
            left: 80%;
            animation-delay: 1s;
            background: var(--neon-purple);
        }

        .particle:nth-child(3) {
            width: 5px;
            height: 5px;
            top: 40%;
            left: 40%;
            animation-delay: 2s;
            background: var(--neon-green);
        }

        .particle:nth-child(4) {
            width: 7px;
            height: 7px;
            top: 70%;
            left: 30%;
            animation-delay: 3s;
            background: var(--neon-pink);
        }

        .particle:nth-child(5) {
            width: 4px;
            height: 4px;
            top: 30%;
            left: 60%;
            animation-delay: 4s;
            background: var(--neon-blue);
        }

        .particle:nth-child(6) {
            width: 6px;
            height: 6px;
            top: 80%;
            left: 70%;
            animation-delay: 5s;
            background: var(--neon-purple);
        }

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

        @keyframes rotateWords {
            0% { opacity: 0; transform: translateY(20px); }
            3% { opacity: 1; transform: translateY(0px); }
            20% { opacity: 1; transform: translateY(0px); }
            23% { opacity: 0; transform: translateY(-20px); }
            100% { opacity: 0; }
        }

        @keyframes dots {
            0%, 20% { content: '.'; }
            40% { content: '..'; }
            60%, 100% { content: '...'; }
        }

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


/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}

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

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--neon-blue);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-blue);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}
/* Hero Section */
:root {
    --neon-blue: #00f3ff;
    --neon-purple: #bd00ff;
    --dark-bg: #0a0a1a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
}

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

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

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0 20px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 243, 255, 0.15) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(189, 0, 255, 0.15) 0%, transparent 30%);
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--dark-bg), transparent);
    z-index: 2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 3;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.25rem, 7vw, 4.5rem);
    margin-bottom: 15px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none; /* Removed glow */
    letter-spacing: 1px;
    line-height: 1.25;
    padding: 0 4px 0.16em;
    overflow: visible;
    white-space: nowrap;
}

#home .hero-content h1 {
    font-size: clamp(1.25rem, 7vw, 4.5rem);
    white-space: nowrap;
}

.hero h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
    position: relative;
    display: inline-block;
}

.hero h2::after {
    content: '|';
    position: absolute;
    right: -15px;
    animation: blink 0.7s infinite;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    color: var(--neon-blue);
    border: 2px solid var(--neon-blue);
    border-radius: 4px;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 1rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--neon-blue);
    transition: width 0.5s;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    color: var(--dark-bg);
    box-shadow: 0 0 25px var(--neon-blue);
    transform: translateY(-3px);
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid var(--neon-purple);
    border-radius: 50%;
    color: var(--neon-purple);
    font-size: 1.5rem;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--neon-purple);
    color: var(--dark-bg);
    box-shadow: 0 0 15px var(--neon-purple);
    transform: translateY(-5px);
}

/* Removed floating shapes and animations */
.floating-shapes,
.shape {
    display: none; /* Hide all animated bubbles */
}

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

@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .hero h2 { font-size: 1.8rem; }
    .hero p { font-size: 1.1rem; }
    .btn { padding: 12px 30px; }
    .social-icons a { width: 45px; height: 45px; font-size: 1.3rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.5rem; }
    .hero h2 { font-size: 1.5rem; }
    .hero p { font-size: 1rem; }
    .btn { padding: 10px 25px; font-size: 0.9rem; }
}

/* About Section */
.about {
    position: relative;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-img {
    flex: 1;
    position: relative;
}

.about-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.3);
    border: 1px solid var(--neon-blue);
}

.about-img::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid var(--neon-blue);
    border-radius: 10px;
    z-index: -1;
    opacity: 0.7;
}

.about-text {
    flex: 1;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--neon-blue);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--neon-blue);
}


/* Footer bottom */
.footer-bottom {
  background: #050811; /* dark theme */
  padding: 20px;
  text-align: center;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: #aaa;
}

.footer-bottom a {
  color: #00f3ff;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-bottom a:hover {
  color: #ff2a6d;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #00f3ff, #ff2a6d);
  color: #fff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 20px rgba(0,243,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}
.back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 0 30px rgba(255,42,109,0.7);
}

/* Show when scrolling */
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}


/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item::after {
        left: 20px;
        right: auto;
    }
    
    .nav-links {
        display: none;
    }
} 
/*icon*/
/* Additional CSS for enhanced visual effects */
.cyber-grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(0, 243, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -2;
    pointer-events: none;
}

.glow-effect {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.1) 0%, transparent 70%);
    filter: blur(50px);
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: glowMove 15s infinite alternate ease-in-out;
}

@keyframes glowMove {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-40%, -60%) scale(1.2);
        opacity: 0.5;
    }
    100% {
        transform: translate(-60%, -40%) scale(0.8);
        opacity: 0.2;
    }
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    background: transparent;
    border: 1px solid rgba(0, 243, 255, 0.1);
    animation: floatShape 20s infinite linear;
}

.floating-shape:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation-delay: 0s;
}

.floating-shape:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 70%;
    left: 80%;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation-delay: 5s;
}

.floating-shape:nth-child(3) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 80%;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation-delay: 10s;
}

@keyframes floatShape {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.1;
    }
    25% {
        transform: translate(20px, 30px) rotate(90deg);
        opacity: 0.3;
    }
    50% {
        transform: translate(-20px, 60px) rotate(180deg);
        opacity: 0.5;
    }
    75% {
        transform: translate(10px, 30px) rotate(270deg);
        opacity: 0.3;
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
        opacity: 0.1;
    }
}
