/* ═══════════════════════════════════════════
   ROOT & RESET
═══════════════════════════════════════════ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* ── Light Warm Palette ── */
    --bg: #f0ebe3;
    /* warm cream parchment */
    --bg2: #e8e1d8;
    /* slightly darker section bg */
    --bg3: #ede7dc;
    --surface: #faf7f4;
    /* card background — soft warm white */
    --surface2: #ede5d8;
    /* tag / chip backgrounds */
    --border: rgba(120, 90, 50, 0.14);
    --border-hover: rgba(77, 124, 181, 0.5);

    /* ── Accent Colors (same brand, adapted for light) ── */
    --accent: #2563eb;
    /* strong blue */
    --accent2: #6d28d9;
    /* deep violet */
    --accent3: #059669;
    /* emerald green */

    /* ── Text ── */
    --text: #1e1a14;
    /* rich dark brown-black */
    --text-muted: #5a5043;
    /* warm gray-brown */
    --text-faint: #a89880;
    /* very faint warm tone */

    --danger: #dc2626;
    --font-mono: 'JetBrains Mono', monospace;
    --font-sans: 'Inter', sans-serif;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glow-accent: 0 4px 24px rgba(37, 99, 235, 0.10), 0 1px 4px rgba(37, 99, 235, 0.06);
    --shadow-card: 0 2px 12px rgba(30, 26, 20, 0.07), 0 1px 3px rgba(30, 26, 20, 0.04);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    overflow-x: hidden;
    cursor: auto;
    line-height: 1.6;
}

body.loaded #loader {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-100%);
}

::selection {
    background: rgba(37, 99, 235, 0.18);
    color: var(--text);
}

/* ═══════════════════════════════════════════
   SCROLLBAR
═══════════════════════════════════════════ */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--bg2);
}

::-webkit-scrollbar-thumb {
    background: var(--accent2);
    border-radius: 10px;
}

/* ═══════════════════════════════════════════
   LOADER
═══════════════════════════════════════════ */
#loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.loader-inner {
    text-align: center;
}

.loader-text {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--accent);
    letter-spacing: 0.3em;
    display: block;
    margin-bottom: 20px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0
    }
}

.dots {
    animation: blink 1s infinite;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: var(--surface2);
    border-radius: 10px;
    overflow: hidden;
}

.loader-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    border-radius: 10px;
    animation: fill 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fill {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

/* ═══════════════════════════════════════════
   CURSOR — dot only, no ring
═══════════════════════════════════════════ */
#cursor-dot {
    display: none;
}

/* just use system cursor */

/* ═══════════════════════════════════════════
   NOISE CANVAS
═══════════════════════════════════════════ */
#noise-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.018;
}

/* ═══════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 4rem;
    transition: var(--transition);
}

#navbar.scrolled {
    background: rgba(240, 235, 227, 0.88);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 16px rgba(30, 26, 20, 0.06);
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.05em;
}

.logo-bracket {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: width var(--transition);
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-muted);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--surface);
    border-left: 1px solid var(--border);
    z-index: 999;
    padding: 6rem 2rem 2rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 32px rgba(30, 26, 20, 0.1);
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-link {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--text-muted);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color var(--transition);
}

.mobile-link:hover {
    color: var(--accent);
}

/* ═══════════════════════════════════════════
   CONTAINERS & SECTIONS
═══════════════════════════════════════════ */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 7rem 0;
    position: relative;
    z-index: 1;
}

section:nth-child(even) {
    background: var(--bg2);
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2.5rem;
    letter-spacing: -0.02em;
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
#hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 6rem 4rem 4rem;
    gap: 4rem;
    position: relative;
    overflow: hidden;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(100px);
}

.glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(109, 40, 217, 0.1) 0%, transparent 70%);
    top: -100px;
    left: -100px;
}

.glow-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.1) 0%, transparent 70%);
    bottom: -80px;
    right: 10%;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent3);
    border: 1px solid rgba(5, 150, 105, 0.35);
    border-radius: 100px;
    padding: 6px 14px;
    margin-bottom: 1.5rem;
    background: rgba(5, 150, 105, 0.08);
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: var(--accent3);
    border-radius: 50%;
    animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.5);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(5, 150, 105, 0);
    }
}

.hero-name {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.95;
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
}

.name-line {
    display: block;
    color: var(--text);
}

.name-line.accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 60%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-family: var(--font-mono);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: var(--accent);
    margin-bottom: 1rem;
    height: 1.6em;
}

.cursor-blink {
    animation: blink 0.8s step-end infinite;
}

.hero-sub {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition);
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.45);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid rgba(30, 26, 20, 0.25);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(37, 99, 235, 0.06);
    transform: translateY(-2px);
}

/* Hero stats */
.hero-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.stat-card {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.stat-card:hover {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: var(--glow-accent);
    transform: translateY(-2px);
}

.stat-num {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 2px;
}

/* Terminal */
.hero-terminal {
    position: relative;
    z-index: 2;
    background: #1e1a14;
    /* terminal stays dark for contrast */
    border: 1px solid rgba(30, 26, 20, 0.15);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(30, 26, 20, 0.18), var(--glow-accent);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.9rem 1.2rem;
    background: #2a2420;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.t-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.t-dot.red {
    background: #ff5f57;
}

.t-dot.yellow {
    background: #febc2e;
}

.t-dot.green {
    background: #28c840;
}

.t-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 6px;
}

.terminal-body {
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    line-height: 2;
    color: #e2d9c8;
}

.t-line {
    display: block;
    opacity: 0;
    animation: fadeIn 0.2s forwards;
}

.t-prompt {
    color: #63b3ed;
    margin-right: 8px;
}

.t-cmd {
    color: #e2d9c8;
}

.t-output {
    color: #2cb67d;
    padding-left: 1.5rem;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.t-cursor-term {
    display: inline-block;
    width: 8px;
    color: #63b3ed;
    animation: blink 1s step-end infinite;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-faint), transparent);
    animation: scrollAnim 1.5s ease infinite;
}

@keyframes scrollAnim {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    40% {
        transform: scaleY(1);
        transform-origin: top;
    }

    60% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* ═══════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.about-text strong {
    color: var(--text);
}

.about-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.chip {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 5px 14px;
    border-radius: 100px;
    border: 1px solid var(--border);
    color: var(--text-muted);
    background: var(--surface);
    transition: var(--transition);
}

.chip:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(37, 99, 235, 0.06);
}

/* Education */
.edu-heading {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    font-family: var(--font-mono);
}

.edu-timeline {
    position: relative;
}

.edu-item {
    display: flex;
    gap: 1.2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.edu-item:hover {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: var(--glow-accent);
    transform: translateX(4px);
}

.edu-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.edu-degree {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.edu-inst {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.edu-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.edu-year {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-faint);
    background: var(--surface2);
    padding: 3px 10px;
    border-radius: 100px;
}

.edu-cgpa {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--accent3);
    background: rgba(5, 150, 105, 0.1);
    border: 1px solid rgba(5, 150, 105, 0.25);
    padding: 3px 10px;
    border-radius: 100px;
}

.edu-connector {
    width: 1px;
    height: 1.5rem;
    background: var(--border);
    margin: 0.5rem 0 0.5rem 1.5rem;
}

/* ═══════════════════════════════════════════
   SKILLS
═══════════════════════════════════════════ */
.skills-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.skill-category {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.skill-category:hover {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: var(--glow-accent);
}

.skill-cat-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
    color: var(--text);
    font-size: 0.9rem;
}

.skill-cat-icon {
    width: 36px;
    height: 36px;
    background: var(--surface2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-cat-icon svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: var(--transition);
    cursor: default;
}

.skill-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(37, 99, 235, 0.07);
    transform: translateY(-2px);
}

.skill-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
}

.java {
    background: #e76f51;
    color: #fff;
}

.python {
    background: #3572A5;
    color: #fff;
}

.cpp {
    background: #00599C;
    color: #fff;
}

.skill-icon {
    font-size: 1rem;
}

/* Proficiency bars */
.prof-heading {
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-mono);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.prof-bars {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.prof-bar-label {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.prof-bar-track {
    height: 5px;
    background: var(--surface2);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.prof-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    border-radius: 10px;
    width: 0;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.prof-bar-fill.animate {
    width: var(--w);
}

/* ═══════════════════════════════════════════
   PROJECTS
═══════════════════════════════════════════ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all var(--transition);
}

.project-card:hover {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 12px 40px rgba(30, 26, 20, 0.12), var(--glow-accent);
    transform: translateY(-6px);
}

.project-card-inner {
    padding: 2rem;
}

.project-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.2rem;
}

.project-icon {
    font-size: 2.2rem;
}

.project-links {
    display: flex;
    gap: 0.75rem;
}

.proj-link {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--surface2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.proj-link svg {
    width: 16px;
    height: 16px;
}

.proj-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(37, 99, 235, 0.07);
}

.project-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.project-desc {
    font-size: 0.87rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.project-points {
    list-style: none;
    margin-bottom: 1.5rem;
}

.project-points li {
    font-size: 0.82rem;
    color: var(--text-muted);
    padding: 0.35rem 0;
    padding-left: 1.2rem;
    border-left: 2px solid var(--border);
    margin-bottom: 4px;
    transition: border-color var(--transition);
}

.project-card:hover .project-points li {
    border-left-color: var(--accent);
}

.project-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.stack-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    padding: 4px 12px;
    border-radius: 6px;
}

.project-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.project-category {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    padding: 4px 12px;
    border-radius: 100px;
}

.project-category.security {
    background: rgba(220, 38, 38, 0.07);
    border: 1px solid rgba(220, 38, 38, 0.2);
    color: #b91c1c;
}

.project-category.systems {
    background: rgba(109, 40, 217, 0.07);
    border: 1px solid rgba(109, 40, 217, 0.2);
    color: #6d28d9;
}

.project-category.web {
    background: rgba(16, 185, 129, 0.07);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #059669;
}

/* ═══════════════════════════════════════════
   ACHIEVEMENTS
═══════════════════════════════════════════ */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
    margin-bottom: 4rem;
}

.ach-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.ach-card:hover {
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-3px);
    box-shadow: var(--glow-accent);
}

.ach-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.ach-issuer {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.ach-title {
    font-size: 0.87rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 8px;
}

.ach-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    padding: 3px 10px;
    border-radius: 100px;
    background: rgba(5, 150, 105, 0.1);
    border: 1px solid rgba(5, 150, 105, 0.25);
    color: var(--accent3);
}

/* CP Section */
.cp-heading {
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-mono);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.cp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
}

.cp-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.cp-card:hover {
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-3px);
    box-shadow: var(--glow-accent);
}

.cp-platform {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.cp-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
}

.lc {
    background: linear-gradient(135deg, #f89c26, #e87c15);
    color: #fff;
}

.cf {
    background: linear-gradient(135deg, #1f8dd6, #1565c0);
    color: #fff;
}

.pdeu {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff;
}

.cp-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
#contact {
    padding-bottom: 8rem;
}

.contact-sub {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: -1.5rem;
    margin-bottom: 3rem;
    max-width: 480px;
    line-height: 1.7;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.2rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.contact-item:hover {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: var(--glow-accent);
    transform: translateX(4px);
}

.contact-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--surface2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.contact-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.contact-val {
    font-size: 0.87rem;
    color: var(--text);
    text-decoration: none;
    transition: color var(--transition);
}

a.contact-val:hover {
    color: var(--accent);
}

/* Form */
.contact-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-card);
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 0.87rem;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-faint);
}

.form-submit {
    width: 100%;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.form-note {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-faint);
    text-align: center;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
#footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 2.5rem 4rem;
    position: relative;
    z-index: 1;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-copy {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-faint);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

/* ═══════════════════════════════════════════
   REVEAL ANIMATIONS
═══════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════
   AWARDS & SCHOLARSHIPS BOX
═══════════════════════════════════════════ */
.awards-box {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.awards-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.awards-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.awards-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.award-icon {
    font-size: 1.1rem;
    line-height: 1.3;
}

.award-desc {
    display: block;
    font-size: 0.75rem;
    color: var(--text-faint);
    font-family: var(--font-mono);
    margin-top: 2px;
}

/* ═══════════════════════════════════════════
   WORK EXPERIENCE SECTION
═══════════════════════════════════════════ */
.exp-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.exp-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    transition: all var(--transition);
    position: relative;
}

.exp-card:hover {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 12px 40px rgba(30, 26, 20, 0.1), var(--glow-accent);
    transform: translateY(-4px);
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.exp-company {
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.01em;
}

.exp-domain {
    display: inline-block;
    margin-left: 8px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-faint);
    background: var(--surface2);
    padding: 2px 8px;
    border-radius: 4px;
}

.exp-role {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-top: 4px;
}

.exp-date {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--accent3);
    background: rgba(5, 150, 105, 0.09);
    border: 1px solid rgba(5, 150, 105, 0.25);
    padding: 5px 14px;
    border-radius: 100px;
    white-space: nowrap;
}

.exp-skills-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.exp-skill-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    background: var(--surface2);
    border: 1px solid var(--border);
    padding: 3px 10px;
    border-radius: 6px;
    transition: var(--transition);
}

.exp-card:hover .exp-skill-tag {
    border-color: rgba(37, 99, 235, 0.3);
    color: var(--accent);
}

.exp-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.exp-bullets li {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    position: relative;
    padding-left: 1.4rem;
}

.exp-bullets li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 1rem;
    line-height: 1.5;
}

/* ═══════════════════════════════════════════
   PROJECT META & EXTRA TAGS
═══════════════════════════════════════════ */
.project-meta-top {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
}

.project-date {
    color: var(--accent);
}

.project-mentor {
    color: var(--text-faint);
}

.project-category.ai {
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.25);
    color: var(--accent);
}

/* ═══════════════════════════════════════════
   ACHIEVEMENTS EXTRA STYLES
═══════════════════════════════════════════ */
.ach-meta-score {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent3);
    margin-bottom: 6px;
}

.ach-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 10px;
}

.ach-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.ach-skills span {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 2px 8px;
    border-radius: 4px;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    #hero {
        grid-template-columns: 1fr;
        padding: 7rem 2rem 4rem;
        gap: 3rem;
    }

    .hero-terminal {
        max-width: 480px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    #navbar {
        padding: 1.2rem 2rem;
    }
}

@media (max-width: 768px) {
    #navbar {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .skills-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-name {
        font-size: clamp(2.8rem, 12vw, 4rem);
    }

    #hero {
        padding: 6rem 1.5rem 4rem;
    }

    .hero-stats {
        gap: 0.75rem;
    }

    .stat-card {
        padding: 0.75rem 1rem;
    }

    .exp-card {
        padding: 1.5rem;
    }

    #footer {
        padding: 2rem 1.5rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    section {
        padding: 5rem 0;
    }
}

@media (max-width: 480px) {
    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .cp-grid {
        grid-template-columns: 1fr;
    }

    .skills-wrapper {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
    }
}