: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.04;
    mix-blend-mode: overlay;
    animation: grainMove 7s steps(8) infinite;
}

@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('image/aryan imagep.jpg');
    background-size: cover;
    background-position: center calc(50% + var(--bg-shift, 0px));
    background-repeat: no-repeat;
    background-attachment: scroll;
    z-index: -1;
    filter: brightness(1.03) contrast(1.05);
    will-change: background-position;
}


.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: background 0.3s;
}

.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);
}

.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 {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    position: relative;
    background: transparent;
}

/* Add a pseudo-element for extra depth if needed, or keep it clean */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--bg-color), 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;
}

.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 */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.17, 0.55, 0.55, 1);
}

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

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

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

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

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

/* Sections */
section {
    padding: 100px 10%;
}

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;
}

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

.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;
    transition: all 0.4s ease;
}

.skill-category:hover {
    transform: translateY(-8px);
    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(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.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(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    transform-style: preserve-3d;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(181, 193, 142, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(181, 193, 142, 0.15);
}

.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: 2rem;
}

.project-info p {
    font-size: 1.1rem;
    color: #fff;
    opacity: 1;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.project-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.project-links {
    display: flex;
    gap: 1rem;
}

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

.contact-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 4rem;
    border-radius: 30px;
}

.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 var(--glass-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-color);
    padding: 0.9rem 1rem;
    font-size: 1rem;
}

.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);
}

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;
    }

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

    .hero {
        text-align: center;
        padding-top: 140px;
        height: auto;
        min-height: 100vh;
        display: flex;
        align-items: center;
        background: none;
    }

    body::before {
        background:
            linear-gradient(rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.82)),
            url('image/aryan imagep.jpg');
        background-size: cover;
        background-position: center;
    }

    .hero-content {
        max-width: 100%;
        padding: 0 6%;
    }

    .hero-content h1 {
        font-size: clamp(2.5rem, 10vw, 4rem);
        letter-spacing: -1.5px;
        margin-bottom: 1.5rem;
    }

    .hero-content p {
        font-size: 1.15rem;
        margin: 0 auto 2.5rem;
        line-height: 1.6;
    }

    .hero-cta {
        justify-content: center;
        flex-direction: column;
        gap: 1.25rem;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 1.1rem 2rem;
        font-size: 1.05rem;
        border-radius: 16px;
    }

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

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

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

    .about-info {
        order: -1;
    }

    .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.75rem 1.25rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(181, 193, 142, 0.08);
    color: #ffffff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-top: -1rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.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;
    }
}