﻿/* ═══════════════ RESET & ROOT ═══════════════ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #0a0a0f;
    --bg2: #111118;
    --bg3: #1a1a24;
    --card: #13131c;
    --border: rgba(255,255,255,0.08);
    --border-h: rgba(255,255,255,0.18);
    --accent: #6c63ff;
    --accent2: #ff6b6b;
    --accent3: #43e97b;
    --text: #f0f0f8;
    --text2: #9898b8;
    --text3: #5a5a7a;
    --font-h: 'Syne', sans-serif;
    --font-b: 'DM Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-b);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

::selection {
    background: var(--accent);
    color: #fff;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ═══════════════ NAVBAR ═══════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.2rem 0;
    transition: all 0.3s ease;
}

    .navbar.scrolled {
        background: rgba(10,10,15,0.95);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        padding: 0.8rem 0;
    }

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 1.2rem;
}

.logo-icon {
    width: 34px;
    height: 34px;
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #fff;
    font-family: var(--font-h);
    font-weight: 800;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    list-style: none;
}

    .nav-links a {
        padding: 0.4rem 0.9rem;
        color: var(--text2);
        font-size: 0.9rem;
        border-radius: 6px;
        transition: all 0.2s;
    }

        .nav-links a:hover {
            color: var(--text);
            background: var(--bg3);
        }

.nav-cta {
    background: var(--accent) !important;
    color: #fff !important;
    padding: 0.45rem 1.1rem !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    margin-left: 0.5rem;
}

    .nav-cta:hover {
        background: #5a52e0 !important;
    }

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

    .nav-burger span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--text);
        border-radius: 2px;
    }

/* ═══════════════ HERO ═══════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 9rem 0 5rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
}

.blob1 {
    width: 600px;
    height: 600px;
    top: -100px;
    right: -200px;
    background: radial-gradient(circle, rgba(108,99,255,0.18) 0%, transparent 70%);
    animation: blobFloat 8s ease-in-out infinite;
}

.blob2 {
    width: 400px;
    height: 400px;
    bottom: 0;
    left: -100px;
    background: radial-gradient(circle, rgba(255,107,107,0.12) 0%, transparent 70%);
    animation: blobFloat 11s ease-in-out infinite reverse;
}

.grid-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-left {
    flex: 1;
}

.hero-right {
    flex-shrink: 0;
}

/* Profile photo */
.profile-wrap {
    position: relative;
    width: 300px;
    height: 300px;
}

.profile-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: conic-gradient(var(--accent), #ff6b6b, #43e97b, var(--accent));
    animation: spin 6s linear infinite;
    padding: 3px;
}

.profile-img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    position: relative;
    z-index: 1;
    border: 4px solid var(--bg);
}

.profile-badge-dot {
    position: absolute;
    bottom: 18px;
    right: 18px;
    width: 22px;
    height: 22px;
    background: #43e97b;
    border-radius: 50%;
    border: 3px solid var(--bg);
    z-index: 2;
    animation: pulseDot 2s ease infinite;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(67,233,123,0.08);
    border: 1px solid rgba(67,233,123,0.22);
    color: #43e97b;
    padding: 0.35rem 1rem;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.6s ease both;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background: #43e97b;
    border-radius: 50%;
    animation: pulseDot 2s ease-in-out infinite;
}

.hero-name {
    font-family: var(--font-h);
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 0.5rem;
    animation: fadeUp 0.6s 0.1s ease both;
}

.name-accent {
    color: var(--accent);
}

.hero-role {
    font-family: var(--font-h);
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text2);
    margin-bottom: 0.5rem;
    animation: fadeUp 0.6s 0.2s ease both;
}

.hero-tagline {
    color: var(--accent2);
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    opacity: 0.85;
    animation: fadeUp 0.6s 0.25s ease both;
}

.hero-bio {
    max-width: 520px;
    color: var(--text2);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    animation: fadeUp 0.6s 0.3s ease both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    animation: fadeUp 0.6s 0.35s ease both;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: 500;
    display: inline-block;
    transition: all 0.25s;
}

    .btn-primary:hover {
        background: #5a52e0;
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(108,99,255,0.3);
        color: #fff;
    }

.btn-secondary {
    background: transparent;
    color: var(--text);
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: 500;
    border: 1px solid var(--border-h);
    display: inline-block;
    transition: all 0.25s;
}

    .btn-secondary:hover {
        border-color: var(--accent);
        color: var(--accent);
        transform: translateY(-2px);
    }

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fadeUp 0.6s 0.4s ease both;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-h);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.2rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ═══════════════ SECTIONS ═══════════════ */
.section {
    padding: 7rem 0;
}

.section-alt {
    background: rgba(255,255,255,0.012);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(108,99,255,0.08);
    border: 1px solid rgba(108,99,255,0.2);
    padding: 0.3rem 1rem;
    border-radius: 100px;
    margin-bottom: 0.8rem;
}

.section-title {
    font-family: var(--font-h);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
}

.section-sub {
    color: var(--text2);
}

/* ═══════════════ ABOUT ME ═══════════════ */
.about-posts {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.about-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

    .about-post.reverse {
        direction: rtl;
    }

        .about-post.reverse > * {
            direction: ltr;
        }

.about-img-wrap {
    position: relative;
}

.about-img {
    width: 300px;
    border-radius: 20px;
    object-fit: cover;
    height: 300px;
    border: 1px solid var(--border);
    transition: transform 0.4s ease;
}
/*    .about-img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    height: 400px;
    border: 1px solid var(--border);
    transition: transform 0.4s ease;
}*/

.about-img-wrap:hover .about-img {
    transform: scale(1.02);
}

.about-year {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    letter-spacing: 1px;
}

.about-heading {
    font-family: var(--font-h);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    color: var(--text);
}

.about-desc {
    color: var(--text2);
    font-size: 1rem;
    line-height: 1.8;
}

/* ═══════════════ EXPERIENCE ═══════════════ */
.exp-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: start;
}

.exp-tabs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.exp-tab {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: left;
    cursor: pointer;
    transition: all 0.25s;
    width: 100%;
    font-family: var(--font-b);
}

    .exp-tab:hover {
        border-color: var(--border-h);
        background: var(--bg3);
    }

    .exp-tab.active {
        border-color: var(--accent);
        background: rgba(108,99,255,0.06);
    }

.tab-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-h);
    flex-shrink: 0;
    position: relative;
}

.exp-tab.active .tab-dot {
    background: var(--accent);
}

.tab-dot.current::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: rgba(108,99,255,0.35);
    animation: ripple 2s ease infinite;
}

.tab-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.tab-company {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
}

.tab-period {
    font-size: 0.75rem;
    color: var(--text3);
}

.exp-detail {
    display: none;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
}

    .exp-detail.active {
        display: block;
        animation: fadeUp 0.3s ease both;
    }

.exp-detail-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.exp-role-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.3rem;
    flex-wrap: wrap;
}

.exp-role {
    font-family: var(--font-h);
    font-size: 1.4rem;
    font-weight: 700;
}

.current-badge {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(67,233,123,0.1);
    color: #43e97b;
    padding: 0.2rem 0.7rem;
    border-radius: 100px;
    border: 1px solid rgba(67,233,123,0.25);
}

.exp-company {
    color: var(--accent);
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.exp-period {
    color: var(--text3);
    font-size: 0.82rem;
}

.exp-highlights {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

    .exp-highlights li {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        font-size: 0.93rem;
        color: var(--text2);
        line-height: 1.6;
    }

.bullet {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.58rem;
}

.tech-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text2);
    font-family: monospace;
}

/* ═══════════════ PROJECTS ═══════════════ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

    .project-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--card-color, var(--accent));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s ease;
    }

    .project-card:hover {
        border-color: var(--border-h);
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.35);
    }

        .project-card:hover::before {
            transform: scaleX(1);
        }

    .project-card.featured {
        border-color: rgba(108,99,255,0.22);
    }

.proj-client-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(108,99,255,0.08);
    border: 1px solid rgba(108,99,255,0.18);
    padding: 0.2rem 0.7rem;
    border-radius: 100px;
    margin: 1.25rem 1.25rem 0;
    width: fit-content;
}

/* Thumbnail */
.proj-thumb {
    position: relative;
    overflow: hidden;
    height: 200px;
}

    .proj-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

.project-card:hover .proj-thumb img {
    transform: scale(1.05);
}

.proj-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,10,15,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .proj-thumb-overlay {
    opacity: 1;
}

.thumb-view-btn {
    background: var(--accent);
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

    .thumb-view-btn:hover {
        background: #5a52e0;
        transform: scale(1.05);
    }

.proj-icon-wrap {
    padding: 1.5rem 1.5rem 0;
}

.proj-icon {
    font-size: 2rem;
}

.proj-body {
    flex: 1;
    padding: 1rem 1.5rem;
}

.proj-meta {
    margin-bottom: 0.4rem;
}

.proj-client {
    font-size: 0.78rem;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.proj-title {
    font-family: var(--font-h);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.proj-desc {
    font-size: 0.87rem;
    color: var(--text2);
    line-height: 1.6;
}

.proj-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid var(--border);
}

.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tech-pill {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text2);
    font-family: monospace;
}

.tech-more {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text3);
}

.see-more-btn {
    font-size: 0.82rem;
    color: var(--accent);
    white-space: nowrap;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border: 1px solid rgba(108,99,255,0.3);
    border-radius: 7px;
    transition: all 0.2s;
    flex-shrink: 0;
}

    .see-more-btn:hover {
        background: rgba(108,99,255,0.1);
        border-color: var(--accent);
    }

/* ═══════════════ SKILLS ═══════════════ */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.skill-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
    transition: all 0.25s;
}

    .skill-card:hover {
        border-color: var(--border-h);
        transform: translateY(-2px);
    }

.skill-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.skill-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.skill-category {
    font-family: var(--font-h);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-item {
    font-size: 0.82rem;
    padding: 0.3rem 0.85rem;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text2);
    transition: all 0.2s;
    cursor: default;
}

    .skill-item:hover {
        border-color: var(--item-color, var(--accent));
        color: var(--item-color, var(--accent));
        background: rgba(108,99,255,0.06);
    }

/* ═══════════════ EDUCATION ═══════════════ */
.edu-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 700px;
    margin: 0 auto;
}

.edu-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    transition: all 0.25s;
}

    .edu-card:hover {
        border-color: var(--border-h);
        transform: translateX(4px);
    }

.edu-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(108,99,255,0.1);
    border: 1px solid rgba(108,99,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.edu-degree {
    font-family: var(--font-h);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.edu-institution {
    font-size: 0.88rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.edu-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.edu-period {
    font-size: 0.8rem;
    color: var(--text3);
}

.edu-grade {
    font-size: 0.8rem;
    color: #43e97b;
    font-weight: 600;
    background: rgba(67,233,123,0.08);
    padding: 0.15rem 0.6rem;
    border-radius: 100px;
    border: 1px solid rgba(67,233,123,0.2);
}

/* ═══════════════ CONTACT ═══════════════ */
.contact-section {
    padding: 8rem 0 6rem;
}

.contact-inner {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.contact-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background: radial-gradient(circle, rgba(108,99,255,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.contact-title {
    font-family: var(--font-h);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin: 0.8rem 0 1.2rem;
}

.contact-text {
    color: var(--text2);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.contact-links {
    margin-bottom: 1.5rem;
}

.email-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--accent);
    color: #fff;
    padding: 0.85rem 2.2rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.25s;
}

    .email-btn:hover {
        background: #5a52e0;
        transform: translateY(-3px);
        box-shadow: 0 15px 35px rgba(108,99,255,0.35);
        color: #fff;
    }

.contact-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text2);
    font-size: 0.88rem;
    transition: all 0.2s;
}

    .social-link:hover {
        border-color: var(--border-h);
        color: var(--text);
        transform: translateY(-2px);
    }

.contact-location {
    font-size: 0.85rem;
    color: var(--text3);
}

/* ═══════════════ FOOTER ═══════════════ */
.footer {
    padding: 2rem 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

    .footer-inner p {
        font-size: 0.82rem;
        color: var(--text3);
    }

    .footer-inner span {
        color: var(--accent);
    }

/* ═══════════════ PROJECT DETAIL PAGE ═══════════════ */
.detail-page {
    padding-top: 80px;
    min-height: 100vh;
}

.detail-hero {
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.detail-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(108,99,255,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.detail-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top left, rgba(108,99,255,0.12), transparent 60%);
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text2);
    font-size: 0.88rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 2.5rem;
    transition: all 0.2s;
    position: relative;
    z-index: 1;
}

    .back-btn:hover {
        color: var(--text);
        border-color: var(--border-h);
        background: var(--bg3);
    }

.detail-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.detail-icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background: var(--card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    flex-shrink: 0;
}

.detail-meta-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.detail-client {
    font-size: 0.8rem;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.detail-client-tag {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(108,99,255,0.1);
    border: 1px solid rgba(108,99,255,0.25);
    padding: 0.2rem 0.7rem;
    border-radius: 100px;
}

.detail-title {
    font-family: var(--font-h);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 0.6rem;
}

.detail-tagline {
    color: var(--text2);
    font-size: 1rem;
    max-width: 600px;
    line-height: 1.7;
}

.detail-body {
    padding: 3rem 0 5rem;
}

.detail-screenshot-wrap {
    margin-bottom: 3rem;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.detail-screenshot {
    width: 100%;
    object-fit: cover;
    max-height: 600px; /* যত বড় চাও */
}


/*.detail-screenshot {
    width: 100%;
    object-fit: cover;
}*/

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.detail-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
}

.impact-card {
    border-color: rgba(108,99,255,0.3);
    background: rgba(108,99,255,0.04);
}

.detail-card-title {
    font-family: var(--font-h);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text);
}

.detail-card-icon {
    font-size: 1.1rem;
}

.detail-overview {
    color: var(--text2);
    font-size: 0.93rem;
    line-height: 1.8;
}

.detail-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

    .detail-features li {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        font-size: 0.9rem;
        color: var(--text2);
        line-height: 1.5;
    }

.detail-bullet {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.45rem;
}

.detail-tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.detail-tech-pill {
    font-size: 0.8rem;
    padding: 0.35rem 0.9rem;
    background: var(--bg3);
    border: 1px solid;
    border-radius: 100px;
    font-family: monospace;
    font-weight: 500;
}

/* Project navigation */
.detail-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.detail-nav-btn {
    padding: 0.65rem 1.4rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text2);
    font-size: 0.88rem;
    transition: all 0.2s;
}

    .detail-nav-btn:hover {
        border-color: var(--accent);
        color: var(--accent);
        background: rgba(108,99,255,0.06);
    }

.detail-nav-center {
    font-size: 0.85rem;
    color: var(--text3);
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.2s;
}

    .detail-nav-center:hover {
        color: var(--text);
        border-color: var(--border-h);
    }

/* ═══════════════ ANIMATIONS ═══════════════ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes blobFloat {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-22px);
    }
}

@keyframes pulseDot {
    0%,100% {
        box-shadow: 0 0 0 0 rgba(67,233,123,0.5);
    }

    50% {
        box-shadow: 0 0 0 7px rgba(67,233,123,0);
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 900px) {
    .hero-content {
        flex-direction: column-reverse;
        gap: 2rem;
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .profile-wrap {
        width: 220px;
        height: 220px;
    }

    .profile-img {
        width: 220px;
        height: 220px;
    }

    .about-post, .about-post.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 1.5rem;
    }

    .about-img {
        height: 280px;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-burger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 0;
        right: 0;
        background: rgba(10,10,15,0.98);
        border: 1px solid var(--border);
        border-radius: 12px;
        flex-direction: column;
        padding: 1rem;
        gap: 0.3rem;
        align-items: stretch;
    }

        .nav-links.open {
            display: flex;
        }

        .nav-links a {
            font-size: 1rem;
            padding: 0.7rem 1rem;
            border-radius: 8px;
        }

    .nav-cta {
        margin-left: 0 !important;
        text-align: center;
    }

    .exp-layout {
        grid-template-columns: 1fr;
    }

    .exp-tabs {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .exp-tab {
        flex-shrink: 0;
        min-width: 170px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .detail-header {
        flex-direction: column;
        gap: 1rem;
    }

    .detail-nav {
        gap: 0.5rem;
    }

    .detail-nav-btn, .detail-nav-center {
        font-size: 0.78rem;
        padding: 0.5rem 0.8rem;
    }
}
