@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #0F1116;
    --bg-soft: #141720;
    --card: #181B26;
    --border: rgba(255, 255, 255, 0.08);

    --text: #f5f5f7;
    --muted: #9498a6;

    --primary: #00C3FF;
    --secondary: #0077D4;
    --accent: #4BFF6B;
    --purple: #00C3FF;
    --blue: #0077D4;
    --gradient: linear-gradient(135deg, #4BFF6B 0%, #00C3FF 45%, #0077D4 100%);
    --gradient-brand: linear-gradient(135deg, #00C3FF 0%, #0077D4 100%);

    --container: 1180px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Manrope", sans-serif;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin: auto;
}


/* ================= NAVBAR ================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(15, 17, 22, 0.85);
    backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.logo:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

.logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 12px rgba(0, 195, 255, 0.25));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.logo:hover .logo-img {
    filter: drop-shadow(0 0 18px rgba(0, 195, 255, 0.5));
}

/* Base Navbar Menu styles */
.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    color: var(--muted);
    font-size: 14px;
    text-decoration: none;
    transition: 0.25s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text);
}

.nav-button {
    padding: 11px 17px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.nav-button:hover {
    border-color: #00C3FF;
    color: #00C3FF;
    background: rgba(0, 195, 255, 0.08);
}

.nav-button span {
    margin-left: 8px;
    color: #4BFF6B;
}

/* ================= DESKTOP NAVBAR HOVER EFFECTS ================= */
@media (min-width: 1001px) {
    .nav-menu {
        display: flex;
        align-items: center;
        gap: 32px;
    }

    .nav-menu a {
        position: relative;
        color: var(--muted);
        font-size: 14.5px;
        font-weight: 500;
        text-decoration: none;
        padding: 8px 4px;
        letter-spacing: 0.2px;
        transition: color 0.25s ease, text-shadow 0.25s ease, transform 0.25s ease;
    }

    /* Animated Neon Underline */
    .nav-menu a::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%) scaleX(0);
        width: 100%;
        height: 2px;
        border-radius: 99px;
        background: linear-gradient(90deg, #00C3FF 0%, #4BFF6B 100%);
        box-shadow: 0 0 10px rgba(0, 195, 255, 0.8), 0 0 20px rgba(0, 195, 255, 0.4);
        transform-origin: center;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
        opacity: 0;
        pointer-events: none;
    }

    /* Ambient glow behind text on hover */
    .nav-menu a::before {
        content: "";
        position: absolute;
        inset: 2px -6px;
        border-radius: 8px;
        background: radial-gradient(circle at center, rgba(0, 195, 255, 0.12), transparent 70%);
        opacity: 0;
        transform: scale(0.85);
        transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        pointer-events: none;
        z-index: -1;
    }

    /* Hover State */
    .nav-menu a:hover {
        color: #ffffff;
        text-shadow: 0 0 12px rgba(0, 195, 255, 0.65), 0 0 22px rgba(0, 195, 255, 0.3);
        transform: translateY(-1px);
    }

    .nav-menu a:hover::after {
        transform: translateX(-50%) scaleX(1);
        opacity: 1;
    }

    .nav-menu a:hover::before {
        opacity: 1;
        transform: scale(1);
    }

    /* Active State */
    .nav-menu a.active {
        color: #ffffff;
        font-weight: 600;
        text-shadow: 0 0 14px rgba(0, 195, 255, 0.7);
    }

    .nav-menu a.active::after {
        transform: translateX(-50%) scaleX(1);
        opacity: 1;
        background: linear-gradient(90deg, #00C3FF 0%, #4BFF6B 100%);
        box-shadow: 0 0 12px rgba(0, 195, 255, 0.9), 0 0 24px rgba(75, 255, 107, 0.45);
    }

    .nav-menu a.active::before {
        opacity: 0.6;
        transform: scale(1);
    }

    /* Enhanced Nav Button ("Let's Work Together ↗") Hover Effect */
    .nav-button {
        position: relative;
        overflow: hidden;
        border: 1px solid rgba(0, 195, 255, 0.3);
        background: rgba(22, 26, 36, 0.6);
        color: #f5f5f7;
        font-weight: 600;
        backdrop-filter: blur(12px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-button:hover {
        background: linear-gradient(135deg, rgba(0, 195, 255, 0.18), rgba(0, 119, 212, 0.25));
        border-color: rgba(0, 195, 255, 0.75);
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 195, 255, 0.35), 0 0 20px rgba(0, 195, 255, 0.2);
    }

    .nav-button span {
        display: inline-block;
        transition: transform 0.25s ease, color 0.25s ease;
        color: var(--primary);
    }

    .nav-button:hover span {
        transform: translate(3px, -3px);
        color: #4BFF6B;
    }
}

.menu-toggle {
    display: none;
}


/* ================= HERO ================= */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;

    padding-top: 78px;

    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    right: -200px;
    top: 80px;

    background: radial-gradient(
        circle,
        rgba(109, 82, 255, 0.14),
        transparent 70%
    );

    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 80px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    font-family: "DM Mono", monospace;
    font-size: 11px;

    color: #aaaebe;

    letter-spacing: 1.5px;
}

.status-dot {
    width: 7px;
    height: 7px;

    background: #4BFF6B;

    border-radius: 50%;

    box-shadow: 0 0 15px rgba(75, 255, 107, 0.6);
}

.hero h1 {
    margin-top: 22px;

    font-size: clamp(52px, 6vw, 82px);

    line-height: 0.98;

    letter-spacing: -4px;

    max-width: 800px;
}

.hero h1 span {
    background: var(--gradient);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    max-width: 520px;

    margin-top: 28px;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 12px;

    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 14px 20px;

    border-radius: 8px;

    font-size: 13px;
    font-weight: 600;

    transition: 0.3s;
}

.btn-primary {
    background: #00C3FF;
    color: #0F1116;
    font-weight: 700;
}

.btn-primary:hover {
    background: #00A3D9;
    box-shadow: 0 8px 25px rgba(0, 195, 255, 0.35);
    transform: translateY(-2px);
}

.btn-primary span {
    color: #4BFF6B;
}

.btn-secondary {
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--card);
}

.hero-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    max-width: 540px;

    margin-top: 45px;
}

.meta-card {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    padding: 11px 18px;

    background: rgba(24, 27, 38, 0.75);
    border: 1px solid var(--border);
    border-radius: 12px;

    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.meta-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 195, 255, 0.45);
    background: rgba(24, 27, 38, 0.95);
    box-shadow: 0 10px 25px rgba(0, 195, 255, 0.12);
}

.meta-icon {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;
    background: rgba(0, 195, 255, 0.12);
    color: var(--primary);

    flex-shrink: 0;
    transition: 0.3s;
}

.meta-card:hover .meta-icon {
    background: var(--primary);
    color: #0F1116;
    box-shadow: 0 0 15px rgba(0, 195, 255, 0.45);
}

.meta-card span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.2px;
    white-space: nowrap;
}


/* ================= CODE VISUAL ================= */

.hero-visual {
    position: relative;

    min-height: 480px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-glow {
    position: absolute;

    width: 350px;
    height: 350px;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(0, 195, 255, 0.22) 0%,
        rgba(0, 119, 212, 0.12) 45%,
        transparent 70%
    );

    filter: blur(15px);
}

.code-window {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 510px;

    border: 1px solid var(--border);

    background: rgba(18, 21, 28, 0.94);

    border-radius: 14px;

    box-shadow:
        0 35px 100px rgba(0,0,0,0.5),
        0 0 80px rgba(0, 195, 255, 0.12);

    overflow: hidden;
}

.window-header {
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-bottom: 1px solid var(--border);

    position: relative;
}

.window-dots {
    position: absolute;
    left: 16px;

    display: flex;
    gap: 6px;
}

.window-dots span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #555965;
}

.window-title {
    color: #777b88;

    font-family: "DM Mono", monospace;
    font-size: 10px;
}

.code-content {
    padding: 28px;

    font-family: "DM Mono", monospace;

    font-size: 12px;

    line-height: 2.1;

    min-height: 260px;
}

.code-line {
    display: flex;
    align-items: center;
    white-space: nowrap;
    min-height: 25px;
}

.code-line span {
    white-space: pre;
}

.number {
    width: 35px;
    color: #4e5260;
}

.purple {
    color: #00C3FF;
}

.blue {
    color: #0077D4;
}

.green {
    color: #4BFF6B;
}

.orange {
    color: #e9a77d;
}

.white {
    color: #e7e8ed;
}

.indent {
    padding-left: 35px;
}

.indent2 {
    padding-left: 70px;
}

.cursor {
    display: inline-block;

    width: 7px;
    height: 15px;

    background: var(--purple);

    margin-left: 2px;
    flex-shrink: 0;

    animation: blink 0.8s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}


/* ================= FLOATING CARDS ================= */

.floating-card {
    position: absolute;
    z-index: 4;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 12px 15px;

    background: rgba(17, 19, 26, 0.9);

    border: 1px solid var(--border);

    border-radius: 10px;

    backdrop-filter: blur(12px);

    box-shadow: 0 15px 40px rgba(0,0,0,0.35);
}

.floating-card small {
    display: block;

    color: #6f7380;

    font-family: "DM Mono", monospace;
    font-size: 8px;
}

.floating-card strong {
    display: block;

    font-size: 11px;
}

.card-icon,
.mini-icon {
    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 7px;

    background: var(--gradient);

    color: white;
}

.card-ai {
    top: 65px;
    right: -20px;
}

.card-web {
    bottom: 55px;
    left: -25px;
}


/* ================= SECTIONS ================= */

.section {
    padding: 130px 0;
}

.section-label {
    font-family: "DM Mono", monospace;

    font-size: 10px;

    letter-spacing: 2px;

    color: var(--purple);
}

.about-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    margin-top: 35px;
}

.about-grid h2,
.section-heading h2,
.tech-inner h2 {
    font-size: clamp(34px, 4vw, 54px);

    line-height: 1.05;

    letter-spacing: -2px;
}

.about-grid h2 span,
.section-heading h2 span,
.tech-inner h2 span {
    color: #666a78;
}

.about-grid p {
    color: var(--muted);

    max-width: 500px;

    line-height: 1.8;

    margin-bottom: 25px;
}

.text-link {
    font-size: 13px;

    font-weight: 600;

    transition: 0.3s;
}

.text-link:hover {
    color: var(--purple);
}


/* ================= SECTION HEADING ================= */

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;

    margin-bottom: 50px;
}

.section-heading h2 {
    margin-top: 15px;
}


/* ================= SERVICES ================= */

.services {
    background: var(--bg-soft);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 290px;
    padding: 32px 26px;
    background: rgba(24, 27, 38, 0.75);
    border: 1px solid var(--border);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 195, 255, 0.4);
    background: rgba(24, 27, 38, 0.95);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 195, 255, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 195, 255, 0.1);
    border: 1px solid rgba(0, 195, 255, 0.2);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s ease;
    flex-shrink: 0;
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: #0F1116;
    box-shadow: 0 0 20px rgba(0, 195, 255, 0.45);
    transform: scale(1.05);
}

.service-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7b7f8e;
    transition: all 0.35s ease;
    flex-shrink: 0;
}

.service-card:hover .service-arrow {
    color: var(--primary);
    background: rgba(0, 195, 255, 0.12);
    border-color: rgba(0, 195, 255, 0.35);
    transform: translate(2px, -2px);
}

.service-card-body {
    margin-top: 36px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-top: 0;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--primary);
}

.service-card p {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.7;
    margin: 0;
}


/* ================= PROJECTS ================= */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1020px;
    margin: 0 auto;
}

.project-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(24, 27, 38, 0.75);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.project-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 5;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 195, 255, 0.4);
    background: rgba(24, 27, 38, 0.95);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45), 0 0 35px rgba(0, 195, 255, 0.08);
}

.project-card:hover::before {
    opacity: 1;
}

.project-large {
    grid-row: span 2;
}

.project-image {
    position: relative;
    flex: 1;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #10131A;
    overflow: hidden;
    padding: 14px 12px;
}

.project-large .project-image {
    min-height: 540px;
    padding: 16px 12px;
}

/* Mockup Glows */
.project-glow {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.glow-cyan {
    background: radial-gradient(circle, #00C3FF 0%, #0077D4 60%, transparent 100%);
}

.glow-blue {
    background: radial-gradient(circle, #0077D4 0%, #4BFF6B 70%, transparent 100%);
}

.glow-green {
    background: radial-gradient(circle, #4BFF6B 0%, #00C3FF 70%, transparent 100%);
}

.project-card:hover .project-glow {
    opacity: 0.75;
    transform: scale(1.15);
}

/* Modern Smartphone Mockup (Portrait Left - Flagship Design) */
.phone-mockup {
    width: min(270px, 92%);
    height: 520px;
    border-radius: 46px;
    background: #0d0f15;
    border: 3.5px solid #282c38;
    outline: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 0 0 1px rgba(0, 0, 0, 0.8),
        0 25px 60px rgba(0, 0, 0, 0.75),
        0 0 40px rgba(0, 195, 255, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s ease;
    padding: 6px;
}

.project-card:hover .phone-mockup {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(0, 195, 255, 0.45);
}

/* Side buttons (Volume & Power) */
.phone-mockup::before {
    content: "";
    position: absolute;
    left: -6.5px;
    top: 100px;
    width: 3px;
    height: 46px;
    background: #252834;
    border-radius: 2px 0 0 2px;
    box-shadow: 0 62px 0 #252834, 0 -32px 0 0 #252834;
}

.phone-mockup::after {
    content: "";
    position: absolute;
    right: -6.5px;
    top: 125px;
    width: 3px;
    height: 55px;
    background: #252834;
    border-radius: 0 2px 2px 0;
}

/* Micro speaker grill */
.phone-speaker {
    position: absolute;
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 42px;
    height: 2.5px;
    background: #1e222e;
    border-radius: 2px;
    z-index: 10;
}

/* Phone Screen */
.phone-screen {
    flex: 1;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    background: #06070a;
    display: flex;
}

/* Dynamic Island */
.phone-island {
    position: absolute;
    top: 9px;
    left: 50%;
    transform: translateX(-50%);
    width: 78px;
    height: 18px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.island-camera {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0b111c;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 2px #00C3FF;
}

.project-card:hover .phone-island {
    width: 86px;
}

.phone-mockup-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .phone-mockup-img {
    transform: scale(1.03);
}

/* Modern Monitor Display Mockup (Landscape Right - Screen only, no legs) */
.monitor-mockup {
    width: 100%;
    max-width: 480px;
    background: #0c0e14;
    border: 8px solid #1a1e28;
    border-top-width: 11px;
    border-radius: 14px;
    outline: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 0 0 1px rgba(0, 0, 0, 0.7),
        0 25px 50px rgba(0, 0, 0, 0.7),
        0 0 35px rgba(0, 195, 255, 0.08);
    position: relative;
    z-index: 2;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s ease;
}

.project-card:hover .monitor-mockup {
    transform: translateY(-4px) scale(1.015);
    border-color: rgba(0, 195, 255, 0.35);
}

/* Webcam in top bezel */
.monitor-camera {
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #05070a;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 2px #00C3FF;
    z-index: 5;
}

.monitor-screen {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9.2;
    overflow: hidden;
    background: #090B10;
    border-radius: 6px;
    display: flex;
}

.monitor-mockup-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .monitor-mockup-img {
    transform: scale(1.03);
}

/* Screen Glare */
.screen-glare {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 50%);
    pointer-events: none;
    z-index: 3;
}

/* Floating Badges */
.float-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    background: rgba(15, 18, 24, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    font-size: 10px;
    font-family: "DM Mono", monospace;
    color: #e7e8ed;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    z-index: 3;
}

.badge-left {
    bottom: 16px;
    left: -8px;
}

.badge-right {
    bottom: 12px;
    right: 12px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.badge-dot.dot-cyan {
    background: #00C3FF;
    box-shadow: 0 0 8px #00C3FF;
}

.badge-dot.dot-green {
    background: #4BFF6B;
    box-shadow: 0 0 8px #4BFF6B;
}

/* Project Info / Footer */
.project-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(18, 21, 28, 0.85);
    border-top: 1px solid var(--border);
    gap: 16px;
}

.project-badge {
    display: inline-block;
    font-family: "DM Mono", monospace;
    font-size: 10px;
    font-weight: 600;
    color: var(--primary);
    background: rgba(0, 195, 255, 0.1);
    border: 1px solid rgba(0, 195, 255, 0.2);
    padding: 3px 9px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.project-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    transition: color 0.3s ease;
}

.project-card:hover .project-info h3 {
    color: var(--primary);
}

.project-desc {
    color: var(--muted);
    font-size: 13px;
    margin-top: 6px;
    margin-bottom: 0;
    line-height: 1.5;
}

.project-link-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8c909e;
    flex-shrink: 0;
    transition: all 0.35s ease;
}

.project-card:hover .project-link-btn {
    background: var(--primary);
    color: #0F1116;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 195, 255, 0.45);
    transform: translate(2px, -2px);
}


/* ================= TECH ================= */

.tech {
    background: var(--bg-soft);
    position: relative;
    overflow: hidden;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.tech-card {
    background: rgba(24, 27, 38, 0.75);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 145px;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--tech-accent, var(--primary)), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
    background: rgba(24, 27, 38, 0.95);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4), 0 0 25px var(--tech-glow, rgba(0, 195, 255, 0.1));
    border-color: var(--tech-border, rgba(0, 195, 255, 0.4));
}

.tech-card:hover::before {
    opacity: 1;
}

.tech-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--tech-color, var(--primary));
    transition: all 0.35s ease;
    flex-shrink: 0;
}

.tech-card:hover .tech-icon-wrap {
    background: var(--tech-badge-bg, rgba(0, 195, 255, 0.15));
    border-color: var(--tech-border, rgba(0, 195, 255, 0.4));
    transform: scale(1.08);
    box-shadow: 0 0 15px var(--tech-glow, rgba(0, 195, 255, 0.3));
}

.tech-card-info {
    margin-top: 18px;
}

.tech-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    letter-spacing: -0.2px;
    transition: color 0.3s ease;
}

.tech-card:hover h4 {
    color: var(--tech-color, var(--primary));
}

.tech-card p {
    font-size: 12px;
    color: var(--muted);
    margin: 4px 0 0;
    line-height: 1.4;
}

/* Individual Tech Color Themes */
.tech-html {
    --tech-accent: #E34F26;
    --tech-color: #FF5A36;
    --tech-border: rgba(227, 79, 38, 0.45);
    --tech-glow: rgba(227, 79, 38, 0.2);
    --tech-badge-bg: rgba(227, 79, 38, 0.15);
}

.tech-css {
    --tech-accent: #00C3FF;
    --tech-color: #00C3FF;
    --tech-border: rgba(0, 195, 255, 0.45);
    --tech-glow: rgba(0, 195, 255, 0.2);
    --tech-badge-bg: rgba(0, 195, 255, 0.15);
}

.tech-js {
    --tech-accent: #F7DF1E;
    --tech-color: #FFD43B;
    --tech-border: rgba(247, 223, 30, 0.45);
    --tech-glow: rgba(247, 223, 30, 0.2);
    --tech-badge-bg: rgba(247, 223, 30, 0.15);
}

.tech-react {
    --tech-accent: #61DAFB;
    --tech-color: #61DAFB;
    --tech-border: rgba(97, 218, 251, 0.45);
    --tech-glow: rgba(97, 218, 251, 0.2);
    --tech-badge-bg: rgba(97, 218, 251, 0.15);
}

.tech-ai {
    --tech-accent: #4BFF6B;
    --tech-color: #4BFF6B;
    --tech-border: rgba(75, 255, 107, 0.45);
    --tech-glow: rgba(75, 255, 107, 0.2);
    --tech-badge-bg: rgba(75, 255, 107, 0.15);
}


/* ================= CTA ================= */

.cta-box {
    position: relative;

    overflow: hidden;

    text-align: center;

    padding: 110px 30px;

    border-radius: 20px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(0, 195, 255, 0.25) 0%,
            rgba(0, 119, 212, 0.12) 40%,
            transparent 55%
        ),
        #12151D;

    border: 1px solid var(--border);
}

.cta-box h2 {
    max-width: 800px;

    margin: 18px auto;

    font-size: clamp(40px, 5vw, 65px);

    line-height: 1;

    letter-spacing: -3px;
}

.cta-box h2 span {
    color: #6f7380;
}

.cta-box p {
    max-width: 500px;

    margin: auto auto 30px;

    color: var(--muted);
}

.btn-light {
    background: #00C3FF;
    color: #0F1116;
    font-weight: 700;
}

.btn-light:hover {
    background: #00A3D9;
    box-shadow: 0 8px 25px rgba(0, 195, 255, 0.35);
}


/* ================= REFINED & ENHANCED FOOTER ================= */

.footer {
    position: relative;
    background: linear-gradient(180deg, rgba(11, 14, 20, 0) 0%, rgba(13, 16, 23, 0.95) 30%, #07090e 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 70px 0 35px;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 195, 255, 0.45), rgba(168, 85, 247, 0.35), transparent);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    text-decoration: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.footer-logo:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

.footer-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 10px rgba(0, 195, 255, 0.25));
}

.footer-tagline {
    font-size: 13.5px;
    line-height: 1.7;
    color: #94a3b8;
    max-width: 320px;
    margin-bottom: 18px;
}

.footer-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(75, 255, 107, 0.06);
    border: 1px solid rgba(75, 255, 107, 0.25);
    border-radius: 100px;
    font-family: "DM Mono", monospace;
    font-size: 11px;
    color: #4BFF6B;
    letter-spacing: 0.5px;
}

.footer-col-title {
    font-family: "DM Mono", monospace;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 18px;
    font-weight: 700;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-links-list li a {
    color: #94a3b8;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links-list li a:hover {
    color: #00C3FF;
    transform: translateX(3px);
}

.footer-social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.footer-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9px;
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
}

.footer-social-btn:hover {
    background: rgba(0, 195, 255, 0.1);
    border-color: rgba(0, 195, 255, 0.35);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 195, 255, 0.2);
}

.footer-social-btn .social-icon {
    font-size: 12px;
    opacity: 0.85;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 28px;
    color: #64748b;
    font-size: 12px;
}

.footer-copyright strong {
    color: #cbd5e1;
    font-weight: 600;
}

.footer-telemetry {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "DM Mono", monospace;
    font-size: 11px;
    color: #94a3b8;
}

.telemetry-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4BFF6B;
    box-shadow: 0 0 10px #4BFF6B;
    animation: livePulse 2s infinite ease-in-out;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
}

@media (max-width: 600px) {
    .logo-img {
        height: 32px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }

    .footer-brand-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-tagline {
        text-align: center;
        margin: 14px auto 0 auto;
        max-width: 320px;
    }

    .footer-status-pill {
        margin: 16px auto 0 auto;
    }

    .footer-col-title {
        text-align: center;
    }

    .footer-links-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links-list li {
        justify-content: center;
        text-align: center;
    }

    .footer-social-grid {
        justify-content: center;
        margin: 0 auto;
        max-width: 320px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .footer-copyright {
        text-align: center;
    }

    .footer-telemetry {
        justify-content: center;
        text-align: center;
    }
}


/* ================= RESPONSIVE ================= */

@media (max-width: 1000px) {

    /* Body lock when mobile menu is active */
    body.menu-open {
        overflow: hidden;
    }

    .nav-container {
        position: relative;
    }

    /* Desktop button hidden on mobile */
    .nav-button {
        display: none !important;
    }

    /* Modern Styled Hamburger Toggle */
    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        color: #ffffff;
        font-size: 20px;
        line-height: 1;
        cursor: pointer;
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        user-select: none;
        -webkit-tap-highlight-color: transparent;
        z-index: 1002;
    }

    .menu-toggle:hover,
    .menu-toggle:focus-visible {
        background: rgba(0, 229, 255, 0.08);
        border-color: rgba(0, 229, 255, 0.35);
        color: #00e5ff;
        box-shadow: 0 0 16px rgba(0, 229, 255, 0.2);
    }

    .menu-toggle.active {
        background: rgba(0, 229, 255, 0.14);
        border-color: rgba(0, 229, 255, 0.5);
        color: #00e5ff;
        box-shadow: 0 0 20px rgba(0, 229, 255, 0.28);
    }

    /* Mobile Backdrop Overlay */
    .nav-backdrop {
        position: fixed;
        top: 78px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.75);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        pointer-events: none;
    }

    .nav-backdrop.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* Mobile Navigation Dropdown */
    .nav-menu {
        position: fixed;
        top: 78px;
        left: 0;
        right: 0;
        width: 100%;
        max-height: calc(100vh - 78px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: #0d1017;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        border-bottom: 1px solid rgba(0, 229, 255, 0.3);
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 229, 255, 0.1);
        padding: 20px 24px 28px 24px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        z-index: 1001;

        /* Smooth Slide & Fade transition */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                    visibility 0.28s ease;
        pointer-events: none;
    }

    /* Active / Shown state when hamburger is clicked */
    .nav-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* Link styling inside mobile menu */
    .nav-menu a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 13px 18px;
        border-radius: 10px;
        font-size: 15px;
        font-weight: 500;
        color: #94a3b8;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.05);
        text-decoration: none;
        transition: all 0.22s ease;
    }

    .nav-menu a:hover {
        color: #ffffff;
        background: rgba(0, 229, 255, 0.06);
        border-color: rgba(0, 229, 255, 0.25);
        transform: translateX(4px);
    }

    .nav-menu a.active {
        color: #00e5ff;
        background: rgba(0, 229, 255, 0.1);
        border-color: rgba(0, 229, 255, 0.4);
        font-weight: 600;
        box-shadow: 0 0 16px rgba(0, 229, 255, 0.12);
    }

    .nav-menu a::after {
        content: '→';
        font-size: 14px;
        color: rgba(255, 255, 255, 0.2);
        transition: transform 0.2s ease, color 0.2s ease;
    }

    .nav-menu a:hover::after,
    .nav-menu a.active::after {
        color: #00e5ff;
        transform: translateX(3px);
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero {
        padding-top: 130px;
    }

    /* Semi-center Hero on Tablet/Mobile */
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .eyebrow {
        margin-inline: auto;
        justify-content: center;
    }

    .hero h1 {
        text-align: center;
        margin-inline: auto;
    }

    .hero-description {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        margin-inline: auto;
        width: 100%;
    }

    .hero-meta {
        justify-content: center;
        margin-inline: auto;
    }

    .hero-visual {
        min-height: 420px;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

}

@media (max-width: 650px) {

    .container {
        width: min(var(--container), calc(100% - 32px));
    }

    /* Center ambient glow behind hero */
    .hero::before {
        right: 50%;
        transform: translateX(50%);
        top: 20px;
        width: 320px;
        height: 320px;
        opacity: 0.6;
    }

    .hero h1 {
        font-size: clamp(38px, 9vw, 48px);
        letter-spacing: -2px;
        line-height: 1.05;
        text-align: center;
        margin-inline: auto;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.65;
        text-align: center;
        margin: 20px auto 0 auto;
        max-width: 440px;
    }

    .hero-actions {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 12px;
        margin-top: 28px;
        width: 100%;
    }

    /* Symmetrical 2x2 Meta Badges (Compact) */
    .hero-meta {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin-top: 24px;
        width: 100%;
        max-width: 340px;
        margin-inline: auto;
    }

    .meta-card {
        padding: 8px 8px;
        gap: 6px;
        border-radius: 8px;
        justify-content: center;
        text-align: center;
        background: rgba(255, 255, 255, 0.025);
    }

    .meta-icon {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    .meta-icon svg {
        width: 13px;
        height: 13px;
    }

    .meta-card span {
        font-size: 11px;
        font-weight: 500;
        text-align: center;
        white-space: nowrap;
    }

    .hero-visual {
        min-height: 350px;
        width: 100%;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .code-window {
        width: 100%;
        max-width: 330px;
        margin: 0 auto;
    }

    .code-content {
        font-size: 8.5px;
        padding: 14px;
        min-height: 175px;
    }

    .window-header {
        padding: 8px 12px;
    }

    .window-title {
        font-size: 11px;
    }

    .floating-card {
        padding: 6px 10px;
        border-radius: 8px;
        gap: 6px;
    }

    .card-ai {
        top: 18px;
        right: 4px;
    }

    .card-web {
        bottom: 18px;
        left: 4px;
    }

    .card-ai small,
    .card-web small {
        font-size: 7.5px;
    }

    .card-ai strong,
    .card-web strong {
        font-size: 9.5px;
    }

    .card-icon {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }

    .mini-icon {
        width: 18px;
        height: 18px;
        font-size: 9.5px;
    }

    /* Semi-Centered Section Headings */
    .section {
        padding: 65px 0;
    }

    .section-label {
        text-align: center;
        margin-inline: auto;
    }

    .section-heading {
        display: flex;
        align-items: center;
        text-align: center;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 32px;
    }

    .section-heading > div {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .section-heading h2 {
        text-align: center;
        margin-inline: auto;
        font-size: clamp(26px, 6.5vw, 34px);
        letter-spacing: -1.2px;
    }

    .section-tag {
        margin-inline: auto;
        text-align: center;
    }

    .section-title {
        text-align: center;
        margin-inline: auto;
        font-size: clamp(26px, 6.5vw, 34px);
        letter-spacing: -1.2px;
    }

    .section-subtitle {
        text-align: center;
        margin-inline: auto;
    }

    .section-action,
    .section-link,
    .section-heading .text-link {
        margin-inline: auto;
        justify-content: center;
        text-align: center;
        display: inline-flex;
    }

    /* Semi-Centered About Section */
    .about-preview {
        text-align: center;
    }

    .about-preview .section-label {
        text-align: center;
        margin-inline: auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .about-grid h2 {
        text-align: center;
        margin-inline: auto;
        font-size: clamp(26px, 6.5vw, 34px);
        letter-spacing: -1.2px;
    }

    .about-grid p {
        text-align: center;
        margin: 12px auto 0 auto;
        max-width: 440px;
        font-size: 14px;
        line-height: 1.6;
    }

    .about-grid .text-link {
        margin: 16px auto 0 auto;
        justify-content: center;
        display: inline-flex;
    }

    .about-visual {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        width: 100%;
    }

    .about-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-text .section-tag {
        margin-inline: auto;
    }

    .about-text .section-title {
        text-align: center;
        margin-inline: auto;
    }

    .about-text p {
        text-align: center;
        margin: 14px auto 0 auto;
        max-width: 440px;
    }

    .about-action {
        margin: 20px auto 0 auto;
        justify-content: center;
    }

    /* 4 Service Cards -> 2x2 Grid (Compact & Centered) */
    .services-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        width: 100%;
        margin-inline: auto;
    }

    .service-card {
        min-height: 145px;
        padding: 14px 10px;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        position: relative;
        justify-content: flex-start;
    }

    .service-card-header {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        position: relative;
        margin-bottom: 8px;
    }

    .service-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        margin: 0 auto;
    }

    .service-icon svg {
        width: 15px;
        height: 15px;
    }

    .service-arrow {
        position: absolute;
        right: 2px;
        top: 2px;
        width: 20px;
        height: 20px;
    }

    .service-arrow svg {
        width: 10px;
        height: 10px;
    }

    .service-card-body {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .service-card-body h3 {
        font-size: 13px;
        margin-bottom: 3px;
        line-height: 1.25;
        font-weight: 700;
        text-align: center;
        margin-inline: auto;
        width: 100%;
    }

    .service-card-body p {
        font-size: 10.5px;
        line-height: 1.35;
        color: var(--muted);
        text-align: center;
        margin-inline: auto;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        width: 100%;
    }

    /* Projects Grid (Compact & Centered) */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        max-width: 400px;
        margin-inline: auto;
    }

    .project-card {
        border-radius: 14px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .project-large {
        grid-row: auto;
    }

    .project-large .project-image {
        min-height: 240px;
        padding: 14px 8px;
    }

    .project-image {
        padding: 12px 8px;
        min-height: 170px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    .phone-mockup {
        width: min(180px, 70%);
        height: 340px;
        border-radius: 28px;
        margin: 0 auto;
        border-width: 6px;
    }

    .phone-screen {
        border-radius: 22px;
    }

    .phone-island {
        width: 55px;
        height: 15px;
        top: 6px;
    }

    .float-badge {
        padding: 4px 10px;
        font-size: 10px;
        border-radius: 50px;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        bottom: 10px !important;
        white-space: nowrap;
        margin: 0 auto;
    }

    .monitor-mockup {
        border-width: 5px;
        border-top-width: 7px;
        border-radius: 8px;
        max-width: 270px;
        margin: 0 auto;
    }

    .monitor-camera {
        top: -5px;
        width: 3px;
        height: 3px;
    }

    .project-info {
        padding: 16px 14px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
    }

    .project-info > div {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .project-badge {
        font-size: 9.5px;
        padding: 3px 8px;
        letter-spacing: 0.8px;
        margin: 0 auto 6px auto;
        text-align: center;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .project-info h3 {
        font-size: 15px;
        margin: 0 auto;
        text-align: center;
        width: 100%;
    }

    .project-desc {
        font-size: 11.5px;
        line-height: 1.4;
        margin: 4px auto 0 auto;
        text-align: center;
        max-width: 320px;
        width: 100%;
    }

    .project-action {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 6px auto 0 auto;
        width: 100%;
    }

    .project-link-btn {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        margin: 0 auto;
    }

    .project-link-btn svg {
        width: 13px;
        height: 13px;
    }

    .cursor {
        width: 5px;
        height: 11px;
    }

    /* Tech Stack Grid (Compact & Centered) */
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        max-width: 340px;
        margin-inline: auto;
    }

    .tech-card.tech-ai {
        grid-column: span 2;
    }

    .tech-card {
        min-height: 75px;
        padding: 10px 8px;
        border-radius: 10px;
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .tech-icon-wrap {
        margin: 0 auto 4px auto;
    }

    .tech-icon-wrap svg {
        width: 17px;
        height: 17px;
    }

    .tech-card-info {
        margin-top: 2px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .tech-card-info h4 {
        font-size: 12px;
        margin: 0 auto 1px auto;
        text-align: center;
        width: 100%;
    }

    .tech-card-info p {
        font-size: 9.5px;
        color: var(--muted);
        margin: 0 auto;
        text-align: center;
        width: 100%;
    }

    /* Semi-Centered CTA Section (Compact) */
    .cta-card,
    .cta-box {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 32px 18px;
        border-radius: 14px;
    }

    .cta-card .section-label,
    .cta-box .section-tag {
        margin-inline: auto;
    }

    .cta-card h2,
    .cta-box h2 {
        text-align: center;
        margin-inline: auto;
        font-size: clamp(22px, 5.5vw, 28px);
        letter-spacing: -1px;
    }

    .cta-card p,
    .cta-box p {
        text-align: center;
        margin: 12px auto 0 auto;
        max-width: 320px;
        font-size: 12.5px;
        line-height: 1.5;
    }

    .cta-card .btn,
    .cta-actions {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin-top: 20px;
        width: 100%;
    }

    .cta-card .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

}
.project-number {
    font-family: "DM Mono", monospace;
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--purple);
}
.project-action {
    display: flex;
    align-items: center;
    gap: 14px;
}


.project-link:hover {
    border-color: #00C3FF;
    color: #4BFF6B;
}

/* Global Card Number Removal */
.highlight-number,
.skill-category-number,
.project-number,
.service-number {
    display: none !important;
}
