
:root {
--orange: #bd4d00;
    --dark: #20252c;
    --grey: #666666;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--white);
    color: var(--dark);
    line-height: 1.6;
}

.navbar {
    max-width: 1400px;
    margin: auto;
    padding: 25px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

header {
    border-bottom: 1px solid #eeeeee;
}

.logo {
    font-size: 25px;
    font-weight: 800;
    color: var(--dark);
    text-decoration: none;
}

.logo span,
.hero h1 span {
    color: var(--orange);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links .active {
    color: var(--orange);
}

.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 80px 10%;
    background: linear-gradient(
        115deg,
        #ffffff 55%,
        #fff0e4
    );
}

.hero-content {
    max-width: 800px;
}

.eyebrow {
    color: var(--orange);
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(40px, 6vw, 76px);
    line-height: 1.15;
    margin-bottom: 25px;
}

.intro {
    color: var(--grey);
    font-size: 18px;
    max-width: 600px;
    margin-bottom: 35px;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.btn-primary,
.btn-secondary {
    padding: 14px 25px;
    border: 2px solid var(--orange);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
    text-align: center;
}

.btn-primary {
    background: var(--orange);
    color: white;
}

.btn-secondary {
    color: var(--orange);
}

.btn-primary:hover {
    background: #cf5c0c;
    border-color: #cf5c0c;
}

.btn-secondary:hover {
    background: var(--orange);
    color: white;
}

.specialisms {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 20px;
    padding: 35px 5%;
    border-top: 1px solid #eeeeee;
    font-weight: 600;
}

footer {
    text-align: center;
    padding: 25px;
    background: #f8f8f8;
    color: var(--grey);
    font-size: 13px;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero {
        padding: 60px 6%;
    }

    .intro {
        font-size: 16px;
    }
}

/* Technical Journey Panel */

.hero {
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.journey-panel {
    flex: 0 1 420px;
    background: #ffffff;
    border: 1px solid #f1d6c1;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(239, 118, 28, 0.08);
}

.panel-label {
    color: #b94e08;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.journey-panel h2 {
    font-size: 26px;
    margin-bottom: 25px;
}

.journey-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 18px 0;
    border-bottom: 1px solid #eeeeee;
}

.journey-item:last-child {
    border-bottom: none;
}

.journey-dot {
    width: 10px;
    height: 10px;
    min-width: 10px;
    background: var(--orange);
    border-radius: 50%;
    margin-top: 8px;
}

.journey-item h3 {
    font-size: 16px;
    margin-bottom: 3px;
}

.journey-item p {
    font-size: 14px;
    color: var(--grey);
}

@media (max-width: 1000px) {
    .hero {
        flex-direction: column;
        align-items: stretch;
        gap: 35px;
    }

    .journey-panel {
        flex: auto;
        width: 100%;
    }
}


/* Technical Specialisms */

.specialisms {
    display: block;
    padding: 80px 10%;
    background: #fafafa;
    font-weight: normal;
}

.section-heading {
    text-align: center;
    margin-bottom: 45px;
}

.section-heading h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.section-heading > p:last-child {
    color: var(--grey);
    font-size: 16px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1400px;
    margin: auto;
}

.skill-card {
    display: flex;
    flex-direction: column;
    background: white;
    padding: 30px;
    border: 1px solid #eeeeee;
    border-top: 4px solid var(--orange);
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.skill-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.skill-card h3 {
    font-size: 23px;
    margin-bottom: 15px;
}

.skill-card p {
    color: var(--grey);
    font-size: 15px;
    margin-bottom: 25px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 20px;
    margin-top: auto;
    border-top: 1px solid #eeeeee;
}

.skill-tags span {
    background: #fff0e4;
    color: #b94e08;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 1000px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .specialisms {
        padding: 50px 6%;
    }
}

/* Featured Project */

.featured-project {
    padding: 80px 10%;
    background: #ffffff;
}

.project-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    max-width: 1400px;
    margin: auto;
}

.project-visual {
    background: #fff5ec;
    border: 1px solid #f1d6c1;
    border-radius: 15px;
    padding: 40px 25px;
    text-align: center;
}

.lab-node {
    background: white;
    border: 1px solid #efb88d;
    border-radius: 8px;
    padding: 20px 10px;
    flex: 1;
}

.lab-node h3 {
    font-size: 15px;
    margin-bottom: 5px;
}

.lab-node p {
    font-size: 12px;
    color: var(--grey);
}

.lab-host {
    max-width: 240px;
    margin: auto;
    border: 2px solid var(--orange);
}

.lab-connection {
    height: 35px;
    width: 2px;
    background: var(--orange);
    margin: auto;
}

.lab-nodes {
    display: flex;
    gap: 12px;
    border-top: 2px solid var(--orange);
    padding-top: 20px;
}

.lab-network {
    margin-top: 30px;
    padding: 14px;
    background: var(--orange);
    color: white;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

.project-description h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.project-intro {
    color: var(--grey);
    margin-bottom: 25px;
}

.project-features {
    list-style: none;
    margin-bottom: 35px;
}

.project-features li {
    padding: 9px 0;
}

.project-features li::before {
    content: "\2713";
    color: var(--orange);
    font-weight: bold;
    margin-right: 12px;
}

.project-description .btn-primary {
    display: inline-block;
}

@media (max-width: 1000px) {
    .project-feature {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .featured-project {
        padding: 50px 6%;
    }
}

@media (max-width: 500px) {
    .lab-nodes {
        flex-direction: column;
    }
}

/* Professional Contact Section */

.connect-section {
    padding: 80px 10%;
    background: linear-gradient(
        115deg,
        #fff8f2,
        #ffead9
    );
    text-align: center;
    border-top: 1px solid #f1d6c1;
}

.connect-section h2 {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 20px;
}

.connect-intro {
    max-width: 650px;
    margin: 0 auto 30px;
    color: var(--grey);
    font-size: 17px;
}

.connect-buttons {
    justify-content: center;
}

@media (max-width: 768px) {
    .connect-section {
        padding: 50px 6%;
    }
}

/* ===================================
   ABOUT PAGE
=================================== */

.about-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
}

.about-hero {
    max-width: 1000px;
    margin-bottom: 70px;
}

.about-eyebrow {
    color: #bd4d00;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.about-hero h1 {
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.15;
    color: #20252c;
    margin-bottom: 25px;
}

.about-hero h1 span {
    color: #f47721;
}

.about-hero > p:last-child {
    font-size: 19px;
    line-height: 1.8;
    color: #606770;
    max-width: 800px;
}

.about-content {
    max-width: 900px;
}

.about-section {
    position: relative;
    border-left: 3px solid #f47721;
    padding: 5px 0 15px 30px;
    margin-bottom: 50px;
}

.about-number {
    color: #f47721;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

.about-section h2 {
    font-size: 28px;
    color: #20252c;
    margin: 12px 0 20px;
}

.about-section p {
    font-size: 17px;
    line-height: 1.9;
    color: #606770;
    margin-bottom: 18px;
}

.about-link {
    color: #f47721;
    font-weight: 600;
    text-decoration: none;
}

.about-link:hover {
    text-decoration: underline;
}

.about-interests {
    background: #fff5ed;
    border-radius: 12px;
    padding: 40px;
    margin-top: 60px;
}

.about-interests h2 {
    color: #20252c;
    margin-bottom: 25px;
}

.interest-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.interest-grid div {
    background: #ffffff;
    border: 1px solid #f3dfd0;
    border-radius: 8px;
    padding: 22px;
    font-weight: 600;
    color: #20252c;
}

/* About page mobile layout */

@media (max-width: 768px) {

    .about-page {
        padding: 45px 24px;
    }

    .about-hero {
        margin-bottom: 45px;
    }

    .about-section {
        padding-left: 20px;
        margin-bottom: 35px;
    }

    .about-interests {
        padding: 25px;
    }

    .interest-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   PROJECTS PAGE
=================================== */

.projects-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
}

.projects-hero {
    max-width: 1000px;
    margin-bottom: 60px;
}

.projects-eyebrow {
    color: #f47721;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.projects-hero h1 {
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.15;
    color: #20252c;
    margin-bottom: 25px;
}

.projects-hero h1 span {
    color: #f47721;
}

.projects-hero > p:last-child {
    font-size: 19px;
    line-height: 1.8;
    color: #606770;
    max-width: 800px;
}

/* Project grid */

.portfolio-project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

/* Individual project cards */

.portfolio-project-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 30px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease,
                box-shadow 0.25s ease,
                border-color 0.25s ease;
}

.portfolio-project-card:hover {
    transform: translateY(-5px);
    border-color: #f47721;
    box-shadow: 0 10px 30px rgba(244, 119, 33, 0.10);
}

.portfolio-project-card:focus-visible {
    outline: 3px solid #f47721;
    outline-offset: 4px;
}

.project-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.project-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #fff1e5;
    color: #f47721;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 700;
}

.project-status {
    font-size: 12px;
    font-weight: 600;
    padding: 7px 12px;
    border-radius: 20px;
}

.project-status.implemented {
    background: #edf7ef;
    color: #287a42;
}

.project-status.ongoing {
    background: #fff1e5;
    color: #b85b15;
}

.portfolio-project-card h2 {
    font-size: 25px;
    line-height: 1.3;
    color: #20252c;
    margin-bottom: 15px;
}

.portfolio-project-card p {
    font-size: 16px;
    line-height: 1.8;
    color: #606770;
    margin-bottom: 25px;
}

/* Technology tags */

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.project-tags span {
    background: #f5f5f5;
    color: #50565e;
    font-size: 12px;
    font-weight: 500;
    padding: 7px 12px;
    border-radius: 5px;
}

/* Project link */

.project-card-link {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #eeeeee;
    color: #f47721;
    font-size: 15px;
    font-weight: 600;
}

/* Mobile layout */

@media (max-width: 768px) {

    .projects-page {
        padding: 45px 24px;
    }

    .projects-hero {
        margin-bottom: 40px;
    }

    .portfolio-project-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-project-card {
        padding: 24px;
    }

    .portfolio-project-card h2 {
        font-size: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .portfolio-project-card {
        transition: none;
    }

    .portfolio-project-card:hover {
        transform: none;
    }
}
.projects-hero h1 span {
    display: block;
}

/* ===================================
   PROJECT CASE STUDIES
=================================== */

.case-study {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px 80px;
}

.case-back {
    display: inline-block;
    color: #f47721;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 40px;
}

.case-back:hover {
    text-decoration: underline;
}

.case-hero {
    margin-bottom: 45px;
}

.case-eyebrow {
    color: #f47721;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.case-hero h1 {
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.15;
    color: #20252c;
    margin-bottom: 25px;
}

.case-hero h1 span {
    color: #f47721;
}

.case-description {
    max-width: 850px;
    color: #606770;
    font-size: 19px;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* Project information */

.case-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    background: #fff5ed;
    border: 1px solid #f3dfd0;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 70px;
}

.case-facts div {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.case-facts span {
    color: #b85b15;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.case-facts strong {
    color: #20252c;
    font-size: 16px;
}

/* Content sections */

.case-section {
    margin-bottom: 65px;
}

.case-number {
    color: #f47721;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

.case-section h2 {
    font-size: 30px;
    color: #20252c;
    margin: 12px 0 25px;
}

.case-section p {
    max-width: 950px;
    color: #606770;
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 18px;
}

.case-list {
    padding-left: 22px;
    color: #606770;
    font-size: 16px;
    line-height: 1.8;
}

.case-list li {
    padding-left: 5px;
    margin-bottom: 12px;
}

.case-list li::marker {
    color: #f47721;
}

/* Architecture diagram */

.architecture-diagram {
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 40px 25px;
    margin-top: 30px;
}

.architecture-node {
    background: #ffffff;
    border: 1px solid #dedede;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    max-width: 340px;
    margin: 0 auto;
}

.architecture-node strong {
    display: block;
    color: #20252c;
    font-size: 16px;
    margin-bottom: 8px;
}

.architecture-node small {
    display: block;
    color: #606770;
    font-size: 13px;
    line-height: 1.6;
}

.architecture-primary {
    background: #fff1e5;
    border-color: #f47721;
}

.architecture-line {
    width: 2px;
    height: 30px;
    background: #f47721;
    margin: 0 auto;
}

.architecture-branches {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    position: relative;
}

.architecture-branches::before {
    content: "";
    position: absolute;
    top: 0;
    left: 16.66%;
    right: 16.66%;
    height: 2px;
    background: #f47721;
}

.architecture-branch {
    padding-top: 30px;
    position: relative;
}

.architecture-branch::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 30px;
    background: #f47721;
}

.architecture-diagram .architecture-caption {
    font-size: 13px;
    text-align: center;
    margin: 30px auto 0;
}

/* Technology cards */

.case-technology-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.case-technology-grid > div {
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 25px;
}

.case-technology-grid h3 {
    color: #20252c;
    font-size: 19px;
    margin-bottom: 12px;
}

.case-technology-grid p {
    font-size: 15px;
    margin-bottom: 0;
}

/* Implementation timeline */

.case-timeline {
    border-left: 3px solid #f47721;
    padding-left: 30px;
}

.case-timeline article {
    margin-bottom: 35px;
}

.case-timeline article:last-child {
    margin-bottom: 0;
}

.case-timeline span {
    color: #f47721;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.case-timeline h3 {
    font-size: 22px;
    color: #20252c;
    margin: 10px 0;
}

/* Skills */

.case-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.case-skills span {
    background: #fff1e5;
    color: #a84e0c;
    border: 1px solid #f3dfd0;
    border-radius: 6px;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 500;
}

/* Related projects */

.case-related {
    background: #fff5ed;
    border-radius: 12px;
    padding: 35px;
}

.case-related h2 {
    color: #20252c;
    margin-bottom: 20px;
}

.case-related a {
    display: block;
    color: #b85b15;
    text-decoration: none;
    font-weight: 600;
    padding: 15px 0;
    border-bottom: 1px solid #f3dfd0;
}

.case-related a:last-child {
    border-bottom: none;
}

.case-related a:hover {
    text-decoration: underline;
}

/* Mobile layout */

@media (max-width: 768px) {

    .case-study {
        padding: 40px 24px 60px;
    }

    .case-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 24px;
        margin-bottom: 45px;
    }

    .case-section {
        margin-bottom: 45px;
    }

    .case-section h2 {
        font-size: 26px;
    }

    .case-technology-grid {
        grid-template-columns: 1fr;
    }

    .architecture-branches {
        grid-template-columns: 1fr;
    }

    .architecture-branches::before,
    .architecture-branch::before {
        display: none;
    }

    .architecture-branch {
        padding-top: 0;
        padding-left: 12px;
        border-left: 2px solid #f47721;
    }

    .architecture-diagram {
        padding: 25px 15px;
    }

    .case-timeline {
        padding-left: 20px;
    }

    .case-related {
        padding: 25px;
    }
}

@media (max-width: 420px) {

    .case-facts {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   NETWORK DIAGRAM CORRECTIONS
=================================== */

@media (min-width: 769px) {
    .architecture-branches::before {
        left: calc((100% - 40px) / 6);
        right: calc((100% - 40px) / 6);
    }
}

.architecture-server-devices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.architecture-server-devices .architecture-node {
    width: 100%;
    padding: 15px 10px;
    box-sizing: border-box;
}

.architecture-server-devices .architecture-node strong {
    font-size: 14px;
}

.architecture-server-devices .architecture-node small {
    font-size: 12px;
}

.architecture-server-branch {
    position: relative;
    padding-top: 30px;
}

.architecture-server-branch::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 30px;
    background: #f47721;
}

.architecture-server-devices {
    position: relative;
}

.architecture-server-devices::before {
    content: "";
    position: absolute;
    top: 0;
    left: calc((100% - 12px) / 4);
    right: calc((100% - 12px) / 4);
    height: 2px;
    background: #f47721;
}
.architecture-server-branch {
    display: flex;
    flex-direction: column;
}

.architecture-server-branch .architecture-node {
    flex: 1;
}

/* ========================================
   PROFESSIONAL EXPERIENCE PAGE
======================================== */

.experience-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 30px;
    margin: 45px 0 70px;
    background: #fff5ed;
    border: 1px solid #f6d8c3;
    border-radius: 12px;
}

.experience-summary span {
    display: block;
    color: #b85b15;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.experience-summary strong {
    display: block;
    color: #20252c;
    font-size: 19px;
    margin-bottom: 8px;
}

.experience-summary small {
    color: #606770;
    font-size: 14px;
}

/* Employer Cards */

.experience-timeline {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin-top: 35px;
}

.experience-employer {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 32px;
}

.employer-heading {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 28px;
    border-bottom: 1px solid #eeeeee;
}

.employer-icon {
    width: 65px;
    height: 65px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff0e3;
    color: #f47721;
    border-radius: 10px;
    font-size: 22px;
    font-weight: 800;
}

.employer-heading h3 {
    font-size: 25px;
    color: #20252c;
    margin: 0 0 5px;
}

.employer-heading p {
    margin: 0 0 5px;
    font-size: 15px;
}

.employer-heading small {
    color: #606770;
    font-size: 13px;
}

.experience-current {
    margin-left: auto;
    padding: 8px 14px;
    background: #e9f5ed;
    color: #237744;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Career Timeline */

.experience-role {
    position: relative;
    margin: 30px 0 0 12px;
    padding: 0 0 30px 28px;
    border-left: 2px solid #f47721;
}

.experience-role::before {
    content: "";
    position: absolute;
    top: 4px;
    left: -7px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #f47721;
}

.experience-role:last-child {
    padding-bottom: 0;
}

.experience-date {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #c65c10;
    margin-bottom: 14px;
}

.experience-role h3 {
    font-size: 23px;
    color: #20252c;
    margin: 0 0 18px;
}

.experience-role p {
    line-height: 1.9;
    margin-bottom: 18px;
}

.experience-role .project-tags {
    margin-top: 25px;
}

/* Technical Skills */

.technical-skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.technical-skills-grid article {
    border: 1px solid #e0e0e0;
    background: #ffffff;
    padding: 28px;
    border-radius: 10px;
}

.skill-category {
    display: block;
    color: #f47721;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.technical-skills-grid h3 {
    font-size: 20px;
    color: #20252c;
    margin: 0 0 20px;
}

.technical-skills-grid .case-skills {
    margin: 0;
}

/* Professional Training */

.training-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 22px;
}

.training-card {
    border: 1px solid #e0e0e0;
    background: #fafafa;
    border-radius: 8px;
    padding: 22px;
}

.training-status,
.training-progress {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.training-status {
    background: #e9f5ed;
    color: #237744;
}

.training-progress {
    background: #fff0e3;
    color: #b85b15;
}

.training-card h4 {
    font-size: 20px;
    color: #20252c;
    margin: 0 0 10px;
}

.training-card p {
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.experience-role .training-subheading {
    margin-top: 40px;
}

.training-note {
    margin-top: 25px;
    padding: 18px;
    background: #fff5ed;
    border-left: 3px solid #f47721;
    font-size: 13px;
}

.experience-project-link {
    display: inline-block;
    margin-top: 30px;
    color: #c65c10;
    text-decoration: none;
    font-weight: 600;
}

.experience-project-link:hover {
    text-decoration: underline;
}

/* Experience Page Responsive Design */

@media (max-width: 768px) {

    .experience-summary {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 24px;
    }

    .experience-employer {
        padding: 22px;
    }

    .employer-heading {
        gap: 15px;
    }

    .employer-heading h3 {
        font-size: 21px;
    }

    .employer-icon {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .experience-current {
        margin-left: 0;
    }

    .experience-role {
        margin-left: 5px;
        padding-left: 20px;
    }

    .experience-role h3 {
        font-size: 20px;
    }

    .technical-skills-grid,
    .training-grid {
        grid-template-columns: 1fr;
    }

    .technical-skills-grid article {
        padding: 22px;
    }

    .training-card {
        padding: 18px;
    }

}

/* ========================================
   CONTACT PAGE
======================================== */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 60px;
    align-items: start;
    margin: 55px 0 80px;
}

.contact-information h2,
.contact-form-panel h2 {
    color: #20252c;
    font-size: 30px;
    margin: 0 0 20px;
}

.contact-information > p,
.contact-form-panel > p {
    color: #606770;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Contact Methods */

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 30px;
    padding: 24px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 8px;
    background: #fff0e3;
    color: #f47721;
    font-size: 23px;
    font-weight: 800;
}

.contact-method h3 {
    color: #20252c;
    font-size: 19px;
    margin: 0 0 10px;
}

.contact-method p {
    color: #606770;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 10px;
}

.contact-method a {
    color: #c65c10;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.contact-method a:hover {
    text-decoration: underline;
}

/* Professional Interests */

.contact-interests {
    padding: 28px;
    background: #fff5ed;
    border: 1px solid #f6d8c3;
    border-radius: 10px;
}

.contact-interests h3 {
    color: #20252c;
    font-size: 20px;
    margin: 0 0 20px;
}

.contact-interests ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-interests li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 14px;
    color: #50565e;
    font-size: 15px;
    line-height: 1.6;
}

.contact-interests li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #c65c10;
    font-weight: 700;
}

.contact-interests li:last-child {
    margin-bottom: 0;
}

/* Contact Form */

.contact-form-panel {
    padding: 35px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
}

.contact-form-group {
    margin-bottom: 24px;
}

.contact-form-group label {
    display: block;
    color: #20252c;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 15px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    background: #fafafa;
    color: #20252c;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.2s,
                box-shadow 0.2s;
}

.contact-form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
    outline: none;
    border-color: #f47721;
    box-shadow: 0 0 0 3px rgba(244, 119, 33, 0.12);
}

.contact-privacy {
    color: #606770;
    font-size: 12px;
    line-height: 1.7;
    margin: 0 0 22px;
}

.contact-submit {
    width: 100%;
    padding: 17px 25px;
    border: none;
    border-radius: 6px;
    background: #bd4d00;
    color: #ffffff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 15px;
}

.contact-submit:hover {
    background: #a94c0c;
}

.contact-submit:disabled {
    background: #d8a580;
    cursor: not-allowed;
}

/* Contact Page Responsive Design */

@media (max-width: 900px) {

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

}

@media (max-width: 480px) {

    .contact-form-panel {
        padding: 22px;
    }

    .contact-method {
        padding: 18px;
    }

    .contact-interests {
        padding: 22px;
    }

    .contact-information h2,
    .contact-form-panel h2 {
        font-size: 25px;
    }

}
/* Small mobile screen refinements */

@media (max-width: 375px) {

    .nav-links {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        font-size: 12px;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero .buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .hero .buttons a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

}
/* Accessibility - About Page */

.about-eyebrow,
.about-number,
.about-link,
.about-hero h1 span {
    color: #bd4d00;
}

.about-link:hover {
    color: #a64200;
}

/* Accessibility - Project Case Studies */

.case-eyebrow,
.case-hero h1 span,
.case-back,
.case-related a {
    color: #bd4d00;
}

.case-related a:hover,
.case-back:hover {
    color: #a64200;
}

/* Accessibility - Contact Icons */

.contact-icon {
    color: #bd4d00;
}

/* Accessibility - Contact Page */

.contact-method a {
    color: #bd4d00;
}

.contact-method a:hover {
    color: #a64200;
}

/* Accessibility - Projects Page */

.projects-eyebrow,
.projects-hero h1 span,
.project-index,
.project-status.ongoing,
.project-card-link {
    color: #bd4d00;
}

.portfolio-project-card:hover .project-card-link {
    color: #a64200;
}

/* Accessibility - Project Labels */

.portfolio-project-card .project-index,
.portfolio-project-card .project-status.ongoing {
    color: #9a4000;
    background-color: #fff0e4;
}

/* Accessibility - Experience Page */

.experience-summary span,
.case-number,
.experience-date,
.skill-category,
.experience-project-link {
    color: #bd4d00;
}

.employer-icon,
.training-progress {
    color: #9a4000;
}

.experience-project-link:hover {
    color: #a64200;
}

/* Accessibility - Project Information */

.case-facts span {
    color: #9a4000;
}

/* Accessibility - Project Timeline */

.case-timeline span {
    color: #bd4d00;
}
/* Contact Form Submission Status */

.form-status {
    margin-top: 15px;
    padding: 14px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.6;
}

.form-status:empty {
    display: none;
}

.form-status.sending {
    background: #fff4e8;
    color: #9a4000;
}

.form-status.success {
    background: #e8f5e9;
    color: #166534;
    border: 1px solid #bbdfc2;
}

.form-status.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.contact-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* ========================================
   PRIVACY POLICY PAGE
======================================== */

.privacy-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 70px 24px 90px;
}

/* Privacy page heading */

.privacy-heading {
    padding: 45px 40px;
    background: #fff5eb;
    border-left: 5px solid #c2410c;
    border-radius: 12px;
    margin-bottom: 40px;
}

.privacy-eyebrow {
    display: block;
    color: #9a3412;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.privacy-heading h1 {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.2;
    color: #172033;
    margin-bottom: 16px;
}

.privacy-heading p {
    font-size: 17px;
    line-height: 1.7;
    color: #475569;
}

.privacy-heading .privacy-updated {
    margin-top: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

/* Main policy content */

.privacy-content {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 40px;
}

.privacy-content h2 {
    font-size: 23px;
    font-weight: 700;
    color: #172033;
    margin-top: 38px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
    line-height: 1.4;
}

.privacy-content h2:first-child {
    margin-top: 0;
}

.privacy-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #9a3412;
    margin-top: 24px;
    margin-bottom: 12px;
}

.privacy-content p {
    font-size: 16px;
    line-height: 1.85;
    color: #475569;
    margin-bottom: 16px;
}

.privacy-content ul {
    list-style: disc;
    padding-left: 25px;
    margin: 16px 0 24px;
}

.privacy-content li {
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 8px;
}

.privacy-content li::marker {
    color: #c2410c;
}

/* Privacy policy links */

.privacy-content a {
    color: #9a3412;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    overflow-wrap: anywhere;
}

.privacy-content a:hover {
    color: #7c2d12;
}

.privacy-content a:focus-visible {
    outline: 3px solid #c2410c;
    outline-offset: 4px;
}

/* Contact button */

.privacy-content .privacy-contact-button {
    display: inline-block;
    background: #c2410c;
    color: #ffffff;
    padding: 14px 26px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 12px;
    transition: background 0.2s ease;
}

.privacy-content .privacy-contact-button:hover {
    background: #9a3412;
    color: #ffffff;
}

/* Mobile responsiveness */

@media (max-width: 768px) {

    .privacy-page {
        padding: 35px 18px 50px;
    }

    .privacy-heading {
        padding: 30px 24px;
        margin-bottom: 25px;
    }

    .privacy-content {
        padding: 25px 20px;
    }

    .privacy-content h2 {
        font-size: 21px;
        margin-top: 30px;
    }

    .privacy-content p,
    .privacy-content li {
        font-size: 15px;
    }

    .privacy-eyebrow {
        font-size: 11px;
        letter-spacing: 1.5px;
    }
}
/* ========================================
   FOOTER LINKS
======================================== */

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 12px;
}

.footer-links a {
    color: inherit;
    font-size: 13px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #c2410c;
}

.footer-links a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}
/* ========================================
   CONTACT FORM PRIVACY LINK
======================================== */

.contact-privacy a {
    color: #9a3412;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-privacy a:hover {
    color: #c2410c;
}

.contact-privacy a:focus-visible {
    outline: 2px solid #c2410c;
    outline-offset: 3px;
}