/* ================= GLOBAL ================= */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #050505;
    color: #e5e7eb;
}

/* GRID BACKGROUND */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -1;
}

/* ================= SIDEBAR ================= */
.neo-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 240px;
    height: 100vh;
    background: #060606;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px 20px;
    z-index: 1000;
    transition: left 0.35s ease;
}

.name-logo h1 {
    margin: 0;
    font-size: 26px;
}

.name-logo span {
    font-size: 13px;
    color: #22c55e;
}

.neo-nav {
    margin-top: 40px;
}

.neo-nav a {
    display: block;
    padding: 10px;
    margin-bottom: 6px;
    color: #cbd5f5;
    text-decoration: none;
    border-radius: 6px;
}

.neo-nav a:hover {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

/* ================= TOGGLER ================= */
.sidebar-toggle {
    display: none;
}

/* ================= MAIN ================= */
.main-content {
    margin-left: 240px;
    padding: 60px;
}

.section {
    margin-bottom: 100px;
}

/* ================= HERO ================= */
.neo-badge {
    color: #22c55e;
    font-size: 14px;
}

.accent {
    color: #22c55e;
}

.hero-desc {
    max-width: 520px;
    color: #9ca3af;
}

.hero-image {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, #22c55e 0%, transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    object-fit: cover;
}

/* ================= CARDS ================= */
.neo-card,
.neo-project-card,
.contact-card {
    background: #0b0b0b;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.neo-card {
    padding: 24px;
}

.neo-project-card {
    padding: 26px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.neo-project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 197, 94, 0.4);
}

/* ================= ABOUT ================= */
.about-img {
    width: 200px;
    border-radius: 50%;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.about-stats div strong {
    color: #22c55e;
    font-size: 22px;
    display: block;
}

/* ================= SKILLS ================= */
.skill-group {
    margin-bottom: 40px;
}

.skill-heading {
    margin-bottom: 20px;
    color: #22c55e;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.skills-grid {
    margin-top: 10px;
}

.skill-item i {
    font-size: 56px;
    margin-bottom: 8px;
    transition: transform 0.25s ease;
}

.skill-item p {
    margin: 0;
    font-size: 14px;
    color: #cbd5f5;
}

.skill-item:hover i {
    transform: scale(1.12);
}

/* ================= PROJECTS ================= */
.section-title {
    margin-bottom: 40px;
}

.neo-project-card h5 {
    margin-top: 12px;
    margin-bottom: 10px;
}

.project-badge {
    display: inline-block;
    font-size: 12px;
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.4);
    padding: 4px 10px;
    border-radius: 999px;
}

.project-tech {
    margin-top: 14px;
    font-size: 13px;
    color: #9ca3af;
}

/* Read more */
.project-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: #3b82f6;
    text-decoration: none;
    border: 1.5px solid rgba(59, 130, 246, 0.35);
    transition: all 0.3s ease;
}

.project-readmore:hover {
    background: linear-gradient(90deg, #3b82f6, #9333ea);
    color: #ffffff;
    border-color: transparent;
}

/* ================= CONTACT ================= */
.contact-card {
    max-width: 420px;
    padding: 30px;
}

.contact-card a {
    display: block;
    margin-top: 12px;
    color: #cbd5f5;
    text-decoration: none;
}

.contact-card a:hover {
    color: #22c55e;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .main-content {
        margin-top: 10%;
        margin-left: 0 !important;
        width: 100%;
        padding: 24px 20px;

    }

    .neo-sidebar {
        position: fixed;
        top: 0;
        left: -240px;
        /* fully hidden */
        width: 240px;
        height: 100vh;
        z-index: 1000;
        transition: left 0.3s ease;
    }

    .neo-sidebar.active {
        left: 0;
    }



    .sidebar-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        position: fixed;
        top: 18px;
        left: 260px;
        /* 👈 move it outside sidebar */

        width: 44px;
        height: 44px;

        background: #060606;
        color: #22c55e;

        border: 1px solid rgba(34, 197, 94, 0.4);
        border-radius: 10px;

        font-size: 20px;
        cursor: pointer;

        z-index: 1101;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    }

    .hero-image {
        width: 260px;
        height: 260px;
        margin: 0 auto;
    }

    .hero-image img {
        width: 200px;
        height: 200px;
    }

    .about-stats {
        flex-direction: column;
        gap: 16px;
    }

    .name-logo span {
        font-size: 13px;
        color: #22c55e;
        margin-left: 34%;
    }

    .name-logo h1 {
        margin-left: 33%;
        font-size: 26px;
    }
}

@media (max-width: 592px) {

    body {
        font-size: 15px;
    }

    .hero-desc,
    .hero-content,
    .hero-section {
        text-align: center;
    }

    .hero-desc {
        max-width: 100%;
        line-height: 1.6;
    }

    .main-content {
        margin-top: 10%;
    }

    .section {
        margin-bottom: 70px;

    }

    .neo-card,
    .neo-project-card,
    .contact-card {
        padding: 22px;
    }

    .project-readmore {
        width: 100%;
        justify-content: center;
    }

    .name-logo span {
        font-size: 13px;
        color: #22c55e;
        margin-left: 34%;
    }

    .name-logo h1 {
        margin-left: 33%;
        font-size: 26px;
    }
}

@media (max-width: 380px) {
    .main-content {
        margin-top: 10%;
    }

    .hero-image {
        width: 220px;
        height: 220px;
    }

    .hero-image img {
        width: 170px;
        height: 170px;
    }

    .name-logo span {
        font-size: 13px;
        color: #22c55e;
        margin-left: 34%;
    }

    .name-logo h1 {
        margin-left: 33%;
        font-size: 26px;
    }
}



/* ================= MOBILE SIDEBAR DRAWER ================= */

/* Overlay */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 999;
}

.sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Sidebar (desktop stays same) */
@media (max-width: 992px) {

    .neo-sidebar {
        left: -240px;
        /* fully hidden */
        width: 240px;
        z-index: 1000;
    }

    .neo-sidebar.active {
        left: 0;
    }

    /* Main content stays put */
    .main-content {
        margin-left: 0 !important;
    }

    /* Toggle button – OUTSIDE sidebar */
    .sidebar-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        position: fixed;
        top: 16px;
        left: 16px;

        width: 44px;
        height: 44px;

        background: #060606;
        color: #22c55e;

        border: 1px solid rgba(34, 197, 94, 0.4);
        border-radius: 10px;

        font-size: 20px;
        cursor: pointer;

        z-index: 1101;

    }
}

/* ================= EXPERIENCE ================= */

.experience-card {
    padding: 28px;
}

.experience-card h5 {
    margin-top: 12px;
    margin-bottom: 6px;
}

.experience-card ul {
    margin-top: 14px;
    padding-left: 18px;
    color: #9ca3af;
}

.experience-card ul li {
    margin-bottom: 8px;
}

.github-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.github-box h4 {
    font-weight: 600;
}

.github-box .btn {
    border-radius: 30px;
    padding: 10px 25px;
}

/* ================= zoom screenshots ================= */
.zoom-img {
    cursor: pointer;
    transition: 0.3s ease;
}

.zoom-img:hover {
    transform: scale(1.03);
}
