/* =========================================================
   Base
   ========================================================= */

:root {
    --navy: #0b1f33;
    --navy-light: #123451;
    --blue: #1f6f9f;
    --blue-light: #4da3d0;
    --white: #ffffff;
    --off-white: #f5f7f9;
    --light-gray: #e6ebef;
    --gray: #66727d;
    --dark-gray: #26313a;
    --black: #101820;
    --max-width: 1200px;
    --transition: 0.25s ease;
}


* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--dark-gray);
    background: var(--white);
    line-height: 1.7;
}


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


p {
    margin-top: 0;
}


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


/* =========================================================
   Navigation
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 31, 51, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}


.navbar {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 18px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


.logo {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    white-space: nowrap;
}


.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}


    .nav-links a {
        color: rgba(255, 255, 255, 0.78);
        font-size: 0.85rem;
        font-weight: 500;
        transition: color var(--transition);
    }


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


/* =========================================================
   General Layout
   ========================================================= */

.section {
    padding: 110px 30px;
}


.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
}


.section-narrow {
    max-width: 850px;
    margin: 0 auto;
}


.section-light {
    background: var(--off-white);
}


.section-dark {
    color: var(--white);
    background: var(--navy);
}


.section-label {
    margin-bottom: 14px;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}


.section-dark .section-label {
    color: var(--blue-light);
}


.section-heading {
    max-width: 760px;
    margin-bottom: 60px;
}


    .section-heading h2 {
        margin-bottom: 20px;
    }


    .section-heading > p:last-child {
        color: var(--gray);
    }


.section-dark .section-heading > p:last-child {
    color: rgba(255, 255, 255, 0.68);
}


h1,
h2,
h3,
h4 {
    margin-top: 0;
    color: var(--navy);
    line-height: 1.15;
}


.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--white);
}


h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -0.03em;
}


h3 {
    font-size: 1.35rem;
}


p {
    color: var(--gray);
}


.section-dark p {
    color: rgba(255, 255, 255, 0.72);
}


.lead {
    font-size: 1.3rem;
    line-height: 1.7;
    color: var(--dark-gray);
}


/* =========================================================
   Hero
   ========================================================= */

.hero {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    background: linear-gradient( 135deg, rgba(11, 31, 51, 0.98), rgba(18, 52, 81, 0.93) );
    color: var(--white);
}


.hero-content {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 100px 30px;
}


.eyebrow {
    margin-bottom: 25px;
    color: var(--blue-light);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}


.hero h1 {
    max-width: 950px;
    margin-bottom: 30px;
    color: var(--white);
    font-size: clamp(3rem, 7vw, 6.2rem);
    letter-spacing: -0.055em;
}


    .hero h1 span {
        color: var(--blue-light);
    }


.hero-description {
    max-width: 760px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.25rem;
    line-height: 1.7;
}


.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}


.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 25px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: transform var(--transition), background-color var(--transition), border-color var(--transition);
}


    .button:hover {
        transform: translateY(-2px);
    }


.button-primary {
    color: var(--white);
    background: var(--blue);
}


    .button-primary:hover {
        background: #2a82b8;
    }


.button-secondary {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}


    .button-secondary:hover {
        border-color: var(--white);
    }


.hero-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}


/* =========================================================
   Intro
   ========================================================= */

.intro {
    padding-top: 120px;
    padding-bottom: 120px;
}


    .intro p {
        font-size: 1.05rem;
    }


/* =========================================================
   Capability Cards
   ========================================================= */

.capability-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: rgba(255, 255, 255, 0.1);
}


.capability-card {
    min-height: 340px;
    padding: 40px;
    background: var(--navy);
    transition: background-color var(--transition), transform var(--transition);
}


    .capability-card:hover {
        background: var(--navy-light);
    }


.card-number {
    margin-bottom: 50px;
    color: var(--blue-light);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}


.capability-card p {
    max-width: 500px;
}


.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 25px;
}


    .tag-list span {
        padding: 5px 10px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: rgba(255, 255, 255, 0.65);
        font-size: 0.72rem;
    }


/* =========================================================
   Engineering Approach
   ========================================================= */

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}


    .split-section p {
        font-size: 1.05rem;
    }


.process-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    margin-top: 90px;
}


.process-step span {
    display: block;
    margin-bottom: 10px;
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 700;
}


.process-step strong {
    display: block;
    margin-bottom: 8px;
    color: var(--navy);
}


.process-step p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.5;
}


.process-arrow {
    padding: 0 15px;
    color: var(--blue);
    font-size: 1.5rem;
}


/* =========================================================
   Experience
   ========================================================= */

.experience-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 60px;
    padding: 70px 0;
    border-top: 1px solid var(--light-gray);
}


    .experience-item:last-child {
        border-bottom: 1px solid var(--light-gray);
    }


.experience-meta {
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}


.experience-content {
    max-width: 850px;
}


    .experience-content h3 {
        margin-bottom: 8px;
        font-size: 1.7rem;
    }


    .experience-content h4 {
        margin-bottom: 4px;
        color: var(--blue);
        font-size: 1rem;
    }


.experience-location {
    margin-bottom: 25px;
    font-size: 0.85rem;
}


.experience-content ul {
    margin: 30px 0 0;
    padding-left: 20px;
}


.experience-content li {
    margin-bottom: 14px;
    color: var(--gray);
}


/* =========================================================
   Automation
   ========================================================= */

.automation-intro {
    margin-bottom: 70px;
}


.automation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.1);
}


.automation-item {
    min-height: 240px;
    padding: 35px;
    background: var(--navy);
}


    .automation-item:hover {
        background: var(--navy-light);
    }


    .automation-item h3 {
        margin-bottom: 15px;
    }


/* =========================================================
   Skills
   ========================================================= */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 60px;
}


.skill-group {
    padding: 35px 0;
    border-top: 1px solid var(--light-gray);
}


    .skill-group h3 {
        margin-bottom: 15px;
        font-size: 1.1rem;
    }


    .skill-group p {
        margin: 0;
        font-size: 0.95rem;
    }


/* =========================================================
   Education
   ========================================================= */

.education-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}


.degree {
    margin-bottom: 5px;
    color: var(--navy);
    font-size: 1.15rem;
    font-weight: 600;
}


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


    .education-highlights div {
        padding: 25px;
        background: var(--white);
        border: 1px solid var(--light-gray);
    }


    .education-highlights strong {
        display: block;
        margin-bottom: 5px;
        color: var(--navy);
        font-size: 1.1rem;
    }


    .education-highlights span {
        color: var(--gray);
        font-size: 0.75rem;
    }


.education-activities {
    margin-top: 45px;
    margin-bottom: 0;
}


/* =========================================================
   Contact
   ========================================================= */

.contact-section {
    padding: 130px 30px;
    background: var(--blue);
}


.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}


.contact-section .section-label {
    color: rgba(255, 255, 255, 0.65);
}


.contact-section h2 {
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}


.contact-section p {
    max-width: 650px;
    margin: 0 auto 35px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.1rem;
}


.contact-section .button-primary {
    background: var(--navy);
}


    .contact-section .button-primary:hover {
        background: #071522;
    }


/* =========================================================
   Footer
   ========================================================= */

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 35px 30px;
    background: var(--black);
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.75rem;
}


    .site-footer div {
        display: flex;
        flex-direction: column;
        gap: 3px;
    }


    .site-footer strong {
        color: rgba(255, 255, 255, 0.8);
    }


    .site-footer span {
        color: rgba(255, 255, 255, 0.45);
    }


/* =========================================================
   Responsive / Mobile
   ========================================================= */

@media (max-width: 900px) {

    .nav-links {
        gap: 15px;
    }


        .nav-links a {
            font-size: 0.75rem;
        }


    .split-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }


    .process-flow {
        grid-template-columns: 1fr;
        gap: 25px;
    }


    .process-arrow {
        display: none;
    }


    .experience-item {
        grid-template-columns: 1fr;
        gap: 15px;
    }


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


    .education-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}


@media (max-width: 700px) {

    .section {
        padding: 80px 20px;
    }


    .navbar {
        padding: 15px 20px;
    }


    .logo {
        font-size: 0.8rem;
    }


    .nav-links {
        display: none;
    }


    .hero-content {
        padding: 80px 20px;
    }


    .hero {
        min-height: auto;
    }


        .hero h1 {
            font-size: clamp(2.8rem, 13vw, 4rem);
        }


    .hero-description {
        font-size: 1.05rem;
    }


    .hero-credentials {
        flex-direction: column;
        gap: 4px;
    }


        .hero-credentials span:nth-child(even) {
            display: none;
        }


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


    .capability-card {
        min-height: auto;
    }


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


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


    .education-highlights {
        grid-template-columns: 1fr;
    }


    .site-footer {
        flex-direction: column;
    }
}
