/* ── RESET & BASE ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", "Poppins", sans-serif;
    cursor: none !important;
}

body {
    background: #0d0d0d;
    color: #ffffff;
}

/* ── CURSOR ── */
.cursor-circle {
    width: 14px;
    height: 14px;
    background: #6cff7d;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    top: 0; left: 0;
    transform: translate(-50%, -50%);
    z-index: 9999;
    mix-blend-mode: difference;
    transition: width 0.2s, height 0.2s;
}

/* ── NAVBAR ── */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: relative;
    z-index: 100;
    animation: fadeUp 0.8s ease forwards;
}

.brand {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
}

.menu-btn {
    background: #222;
    color: white;
    padding: 8px 18px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer !important;
    transition: background 0.3s, transform 0.2s;
    z-index: 200;
}

.menu-btn:hover { background: #333; transform: translateY(-2px); }

/* Mobile nav (hidden by default, shown on small screens) */
.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 16px;
    position: absolute;
    top: 100%;
    right: 0;
    background: #161616;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 20px 30px;
    min-width: 180px;
    z-index: 150;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.8;
    transition: opacity 0.2s, color 0.2s;
}

.mobile-nav a:hover { opacity: 1; color: #6cff7d; cursor: pointer !important; }

/* ── HERO ── */
.hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    align-items: center;
    padding: 60px 50px;
    margin-top: 20px;
    gap: 20px;
}

.hero .left { align-self: flex-start; margin-top: -20px; }
.hero .right { align-self: flex-start; margin-top: 200px; }

.intro {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.3s;
}

.name {
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 1;
    color: #73ff9f;
    opacity: 0;
    animation: fadeUp 1.1s ease forwards 0.5s, glowPulse 5s infinite 1.6s;
}

.center-img { display: flex; justify-content: center; }

.glow-wrapper {
    position: relative;
    width: min(430px, 100%);
}

.glow-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    filter: blur(80px);
    background: rgba(154, 218, 191, 0.5);
    z-index: -1;
    border-radius: 50%;
}

.glow-wrapper img {
    width: 100%;
    display: block;
    border-radius: 12px;
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    opacity: 0;
    animation: zoomIn 1.1s ease forwards 0.8s;
}

.desc {
    max-width: 340px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #d0d0d0;
    opacity: 0;
    animation: fadeUp 1s ease forwards 1s;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes glowPulse {
    0%, 100% { text-shadow: 0 0 10px rgba(0,255,140,0.4); }
    50%       { text-shadow: 0 0 24px rgba(0,255,140,0.7); }
}

/* ── SKILLS ── */
.skills-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 60px 80px;
    gap: 60px;
}

.skills-left { flex: 1; max-width: 55%; }

.section-title {
    color: #69ff9a;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.skill-block { margin-bottom: 20px; }
.skill-block h4 { font-size: 1rem; margin-bottom: 8px; }
.skill-block p { color: #ccc; font-size: 0.9rem; margin-bottom: 16px; }

.divider-line {
    height: 1px;
    background: rgba(255,255,255,0.12);
    width: 70%;
    margin-bottom: 20px;
}

.skills-right {
    max-width: 380px;
    margin-top: 120px;
    line-height: 1.7;
}

.description { color: #ccc; font-size: 0.95rem; margin-bottom: 28px; }

.resume-btn {
    display: inline-block;
    background: #69ff9a;
    border: none;
    padding: 12px 30px;
    border-radius: 22px;
    color: #000;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer !important;
    transition: background 0.3s, transform 0.2s;
}

.resume-btn:hover { background: #87ffb0; transform: translateY(-2px); }

/* ── STATS ── */
.stats-section {
    display: flex;
    justify-content: center;
    gap: 80px;
    padding: 60px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
}

.stat h2 { font-size: 3rem; margin-bottom: 6px; }
.stat p   { color: #69ff9a; font-size: 0.9rem; }
.stat     { text-align: center; }

/* ── PROJECTS ── */
.projects { padding: 60px 50px; }

.section-heading {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.code-bracket { color: #6cff8d; }

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 50px;
}

.project-card { overflow: hidden; }

.project-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 14px;
    transition: transform 0.4s ease;
    display: block;
}

.project-card:hover img { transform: scale(1.03); }
.project-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.project-card p  { color: #ccc; font-size: 0.9rem; line-height: 1.5; margin-bottom: 14px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span {
    background: #1b1b1b;
    border: 1px solid #2a2a2a;
    padding: 5px 13px;
    border-radius: 20px;
    font-size: 0.78rem;
    color: #ccc;
}

/* ── PROJECT CARD (anchor version) ── */
.project-card {
    display: block;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}

.project-img-wrap {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 14px;
}

.project-img-wrap img {
    width: 100%;
    display: block;
    border-radius: 10px;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: #69ff9a;
    letter-spacing: 0.5px;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.project-card:hover .project-img-wrap img { transform: scale(1.04); filter: brightness(0.7); }
.project-card:hover .project-overlay { opacity: 1; }

/* ── CLIENTS / TOOLS ── */
.clients-section {
    width: 90%;
    margin: 80px auto;
}

/* Tools header: label + title on left, subtitle on right */
.tools-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    gap: 20px;
}

.tools-tag {
    color: #69ff9a;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.tools-title {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
}

.tools-subtitle {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.7;
    text-align: right;
    max-width: 320px;
}

.tools-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
}

.tools-code { color: #6cff8d; font-weight: 700; font-size: 1rem; }
.tools-line { flex: 1; height: 1px; background: #2a2a2a; }

/* Grid */
.client-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* Each card */
.client-card {
    background: #111;
    border: 1px solid #1e1e1e;
    border-radius: 12px;
    padding: 28px 20px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
    position: relative;
    overflow: hidden;
}

.client-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: #69ff9a;
    opacity: 0;
    transition: opacity 0.25s;
}

.client-card:hover {
    background: #161616;
    border-color: #2a2a2a;
    transform: translateY(-4px);
}

.client-card:hover::before { opacity: 1; }

.tool-icon-wrap {
    width: 52px; height: 52px;
    background: #1a1a1a;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    transition: background 0.25s;
}

.client-card:hover .tool-icon-wrap { background: #222; }

.tool-icon-wrap img { width: 30px; opacity: 0.8; transition: opacity 0.25s; }
.client-card:hover .tool-icon-wrap img { opacity: 1; }

.tool-name     { font-size: 0.95rem; font-weight: 600; }
.tool-category { font-size: 0.75rem; color: #555; letter-spacing: 0.5px; }

/* ── PROCESS ── */
.process-section {
    width: 90%;
    max-width: 1300px;
    margin: 100px auto;
}

.process-tag  { color: #7eff99; font-size: 1rem; margin-bottom: 16px; }
.main-heading { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.2; margin-bottom: 50px; }

.green-line {
    width: 100%;
    height: 2px;
    background: #7eff99;
    margin-bottom: 70px;
    position: relative;
}

.green-line::after {
    content: "";
    width: 10px; height: 10px;
    background: #7eff99;
    border-radius: 50%;
    position: absolute;
    right: 0; top: -4px;
}

.process-container { display: flex; justify-content: space-between; gap: 40px; }
.process-card      { flex: 1; }

.step-num   { font-size: clamp(60px, 8vw, 120px); font-weight: 700; color: #7eff99; margin-bottom: 16px; line-height: 1; }
.step-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 14px; }
.step-desc  { color: #d0d0d0; font-size: 0.9rem; line-height: 1.7; max-width: 300px; }

/* ── CTA SECTION ── */
.cta-section { text-align: center; padding: 90px 20px 40px; }

.cta-title {
    font-size: clamp(2rem, 5vw, 55px);
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.15;
    margin-bottom: 0;
}

.cta-btn {
    margin: 35px auto;
    width: 150px; height: 150px;
    background: #87ffb5;
    color: #000;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer !important;
    font-size: 1rem;
    transition: background 0.3s, transform 0.3s;
}

.cta-btn:hover { background: #a4ffc8; transform: scale(1.07); }

.cta-divider {
    margin: 60px auto;
    width: 90%;
    height: 1px;
    background: #333;
    position: relative;
    display: flex;
    align-items: center;
}

.cta-divider span:first-child { color: #6cff7d; font-size: 20px; font-weight: 700; position: absolute; left: 0; top: -12px; }
.cta-divider span:last-child  { color: #6cff7d; font-size: 20px; font-weight: 700; position: absolute; right: 0; top: -12px; }
.cta-line { display: none; }

/* ── FOOTER ── */
.footer {
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    text-align: left;
    gap: 20px;
}

.footer-col h3 { color: #6cff7d; font-size: 1rem; margin-bottom: 16px; }

.footer-col a {
    display: block;
    color: #fff;
    font-size: 0.88rem;
    margin-bottom: 8px;
    opacity: 0.7;
    text-decoration: none;
    transition: opacity 0.2s, color 0.2s;
    cursor: pointer !important;
}

.footer-col a:hover { opacity: 1; color: #6cff7d; }

.contact-email,
.contact-phone { margin-top: 18px; opacity: 0.7; font-size: 0.88rem; }


/* ════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ════════════════════════════════ */

/* ── Tablet (≤1000px) ── */
@media (max-width: 1000px) {
    .hero {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        padding: 40px 30px;
    }

    .hero .left  { grid-column: 1; grid-row: 1; margin-top: 0; }
    .hero .right { grid-column: 2; grid-row: 1; margin-top: 0; }
    .center-img  { grid-column: 1 / -1; grid-row: 2; justify-content: center; }

    .glow-wrapper { width: min(320px, 80%); }

    .skills-section { flex-direction: column; padding: 40px 40px; gap: 30px; }
    .skills-left  { max-width: 100%; }
    .skills-right { max-width: 100%; margin-top: 0; }
    .divider-line { width: 100%; }

    .process-container { flex-direction: column; gap: 50px; }
    .process-card { width: 100%; }

    .client-grid { grid-template-columns: repeat(2, 1fr); }
    .tools-header { flex-direction: column; align-items: flex-start; }
    .tools-subtitle { text-align: left; max-width: 100%; }

    .footer { flex-wrap: wrap; gap: 40px; padding: 20px; }
    .footer-col { min-width: 140px; }
}

/* ── Mobile (≤700px) ── */
@media (max-width: 700px) {
    .navbar { padding: 16px 20px; }

    .hero {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        padding: 30px 20px;
        text-align: center;
    }

    .hero .left  { grid-column: 1; grid-row: 1; text-align: center; }
    .hero .right { grid-column: 1; grid-row: 3; margin-top: 0; }
    .center-img  { grid-column: 1; grid-row: 2; margin: 20px 0; }

    .desc { max-width: 100%; margin: 0 auto; }

    .projects { padding: 40px 20px; }
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .skills-section { padding: 40px 20px; }

    .stats-section { gap: 30px; padding: 40px 20px; }
    .stat h2 { font-size: 2.4rem; }

    .clients-section { width: 95%; }
    .tools-title { font-size: 1.8rem; }
    .client-grid { grid-template-columns: repeat(2, 1fr); }

    .process-section { width: 95%; margin: 60px auto; text-align: center; }
    .step-num { font-size: 60px; }
    .step-desc { max-width: 100%; margin: 0 auto; }
    .green-line { margin-bottom: 40px; }
    .process-container { align-items: center; }

    .cta-title { font-size: 2rem; letter-spacing: 1px; }
    .cta-btn   { width: 120px; height: 120px; }

    .footer { flex-direction: column; padding: 20px; gap: 30px; }
}

/* ── Small mobile (≤420px) ── */
@media (max-width: 420px) {
    .name { font-size: 2.2rem; }
    .projects-grid { grid-template-columns: 1fr; gap: 24px; }
    .client-grid   { grid-template-columns: 1fr; }
    .clients-heading h2 { font-size: 1.6rem; }
}