/* -------- RESET -------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #0a0a0a;
    color: #fff;
}



/* ========================================================= */
/*                       NAVBAR (NEW)                        */
/* ========================================================= */
nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    background: rgba(15, 15, 15, 0.55);
    padding: 12px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    border-radius: 14px;
    border: 1px solid rgba(0, 255, 136, 0.25);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow: 0 0 12px rgba(0, 255, 136, 0.18);
    transition: 0.35s ease;

    z-index: 9999;
}

nav:hover {
    background: rgba(15,15,15,0.85);
}

nav .logo {
    font-size: 24px;
    font-weight: 700;
    color: #00ff88;
    text-shadow: 0 0 8px #00ff8877;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
}

nav ul li a {
    position: relative;
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 6px 10px;
    transition: 0.25s ease;
}

nav ul li a:hover {
    color: #00ff88;
}

nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: #00ff88;
    box-shadow: 0 0 10px #00ff8899;
    transition: width 0.25s ease;
}

nav ul li a:hover::after {
    width: 100%;
}



/* ========================================================= */
/*                           HERO                             */
/* ========================================================= */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 120px;
    text-align: center;
}

/* ---- MULTI-NEON FADE + GLOW ANIMATION ---- */
.hero h1 {
    font-size: 75px;
    font-weight: 700;
    animation: neonFade 5.2s ease-in-out infinite;
}

@keyframes neonFade {
    0% {
        color: #00ff88;
        text-shadow:
            0 0 8px #00ff8855,
            0 0 18px #00ff8844,
            0 0 28px #00ff8833;
    }

    25% {
        color: #00ffaa;
        text-shadow:
            0 0 10px #00ffaa77,
            0 0 22px #00ffaa55,
            0 0 32px #00ffaa44;
    }

    50% {
        color: #66ffcc;
        text-shadow:
            0 0 14px #66ffccaa,
            0 0 28px #66ffcc77,
            0 0 38px #66ffcc55;
    }

    75% {
        color: #33ff99;
        text-shadow:
            0 0 12px #33ff9988,
            0 0 26px #33ff9966,
            0 0 34px #33ff9944;
    }

    100% {
        color: #00ff88;
        text-shadow:
            0 0 8px #00ff8855,
            0 0 18px #00ff8844,
            0 0 28px #00ff8833;
    }
}

.hero p {
    margin-top: 15px;
    font-size: 20px;
    opacity: 0.75;
}


/* ========================================================= */
/*                     SECTION TITLES                        */
/* ========================================================= */

.section {
    padding: 120px 40px 80px;
}

.section h2,
.contact-box h3,
.message-box h3 {
    font-size: 42px;
    font-weight: 700;
    color: #00ff88;
    text-shadow: 0 0 12px #00ff8877;
    margin-bottom: 10px;
}

.section .desc {
    font-size: 17px;
    opacity: 0.75;
    margin-bottom: 35px;
    color: #d4d4d4;
}



/* ========================================================= */
/*                  UNIVERSAL CARD GRID                      */
/* ========================================================= */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.card-style {
    position: relative;
    width: 100%;
    height: 240px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;

    background: #111;
    border: 1px solid rgba(0,255,136,0.25);

    transition: 0.3s ease;

    animation: glowPulse 4s infinite ease-in-out;
}

@keyframes glowPulse {
    0%   { box-shadow: 0 0 6px #00ff8820; }
    50%  { box-shadow: 0 0 14px #00ff8850; }
    100% { box-shadow: 0 0 6px #00ff8820; }
}


/* ---- Hover Neon Scan ---- */
.card-style::before {
    content: "";
    position: absolute;
    top: -170%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0,255,136,0.18) 50%,
        transparent 100%
    );
    transition: 0.6s ease-in-out;
}

.card-style:hover::before {
    top: 170%;
}


/* ---- Picture ---- */
.card-style img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(40%);
    transition: 0.3s ease;
}

.card-style:hover img {
    filter: brightness(65%);
}

.card-style span {
    position: absolute;
    bottom: 15px;
    left: 15px;
    font-size: 18px;
    font-weight: 600;
    color: #00ff88;
    text-shadow: 0 0 5px #00ff88aa;
}



/* ========================================================= */
/*                     ME SECTION                            */
/* ========================================================= */
.me-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    background: #0f0f0f;
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(0,255,136,0.25);
    box-shadow: 0 0 25px #00ff8822;
}

.me-image {
    width: 40%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
}

.me-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(60%);
    transition: 0.3s ease;
}

.me-image img:hover {
    filter: brightness(85%);
}

.me-text h3 {
    font-size: 30px;
    font-weight: 600;
    color: #00ff88;
    text-shadow: 0 0 8px #00ff8866;
}



/* ========================================================= */
/*               CONTACT LINKS & MESSAGE BOX                 */
/* ========================================================= */
.contact-box {
    margin-top: 60px;
    background: #111;
    padding: 30px;
    border-radius: 14px;
    border: 1px solid rgba(0,255,136,0.35);
    box-shadow: 0 0 25px #00ff8844;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-links a {
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    background: #0d0d0d;
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid #222;
    transition: 0.25s ease;
}

.contact-links a:hover {
    background: #00ff8890;
    color: #000;
    border-color: #00ff88;
    box-shadow: 0 0 15px #00ff8890;
}



/* ==== MESSAGE BOX ==== */
.message-box {
    margin-top: 60px;
    background: #111;
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(0,255,136,0.45);
    box-shadow: 0 0 35px #00ff8844;

    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.message-box h3 {
    font-size: 32px;
    font-weight: 700;
    color: #00ff88;
    text-shadow: 0 0 8px #00ff8866;
    margin-bottom: 25px;
}

#contactForm {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

#contactForm input,
#contactForm textarea {
    width: 100%;
    background: #0b0b0b;
    border: 1px solid #222;
    padding: 15px;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    transition: 0.2s ease;
}

#contactForm input:focus,
#contactForm textarea:focus {
    border-color: #00ff88;
    box-shadow: 0 0 12px #00ff8866;
}

#contactForm textarea {
    height: 150px;
    resize: none;
}

#contactForm button {
    background: #00ff88;
    border: none;
    padding: 15px;
    color: #000;
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.25s ease;
}

#contactForm button:hover {
    background: #00e676;
    box-shadow: 0 0 20px #00ff8899;
}



/* ========================================================= */
/*                         FOOTER                            */
/* ========================================================= */
footer {
    text-align: center;
    padding: 40px;
    opacity: 0.4;
}



/* ========================================================= */
/*                   BACKGROUND LAYERS                       */
/* ========================================================= */
.noise-layer {
    position: fixed;
    pointer-events: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: url('https://i.imgur.com/0Zx7F4V.png');
    background-size: cover;
    mix-blend-mode: overlay;
    z-index: -4;
}

#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -5;
}
