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

:root {
    --navy: #0D1B2A;
    --cyan: #00C2E0;
    --cyan-dim: #0090A8;
    --slate: #8892A4;
    --white: #F0F4F8;
    --card: #1A2A3A;
    --border: #243447;
    --green: #3DD68C;
    --amber: #F5A623;
    --font-head: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

body {
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(8px);
    z-index: 10;
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--cyan);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--slate);
    text-decoration: none;
    font-size: 13px;
    font-family: var(--font-mono);
    transition: color .2s;
}

.nav-links a:hover {
    color: var(--cyan);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--cyan);
    transition: transform .2s, opacity .2s;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 640px) {
    .nav-toggle {
        display: flex;
    }

    .nav-logo {
        font-size: 11px;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: var(--navy);
        border-bottom: 1px solid var(--border);
        max-height: 0;
        overflow: hidden;
        transition: max-height .25s ease;
    }

    .nav-links.open {
        max-height: 240px;
    }

    .nav-links a {
        padding: .9rem 2rem;
        border-top: 1px solid var(--border);
    }

    .hero {
        padding: 4rem 1.25rem 3rem;
    }

    .typewriter-line {
        font-size: clamp(1rem, 5.5vw, 1.6rem);
    }
}

.hero {
    padding: 5rem 2rem 4rem;
    max-width: 860px;
    margin: 0 auto;
}

.terminal-bar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: .5rem 1rem;
    margin-bottom: 2rem;
}

.t-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.t-dot.r {
    background: #FF5F57;
}

.t-dot.y {
    background: #FFBD2E;
}

.t-dot.g {
    background: #28CA41;
}

.t-cmd {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--slate);
    margin-left: 6px;
}

.t-cmd span {
    color: var(--cyan);
}

.typewriter-line {
    font-family: var(--font-mono);
    font-size: clamp(1.4rem, 3vw, 2.4rem);
    color: var(--white);
    line-height: 1.6;
    height: 1.6em;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    background: var(--cyan);
    animation: blink 1s step-end infinite;
    margin-left: 2px;
    flex-shrink: 0;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--slate);
    margin: .8rem 0 2rem;
    max-width: 600px;
    line-height: 1.7;
}

.hero-sub strong {
    color: var(--white);
}

/* Badges section */

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 2.5rem;
}

.badge {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: .3rem .7rem;
    border-radius: 4px;
    border: 1px solid;
    cursor: default;
}

.badge.cyan {
    color: var(--cyan);
    border-color: var(--cyan-dim);
    background: rgba(0, 194, 224, 0.06);
}

.badge.green {
    color: var(--green);
    border-color: rgba(61, 214, 140, .3);
    background: rgba(61, 214, 140, 0.06);
}

.badge.amber {
    color: var(--amber);
    border-color: rgba(245, 166, 35, .3);
    background: rgba(245, 166, 35, 0.06);
}

.cta-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Button section */

.btn {
    font-family: var(--font-mono);
    font-size: 12px;
    padding: .6rem 1.4rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all .2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--cyan);
    color: var(--navy);
    font-weight: 700;
}

.btn-primary:hover {
    background: #00D4FF;
}

.btn-ghost {
    background: transparent;
    color: var(--cyan);
    border: 1px solid var(--cyan-dim);
}

.btn-ghost:hover {
    background: rgba(0, 194, 224, 0.08);
}

/* Section/Divider section */

section {
    max-width: 860px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.sec-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--cyan);
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: .5rem;
}

.sec-title {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--white);
}

.divider {
    border: none;
    border-top: 1px solid var(--border);
    max-width: 860px;
    margin: 0 auto;
}

/* Experience section */

.exp-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 1.5rem;
}

.exp-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: -2rem;
    width: 1px;
    background: var(--border);
}

.exp-item::after {
    content: '';
    position: absolute;
    left: -4px;
    top: 6px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--cyan);
    border: 2px solid var(--navy);
}

.exp-item:last-child::before {
    display: none;
}

.exp-header {
    margin-bottom: .5rem;
}

.exp-title {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
}

.exp-co {
    color: var(--cyan);
    font-size: .9rem;
}

.exp-meta {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--slate);
    margin-top: 2px;
}

.exp-body {
    color: var(--slate);
    font-size: .9rem;
    line-height: 1.65;
}

.exp-body li {
    margin: .3rem 0 .3rem 1rem;
}

.exp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .7rem;
}

.exp-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    padding: .2rem .5rem;
    border-radius: 3px;
    background: rgba(0, 194, 224, 0.08);
    color: var(--cyan-dim);
    border: 1px solid rgba(0, 194, 224, 0.15);
}

/* Skills section */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.skill-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem;
}

.skill-card-title {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--cyan);
    margin-bottom: .8rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.skill-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.skill-pill {
    font-size: 12px;
    padding: .25rem .6rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 1px solid var(--border);
}

.skill-crc {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--slate);
    margin-top: 1rem;
}

/* Cert section */

.cert-row {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: .5rem;
}

.cert {
    text-decoration: none;
    cursor: pointer;
    transition: border-color .15s ease;
    display: flex;
    align-items: center;
    gap: .6rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: .7rem 1rem;
}

.cert:hover {
    border-color: var(--cyan);
}

.cert-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.cert-icon.aws {
    background: rgba(245, 166, 35, .15);
    color: var(--amber);
}

.cert-icon.itil {
    background: rgba(0, 194, 224, .1);
    color: var(--cyan);
}

.cert-icon.pmp {
    background: rgba(61, 214, 140, .1);
    color: var(--green);
}

.cert-text {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--white);
}

.cert-text span {
    display: block;
    color: var(--slate);
    font-size: 10px;
    margin-top: 1px;
}

.school-outer {
    margin-top: 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem
}

.degree {
    font-family: var(--font-head);
    font-weight: 700;
    margin-bottom: .3rem
}

.school-name {
    color: var(--cyan);
    font-size: .9rem;
}

.school-graduation {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--slate);
    margin-top: .3rem
}

/* CRC section */

.crc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.crc-step {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem;
    position: relative;
}

.crc-step.done {
    border-color: rgba(61, 214, 140, .3);
}

.crc-step.active {
    border-color: rgba(0, 194, 224, .4);
}

.crc-num {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--slate);
    margin-bottom: .4rem;
}

.crc-name {
    font-family: var(--font-head);
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: .3rem;
}

.crc-desc {
    font-size: .8rem;
    color: var(--slate);
    line-height: 1.5;
}

.crc-status {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px;
    padding: .15rem .5rem;
    border-radius: 3px;
    margin-top: .6rem;
}

.crc-live {
    font-family: var(--font-mono);
    font-size: .75rem;
    color: var(--cyan);
    margin-top: .4rem;
}

.status-done {
    background: rgba(61, 214, 140, .12);
    color: var(--green);
    border: 1px solid rgba(61, 214, 140, .3);
}

.status-active {
    background: rgba(0, 194, 224, .1);
    color: var(--cyan);
    border: 1px solid rgba(0, 194, 224, .3);
}

.status-todo {
    background: rgba(136, 146, 164, .1);
    color: var(--slate);
    border: 1px solid var(--border);
}

.desc-crc {
    color: var(--slate);
    font-size: .9rem;
    margin-bottom: 1.5rem;
}

.cyan {
    color: var(--cyan);
}

/* Footer section */

footer {
    text-align: center;
    padding: 2rem;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--slate);
    border-top: 1px solid var(--border);
}

footer a {
    color: var(--cyan);
    text-decoration: none;
}