        :root {
            --primary: #0a192f;
            --secondary: #112240;
            --accent: #64ffda;
            --accent-secondary: #00d4ff;
            --text-primary: #ccd6f6;
            --text-secondary: #8892b0;
            --highlight: #e6f1ff;
        }

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

        body {
            font-family: 'Syne', sans-serif;
            background: linear-gradient(135deg, var(--primary) 0%, #0d1b2a 50%, var(--secondary) 100%);
            color: var(--text-primary);
            line-height: 1.6;
            overflow-x: hidden;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Animated Background Grid */
        .grid-background {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: linear-gradient(rgba(100, 255, 218, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(100, 255, 218, 0.03) 1px, transparent 1px);
            background-size: 50px 50px;
            pointer-events: none;
            z-index: 0;
            animation: gridMove 20s linear infinite;
        }

        @keyframes gridMove {
            0% {
                transform: translate(0, 0);
            }

            100% {
                transform: translate(50px, 50px);
            }
        }

        /* Header */
        header {
            position: relative;
            padding: 100px 0 80px;
            z-index: 1;
        }

        .header-content {
            animation: fadeInUp 1s ease-out;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 80px;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

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

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

        /* Profile Picture */
        .profile-picture {
            width: 350px;
            height: 350px;
            border-radius: 50%;
            border: 4px solid var(--accent);
            box-shadow: 0 0 40px rgba(100, 255, 218, 0.4);
            object-fit: cover;
            /* ADJUST THIS VALUE to move image up/down within the circle */
            object-position: center 15%; 
            transition: all 0.3s ease;
            flex-shrink: 0; 
            margin-right: 30px;
        }

            .profile-picture:hover {
                transform: scale(1.05);
                box-shadow: 0 0 60px rgba(100, 255, 218, 0.6);
            }

        /* Text section stays centered */
        .header-text {
            text-align: center;
            flex: 1; 
            min-width: 0; /* allow text to shrink, no overflow */
        }

        .glitch-wrapper {
            position: relative;
            display: inline-block;
        }

        h1 {
            font-family: 'Orbitron', sans-serif;
            font-size: clamp(2.5rem, 6vw, 4.5rem);
            font-weight: 900;
            background: linear-gradient(135deg, var(--accent), var(--accent-secondary), var(--highlight));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 10px;
            letter-spacing: -2px;
            text-transform: uppercase;
            position: relative;
        }

        .subtitle {
            font-size: clamp(1.2rem, 3vw, 1.8rem);
            color: var(--text-secondary);
            font-weight: 500;
            margin-bottom: 20px;
            letter-spacing: 1px;
        }

        .contact-info {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 30px;
        }

        .contact-item {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 24px;
            background: rgba(100, 255, 218, 0.05);
            border: 1px solid rgba(100, 255, 218, 0.2);
            border-radius: 8px;
            color: var(--accent);
            text-decoration: none;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }

            .contact-item:hover {
                background: rgba(100, 255, 218, 0.1);
                border-color: var(--accent);
                transform: translateY(-2px);
                box-shadow: 0 5px 20px rgba(100, 255, 218, 0.2);
            }

        /* Mobile responsive */
        @media (max-width: 768px) {
            .header-content {
                flex-direction: column;
                gap: 30px;
            }

            .profile-picture {
                width: 150px;
                height: 150px;
            }
        }


        /* Navigation */
        nav {
            position: sticky;
            top: 0;
            background: rgba(10, 25, 47, 0.95);
            backdrop-filter: blur(10px);
            padding: 20px 0;
            z-index: 100;
            border-bottom: 1px solid rgba(100, 255, 218, 0.1);
        }

            nav ul {
                list-style: none;
                display: flex;
                justify-content: center;
                gap: 40px;
                flex-wrap: wrap;
            }

            nav a {
                color: var(--text-primary);
                text-decoration: none;
                font-weight: 600;
                font-size: 1rem;
                letter-spacing: 0.5px;
                position: relative;
                padding: 5px 0;
                transition: color 0.3s ease;
            }

                nav a::after {
                    content: '';
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    width: 0;
                    height: 2px;
                    background: var(--accent);
                    transition: width 0.3s ease;
                }

                nav a:hover {
                    color: var(--accent);
                }

                    nav a:hover::after {
                        width: 100%;
                    }

        /* Sections */
        section {
            position: relative;
            padding: 80px 0;
            z-index: 1;
        }

        .section-title {
            font-family: 'Orbitron', sans-serif;
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 700;
            margin-bottom: 50px;
            text-align: center;
            position: relative;
            display: inline-block;
            left: auto;
            max-width: 100%;
            overflow-wrap: break-word;
            transform: none;
        }

            .section-title::before {
                content: '';
                position: absolute;
                bottom: -10px;
                left: 0;
                width: 100%;
                height: 3px;
                background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
                border-radius: 2px;
            }

        /* About Section */
        .about-content {
            max-width: 900px;
            margin: 0 auto;
            background: rgba(17, 34, 64, 0.5);
            padding: 40px;
            border-radius: 12px;
            border: 1px solid rgba(100, 255, 218, 0.1);
            backdrop-filter: blur(10px);
        }

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

        .resume-link-box {
            margin-top: 30px;
            text-align: center;
        }

            .resume-link-box a {
                display: inline-block;
                padding: 10px 20px;
                font-size: 0.9rem;
                text-decoration: none;
                border-radius: 6px;
                border: 1px solid var(--accent);
                color: var(--accent);
                background: rgba(100, 255, 218, 0.05);
                transition: all 0.3s ease;
            }

                .resume-link-box a:hover {
                    background: var(--accent);
                    color: #000;
                    transform: translateY(-2px);
                }

        /* Projects Section */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 32px;
            margin-top: 50px;
        }

        .project-card {
            background: rgba(17, 34, 64, 0.6);
            border: 1px solid rgba(100, 255, 218, 0.14);
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

            .project-card:hover {
                transform: translateY(-6px);
                border-color: var(--accent);
                box-shadow: 0 16px 36px rgba(100, 255, 218, 0.16);
            }

        .project-media {
            display: block;
            background: rgba(10, 25, 47, 0.85);
            border-bottom: 1px solid rgba(100, 255, 218, 0.1);
            aspect-ratio: 16 / 9;
            overflow: hidden;
        }

            .project-media img {
                width: 100%;
                height: 100%;
                display: block;
                object-fit: cover;
                transition: transform 0.35s ease;
            }

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

        .project-body {
            padding: 28px;
        }

        .project-kicker {
            color: var(--accent);
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.8rem;
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }

        .project-body h3 {
            color: var(--highlight);
            font-family: 'Orbitron', sans-serif;
            font-size: 1.45rem;
            margin-bottom: 12px;
        }

        .project-body p {
            color: var(--text-secondary);
            line-height: 1.75;
            margin-bottom: 18px;
        }

        .project-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 22px;
        }

            .project-tags span {
                background: rgba(100, 255, 218, 0.08);
                border: 1px solid rgba(100, 255, 218, 0.22);
                border-radius: 999px;
                color: var(--text-primary);
                font-family: 'JetBrains Mono', monospace;
                font-size: 0.78rem;
                padding: 6px 11px;
            }

        .project-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
        }

            .project-actions a {
                border: 1px solid var(--accent);
                border-radius: 7px;
                color: var(--accent);
                display: inline-flex;
                align-items: center;
                justify-content: center;
                min-height: 40px;
                padding: 9px 14px;
                text-decoration: none;
                transition: all 0.3s ease;
                font-weight: 600;
            }

            .project-actions a:hover {
                background: var(--accent);
                color: var(--primary);
                transform: translateY(-2px);
            }

        /* Project Detail Pages */
        .project-detail-header {
            position: relative;
            padding: 90px 0 40px;
            z-index: 1;
        }

        .project-detail-nav {
            display: flex;
            justify-content: space-between;
            gap: 20px;
            align-items: center;
            margin-bottom: 45px;
        }

            .project-detail-nav a {
                color: var(--accent);
                text-decoration: none;
                font-weight: 700;
            }

        .project-detail-title {
            max-width: 940px;
        }

            .project-detail-title h1 {
                margin-bottom: 18px;
            }

            .project-detail-title p {
                color: var(--text-secondary);
                font-size: 1.18rem;
                max-width: 800px;
                line-height: 1.75;
            }

        .project-hero-image {
            margin-top: 42px;
            border-radius: 14px;
            overflow: hidden;
            border: 1px solid rgba(100, 255, 218, 0.18);
            box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
        }

            .project-hero-image img {
                width: 100%;
                display: block;
            }

        .case-study-grid {
            display: grid;
            grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
            gap: 34px;
            align-items: start;
        }

        .case-panel {
            background: rgba(17, 34, 64, 0.55);
            border: 1px solid rgba(100, 255, 218, 0.12);
            border-radius: 12px;
            padding: 30px;
            margin-bottom: 24px;
        }

            .case-panel h2,
            .case-panel h3 {
                color: var(--accent);
                font-family: 'Orbitron', sans-serif;
                margin-bottom: 14px;
            }

            .case-panel p,
            .case-panel li {
                color: var(--text-secondary);
                line-height: 1.75;
            }

            .case-panel ul {
                padding-left: 20px;
            }

            .case-panel li {
                margin-bottom: 8px;
            }

        .case-screenshot-grid {
            display: grid;
            gap: 18px;
        }

            .case-screenshot-grid img {
                width: 100%;
                display: block;
                border-radius: 12px;
                border: 1px solid rgba(100, 255, 218, 0.12);
            }


        /* Skills Section */
        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .skill-category {
            background: rgba(17, 34, 64, 0.5);
            padding: 30px;
            border-radius: 12px;
            border: 1px solid rgba(100, 255, 218, 0.1);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

            .skill-category::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 3px;
                background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
                transform: scaleX(0);
                transform-origin: left;
                transition: transform 0.3s ease;
            }

            .skill-category:hover::before {
                transform: scaleX(1);
            }

            .skill-category:hover {
                border-color: var(--accent);
                transform: translateY(-5px);
                box-shadow: 0 10px 30px rgba(100, 255, 218, 0.2);
            }

            .skill-category h3 {
                font-family: 'Orbitron', sans-serif;
                color: var(--accent);
                margin-bottom: 15px;
                font-size: 1.3rem;
            }

        .skill-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .skill-tag {
            background: rgba(100, 255, 218, 0.1);
            color: var(--text-primary);
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-family: 'JetBrains Mono', monospace;
            border: 1px solid rgba(100, 255, 218, 0.2);
            transition: all 0.3s ease;
        }

            .skill-tag:hover {
                background: rgba(100, 255, 218, 0.2);
                border-color: var(--accent);
                transform: scale(1.05);
            }

        /* Certifications Section */
        .cert-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
            margin-top: 50px;
        }


        .cert-card {
            background: linear-gradient(135deg, rgba(100, 255, 218, 0.05), rgba(0, 212, 255, 0.05));
            padding: 25px;
            border-radius: 12px;
            border: 1px solid rgba(100, 255, 218, 0.2);
            transition: all 0.3s ease;
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }


            .cert-card::before {
                content: '✓';
                position: absolute;
                top: 20px;
                right: 20px;
                font-size: 1.5rem;
                color: var(--accent);
                opacity: 0.5;
            }

            .cert-card:hover {
                transform: translateY(-5px);
                border-color: var(--accent);
                box-shadow: 0 10px 30px rgba(100, 255, 218, 0.3);
            }

            .cert-card h3 {
                color: var(--accent);
                font-size: 1.1rem;
                margin-bottom: 8px;
                font-weight: 600;
            }

            .cert-card p {
                color: var(--text-secondary);
                font-size: 0.95rem;
            }


        .cert-link-box {
            margin-top: 25px;
            text-align: center;
        }


            .cert-link-box a {
                display: inline-block;
                padding: 8px 16px;
                font-size: 0.85rem;
                text-decoration: none;
                border-radius: 6px;
                border: 1px solid var(--accent);
                color: var(--accent);
                background: rgba(100, 255, 218, 0.05);
                transition: all 0.3s ease;
            }

                .cert-link-box a:hover {
                    background: var(--accent);
                    color: #000;
                    transform: translateY(-2px);
                }


        /* Experience Section */
        .experience-timeline {
            max-width: 900px;
            margin: 50px auto;
            position: relative;
        }

            .experience-timeline::before {
                content: '';
                position: absolute;
                left: 0;
                top: 0;
                bottom: 0;
                width: 2px;
                background: linear-gradient(180deg, var(--accent), var(--accent-secondary));
            }

        .experience-item {
            margin-bottom: 50px;
            padding-left: 40px;
            position: relative;
        }

            .experience-item::before {
                content: '';
                position: absolute;
                left: -6px;
                top: 8px;
                width: 14px;
                height: 14px;
                background: var(--accent);
                border-radius: 50%;
                box-shadow: 0 0 20px var(--accent);
            }

            .experience-item h3 {
                font-family: 'Orbitron', sans-serif;
                color: var(--accent);
                font-size: 1.5rem;
                margin-bottom: 5px;
            }

            .experience-item .role {
                color: var(--highlight);
                font-size: 1.2rem;
                font-weight: 600;
                margin-bottom: 5px;
            }

            .experience-item .date {
                color: var(--text-secondary);
                font-family: 'JetBrains Mono', monospace;
                font-size: 0.9rem;
                margin-bottom: 15px;
            }

            .experience-item .description {
                color: var(--text-secondary);
                line-height: 1.7;
                margin-bottom: 15px;
            }

        .tech-stack {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 15px;
        }

        .tech-item {
            background: rgba(100, 255, 218, 0.1);
            color: var(--accent);
            padding: 4px 12px;
            border-radius: 15px;
            font-size: 0.8rem;
            font-family: 'JetBrains Mono', monospace;
            border: 1px solid rgba(100, 255, 218, 0.3);
        }

        .experience-snapshot {
            max-width: 980px;
            margin: 50px auto 0;
            background: rgba(255, 255, 255, 0.86);
            border: 1px solid var(--line);
            border-radius: 12px;
            box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
            padding: 34px;
        }

        .experience-summary,
        .experience-note {
            color: var(--text-secondary);
            font-size: 1.05rem;
            line-height: 1.75;
            margin: 0 auto 24px;
            max-width: 820px;
            text-align: center;
        }

        .experience-companies {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 14px;
            margin: 28px 0;
        }

        .experience-company {
            background: #f8fafc;
            border: 1px solid var(--line);
            border-radius: 10px;
            padding: 16px;
        }

        .experience-company span {
            color: #111827;
            display: block;
            font-weight: 800;
            margin-bottom: 5px;
        }

        .experience-company strong {
            color: var(--text-secondary);
            display: block;
            font-size: 0.92rem;
            line-height: 1.4;
        }

        .experience-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            justify-content: center;
        }

        .experience-actions a {
            border: 1px solid var(--line);
            border-radius: 999px;
            color: #111827;
            display: inline-flex;
            font-weight: 800;
            min-height: 44px;
            padding: 11px 18px;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .experience-actions a:first-child {
            background: #111827;
            border-color: #111827;
            color: #ffffff;
        }

        .experience-actions a:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
        }

        /* Contact Section */
        .contact-section {
            text-align: center;
            padding: 80px 0;
        }

        .contact-buttons {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 40px;
        }

        .cta-button {
            padding: 15px 40px;
            font-size: 1.1rem;
            font-weight: 600;
            text-decoration: none;
            border-radius: 8px;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-family: 'Syne', sans-serif;
        }

        .cta-primary {
            background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
            color: var(--primary);
            border: none;
            box-shadow: 0 5px 20px rgba(100, 255, 218, 0.3);
        }

            .cta-primary:hover {
                transform: translateY(-3px);
                box-shadow: 0 8px 30px rgba(100, 255, 218, 0.5);
            }

        .cta-secondary {
            background: transparent;
            color: var(--accent);
            border: 2px solid var(--accent);
        }

            .cta-secondary:hover {
                background: rgba(100, 255, 218, 0.1);
                transform: translateY(-3px);
            }

        /* Footer */
        footer {
            position: relative;
            text-align: center;
            padding: 40px 0;
            border-top: 1px solid rgba(100, 255, 218, 0.1);
            z-index: 1;
        }

            footer p {
                color: var(--text-secondary);
                font-size: 0.9rem;
            }

        /* Responsive */
        @media (max-width: 768px) {
            nav ul {
                gap: 20px;
            }

            .skills-grid,
            .cert-grid,
            .projects-grid,
            .case-study-grid {
                grid-template-columns: 1fr;
            }

            .project-body {
                padding: 22px;
            }

            .project-detail-nav {
                align-items: flex-start;
                flex-direction: column;
            }

            .experience-timeline::before {
                left: 10px;
            }

            .experience-item {
                padding-left: 35px;
            }

            .contact-info {
                flex-direction: column;
                align-items: center;
            }
        }

        /* Scroll reveal animation */
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

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

/* Light portfolio refresh */
:root {
    --primary: #f7f4ee;
    --secondary: #ffffff;
    --accent: #2563eb;
    --accent-secondary: #0f766e;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --highlight: #0f172a;
    --surface: #ffffff;
    --surface-soft: #f2efe8;
    --line: #d8d2c5;
    --shadow: 0 22px 60px rgba(15, 23, 42, 0.10);
}

body {
    background: #f8f6f1;
    color: var(--text-primary);
}

.grid-background {
    background-image: linear-gradient(rgba(17, 24, 39, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 24, 39, 0.035) 1px, transparent 1px);
    animation: none;
}

header {
    min-height: auto;
    padding: 110px 0 96px;
    background:
        radial-gradient(circle at 22% 26%, rgba(37, 99, 235, 0.08), transparent 32%),
        linear-gradient(180deg, #fbfaf7 0%, #f8f6f1 100%);
    border-bottom: 1px solid var(--line);
}

.header-content {
    display: grid;
    grid-template-columns: 260px minmax(0, 680px);
    gap: 56px;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.profile-picture {
    width: 220px;
    height: 220px;
    margin-right: 0;
    border: 6px solid #ffffff;
    box-shadow: var(--shadow);
    object-position: center center;
}

.profile-picture:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.16);
}

.header-text {
    text-align: left;
}

h1 {
    color: #111827;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: currentColor;
    background-clip: initial;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1;
}

.subtitle {
    color: var(--accent);
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
    letter-spacing: 0;
    margin-bottom: 14px;
}

.hero-summary {
    color: var(--text-secondary);
    font-size: 1.08rem;
    line-height: 1.75;
    max-width: 620px;
    margin-bottom: 18px;
}

.hero-focus-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.hero-focus-list span {
    background: #eef5ff;
    border: 1px solid #c7dcff;
    border-radius: 999px;
    color: #1e3a8a;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    padding: 7px 11px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.hero-actions a {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-weight: 800;
    min-height: 44px;
    padding: 11px 18px;
    text-decoration: none;
}

.hero-actions a:first-child {
    background: #111827;
    color: #ffffff;
}

.hero-actions a:last-child {
    background: #ffffff;
    border: 1px solid var(--line);
    color: #111827;
}

.contact-info {
    justify-content: flex-start;
    gap: 12px;
    margin-top: 0;
}

.contact-item {
    background: #ffffff;
    border: 1px solid var(--line);
    color: #1f2937;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.contact-item:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
}

nav {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

nav a {
    color: #1f2937;
}

nav a::after {
    background: var(--accent);
}

nav a:hover {
    color: var(--accent);
}

section {
    background: transparent;
    text-align: center;
}

.section-title {
    color: #111827;
    letter-spacing: 0;
    text-transform: none;
}

section > .container > :not(.section-title) {
    text-align: initial;
}

.section-title::before {
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
}

.about-content,
.skill-category,
.cert-card,
.project-card,
.case-panel {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--line);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
    backdrop-filter: blur(12px);
}

.about-content p,
.project-body p,
.cert-card p,
.experience-item .description,
.case-panel p,
.case-panel li {
    color: var(--text-secondary);
}

.about-content strong,
.experience-item .role {
    color: #111827;
}

.resume-link-box a,
.cert-link-box a,
.project-actions a,
.cta-secondary {
    background: #ffffff;
    border: 1px solid var(--line);
    color: #111827;
}

.resume-link-box a:hover,
.cert-link-box a:hover,
.project-actions a:hover,
.cta-secondary:hover {
    background: #111827;
    color: #ffffff;
    border-color: #111827;
}

.skill-category::before {
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
}

.skill-category:hover,
.cert-card:hover,
.project-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 24px 58px rgba(37, 99, 235, 0.12);
}

.skill-category h3,
.cert-card h3,
.experience-item h3,
.case-panel h2,
.case-panel h3,
.project-kicker {
    color: var(--accent);
}

.skill-tag,
.tech-item,
.project-tags span {
    background: #eef5ff;
    border: 1px solid #c7dcff;
    color: #1e3a8a;
}

.project-media {
    background: #f8fafc;
    border-bottom: 1px solid var(--line);
}

.project-body h3 {
    color: #111827;
    letter-spacing: 0;
}

.experience-timeline::before {
    background: linear-gradient(180deg, var(--accent), var(--accent-secondary));
}

.experience-item::before {
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.10);
}

.experience-item .date {
    color: #64748b;
}

.cta-primary {
    background: #111827;
    color: #ffffff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
}

.cta-primary:hover {
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.22);
}

footer {
    background: #ffffff;
    border-top: 1px solid var(--line);
}

footer p {
    color: #64748b;
}

.project-detail-header {
    background:
        linear-gradient(90deg, rgba(248, 246, 241, 0.96), rgba(248, 246, 241, 0.80)),
        url("/assets/img/projects/docchat-answer.png") center right / 760px auto no-repeat;
    border-bottom: 1px solid var(--line);
    min-height: 0;
}

.falcon-detail .project-detail-header {
    background:
        linear-gradient(90deg, rgba(248, 246, 241, 0.96), rgba(248, 246, 241, 0.80)),
        url("/assets/img/projects/falconfood-customer.png") center right / 760px auto no-repeat;
}

.project-detail-nav a {
    color: #111827;
}

.project-detail-title p {
    color: var(--text-secondary);
}

.project-detail-title .project-kicker {
    color: var(--accent);
}

.project-hero-image {
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.case-study-grid {
    align-items: start;
}

.case-screenshot-grid img {
    border: 1px solid var(--line);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

@media (max-width: 980px) {
    header {
        background: #f8f6f1;
    }

    .header-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-picture {
        justify-self: center;
    }

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

    .hero-summary {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions,
    .contact-info,
    .hero-focus-list {
        justify-content: center;
    }

}

@media (max-width: 768px) {
    header {
        padding: 56px 0 48px;
    }

    .profile-picture {
        width: 150px;
        height: 150px;
    }

    .hero-actions a,
    .contact-item {
        width: 100%;
        justify-content: center;
    }

    nav {
        padding: 14px 0;
    }

    nav ul {
        gap: 14px;
    }

    .section-title {
        display: block;
        font-size: clamp(1.65rem, 8vw, 2.15rem);
        line-height: 1.15;
        margin-left: auto;
        margin-right: auto;
        padding: 0 6px;
        width: fit-content;
    }
}
