/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #07111f;
    color: #f5f7fb;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.container {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(7, 17, 31, 0.96);

    border-bottom: 1px solid #1b2a3c;

    backdrop-filter: blur(14px);
}

.nav-container {
    min-height: 72px;

    display: flex;
    align-items: center;

    gap: 24px;
}

.logo {
    font-size: 20px;
    font-weight: 800;

    white-space: nowrap;

    margin-right: auto;
}

.logo span {
    color: #3b82f6;
}

.nav-menu {
    display: flex;
    align-items: center;

    gap: 24px;
}

.nav-menu a {
    color: #9eacc0;

    font-size: 14px;

    white-space: nowrap;
}

.nav-menu a:hover {
    color: #ffffff;
}

.nav-actions {
    display: flex;
    align-items: center;

    gap: 12px;
}

.social-link {
    color: #9eacc0;

    font-size: 13px;

    white-space: nowrap;
}

.social-link:hover {
    color: #ffffff;
}

.theme-toggle {
    width: 36px;
    height: 36px;

    border: 1px solid #26374c;

    border-radius: 8px;

    background: #0d1a2a;

    color: #ffffff;

    cursor: pointer;
}

.menu-toggle {
    display: none;

    width: 40px;
    height: 40px;

    border: 1px solid #26374c;

    border-radius: 8px;

    background: #0d1a2a;

    color: #ffffff;

    cursor: pointer;
}


/* =========================================================
   SECTIONS
========================================================= */

.section {
    padding: 52px 0;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 36px;
}

.section-heading h2 {
    margin-top: 8px;

    font-size: clamp(30px, 4vw, 44px);

    line-height: 1.12;

    letter-spacing: -1px;
}

.section-heading > p:last-child {
    margin-top: 12px;

    color: #91a0b5;

    font-size: 16px;
}

.eyebrow {
    color: #4d9aff;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    padding-top: 88px;
    padding-bottom: 72px;
}

.hero-container {
    display: grid;

    grid-template-columns: 1.25fr 0.75fr;

    align-items: center;

    gap: 64px;
}

.hero-content h1 {
    margin-top: 12px;

    font-size: clamp(46px, 7vw, 78px);

    line-height: 0.98;

    letter-spacing: -3px;
}

.hero-content h2 {
    margin-top: 18px;

    color: #4d9aff;

    font-size: clamp(22px, 3vw, 30px);
}

.hero-description {
    max-width: 650px;

    margin-top: 22px;

    color: #a5b1c2;

    font-size: 17px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 28px;
}

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 22px;

    border-radius: 10px;

    font-weight: 700;
}

.btn-primary {
    background: #2864e8;

    color: #ffffff;
}

.btn-secondary {
    background: #0d1a2a;

    border: 1px solid #26374c;

    color: #ffffff;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 34px;

    margin-top: 36px;
}

.hero-meta div {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.hero-meta span {
    color: #718096;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
}

.hero-meta strong {
    color: #d9e1ec;

    font-size: 14px;
}

.hero-image-wrapper {
    display: flex;
    justify-content: flex-end;
}

.hero-image-card {
    width: min(350px, 100%);

    padding: 10px;

    background: #0d1a2a;

    border: 1px solid #23344a;

    border-radius: 18px;
}

.hero-image-card img {
    width: 100%;

    aspect-ratio: 1 / 1;

    object-fit: cover;

    border-radius: 12px;
}


/* =========================================================
   HOMEPAGE PROJECTS
========================================================= */

.projects-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 20px;
}

.project-card {
    min-width: 0;

    overflow: hidden;

    background: #0b1828;

    border: 1px solid #22334a;

    border-radius: 18px;
}

.home-project-image {
    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #101d2d;
}

.home-project-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.project-card-content {
    padding: 24px;
}

.project-number {
    display: block;

    margin-bottom: 12px;

    color: #4d9aff;

    font-size: 17px;
    font-weight: 800;
}

.project-card h3 {
    font-size: 21px;

    line-height: 1.25;
}

.project-card p {
    margin-top: 10px;

    color: #8f9eb2;

    font-size: 14px;
}

.project-link {
    display: inline-block;

    margin-top: 18px;

    color: #4d9aff;

    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   INFO CARDS
========================================================= */

.info-card,
.education-card {
    padding: 25px;

    background: #0b1828;

    border: 1px solid #22334a;

    border-radius: 16px;
}

.info-card h3,
.education-card h3 {
    font-size: 18px;
}

.info-card p {
    margin-top: 8px;

    color: #91a0b5;

    font-size: 14px;
}


/* =========================================================
   SKILLS
========================================================= */

.skills-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 18px;
}

.skill-tags span {
    padding: 7px 11px;

    background: #101f32;

    border: 1px solid #263b54;

    border-radius: 7px;

    color: #b9c5d5;

    font-size: 12px;
}


/* =========================================================
   ABOUT
========================================================= */

.about-grid {
    display: grid;

    grid-template-columns: 1.25fr 0.75fr;

    gap: 24px;

    align-items: start;
}

.about-text {
    color: #9caabd;

    font-size: 16px;
}

.about-text p + p {
    margin-top: 15px;
}

.card-label {
    margin-bottom: 12px;

    color: #4d9aff;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.education-card p:not(.card-label) {
    margin-top: 10px;

    color: #9caabd;
}

.education-card > span {
    display: inline-block;

    margin-top: 14px;

    color: #4d9aff;

    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   CERTIFICATIONS
========================================================= */

.certifications-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 16px;
}


/* =========================================================
   RESUME
========================================================= */

.resume-section {
    padding-top: 52px;
    padding-bottom: 52px;
}

.resume-card {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 42px 46px;

    background: #0b1828;

    border: 1px solid #22334a;

    border-radius: 20px;
}

.resume-card h2 {
    margin-top: 9px;

    font-size: clamp(30px, 4vw, 44px);
}

.resume-card > div > p:last-child {
    margin-top: 12px;

    color: #91a0b5;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 16px;
}

.contact-card {
    display: flex;

    flex-direction: column;

    gap: 5px;

    padding: 22px 24px;

    background: #0b1828;

    border: 1px solid #22334a;

    border-radius: 14px;
}

.contact-label {
    color: #4d9aff;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.contact-card strong {
    color: #e5eaf1;

    font-size: 15px;

    overflow-wrap: anywhere;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    border-top: 1px solid #1b2a3c;

    padding: 25px 0;
}

.footer-container {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.footer p {
    color: #6f7e91;

    font-size: 13px;
}

.footer-links {
    display: flex;

    gap: 18px;
}

.footer-links a {
    color: #8190a3;

    font-size: 13px;
}


/* =========================================================
   PROJECT DETAIL PAGE
========================================================= */

.project-detail {
    padding: 58px 0 72px;
}


/* Header */

.project-detail-header {
    max-width: 900px;

    margin: 0 auto 32px;
}

.project-detail-header h1 {
    margin-top: 10px;

    font-size: clamp(38px, 5vw, 58px);

    line-height: 1.08;

    letter-spacing: -2px;
}

.project-detail-header > p:not(.eyebrow) {
    max-width: 850px;

    margin-top: 16px;

    color: #94a2b5;

    font-size: 16px;
}


/* =========================================================
   PROJECT COVER
========================================================= */

.project-cover {
    width: 100%;

    margin: 0 auto 36px;

    overflow: hidden;

    background: #0b1828;

    border: 1px solid #22334a;

    border-radius: 18px;
}

.project-cover img {
    display: block;

    width: 100%;

    aspect-ratio: 16 / 9;

    height: auto;

    object-fit: cover;

    object-position: center;
}


/* =========================================================
   DETAIL METRICS
========================================================= */

.metrics-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 14px;

    margin-bottom: 12px;
}

.metric-card {
    min-width: 0;

    padding: 20px;

    background: #0b1828;

    border: 1px solid #22334a;

    border-radius: 14px;
}

.metric-card strong {
    display: block;

    color: #f5f7fb;

    font-size: 24px;

    line-height: 1.2;
}

.metric-card span {
    display: block;

    margin-top: 7px;

    color: #8190a3;

    font-size: 12px;
}


/* =========================================================
   DETAIL SECTIONS
========================================================= */

.detail-section {
    padding: 46px 0 0;
}

.detail-section > h2 {
    margin-top: 7px;
    margin-bottom: 14px;

    font-size: 31px;

    line-height: 1.2;
}

.detail-section > p:not(.eyebrow) {
    max-width: 850px;

    color: #94a2b5;

    font-size: 15px;
}


/* =========================================================
   WORKFLOW
========================================================= */

.workflow {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 8px;

    margin-top: 22px;
}

.workflow-step {
    padding: 8px 12px;

    background: #0b1828;

    border: 1px solid #26384f;

    border-radius: 8px;

    color: #bdc8d6;

    font-size: 12px;
}

.workflow-arrow {
    color: #4d9aff;

    font-size: 14px;

    font-weight: 700;
}


/* =========================================================
   FOCUS GRID
========================================================= */

.focus-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 14px;

    margin-top: 22px;
}


/* =========================================================
   DASHBOARDS
========================================================= */

.dashboard-grid {
    display: grid;

    grid-template-columns: 1fr;

    gap: 38px;

    margin-top: 26px;
}

.dashboard-item h3 {
    margin-bottom: 12px;

    color: #dce4ee;

    font-size: 17px;
}

.dashboard-image {
    width: 100%;

    overflow: hidden;

    background: #0b1828;

    border: 1px solid #22334a;

    border-radius: 16px;
}

.dashboard-image img {
    display: block;

    width: 100%;

    height: auto;

    object-fit: contain;
}


/* =========================================================
   HIGHLIGHTS
========================================================= */

.highlight-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 14px;

    margin-top: 22px;
}

.highlight-card {
    padding: 22px;

    background: #0b1828;

    border: 1px solid #22334a;

    border-radius: 14px;
}

.highlight-card strong {
    display: block;

    color: #4d9aff;

    font-size: 27px;

    line-height: 1.15;
}

.highlight-card span {
    display: block;

    margin-top: 7px;

    color: #8190a3;

    font-size: 12px;
}


/* =========================================================
   OPERATIONAL GRID
========================================================= */

.operational-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 14px;

    margin-top: 14px;
}


/* =========================================================
   TOOLS
========================================================= */

.tools-list {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 20px;
}

.tool-tag {
    padding: 8px 12px;

    background: #0b1828;

    border: 1px solid #26384f;

    border-radius: 8px;

    color: #bac6d5;

    font-size: 12px;
}

.ai-development-heading {
    margin-top: 30px;

    font-size: 18px;
}

.ai-development-text {
    margin-top: 6px;

    color: #4d9aff !important;

    font-weight: 600;
}


/* =========================================================
   ROBOT IMAGE
========================================================= */

.robot-photo {
    width: 100%;

    max-width: 850px;

    margin: 22px auto 0;

    overflow: hidden;

    background: #0b1828;

    border: 1px solid #22334a;

    border-radius: 16px;
}

.robot-photo img {
    width: 100%;

    height: auto;

    object-fit: contain;
}


/* =========================================================
   MOSSCLEAN TITLE
========================================================= */

.project-title-accent {
    color: #4d9aff;
}


/* =========================================================
   GALLERY
========================================================= */

.project-gallery {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 18px;

    margin-top: 24px;
}

.gallery-card {
    overflow: hidden;

    background: #0b1828;

    border: 1px solid #22334a;

    border-radius: 15px;
}

.gallery-card img {
    display: block;

    width: 100%;

    height: auto;

    object-fit: contain;
}

.gallery-caption {
    padding: 13px 15px;

    color: #9eacc0;

    font-size: 13px;
}


/* =========================================================
   PROJECT BOTTOM
========================================================= */

.project-bottom {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 48px;

    padding-top: 28px;

    border-top: 1px solid #1b2a3c;
}


/* =========================================================
   LIGHT THEME
========================================================= */

body.light-theme {
    background: #f5f7fa;

    color: #172033;
}

body.light-theme .navbar {
    background: rgba(245, 247, 250, 0.95);

    border-color: #dce2ea;
}

body.light-theme .nav-menu a,
body.light-theme .social-link {
    color: #586579;
}

body.light-theme .theme-toggle,
body.light-theme .menu-toggle {
    background: #ffffff;

    color: #172033;

    border-color: #d7dee8;
}

body.light-theme .project-card,
body.light-theme .info-card,
body.light-theme .education-card,
body.light-theme .resume-card,
body.light-theme .contact-card,
body.light-theme .hero-image-card,
body.light-theme .metric-card,
body.light-theme .project-cover,
body.light-theme .dashboard-image,
body.light-theme .gallery-card,
body.light-theme .robot-photo,
body.light-theme .highlight-card,
body.light-theme .workflow-step,
body.light-theme .tool-tag {
    background: #ffffff;

    border-color: #dce2ea;
}

body.light-theme .project-card p,
body.light-theme .section-heading > p:last-child,
body.light-theme .about-text,
body.light-theme .education-card p:not(.card-label),
body.light-theme .info-card p,
body.light-theme .resume-card > div > p:last-child,
body.light-theme .project-detail-header > p:not(.eyebrow),
body.light-theme .detail-section > p:not(.eyebrow),
body.light-theme .project-title-accent {
    color: #667085;
}

body.light-theme .back-button {
    background: #ffffff;

    color: #172033;

    border-color: #dce2ea;
}

body.light-theme .footer {
    border-color: #dce2ea;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .nav-menu {
        gap: 14px;
    }

    .nav-actions {
        gap: 7px;
    }

    .hero-container {
        grid-template-columns: 1fr 0.65fr;

        gap: 40px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .certifications-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .highlight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .focus-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    .container {
        width: min(100% - 32px, 600px);
    }

    .section {
        padding: 54px 0;
    }


    /* NAV */

    .nav-container {
        min-height: 64px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;

        top: 64px;

        left: 16px;
        right: 16px;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 8px;

        background: #0b1828;

        border: 1px solid #22334a;

        border-radius: 12px;

        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        padding: 11px 12px;
    }

    .nav-actions {
        display: none;
    }


    /* HERO */

    .hero {
        padding-top: 60px;
    }

    .hero-container {
        grid-template-columns: 1fr;

        gap: 38px;
    }

    .hero-content h1 {
        font-size: 50px;
    }

    .hero-image-wrapper {
        justify-content: flex-start;
    }


    /* PROJECTS */

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .home-project-image {
        aspect-ratio: 16 / 9;
    }


    /* SKILLS */

    .skills-grid {
        grid-template-columns: 1fr;
    }


    /* ABOUT */

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


    /* CERTIFICATIONS */

    .certifications-grid {
        grid-template-columns: 1fr;
    }


    /* RESUME */

    .resume-card {
        flex-direction: column;

        align-items: flex-start;

        padding: 30px 24px;

        gap: 22px;
    }

    .resume-card .btn {
        width: 100%;
    }


    /* CONTACT */

    .contact-grid {
        grid-template-columns: 1fr;
    }


    /* PROJECT DETAIL */

    .project-detail {
        padding: 44px 0 55px;
    }

    .project-detail-header {
        margin-bottom: 25px;
    }

    .project-detail-header h1 {
        font-size: 40px;
    }

    .project-detail-header > p:not(.eyebrow) {
        font-size: 15px;
    }

    .project-cover {
        margin-bottom: 24px;

        border-radius: 14px;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 10px;
    }

    .metric-card {
        padding: 16px;
    }

    .metric-card strong {
        font-size: 20px;
    }

    .detail-section {
        padding-top: 40px;
    }

    .detail-section > h2 {
        font-size: 27px;
    }

    .focus-grid,
    .operational-grid {
        grid-template-columns: 1fr;
    }

    .highlight-grid {
        grid-template-columns: 1fr 1fr;
    }

    .project-gallery {
        grid-template-columns: 1fr;
    }

    .project-bottom {
        margin-top: 38px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .container {
        width: calc(100% - 24px);
    }

    .hero-content h1 {
        font-size: 43px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .highlight-grid {
        grid-template-columns: 1fr;
    }

    .project-detail-header h1 {
        font-size: 35px;
    }

}

/* =========================================================
   GLOBAL SALES PROJECT PAGE
========================================================= */

.sales-project {
    padding: 52px 0 70px;
}


/* =========================================================
   INTRO — TEXT LEFT / COVER RIGHT
========================================================= */

.sales-intro {
    display: grid;

    grid-template-columns: minmax(0, 1fr) 360px;

    align-items: center;

    gap: 55px;

    max-width: 1000px;

    margin: 0 auto 38px;
}

.sales-intro-content {
    min-width: 0;
}

.sales-intro-content h1 {
    margin-top: 10px;

    max-width: 650px;

    font-size: clamp(38px, 5vw, 58px);

    line-height: 1.06;

    letter-spacing: -2px;
}

.sales-intro-description {
    max-width: 620px;

    margin-top: 17px;

    color: #94a2b5;

    font-size: 15px;

    line-height: 1.65;
}


/* Small cover on right */

.sales-intro-cover {
    width: 100%;

    max-width: 360px;

    justify-self: end;

    overflow: hidden;

    background: #0b1828;

    border: 1px solid #22334a;

    border-radius: 15px;
}

.sales-intro-cover img {
    display: block;

    width: 100%;

    aspect-ratio: 16 / 9;

    object-fit: cover;
}


/* =========================================================
   FOUR METRICS ONLY
========================================================= */

.sales-metrics {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 12px;

    max-width: 1000px;

    margin: 0 auto;
}

.sales-metric {
    padding: 18px 19px;

    background: #0b1828;

    border: 1px solid #22334a;

    border-radius: 12px;
}

.sales-metric strong {
    display: block;

    font-size: 22px;

    line-height: 1.2;
}

.sales-metric span {
    display: block;

    margin-top: 5px;

    color: #8190a3;

    font-size: 11px;
}


/* =========================================================
   CONTENT SECTIONS
========================================================= */

.sales-section {
    max-width: 1000px;

    margin: 0 auto;

    padding-top: 48px;
}

.sales-section h2 {
    margin-top: 7px;

    margin-bottom: 12px;

    font-size: 29px;

    line-height: 1.2;
}

.sales-section-text {
    max-width: 760px;

    color: #94a2b5;

    font-size: 14px;

    line-height: 1.65;
}


/* =========================================================
   WORKFLOW
========================================================= */

.sales-workflow {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 7px;

    margin-top: 20px;
}

.sales-workflow span {
    padding: 7px 10px;

    background: #0b1828;

    border: 1px solid #26384f;

    border-radius: 7px;

    color: #bac6d5;

    font-size: 11px;
}

.sales-workflow b {
    color: #4d9aff;

    font-size: 12px;
}


/* =========================================================
   ANALYTICS AREAS
========================================================= */

.sales-focus-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 12px;

    margin-top: 20px;
}

.sales-focus-card {
    padding: 18px;

    background: #0b1828;

    border: 1px solid #22334a;

    border-radius: 12px;
}

.sales-focus-card h3 {
    font-size: 15px;

    line-height: 1.3;
}

.sales-focus-card p {
    margin-top: 6px;

    color: #8190a3;

    font-size: 12px;

    line-height: 1.5;
}


/* =========================================================
   DASHBOARDS
   ONE DASHBOARD PER ROW
========================================================= */

.dashboard-section {
    padding-top: 54px;
}

.sales-dashboard {
    max-width: 820px;

    margin: 32px auto 0;
}

.dashboard-heading {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 11px;
}

.dashboard-heading span {
    color: #4d9aff;

    font-size: 12px;

    font-weight: 800;
}

.dashboard-heading h3 {
    color: #dce4ee;

    font-size: 15px;

    font-weight: 700;
}


/*
   IMPORTANT:
   Original dashboard can remain 5000 × 5775.
   We only control its DISPLAY width.
*/

.sales-dashboard-image {
    width: 100%;

    max-width: 820px;

    margin: 0 auto;

    overflow: hidden;

    background: #0b1828;

    border: 1px solid #22334a;

    border-radius: 13px;
}

.sales-dashboard-image img {
    display: block;

    width: 100%;

    height: auto;

    object-fit: contain;
}


/* =========================================================
   KEY INSIGHTS
========================================================= */

.sales-insights {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 12px;

    margin-top: 20px;
}

.sales-insights > div {
    padding: 19px;

    background: #0b1828;

    border: 1px solid #22334a;

    border-radius: 12px;
}

.sales-insights strong {
    display: block;

    color: #4d9aff;

    font-size: 22px;

    line-height: 1.2;
}

.sales-insights span {
    display: block;

    margin-top: 5px;

    color: #8190a3;

    font-size: 11px;
}


/* =========================================================
   TOOLS
========================================================= */

.sales-tools {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 18px;
}

.sales-tools span {
    padding: 7px 11px;

    background: #0b1828;

    border: 1px solid #26384f;

    border-radius: 7px;

    color: #bac6d5;

    font-size: 11px;
}


/* =========================================================
   BOTTOM
========================================================= */

.sales-bottom {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 10px;

    max-width: 1000px;

    margin: 45px auto 0;

    padding-top: 25px;

    border-top: 1px solid #1b2a3c;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    .sales-project {
        padding-top: 40px;
    }

    .sales-intro {
        grid-template-columns: 1fr;

        gap: 25px;

        margin-bottom: 28px;
    }

    .sales-intro-cover {
        width: 100%;

        max-width: 500px;

        justify-self: start;
    }

    .sales-intro-content h1 {
        font-size: 39px;
    }

    .sales-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sales-focus-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sales-dashboard {
        margin-top: 27px;
    }

    .sales-dashboard-image {
        max-width: 100%;
    }

    .sales-insights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 420px) {

    .sales-intro-content h1 {
        font-size: 34px;
    }

    .sales-metrics {
        grid-template-columns: 1fr;
    }

    .sales-focus-grid {
        grid-template-columns: 1fr;
    }

    .sales-insights {
        grid-template-columns: 1fr;
    }

}

/* ==================== TOOLS USED ==================== */

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.tech-tags span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 16px;

    border: 1px solid rgba(120, 150, 180, 0.28);
    border-radius: 10px;

    background: rgba(15, 28, 45, 0.65);

    color: #dbe7f5;

    font-size: 1rem;
    line-height: 1;

    white-space: nowrap;

    transition: all 0.2s ease;
}

.tech-tags span:hover {
    border-color: rgba(80, 150, 255, 0.55);
    transform: translateY(-2px);
}

/* ==================== PROJECT ACTIONS ==================== */

.project-actions {
    width: 100%;
    max-width: 1000px;
    margin: 55px auto 70px;
    padding-top: 36px;

    border-top: 1px solid rgba(120, 150, 180, 0.18);

    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
}

.project-actions .btn {
    height: 64px;
    padding: 0 25px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;

    box-sizing: border-box;
    white-space: nowrap;

    transition: all 0.2s ease;
}


/* GitHub */

.project-actions .primary-btn {
    min-width: 265px;

    background: #2563eb;
    color: #ffffff;

    border: 1px solid #2563eb;
}

.project-actions .primary-btn:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-2px);
}


/* Back */

.project-actions .secondary-btn {
    min-width: 228px;

    background: rgba(15, 28, 45, 0.65);
    color: #dbe7f5;

    border: 1px solid rgba(120, 150, 180, 0.28);
}

.project-actions .secondary-btn:hover {
    border-color: rgba(80, 150, 255, 0.55);
    color: #ffffff;
    transform: translateY(-2px);
}


/* ==================== MOBILE ==================== */

@media (max-width: 700px) {

    .project-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .project-actions .btn {
        width: 100%;
        min-width: 0;
    }

}

/* ==================== MOSSCLEAN IMAGE SIZE ==================== */

.mossclean-feature-image {
    max-width: 620px;
    margin: 28px auto 0;
    text-align: center;
}

.mossclean-feature-image img {
    width: 100%;
    max-height: 420px;
    height: auto;
    object-fit: contain;

    display: block;
    margin: 0 auto;

    border-radius: 12px;
    border: 1px solid rgba(120, 150, 180, 0.22);
}


/* ==================== MOSSCLEAN PROJECT HIGHLIGHTS ==================== */

.mossclean-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;

    width: 100%;
    max-width: 1100px;
    margin: 32px auto 0;
}

.mossclean-gallery-item {
    min-width: 0;
}

.mossclean-gallery-item h3 {
    margin-bottom: 14px;
    min-height: 30px;
}


/* Same visual box size for all 3 */

.mossclean-gallery-item img {
    width: 100%;
    height: 300px;

    object-fit: contain;

    display: block;
    margin: 0 auto;

    background: rgba(15, 28, 45, 0.65);

    border-radius: 12px;
    border: 1px solid rgba(120, 150, 180, 0.22);
}


/* ==================== MOBILE ==================== */

@media (max-width: 800px) {

    .mossclean-gallery {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .mossclean-gallery-item img {
        height: 320px;
    }

}

/* =========================================================
   GLOBAL SALES — FINAL BUTTON PLACEMENT
   Top buttons are hidden only on Global Sales.
   Bottom buttons use the same blue-button design as the
   current Healthcare and MossClean project pages.
========================================================= */

.sales-project-page .sales-buttons {
    display: none;
}

.sales-project-page .project-actions {
    width: 100%;
    max-width: 1000px;
    margin: 55px auto 70px;
    padding-top: 36px;

    border-top: 1px solid rgba(120, 150, 180, 0.18);

    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
}

.sales-project-page .project-actions .btn {
    height: 64px;
    padding: 0 25px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;

    box-sizing: border-box;
    white-space: nowrap;

    transition: all 0.2s ease;
}

.sales-project-page .project-actions .primary-btn {
    min-width: 265px;

    background: #2563eb;
    color: #ffffff;

    border: 1px solid #2563eb;
}

.sales-project-page .project-actions .primary-btn:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-2px);
}

.sales-project-page .project-actions .secondary-btn {
    min-width: 228px;

    background: rgba(15, 28, 45, 0.65);
    color: #dbe7f5;

    border: 1px solid rgba(120, 150, 180, 0.28);
}

.sales-project-page .project-actions .secondary-btn:hover {
    border-color: rgba(80, 150, 255, 0.55);
    color: #ffffff;
    transform: translateY(-2px);
}

@media (max-width: 700px) {
    .sales-project-page .project-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .sales-project-page .project-actions .btn {
        width: 100%;
        min-width: 0;
    }
}

<header class="navbar">

    <div class="nav-container">

        <button
            class="menu-toggle"
            id="menuToggle"
            aria-label="Toggle navigation"
        >
            ☰
        </button>

        <nav class="nav-menu" id="navMenu">

            <a href="#home">Home</a>
            <a href="#about">About</a>
            <a href="#projects">Projects</a>
            <a href="#skills">Skills</a>
            <a href="#certifications">Certifications</a>
            <a href="#resume">Resume</a>
            <a href="#contact">Contact</a>

        </nav>

        <div class="nav-actions">

            <a
                href="https://www.linkedin.com/in/emmanuel-thomas27"
                target="_blank"
                rel="noopener noreferrer"
                class="social-link"
            >
                LinkedIn
            </a>

            <a
                href="https://github.com/EmmanuelThomas2004"
                target="_blank"
                rel="noopener noreferrer"
                class="social-link"
            >
                GitHub
            </a>

            <button
                id="themeToggle"
                class="theme-toggle"
                aria-label="Toggle theme"
            >
                ☾
            </button>

        </div>

    </div>

</header>

/* =========================================================
   LIGHT MODE — REQUIRED TEXT & CARD FIXES
   ========================================================= */

/* Resume */
body.light-theme .resume-box {
    background: #ffffff;
    border-color: #dce2ea;
}

body.light-theme .resume-box h2 {
    color: #172033;
}

body.light-theme .resume-box > div > p:last-child {
    color: #667085;
}

/* Contact */
body.light-theme .contact-card strong {
    color: #172033;
}

/* Hero */
body.light-theme .hero-description {
    color: #667085;
}

body.light-theme .hero-meta-card strong {
    color: #172033;
}

/* Project metric and information boxes */
body.light-theme .metric-card,
body.light-theme .sales-metric,
body.light-theme .sales-focus-card,
body.light-theme .sales-dashboard-image,
body.light-theme .sales-insight-card,
body.light-theme .sales-workflow span,
body.light-theme .sales-tools span {
    background: #ffffff;
    border-color: #dce2ea;
}

/* Metric values */
body.light-theme .metric-card strong,
body.light-theme .sales-metric strong,
body.light-theme .sales-insight-card strong,
body.light-theme .sales-insights strong,
body.light-theme .highlight-card strong {
    color: #172033;
}

/* Supporting text */
body.light-theme .sales-metric span,
body.light-theme .sales-insight-card span,
body.light-theme .sales-focus-card p {
    color: #667085;
}

/* Workflow and tools */
body.light-theme .sales-workflow span,
body.light-theme .sales-tools span {
    color: #172033;
}

/* =========================================================
   LIGHT MODE — FINAL REQUIRED FIXES
   ========================================================= */

body.light-theme .resume-box {
    background: #ffffff !important;
    border-color: #dce2ea !important;
}

body.light-theme .resume-box h2 {
    color: #172033 !important;
}

body.light-theme .resume-box p {
    color: #667085 !important;
}

body.light-theme .contact-card strong {
    color: #172033 !important;
}

body.light-theme .hero-description {
    color: #667085 !important;
}

body.light-theme .hero-meta-card strong {
    color: #172033 !important;
}

body.light-theme .metric-card,
body.light-theme .sales-metric,
body.light-theme .sales-focus-card,
body.light-theme .sales-insight-card,
body.light-theme .sales-workflow span,
body.light-theme .sales-tools span {
    background: #ffffff !important;
    border-color: #dce2ea !important;
}

body.light-theme .metric-card strong,
body.light-theme .sales-metric strong,
body.light-theme .sales-insight-card strong,
body.light-theme .sales-insights strong,
body.light-theme .highlight-card strong {
    color: #172033 !important;
}

body.light-theme .sales-metric span,
body.light-theme .sales-insight-card span,
body.light-theme .sales-focus-card p {
    color: #667085 !important;
}

body.light-theme .sales-workflow span,
body.light-theme .sales-tools span {
    color: #172033 !important;
}


/* LIGHT MODE — HEALTHCARE WORKFLOW */
body.light-theme .workflow span,
body.light-theme .workflow-step span,
body.light-theme .workflow-item,
body.light-theme .workflow-item span,
body.light-theme .process-step,
body.light-theme .process-step span {
    color: #172033 !important;
    background: #ffffff !important;
    border-color: #dce2ea !important;
}


/* LIGHT MODE — HEALTHCARE WORKFLOW LABELS */
body.light-theme .sales-workflow strong,
body.light-theme .sales-workflow b,
body.light-theme .sales-workflow a,
body.light-theme .sales-workflow p,
body.light-theme .sales-workflow label,
body.light-theme .sales-workflow small,
body.light-theme .workflow strong,
body.light-theme .workflow b,
body.light-theme .workflow a,
body.light-theme .workflow p,
body.light-theme .workflow label,
body.light-theme .workflow small,
body.light-theme .workflow-step strong,
body.light-theme .workflow-step b,
body.light-theme .workflow-step a,
body.light-theme .workflow-step p,
body.light-theme .workflow-step label,
body.light-theme .workflow-step small {
    color: #172033 !important;
}


/* LIGHT MODE — GLOBAL SALES PROJECT OVERVIEW */
body.light-theme .sales-project .sales-intro + .sales-metrics + .sales-overview p,
body.light-theme .sales-project p {
    color: #172033 !important;
}

