:root {
    --bg: #f7f9fc;
    --bg-soft: #eef4ff;
    --text: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --primary: #2454ff;
    --primary-dark: #1738b8;
    --primary-soft: #eef3ff;
    --card: #ffffff;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--bg);
    font-size: 16px;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

/* ─── NAVBAR ─────────────────────────────────────────── */

.enterprise-navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.enterprise-navbar .navbar-brand {
    color: var(--text);
    letter-spacing: -0.03em;
    font-weight: 700;
}

.enterprise-navbar .nav-link {
    color: #334155;
    font-weight: 600;
    font-size: 0.94rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.enterprise-navbar .nav-link:hover,
.enterprise-navbar .nav-link.nav-linkedin:hover {
    color: var(--primary);
}

.nav-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #334155;
    font-weight: 600;
    font-size: 0.94rem;
}

/* ─── BUTTONS ────────────────────────────────────────── */

.btn {
    border-radius: 999px;
    font-weight: 700;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(36, 84, 255, 0.22);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-light {
    border-color: rgba(36, 84, 255, 0.28);
    color: var(--primary);
    background: #fff;
}

.btn-outline-light:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn-outline-primary {
    border-color: rgba(36, 84, 255, 0.35);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ─── LABELS / KICKERS ───────────────────────────────── */

.eyebrow,
.section-kicker,
.card-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    background: rgba(36, 84, 255, 0.08);
    border: 1px solid rgba(36, 84, 255, 0.16);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 800;
}

/* ─── HERO ───────────────────────────────────────────── */

.hero-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(36, 84, 255, 0.12), transparent 36%),
        radial-gradient(circle at bottom left, rgba(97, 157, 255, 0.15), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f5f8ff 52%, #eef4ff 100%);
    color: var(--text);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(36, 84, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(36, 84, 255, 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, black 30%, transparent);
    opacity: 0.7;
}

.hero-title {
    max-width: 820px;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text);
}

.hero-text {
    max-width: 640px;
    color: var(--muted);
    line-height: 1.75;
}

/* tech line */
.tech-line {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-line span {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 5px 14px;
    letter-spacing: 0.02em;
    backdrop-filter: blur(8px);
}

/* metrics */
.hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-metrics div {
    min-width: 130px;
    padding: 16px 20px;
    border: 1px solid rgba(36, 84, 255, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.hero-metrics strong {
    display: block;
    font-size: 1.7rem;
    line-height: 1;
    color: var(--primary);
    letter-spacing: -0.03em;
}

.hero-metrics span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.85rem;
}

/* hero card */
.enterprise-card,
.hero-card,
.cta-box {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.07);
}

.hero-card {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(36, 84, 255, 0.14);
    backdrop-filter: blur(18px);
    padding: 34px;
    color: var(--text);
}

.hero-card h2,
.enterprise-card h2,
.cta-box h2 {
    margin-top: 18px;
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--text);
    line-height: 1.25;
}

.enterprise-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.enterprise-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 12px;
    color: #475569;
    font-size: 0.95rem;
}

.enterprise-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--primary);
}

/* ─── SECTIONS ───────────────────────────────────────── */

.section-padding {
    padding: 110px 0;
}

.section-dark {
    background:
        radial-gradient(circle at top left, rgba(36, 84, 255, 0.08), transparent 32%),
        linear-gradient(135deg, #f8faff 0%, #f1f5fd 100%);
    color: var(--text);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-title {
    margin-top: 16px;
    font-weight: 800;
    letter-spacing: -0.03em;
    font-size: clamp(1.85rem, 3.5vw, 3rem);
    color: var(--text);
    line-height: 1.15;
}

.section-description {
    margin-top: 18px;
    max-width: 820px;
    color: var(--muted);
    line-height: 1.75;
    font-size: 1.05rem;
}

/* ─── WHAT I DO / SERVICE CARDS ──────────────────────── */

.service-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
    padding: 28px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.10);
}

.service-icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.06rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 10px;
}

.service-card p {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 0.94rem;
}

/* ─── PROJECTS ───────────────────────────────────────── */

.projects-section {
    background: #fff;
}

.project-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
    padding: 36px;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.project-card:hover {
    transform: translateY(-3px);
    border-color: rgba(36, 84, 255, 0.28);
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.09);
}

.project-card-hero {
    border-color: rgba(36, 84, 255, 0.16);
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.project-hero-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 14px;
}

.project-small-title {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text);
    margin-bottom: 12px;
}

.project-summary {
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 18px;
    font-size: 0.97rem;
}

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

.project-tag {
    font-size: 0.77rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-soft);
    border: 1px solid rgba(36, 84, 255, 0.14);
    border-radius: 999px;
    padding: 4px 12px;
    letter-spacing: 0.01em;
}

.project-type {
    background: var(--primary-soft);
    color: var(--primary);
    border: 1px solid rgba(36, 84, 255, 0.14);
    font-size: 0.77rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
}

.project-period {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    font-size: 0.77rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
}

.project-now {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    font-size: 0.77rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.technology-box {
    padding: 14px 18px;
    border-radius: 16px;
    background: #f8faff;
    border: 1px solid #dde8f5;
    color: #334155;
    font-size: 0.91rem;
}

.project-highlights-label {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--muted);
    margin-bottom: 14px;
}

.project-highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.project-highlights-list li {
    position: relative;
    padding: 13px 16px 13px 40px;
    border: 1px solid #e8eef6;
    background: #fafcff;
    border-radius: 14px;
    color: #334155;
    font-size: 0.93rem;
    line-height: 1.55;
}

.project-highlights-list li::before {
    content: "";
    position: absolute;
    left: 17px;
    top: 21px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--primary);
}

/* ─── PRINCIPLES ─────────────────────────────────────── */

.principle-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.principle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.09);
}

.principle-number {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    color: var(--primary);
    background: var(--primary-soft);
    border: 1px solid rgba(36, 84, 255, 0.14);
    border-radius: 999px;
    padding: 4px 12px;
    margin-bottom: 18px;
}

.principle-card h4 {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 10px;
}

.principle-card p {
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ─── LIFECYCLE ──────────────────────────────────────── */

.lifecycle-section {
    background: #fff;
}

.lifecycle-track {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0;
    margin-top: 10px;
}

.lifecycle-step {
    flex: 1;
    min-width: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 12px;
    position: relative;
}

.lifecycle-dot {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: var(--primary);
    margin-bottom: 14px;
    box-shadow: 0 0 0 4px var(--primary-soft);
}

.lifecycle-label {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.015em;
    margin-bottom: 8px;
}

.lifecycle-desc {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.55;
    max-width: 130px;
}

.lifecycle-arrow {
    display: flex;
    align-items: center;
    padding-top: 34px;
    color: rgba(36, 84, 255, 0.35);
    font-size: 1.4rem;
    font-weight: 300;
    flex: 0 0 auto;
}

/* ─── TECHNOLOGY STACK ───────────────────────────────── */

.stack-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (min-width: 1200px) {
    .stack-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stack-group {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.stack-group-title {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 16px;
}

.stack-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.stack-item {
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 4px 12px;
}

/* ─── EXPERIENCE ─────────────────────────────────────── */

.experience-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 2px solid var(--line);
    padding-left: 0;
    margin-left: 0;
}

.experience-item {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 32px;
    padding: 32px 0 32px 32px;
    position: relative;
    border-left: 2px solid transparent;
    margin-left: -2px;
}

.experience-item::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 38px;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: var(--primary);
    border: 2px solid #fff;
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.experience-period {
    font-size: 0.83rem;
    font-weight: 700;
    color: var(--muted);
    padding-top: 3px;
    white-space: nowrap;
}

.experience-role {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.experience-company {
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 14px;
}

.experience-summary {
    color: #475569;
    font-size: 0.96rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.experience-tech {
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid var(--line);
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.6;
}

.experience-tech strong {
    color: var(--text);
}

.experience-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.experience-bullets li {
    position: relative;
    padding-left: 20px;
    color: #475569;
    font-size: 0.94rem;
    line-height: 1.6;
}

.experience-bullets li::before {
    content: "·";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: 900;
    font-size: 1.2rem;
    line-height: 1.4;
}

/* ─── ABOUT ──────────────────────────────────────────── */

.about-text p {
    color: #334155;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 18px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-subheading {
    margin-top: 28px;
    margin-bottom: 14px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}

.about-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.about-skill {
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 14px;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about-list li {
    position: relative;
    padding-left: 20px;
    color: #334155;
    font-size: 1rem;
    line-height: 1.65;
}

.about-list li::before {
    content: "·";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: 900;
    font-size: 1.2rem;
    line-height: 1.4;
}

.about-closing {
    font-weight: 600;
    color: var(--text) !important;
}

.about-availability {
    color: var(--primary) !important;
    font-weight: 700;
}

/* ─── EDUCATION ──────────────────────────────────────── */

.education-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 2px solid var(--line);
}

.education-item {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 32px;
    padding: 28px 0 28px 32px;
    position: relative;
    margin-left: -2px;
}

.education-item::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 34px;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: var(--primary);
    border: 2px solid #fff;
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.education-period {
    font-size: 0.83rem;
    font-weight: 700;
    color: var(--muted);
    padding-top: 3px;
    white-space: nowrap;
}

.education-degree {
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.education-school {
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--primary);
}

.cert-meta {
    font-size: 0.9rem;
    color: var(--muted);
}

.cert-meta a {
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.cert-meta a:hover {
    text-decoration: underline;
}

/* ─── CTA ────────────────────────────────────────────── */

.cta-section {
    padding: 100px 0;
    background:
        radial-gradient(circle at bottom right, rgba(36, 84, 255, 0.12), transparent 30%),
        linear-gradient(135deg, #f7f9fc 0%, #eef4ff 100%);
}

.cta-box {
    padding: 46px;
}

.cta-box p {
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 0;
    margin-top: 14px;
    font-size: 1.02rem;
}

/* ─── FOOTER ─────────────────────────────────────────── */

.site-footer {
    padding: 32px 0;
    background: #ffffff;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.site-footer strong {
    color: var(--text);
    display: block;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.footer-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.footer-links a {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.94rem;
}

.footer-links a:hover {
    color: var(--primary-dark);
}

/* ─── RESPONSIVE ─────────────────────────────────────── */

@media (max-width: 1199px) {
    .stack-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .section-padding {
        padding: 78px 0;
    }

    .hero-section .min-vh-100 {
        min-height: auto !important;
        padding-top: 120px !important;
    }

    .lifecycle-track {
        gap: 4px;
    }

    .lifecycle-arrow {
        padding-top: 28px;
        font-size: 1.1rem;
    }

    .experience-item {
        grid-template-columns: 1fr;
        gap: 6px;
        padding-left: 28px;
    }

    .education-item {
        grid-template-columns: 1fr;
        gap: 6px;
        padding-left: 28px;
    }

    .cta-box {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .stack-grid {
        grid-template-columns: 1fr;
    }

    .lifecycle-track {
        flex-direction: column;
        border-left: 2px solid var(--line);
        padding-left: 24px;
    }

    .lifecycle-step {
        align-items: flex-start;
        text-align: left;
        padding: 16px 0;
        flex-direction: row;
        gap: 16px;
        min-width: unset;
    }

    .lifecycle-dot {
        flex: 0 0 auto;
        margin-bottom: 0;
        margin-top: 2px;
    }

    .lifecycle-desc {
        max-width: none;
    }

    .lifecycle-arrow {
        display: none;
    }

    .footer-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-card,
    .enterprise-card,
    .project-card,
    .cta-box {
        padding: 22px;
        border-radius: 20px;
    }

    .hero-metrics div {
        width: 100%;
    }

    .experience-timeline {
        border-left-width: 2px;
    }

    .experience-item::before {
        left: -6px;
        top: 36px;
    }

    .education-item::before {
        left: -6px;
        top: 34px;
    }
}
