:root {
    --bg-color: #05070a;
    --text-color: #f8f9fa;
    --primary-color: #b5c18e;
    --secondary-color: #739072;
    --accent-color: #ece3ce;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-family: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ambient layers */
.ambient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}

.ambient__blobs {
    position: absolute;
    inset: -20%;
    opacity: 0.38;
    mix-blend-mode: screen;
}

.blob {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, rgba(181, 193, 142, 0.55) 0%, rgba(115, 144, 114, 0.18) 45%, transparent 70%);
    transform: translate3d(0, 0, 0);
    animation: blobFloat 16s ease-in-out infinite;
}

.blob.b1 {
    top: 10%;
    left: 5%;
    animation-duration: 18s;
}

.blob.b2 {
    top: 55%;
    left: 65%;
    width: 620px;
    height: 620px;
    animation-duration: 22s;
    animation-direction: reverse;
}

.blob.b3 {
    top: 25%;
    left: 55%;
    width: 420px;
    height: 420px;
    animation-duration: 20s;
}

@keyframes blobFloat {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(50px, -40px, 0) scale(1.06);
    }

    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
}

.ambient__grain {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0px, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 3px),
        repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.06) 0px, rgba(0, 0, 0, 0.06) 1px, transparent 1px, transparent 4px);
    opacity: 0.03;
    pointer-events: none;
}

@keyframes grainMove {
    0% {
        transform: translate3d(0, 0, 0);
    }

    20% {
        transform: translate3d(-2%, 1%, 0);
    }

    40% {
        transform: translate3d(3%, -2%, 0);
    }

    60% {
        transform: translate3d(-3%, -1%, 0);
    }

    80% {
        transform: translate3d(2%, 2%, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

.ambient__spotlight {
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at center, rgba(181, 193, 142, 0.22) 0%, rgba(5, 7, 10, 0) 55%);
    transform: translate3d(0, 0, 0);
    opacity: 0.45;
}

/* Skip link (a11y) */
.skip-link {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--bg-color);
    color: var(--text-color);
    border: 1px solid var(--glass-border);
    transform: translateY(-200%);
    transition: transform 0.2s ease;
    z-index: 10000;
    text-decoration: none;
}

.skip-link:focus {
    transform: translateY(0);
    outline: none;
}

/* Visually hidden utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Global Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.68)),
        url('./assets/img/Presentation2.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    z-index: -1;
    filter: brightness(1.03) contrast(1.05);
}


.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(181, 193, 142, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    left: 0;
    top: 0;
    transform: translate3d(calc(var(--x, 50vw) - 50%), calc(var(--y, 50vh) - 50%), 0);
    z-index: 9999;
    transition: width 0.3s, height 0.3s;
    will-change: transform;
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 10%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(5, 7, 10, 0.4);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo a {
    color: inherit;
    text-decoration: none;
    -webkit-text-fill-color: inherit;
}

.logo span {
    color: var(--primary-color);
}

.profile-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 10px rgba(181, 193, 142, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block; /* Removes inline gap */
}

.profile-logo:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 15px rgba(181, 193, 142, 0.6);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    opacity: 0.7;
    transition: all 0.3s;
}

.nav-links a.is-active {
    opacity: 1;
    color: var(--primary-color);
}

.nav-links a.is-active::after {
    content: '';
    display: block;
    height: 2px;
    margin-top: 6px;
    width: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.nav-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.resume-btn {
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--text-color);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-extra {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-btn {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-color);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.icon-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(181, 193, 142, 0.45);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.icon-btn:focus-visible,
.btn:focus-visible,
.nav-links a:focus-visible,
input:focus-visible,
textarea:focus-visible,
.chip:focus-visible {
    outline: 3px solid rgba(181, 193, 142, 0.65);
    outline-offset: 3px;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1.5rem;
}

.resume-btn:hover {
    background: var(--primary-color);
    box-shadow: 0 0 20px rgba(181, 193, 142, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 10% 3.5rem;
    position: relative;
    background: transparent;
}



.hero-content {
    z-index: 5;
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    border: none;
    max-width: 600px;
    margin-left: 0;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.hero-content h1 {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 40%, var(--primary-color), #ffffff 60%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 12s linear infinite;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.45));
    letter-spacing: -3px;
    text-transform: none;
    /* Let the italic flow naturally */
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.hero-content p {
    font-size: 1.35rem;
    line-height: 1.5;
    opacity: 1;
    max-width: 500px;
    margin-bottom: 3rem;
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.82), 0 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.25rem 0 2.5rem;
}

.hero-pills span {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.18);
    color: #fff;
    font-size: 0.95rem;
}

/* Hero Impact Strip (Metrics Bar) */
.hero-impact-strip {
    display: inline-flex;
    align-items: center;
    justify-content: space-around;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 0.75rem 1.4rem;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    margin: 0.5rem 0 1.5rem;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.hero-impact-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-impact-stat strong {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
    font-family: var(--font-family);
}

.hero-impact-stat span {
    font-size: 0.72rem;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-top: 0.2rem;
}

.hero-impact-sep {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.12);
}

/* Hero Quick Social Dock */
.hero-social-dock {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.hero-social-dock a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: all 0.25s ease;
    backdrop-filter: blur(10px);
}

.hero-social-dock a:hover {
    background: rgba(181, 193, 142, 0.2);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(181, 193, 142, 0.3);
}

.hero-social-dock a i {
    width: 18px;
    height: 18px;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: rgba(255, 255, 255, 0.15);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease-out;
    z-index: -1;
    border-radius: 30px;
}

.btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-color);
    box-shadow: 0 4px 15px rgba(181, 193, 142, 0.3);
    border: none;
}

.btn.secondary {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(181, 193, 142, 0.4);
}

/* Obsolete hero image classes removed as image is now background */

/* Reveal Animations (High performance & fast reveal) */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.04s;
}

.delay-2 {
    transition-delay: 0.08s;
}

.delay-3 {
    transition-delay: 0.12s;
}

.delay-4 {
    transition-delay: 0.16s;
}

/* Sections */
section {
    padding: 100px 10%;
    scroll-margin-top: 80px;
}

main {
    position: relative;
    z-index: 2;
}

.section-header {
    margin-bottom: 3rem;
}

h2 {
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

.section-header .line {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin-top: 10px;
    border-radius: 2px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.8;
}

.about-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-item .label {
    font-size: 0.9rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.info-item .value {
    font-size: 1.1rem;
    font-weight: 500;
}

/* About Stats Strip */
.about-stats-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.about-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem;
    background: rgba(181, 193, 142, 0.06);
    border: 1px solid rgba(181, 193, 142, 0.15);
    border-radius: 14px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.about-stat:hover {
    background: rgba(181, 193, 142, 0.12);
    border-color: rgba(181, 193, 142, 0.3);
}

.about-stat strong {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.about-stat span {
    font-size: 0.78rem;
    color: var(--text-color);
    opacity: 0.75;
    line-height: 1.3;
}

/* LinkedIn Badge Overrides */
.LI-profile-badge {
    width: 100%;
    display: block;
    margin: 0 auto;
    overflow: visible;
}

.LI-profile-badge * {
    font-family: 'Outfit', sans-serif !important;
    font-style: normal !important;
    text-shadow: none !important;
    letter-spacing: normal !important;
}

/* Skills Section */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.skill-category {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.skill-category:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(181, 193, 142, 0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.skill-category h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tags span {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.skill-tags span:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    border-color: var(--primary-color);
    font-weight: 600;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    align-items: stretch;
}

@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.projects-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin: 1.5rem 0 2rem;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.chip {
    padding: 0.6rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-color);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.chip:hover {
    transform: translateY(-2px);
    border-color: rgba(181, 193, 142, 0.45);
}

.chip.is-active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-color);
    border-color: transparent;
    font-weight: 700;
}

.search {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.04);
    min-width: 260px;
}

.search input {
    width: 100%;
    border: none;
    background: transparent;
    color: var(--text-color);
    font-size: 1rem;
    outline: none;
}

.search input::placeholder {
    color: rgba(248, 249, 250, 0.7);
}

.github-projects {
    margin-top: 1.5rem;
}

.github-projects__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.github-projects__hint {
    opacity: 0.85;
    color: var(--text-color);
}

.github-projects__status {
    margin-top: 1rem;
    opacity: 0.85;
    color: var(--accent-color);
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
    opacity: 0.95;
}

.project-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.8rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.9rem;
}

.project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.25rem;
}

.skeleton {
    position: relative;
    overflow: hidden;
}

.skeleton::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.09) 50%, rgba(255, 255, 255, 0.03) 100%);
    transform: translateX(-100%);
    animation: shimmer 1.2s ease-in-out infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* Case modal */
.case-modal {
    border: none;
    padding: 0;
    background: transparent;
    max-width: 920px;
    width: calc(100% - 2rem);
}

.case-modal::backdrop {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
}

.case-modal__inner {
    position: relative;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    background: rgba(5, 7, 10, 0.92);
    color: var(--text-color);
    padding: 2.25rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.case-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
}

.case-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.case-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.case-grid h4 {
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.case-grid ul {
    padding-left: 1.2rem;
    opacity: 0.95;
}

.case-grid li {
    margin: 0.4rem 0;
}

.project-card {
    background: linear-gradient(145deg, rgba(14, 20, 30, 0.95) 0%, rgba(8, 12, 18, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 24px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(181, 193, 142, 0.55);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65), 0 0 28px rgba(181, 193, 142, 0.2);
}

.tilt-shine {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.06) 18%, transparent 45%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.project-card:hover .tilt-shine {
    opacity: 1;
}

.magnetic {
    will-change: transform;
}

.project-info {
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
}

.project-info > p:not(.project-tagline) {
    font-size: 0.98rem;
    color: #e2e8f0;
    opacity: 1;
    margin-bottom: 1.25rem;
    line-height: 1.7;
    flex: 1;
}

.project-info h3 {
    font-size: 1.55rem;
    font-weight: 700;
    margin: 0;
    color: var(--primary-color);
    line-height: 1.3;
}

.project-info .skill-tags {
    margin-top: auto;
    margin-bottom: 1.2rem;
    gap: 0.55rem;
}

.project-info .skill-tags span {
    font-size: 0.82rem;
    padding: 0.35rem 0.75rem;
}

.project-actions {
    margin-top: auto;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

/* Contact Section */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 4rem;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.contact-card h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.contact-card p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-color);
    padding: 1.1rem 1.2rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(248, 249, 250, 0.6);
}

.contact-form input:hover,
.contact-form textarea:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(181, 193, 142, 0.4);
}

.contact-form input:focus,
.contact-form textarea:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(181, 193, 142, 0.2);
    outline: none;
}

.contact-form textarea {
    resize: vertical;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.form-status {
    min-height: 1.2em;
    opacity: 0.9;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.social-links a {
    color: var(--text-color);
    transition: all 0.3s;
    background: var(--glass-bg);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
}

.social-links a:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(181, 193, 142, 0.1);
}

/* ==========================================================================
   LinkedIn Creator Card (About Section Replacement for Deprecated Badge)
   ========================================================================== */
.linkedin-creator-wrap {
    margin-top: 2rem;
    width: 100%;
}

.linkedin-creator-card {
    background: radial-gradient(circle at 10% 10%, rgba(10, 102, 194, 0.18) 0%, rgba(255, 255, 255, 0.03) 60%), rgba(8, 12, 18, 0.75);
    border: 1px solid rgba(10, 102, 194, 0.35);
    border-radius: 18px;
    padding: 1.5rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 24px rgba(10, 102, 194, 0.12);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.linkedin-creator-card:hover {
    border-color: rgba(10, 102, 194, 0.7);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 32px rgba(10, 102, 194, 0.25);
}

.creator-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.creator-avatar-wrap {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.creator-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #0a66c2;
    box-shadow: 0 0 14px rgba(10, 102, 194, 0.45);
}

.status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 13px;
    height: 13px;
    background: #22c55e;
    border: 2.5px solid var(--bg-color);
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
    animation: statusPulse 2.4s infinite;
}

@keyframes statusPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.creator-meta {
    flex: 1;
    min-width: 0;
}

.creator-name-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.creator-name-row h4 {
    font-size: 1.15rem;
    color: var(--text-color);
    font-weight: 600;
    margin: 0;
}

.verified-badge {
    color: #38bdf8;
    display: inline-flex;
    align-items: center;
}

.creator-role {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0.2rem 0 0;
    line-height: 1.4;
}

.creator-role strong {
    color: #cbd5e1;
}

.linkedin-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem;
    background: rgba(10, 102, 194, 0.12);
    border-radius: 8px;
    border: 1px solid rgba(10, 102, 194, 0.25);
    flex-shrink: 0;
}

.creator-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 1.1rem 0;
}

.highlight-chip {
    font-size: 0.76rem;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    letter-spacing: 0.2px;
}

.highlight-chip.accent {
    background: rgba(181, 193, 142, 0.15);
    border-color: rgba(181, 193, 142, 0.35);
    color: var(--primary-color);
    font-weight: 500;
}

.linkedin-connect-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #0a66c2 0%, #004182 100%);
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.7rem 1.2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(10, 102, 194, 0.3);
}

.linkedin-connect-btn:hover {
    background: linear-gradient(135deg, #0d7bf0 0%, #0050a1 100%);
    box-shadow: 0 6px 22px rgba(10, 102, 194, 0.5);
    transform: translateY(-2px);
}

/* ==========================================================================
   Featured Flagship Project Enhancements
   ========================================================================== */
.project-card.featured-flagship {
    position: relative;
    border: 1px solid rgba(181, 193, 142, 0.5);
    background: linear-gradient(145deg, rgba(18, 28, 24, 0.95) 0%, rgba(9, 14, 18, 0.98) 100%);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6), 0 0 32px rgba(181, 193, 142, 0.18);
}

.project-card.featured-flagship:hover {
    border-color: var(--primary-color);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.7), 0 0 40px rgba(181, 193, 142, 0.25);
}

.project-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, rgba(181, 193, 142, 0.25), rgba(115, 144, 114, 0.25));
    border: 1px solid rgba(181, 193, 142, 0.45);
    color: var(--accent-color);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.project-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.8rem;
    padding-right: 0;
}

.project-header-left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex: 1;
    min-width: 0;
}

.project-header-left h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--primary-color);
    line-height: 1.3;
}

.project-header-right {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.project-brand-logo {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover .project-brand-logo {
    transform: scale(1.08);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.status-live-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: #4ade80;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-weight: 500;
    flex-shrink: 0;
    white-space: nowrap;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
    animation: statusPulse 2s infinite;
}

.project-tagline {
    font-size: 0.98rem;
    color: var(--accent-color);
    font-style: italic;
    margin-bottom: 0.9rem;
    line-height: 1.55;
    min-height: 2.8rem;
}

.project-impact-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
    gap: 0.85rem;
    margin: 1.1rem 0 1.3rem;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    min-height: 74px;
    align-items: center;
}

@media (max-width: 600px) {
    .project-impact-box {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

.project-cert-img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 10px;
    margin: 0.6rem 0 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   Horizontal Project Card Layout (AcroAMS & Flagship)
   ========================================================================== */
.project-card--horizontal {
    grid-column: 1 / -1;
}

.project-card--horizontal .project-horizontal-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: center;
    padding: 2.4rem;
    width: 100%;
}

.project-card--horizontal .project-info {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card--horizontal .project-media-side {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 290px;
}

.project-card--horizontal .project-media-frame {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 260px;
    max-height: 340px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(181, 193, 142, 0.12);
}

.project-card--horizontal .project-media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
    transition: transform 0.4s ease;
}

.project-card--horizontal:hover .project-media-frame img {
    transform: scale(1.03);
}

.project-media-caption {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 8px 14px;
    background: rgba(8, 12, 18, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    font-size: 0.82rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-media-caption i {
    color: #4ade80;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Facility showcase for Mahaurja horizontal */
.project-facility-showcase {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(181, 193, 142, 0.3);
    border-radius: 18px;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
}

.facility-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-color);
    background: rgba(181, 193, 142, 0.14);
    border: 1px solid rgba(181, 193, 142, 0.35);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    width: fit-content;
}

.facility-metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}

.facility-stat {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
}

.facility-stat-num {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.facility-stat-label {
    font-size: 0.76rem;
    color: #94a3b8;
    margin-top: 0.2rem;
    line-height: 1.3;
}

.facility-highlight-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: #4ade80;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.22);
    padding: 0.45rem 0.9rem;
    border-radius: 10px;
}

@media (max-width: 992px) {
    .project-card--horizontal .project-horizontal-layout {
        grid-template-columns: 1fr;
        gap: 1.8rem;
        padding: 1.8rem;
    }
    
    .project-card--horizontal .project-media-side {
        order: 0;
        min-height: auto;
        width: 100%;
    }
    
    .project-card--horizontal .project-media-frame {
        max-height: 280px;
        min-height: 200px;
        width: 100%;
    }
}

.impact-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.impact-stat strong {
    font-size: 1.15rem;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.impact-stat span {
    font-size: 0.76rem;
    color: #94a3b8;
    margin-top: 0.25rem;
    letter-spacing: 0.2px;
    line-height: 1.3;
}

.confidential-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 14px;
    border-radius: 6px;
}

/* ==========================================================================
   LinkedIn Featured Insights & Community Leadership Section
   ========================================================================== */
.insights {
    padding: 7rem 10% 7.5rem;
    position: relative;
    z-index: 1;
    background: radial-gradient(circle at 50% 0%, rgba(14, 116, 144, 0.12) 0%, rgba(8, 14, 26, 0.96) 45%, #050811 100%);
    border-top: 1px solid rgba(56, 189, 248, 0.18);
    border-bottom: 1px solid rgba(56, 189, 248, 0.18);
    box-shadow: inset 0 24px 48px rgba(0, 0, 0, 0.65), inset 0 -24px 48px rgba(0, 0, 0, 0.65);
}

.section-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(10, 102, 194, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.section-lead {
    text-align: center;
    max-width: 680px;
    margin: 0.5rem auto 2.5rem;
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* --- Executive KPI Ribbon --- */
.insights-kpi-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 1.25rem 2.2rem;
    margin: 0 auto 3.5rem;
    max-width: 1060px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.kpi-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.kpi-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kpi-icon-wrap i {
    width: 20px;
    height: 20px;
}

.kpi-icon--blue {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
}

.kpi-icon--amber {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.kpi-icon--green {
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.kpi-icon--gold {
    color: #eab308;
    background: rgba(234, 179, 8, 0.12);
    border: 1px solid rgba(234, 179, 8, 0.25);
}

.kpi-num {
    display: block;
    font-size: 1.45rem;
    font-weight: 700;
    color: #f8fafc;
    font-family: 'Space Grotesk', var(--font-primary);
    line-height: 1.1;
}

.kpi-title {
    display: block;
    font-size: 0.76rem;
    color: #94a3b8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

.kpi-sep {
    width: 1px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
}

/* --- Insights Grid (2-Column on Desktop/Laptop) --- */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.2rem;
    max-width: 1240px;
    margin: 0 auto;
    align-items: stretch;
}

/* --- Insight Card Bento Styling --- */
.insight-card {
    background: linear-gradient(145deg, rgba(17, 24, 39, 0.82) 0%, rgba(10, 15, 26, 0.88) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem 2.2rem 1.8rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.insight-accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0.85;
    transition: opacity 0.3s ease, height 0.3s ease;
}

.insight-card:hover .insight-accent-bar {
    opacity: 1;
    height: 4px;
}

.insight-card--cleantech .insight-accent-bar {
    background: linear-gradient(90deg, #10b981, #06b6d4);
}

.insight-card--edtech .insight-accent-bar {
    background: linear-gradient(90deg, #f59e0b, #ef4444);
}

.insight-card--award .insight-accent-bar {
    background: linear-gradient(90deg, #eab308, #f59e0b);
}

.insight-card--security .insight-accent-bar {
    background: linear-gradient(90deg, #38bdf8, #6366f1);
}

/* Card Hover Glows */
.insight-card:hover {
    transform: translateY(-6px);
}

.insight-card--cleantech:hover {
    border-color: rgba(16, 185, 129, 0.45);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 32px rgba(16, 185, 129, 0.15);
}

.insight-card--edtech:hover {
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 32px rgba(245, 158, 11, 0.15);
}

.insight-card--award:hover {
    border-color: rgba(234, 179, 8, 0.45);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 32px rgba(234, 179, 8, 0.15);
}

.insight-card--security:hover {
    border-color: rgba(56, 189, 248, 0.45);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 32px rgba(56, 189, 248, 0.15);
}

/* Top Author & Badge */
.insight-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.insight-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.insight-avatar-box {
    position: relative;
    display: inline-block;
}

.insight-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.15);
    display: block;
}

.insight-online-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    border: 2px solid #0f172a;
    box-shadow: 0 0 6px #10b981;
}

.insight-name {
    font-size: 1rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0;
    line-height: 1.2;
}

.insight-role {
    font-size: 0.76rem;
    color: #94a3b8;
    line-height: 1.35;
    display: block;
    margin-top: 0.2rem;
}

.linkedin-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
    flex-shrink: 0;
    letter-spacing: 0.2px;
}

.badge-pill--cleantech {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
}

.badge-pill--edtech {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fbbf24;
}

.badge-pill--award {
    background: rgba(234, 179, 8, 0.12);
    border: 1px solid rgba(234, 179, 8, 0.35);
    color: #fde047;
}

.badge-pill--security {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #7dd3fc;
}

/* Card Content & Key Takeaway Quote */
.insight-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.insight-content h3 {
    font-size: 1.22rem;
    color: #f8fafc;
    margin-bottom: 0.9rem;
    line-height: 1.45;
    font-weight: 700;
}

.insight-highlight-quote {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid #38bdf8;
    border-radius: 0 10px 10px 0;
    padding: 0.85rem 1.1rem;
    margin-bottom: 1rem;
}

.insight-card--cleantech .insight-highlight-quote {
    border-left-color: #10b981;
    background: rgba(16, 185, 129, 0.05);
}

.insight-card--edtech .insight-highlight-quote {
    border-left-color: #f59e0b;
    background: rgba(245, 158, 11, 0.05);
}

.insight-card--award .insight-highlight-quote {
    border-left-color: #eab308;
    background: rgba(234, 179, 8, 0.05);
}

.insight-card--security .insight-highlight-quote {
    border-left-color: #38bdf8;
    background: rgba(56, 189, 248, 0.05);
}

.quote-symbol {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #94a3b8;
    margin-top: 2px;
}

.insight-highlight-quote p {
    font-size: 0.88rem !important;
    color: #e2e8f0 !important;
    font-style: italic;
    line-height: 1.55 !important;
    margin: 0 !important;
}

.insight-desc {
    font-size: 0.92rem;
    color: #94a3b8;
    line-height: 1.65;
    margin-bottom: 1.4rem;
    flex: 1;
}

/* Metric Pills */
.insight-metrics {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin-top: auto;
    margin-bottom: 1.25rem;
}

.metric-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 10px;
    border-radius: 8px;
}

.metric-item i {
    width: 14px;
    height: 14px;
}

.metric-item--reach {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.08);
    border-color: rgba(56, 189, 248, 0.2);
}

.metric-item--reach i {
    color: #38bdf8;
}

.metric-item--eng {
    color: #f43f5e;
    background: rgba(244, 63, 94, 0.08);
    border-color: rgba(244, 63, 94, 0.2);
}

.metric-item--eng i {
    color: #f43f5e;
}

.metric-tag {
    margin-left: auto;
    font-size: 0.72rem;
    font-weight: 600;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card Action Button */
.insight-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
    margin-top: auto;
}

.insight-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.2rem;
    border-radius: 12px;
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.insight-action-btn i {
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
}

.insight-action-btn:hover {
    background: rgba(10, 102, 194, 0.2);
    border-color: rgba(56, 189, 248, 0.5);
    color: #38bdf8;
}

.insight-action-btn:hover i {
    transform: translate(3px, -3px);
}

/* --- Enhanced Creator Follow Banner --- */
.insights-creator-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: linear-gradient(135deg, rgba(10, 102, 194, 0.14) 0%, rgba(15, 23, 42, 0.9) 100%);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 20px;
    padding: 1.6rem 2.2rem;
    max-width: 1060px;
    margin: 3.5rem auto 0;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.creator-banner-info {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.creator-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.creator-banner-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #0a66c2;
    display: block;
}

.creator-live-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #10b981;
    border: 2px solid #0f172a;
    box-shadow: 0 0 8px #10b981;
}

.creator-meta h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0 0 0.25rem;
}

.creator-meta p {
    font-size: 0.88rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.4;
}

.creator-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #0a66c2;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(10, 102, 194, 0.4);
    transition: all 0.25s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.creator-follow-btn i {
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
}

.creator-follow-btn:hover {
    background: #0077b5;
    box-shadow: 0 8px 24px rgba(10, 102, 194, 0.6);
    transform: translateY(-2px);
    color: #ffffff;
}

.creator-follow-btn:hover i {
    transform: translate(3px, -3px);
}

/* ==========================================================================
   Responsive Overrides for Insights & Mobile Screens
   ========================================================================== */
@media (max-width: 968px) {
    .insights {
        padding: 4.5rem 6%;
    }

    .insights-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .insights-kpi-bar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        padding: 1.4rem;
        margin-bottom: 2.5rem;
    }

    .kpi-sep {
        display: none;
    }

    .insights-creator-banner {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
        padding: 1.6rem 1.4rem;
    }

    .creator-banner-info {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }

    .creator-follow-btn {
        width: 100%;
        justify-content: center;
    }
    
    .project-header-row {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .project-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.65rem;
    }
    
    .project-header-left {
        width: 100%;
        gap: 0.75rem;
    }
    
    .project-header-left h3 {
        font-size: 1.25rem;
        word-break: break-word;
    }
    
    .project-header-right {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .project-card--horizontal .project-horizontal-layout {
        padding: 1.4rem;
        gap: 1.4rem;
    }

    .project-card--horizontal .project-media-frame {
        max-height: 240px;
    }
}

@media (max-width: 480px) {
    .project-card {
        padding: 1.3rem;
    }

    .project-card--horizontal .project-horizontal-layout {
        padding: 1.1rem;
        gap: 1.2rem;
    }

    .project-header-left h3 {
        font-size: 1.18rem;
    }

    .project-brand-logo {
        width: 36px;
        height: 36px;
    }

    .project-impact-box {
        padding: 0.85rem 1rem;
    }

    .insights {
        padding: 3rem 4%;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }
    
    .insights-kpi-bar {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.1rem;
    }
    
    .insight-card {
        padding: 1.35rem 1.15rem;
    }

    .insight-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .creator-header {
        flex-wrap: wrap;
    }
    
    .project-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .project-actions a,
    .project-actions button,
    .project-actions .confidential-badge {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}


footer {
    padding: 3rem 10%;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 968px) {
    nav {
        padding: 1rem 5%;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 7, 10, 0.95);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-close-btn {
        position: absolute;
        top: 2rem;
        right: 2rem;
        list-style: none;
    }

    #mobile-close-btn {
        background: transparent;
        border: none;
        color: white;
        cursor: pointer;
        padding: 0.8rem;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(5px);
        transition: background 0.3s ease;
    }
    
    #mobile-close-btn:active {
        background: rgba(255, 255, 255, 0.2);
    }

    .nav-links li a {
        font-size: 2rem;
        font-family: 'Playfair Display', serif;
        font-style: italic;
    }

    body::before {
        display: none !important;
    }

    .hero {
        position: relative !important;
        text-align: center !important;
        padding: 95px 1.25rem 3.5rem !important;
        min-height: 100svh !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        background:
            linear-gradient(180deg, rgba(5, 7, 10, 0.45) 0%, rgba(5, 7, 10, 0.72) 45%, rgba(5, 7, 10, 0.95) 80%, #05070a 100%),
            radial-gradient(circle at 50% 25%, rgba(181, 193, 142, 0.18) 0%, transparent 65%),
            url('./assets/img/Presentation1.webp') !important;
        background-size: cover !important;
        background-position: center 12% !important;
        background-repeat: no-repeat !important;
    }

    .hero-content {
        max-width: 100% !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .status-pill {
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
        padding: 0.45rem 1rem !important;
        border-radius: 999px !important;
        border: 1px solid rgba(181, 193, 142, 0.35) !important;
        background: rgba(181, 193, 142, 0.12) !important;
        color: #ece3ce !important;
        font-size: 0.78rem !important;
        font-weight: 600 !important;
        margin-top: 0 !important;
        margin-bottom: 0.85rem !important;
        box-shadow: 0 0 20px rgba(181, 193, 142, 0.15) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
    }

    .status-pill .dot {
        width: 8px !important;
        height: 8px !important;
        background: #4ade80 !important;
        box-shadow: 0 0 8px #4ade80 !important;
    }

    .hero-content h2.hero-greeting {
        font-size: 0.95rem !important;
        font-weight: 600 !important;
        letter-spacing: 2.5px !important;
        text-transform: uppercase !important;
        color: var(--primary-color) !important;
        margin-bottom: 0.35rem !important;
    }

    .hero-content h1.hero-title {
        font-size: clamp(2.8rem, 11vw, 4rem) !important;
        letter-spacing: -1.5px !important;
        line-height: 1.08 !important;
        margin-bottom: 0.85rem !important;
        filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.85)) !important;
    }

    .hero-content p.hero-subtitle {
        font-size: 1.02rem !important;
        line-height: 1.55 !important;
        max-width: 340px !important;
        margin: 0 auto 1.25rem !important;
        color: rgba(255, 255, 255, 0.92) !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9) !important;
        font-weight: 500 !important;
    }

    .hero-impact-strip {
        margin: 0 auto 1.25rem !important;
        max-width: 330px !important;
    }

    .hero-pills {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 0.45rem !important;
        margin: 0 auto 1.5rem !important;
        max-width: 340px !important;
        padding-bottom: 0 !important;
    }

    .hero-pills span {
        font-size: 0.78rem !important;
        padding: 0.35rem 0.75rem !important;
        border-radius: 999px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        color: #ece3ce !important;
        backdrop-filter: blur(8px) !important;
        white-space: nowrap !important;
    }

    .hero-cta {
        display: flex !important;
        flex-direction: row !important;
        gap: 0.75rem !important;
        width: 100% !important;
        max-width: 340px !important;
        margin: 0 auto !important;
    }

    .hero-cta .btn {
        flex: 1 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.4rem !important;
        padding: 0.85rem 1rem !important;
        border-radius: 14px !important;
        font-size: 0.9rem !important;
        font-weight: 700 !important;
        width: auto !important;
    }

    .hero-cta .btn.primary {
        background: linear-gradient(135deg, #b5c18e 0%, #9cb077 100%) !important;
        color: #05070a !important;
        box-shadow: 0 4px 18px rgba(181, 193, 142, 0.35) !important;
    }

    .hero-cta .btn.secondary {
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        color: #ffffff !important;
        backdrop-filter: blur(10px) !important;
    }

    .hero-cta .btn:active {
        transform: scale(0.97) !important;
    }

    .project-card {
        background: rgba(255, 255, 255, 0.03);
        border-radius: 20px;
        padding: 0;
        margin-bottom: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .project-info h3 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    section {
        padding: 60px 5%;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .about-info {
        order: -1;
        align-items: center;
        padding: 1.5rem;
    }

    .section-header {
        text-align: center;
    }

    .section-header .line {
        margin: 10px auto 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .github-projects__bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .projects-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .search {
        min-width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .case-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 2.5rem 1.5rem;
    }

    .contact-card h3 {
        font-size: 1.8rem;
    }
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem 1.15rem;
    border-radius: 999px;
    border: 1px solid rgba(181, 193, 142, 0.35);
    background: rgba(181, 193, 142, 0.12);
    color: #ece3ce;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-top: 0;
    margin-bottom: 1.25rem;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(181, 193, 142, 0.15);
}

.status-pill .dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--primary-color);
    box-shadow: 0 0 0 0 rgba(181, 193, 142, 0.6);
    animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(181, 193, 142, 0.55);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(181, 193, 142, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(181, 193, 142, 0);
    }
}

.hero-title.glitch {
    position: relative;
}

.hero-title.glitch::before,
.hero-title.glitch::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    overflow: hidden;
    pointer-events: none;
}

.hero-title.glitch::before {
    transform: translate(1px, 0);
    text-shadow: -2px 0 rgba(181, 193, 142, 0.5);
    clip-path: inset(0 0 55% 0);
    opacity: 0.55;
}

.hero-title.glitch::after {
    transform: translate(-1px, 0);
    text-shadow: 2px 0 rgba(115, 144, 114, 0.55);
    clip-path: inset(55% 0 0 0);
    opacity: 0.55;
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-links a {
        width: 50px;
        height: 50px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal,
    .hero-content,
    .btn,
    .project-card,
    .skill-category,
    .cursor-glow,
    .ambient__grain,
    .blob,
    .status-pill .dot {
        transition: none !important;
        animation: none !important;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.6;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid #fff;
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

.arrows span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    margin: -4px;
    animation: scrollArrows 2s infinite;
}

.arrows span:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

@keyframes scrollArrows {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-10px, -10px);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: rotate(45deg) translate(10px, 10px);
    }
}

@media (max-width: 968px) {
    .btn:active {
        transform: scale(0.96);
        transition: transform 0.1s;
    }

    .project-card:active {
        transform: scale(0.98);
        transition: transform 0.1s;
    }
}

@media (max-width: 968px) {
    .ambient {
        display: none;
    }

    .cursor-glow {
        display: none;
    }
}

/* View Transitions for Morph Animation */
.case-modal__inner {
    view-transition-name: case-morph;
}
.project-card.morph-active {
    view-transition-name: case-morph;
}

::view-transition-old(case-morph),
::view-transition-new(case-morph) {
    height: 100%;
}

/* Update nav for glassmorphism based on .scrolled class */
nav.scrolled {
    background: rgba(5, 7, 10, 0.7);
    padding: 1rem 10%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
nav:not(.scrolled) {
    background: rgba(5, 7, 10, 0.2);
    padding: 1.5rem 10%;
    box-shadow: none;
}

/* Mobile specific styling for capsule nav and single line hero pills */
@media (max-width: 968px) {
    /* Transparent Navbar (just three bars) */
    /* Transparent Navbar (just three bars) */
    nav {
        top: 0;
        width: 100%;
        left: 0;
        border-radius: 0;
        padding: 1rem 5% !important;
        border: none !important;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
        pointer-events: none; /* Let clicks pass through */
        display: flex !important;
        justify-content: flex-end !important; /* Right align the content */
    }
    nav.scrolled, nav:not(.scrolled) {
        background: transparent !important;
        padding: 1rem 5% !important;
        box-shadow: none !important;
    }
    nav .logo, nav .resume-btn {
        display: none !important; /* Hide logo and hire me button */
    }
    nav .nav-extra {
        display: flex;
        justify-content: flex-end;
        width: 100%;
    }
    nav .mobile-menu-btn {
        pointer-events: auto; /* Ensure button is clickable */
        background: rgba(5, 7, 10, 0.7); /* Give the button a slight background to be visible */
        padding: 0.5rem;
        border-radius: 8px;
        border: 1px solid var(--glass-border);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    .nav-links {
        pointer-events: auto !important; /* Fix unclickable nav links */
    }

    /* Centered Wrapped Hero Pills */
    .hero-pills {
        flex-wrap: wrap !important;
        justify-content: center !important;
        overflow-x: visible !important;
    }
    
    .scroll-indicator {
        display: none !important;
    }
}

/* Hide mobile close button on desktop */
@media (min-width: 969px) {
    .mobile-close-btn {
        display: none !important;
    }
}

/* Center align case study content */
.case-modal__content {
    text-align: center;
}

.case-grid ul {
    list-style-position: inside;
}

.case-grid .skill-tags {
    justify-content: center;
}

/* Desktop default for mobile-only project elements */
.mobile-project-title {
    display: none;
}
.desktop-project-title {
    display: inline;
}
.mobile-project-card-link {
    display: none;
}
.project-mobile-meta {
    display: none;
}
.project-mobile-arrow {
    display: none;
}
.project-title-meta {
    display: flex;
    flex-direction: column;
}

/* Mobile Compact Project Cards (<= 768px)
 * Displays a clean, non-squished horizontal card row:
 * [Logo] [Title + Category / Live Tag] [Arrow Button]
 * Entire card is hyperlinked to dedicated project subpage
 */
@media (max-width: 768px) {
    .projects-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.85rem !important;
    }

    .projects-grid > .project-card {
        border-radius: 16px !important;
        cursor: pointer !important;
        position: relative !important;
        min-height: unset !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
        overflow: hidden !important;
        transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease !important;
    }

    .projects-grid > .project-card:hover,
    .projects-grid > .project-card:active {
        background: rgba(255, 255, 255, 0.06) !important;
        border-color: rgba(181, 193, 142, 0.4) !important;
        transform: translateY(-2px) !important;
    }

    .mobile-project-card-link {
        display: block !important;
        position: absolute !important;
        inset: 0 !important;
        z-index: 10 !important;
        cursor: pointer !important;
    }

    .project-card .project-info {
        padding: 0.95rem 1.15rem !important;
        margin: 0 !important;
    }

    .project-card .project-header-row {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0.85rem !important;
        margin-bottom: 0 !important;
        width: 100% !important;
    }

    .project-card .project-header-left {
        display: flex !important;
        align-items: center !important;
        gap: 0.85rem !important;
        flex: 1 !important;
        min-width: 0 !important;
        width: auto !important;
    }

    .project-brand-logo {
        width: 46px !important;
        height: 46px !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding: 5px !important;
        object-fit: contain !important;
        flex-shrink: 0 !important;
    }

    .project-title-meta {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.25rem !important;
        flex: 1 !important;
        min-width: 0 !important;
    }

    .mobile-project-title {
        display: inline !important;
    }
    .desktop-project-title {
        display: none !important;
    }

    .project-title-meta h3 {
        font-size: 1.02rem !important;
        font-weight: 700 !important;
        color: var(--text-color) !important;
        margin: 0 !important;
        line-height: 1.3 !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }

    .project-mobile-meta {
        display: flex !important;
        align-items: center !important;
        gap: 0.45rem !important;
        flex-wrap: wrap !important;
    }

    .project-mobile-tag {
        font-size: 0.68rem !important;
        font-weight: 600 !important;
        padding: 0.15rem 0.5rem !important;
        border-radius: 999px !important;
        background: rgba(181, 193, 142, 0.15) !important;
        border: 1px solid rgba(181, 193, 142, 0.3) !important;
        color: var(--primary-color) !important;
        letter-spacing: 0.2px !important;
        text-transform: uppercase !important;
    }

    .project-mobile-status {
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.35rem !important;
        font-size: 0.68rem !important;
        font-weight: 600 !important;
        padding: 0.15rem 0.5rem !important;
        border-radius: 999px !important;
        background: rgba(34, 197, 94, 0.15) !important;
        border: 1px solid rgba(34, 197, 94, 0.3) !important;
        color: #4ade80 !important;
    }

    .project-mobile-arrow {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 34px !important;
        height: 34px !important;
        border-radius: 50% !important;
        background: rgba(181, 193, 142, 0.12) !important;
        border: 1px solid rgba(181, 193, 142, 0.25) !important;
        color: var(--primary-color) !important;
        flex-shrink: 0 !important;
        margin-left: 0.25rem !important;
        transition: transform 0.2s ease, background 0.2s ease !important;
    }

    .projects-grid > .project-card:hover .project-mobile-arrow,
    .projects-grid > .project-card:active .project-mobile-arrow {
        background: var(--primary-color) !important;
        color: #05070a !important;
        transform: translateX(3px) !important;
    }

    /* Completely hide bulky desktop content from mobile compact cards */
    .project-card .project-header-right,
    .project-card .project-info > p,
    .project-card .project-impact-box,
    .project-card .project-tech,
    .project-card .project-actions,
    .project-card .project-media-wrap,
    .project-card .project-screenshots,
    .project-card--horizontal .project-media-side,
    .project-card--horizontal .project-media-frame,
    .project-card::after {
        display: none !important;
    }

    .project-card--horizontal .project-horizontal-layout {
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        gap: 0 !important;
    }
}

/* About stats strip responsive */
@media (max-width: 600px) {
    .about-stats-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
        margin-top: 1.25rem;
    }

    .about-stat {
        padding: 0.75rem;
    }

    .about-stat strong {
        font-size: 1.25rem;
    }

    .about-stat span {
        font-size: 0.7rem;
    }
}
