:root {

    --blue: #1559ad;
    --deep-blue: #315f91;
    --navy: #102b45;
    --footer: #0b2033;

    --grey: #777e86;
    --light-grey: #edf2f6;
    --soft-grey: #f7f9fb;

    --text: #17212b;
    --white: #ffffff;
}



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

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


html {
    scroll-behavior: smooth;
}


body {

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--text);

    background: white;

    line-height: 1.6;
}


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


.container {

    width: 90%;
    max-width: 1240px;

    margin: auto;
}


section {
    scroll-margin-top: 90px;
}



/* =========================================================
   HEADER
   ========================================================= */

.header {

    position: sticky;

    top: 0;

    z-index: 2000;

    height: 90px;

    background: var(--footer);

    overflow: visible;
}



/*
35% white area as requested.
14% diagonal value matching Home partition.
*/

.header-white-shape {

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 35%;

    background: white;

    clip-path:
        polygon(
            0 0,
            100% 0,
            95% 100%,
            0 100%
        );

    z-index: 1;
}


.navbar {

    position: relative;

    z-index: 4;

    min-height: 90px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}



/* BRAND */

.brand {

    display: flex;

    align-items: center;

    gap: 15px;

    text-decoration: none;
}


.brand-logo {

    width: 88px;

    height: 69px;

    object-fit: cover;
}


.brand-text {

    display: flex;

    flex-direction: column;
}


.brand-text strong {

    color: var(--blue);

    font-size: 21px;

    letter-spacing: 2px;

    line-height: 1;
}


.brand-text span {

    color: var(--grey);

    font-size: 10px;

    letter-spacing: 4px;

    margin-top: 7px;
}



/* =========================================================
   DESKTOP NAVIGATION
   ========================================================= */

.nav-links {

    display: flex;

    align-items: center;

    list-style: none;

    gap: 30px;
}


.nav-links > li {
    position: relative;
}


.nav-link {

    position: relative;

    display: inline-flex;

    align-items: center;

    padding:
        33px 0 30px;

    color: #dce5ed !important;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    transition: .25s;
}


.nav-link:hover {
    color: white !important;
}



/* ACTIVE TAB LINE */

.nav-link::after {

    content: "";

    position: absolute;

    left: 50%;

    bottom: 18px;

    width: 0;

    height: 3px;

    background: #74a9d7;

    border-radius: 4px;

    transform:
        translateX(-50%);

    transition:
        width .25s ease;
}


.nav-link.active {
    color: white !important;
}


.nav-link.active::after {
    width: 32px;
}



/* CONTACT BUTTON */

.contact-btn {

    padding:
        10px 18px !important;

    border:
        1px solid
        rgba(255,255,255,.70);
}


.contact-btn::after {
    bottom: -9px;
}


.contact-btn:hover {

    background: white;

    color: var(--footer) !important;
}



/* =========================================================
   SERVICES DROPDOWN
   ========================================================= */

.dropdown-toggle {

    display: flex;

    align-items: center;

    gap: 6px;
}


.dropdown-arrow {

    font-size: 8px;

    transition: .25s;
}


.dropdown-menu {

    position: absolute;

    top: 72px;

    left: -15px;

    min-width: 215px;

    padding: 8px 0;

    list-style: none;

    background: white;

    border-top:
        3px solid var(--blue);

    box-shadow:
        0 18px 42px
        rgba(10,26,40,.18);

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(8px);

    transition: .25s;
}


.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {

    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);
}


.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}


.dropdown-menu a {

    display: block;

    padding:
        12px 20px;

    color: #3d4853;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;
}


.dropdown-menu a:hover {

    color: var(--blue);

    background:
        var(--light-grey);
}



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

.mobile-menu-button {

    display: none;

    background: transparent;

    border: 0;

    color: white;

    font-size: 28px;

    cursor: pointer;
}


.mobile-nav {

    display: none;

    flex-direction: column;

    padding:
        5px 5% 25px;

    background: white;
}


.mobile-nav.show {
    display: flex;
}


.mobile-nav > a {

    padding: 12px 0;

    border-bottom:
        1px solid #e8ebee;

    color: var(--deep-blue);

    text-decoration: none;

    font-weight: 600;
}


.mobile-services-button {

    width: 100%;

    padding: 12px 0;

    display: flex;

    justify-content:
        space-between;

    border: 0;

    border-bottom:
        1px solid #e8ebee;

    background: white;

    color: var(--deep-blue);

    font-size: 16px;

    font-weight: 600;
}


.mobile-services-menu {

    display: none;

    padding-left: 18px;

    background:
        var(--soft-grey);
}


.mobile-services-menu.show {
    display: block;
}


.mobile-services-menu a {

    display: block;

    padding: 11px;

    color: var(--deep-blue);

    text-decoration: none;
}



/* =========================================================
   HOME
   ========================================================= */

.hero {

    min-height: 570px;

    position: relative;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        var(--deep-blue);
}


.hero-image-area {

    position: absolute;

    right: 0;

    top: 0;

    bottom: 0;

    width: 46%;

    overflow: hidden;

    background: white;

    z-index: 1;

    clip-path:
        polygon(
            14% 0,
            100% 0,
            100% 100%,
            0 100%
        );
}


.hero-image-area img {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position:
        center center;
}


.hero-inner {

    position: relative;

    z-index: 5;
}


.hero-content {

    width: 52%;

    padding:
        55px 0;

    color: white;
}


.hero-label {

    color: #d2e0ec;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 4px;

    margin-bottom: 18px;
}


.hero h1 {

    font-size:
        clamp(
            48px,
            5.3vw,
            72px
        );

    line-height: 1.03;

    letter-spacing: -2px;

    margin-bottom: 22px;
}


.hero h1 span {

    display: block;

    color: #c5d8e8;

    margin-top: 5px;
}


.hero-description {

    max-width: 600px;

    color: #edf3f8;

    font-size: 16px;

    line-height: 1.75;

    margin-bottom: 28px;
}


.hero-buttons {

    display: flex;

    gap: 14px;
}


.btn {

    padding:
        13px 24px;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

    transition: .25s;
}


.btn-white {

    background: white;

    color: var(--deep-blue);
}


.btn-outline {

    color: white;

    border:
        1px solid
        rgba(255,255,255,.8);
}


.btn-outline:hover {

    background: white;

    color: var(--deep-blue);
}



/* =========================================================
   COMMON
   ========================================================= */

.section-tag {

    color: var(--blue);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 4px;

    margin-bottom: 15px;
}


.light-tag {
    color: #c4d7e7;
}


h2 {

    font-size:
        clamp(
            34px,
            3.7vw,
            46px
        );

    line-height: 1.2;

    letter-spacing: -1px;
}


h2 span {

    display: block;

    color: var(--grey);
}


.section-description {

    color: #68737d;

    max-width: 650px;

    margin-top: 14px;

    line-height: 1.65;

    font-size: 14px;
}



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

.about-section {

    padding:
        85px 0;

    background: white;
}


.about-grid {

    display: grid;

    grid-template-columns:
        .9fr 1.1fr;

    gap: 90px;
}


.about-content > p {

    color: #66727e;

    font-size: 16px;

    line-height: 1.8;

    margin-bottom: 17px;
}


.about-highlights {

    margin-top: 28px;

    display: grid;

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

    gap: 11px;
}


.about-highlights div {

    padding: 16px;

    background:
        var(--soft-grey);

    border-left:
        3px solid var(--blue);
}


.about-highlights strong {

    display: block;

    color: var(--blue);

    font-size: 10px;

    margin-bottom: 5px;
}


.about-highlights span {

    color: #4d5964;

    font-size: 13px;
}



/* =========================================================
   OUR SERVICES
   MORE COMPACT
   ========================================================= */

.services-section {

    padding:
        52px 0 56px;

    background:
        var(--soft-grey);
}


.section-heading {

    max-width: 730px;

    margin-bottom: 24px;
}


.service-grid {

    display: grid;

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

    gap: 24px;
}


.service-card {

    background: white;

    overflow: hidden;

    text-decoration: none;

    color: var(--text);

    transition: .3s;
}


.service-card:hover {

    transform:
        translateY(-5px);

    box-shadow:
        0 18px 40px
        rgba(21,48,72,.11);
}


.service-image {

    height: 195px;

    overflow: hidden;
}


.service-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;
}


.service-content {

    padding:
        17px 23px 19px;
}


.service-number {

    display: block;

    color: var(--blue);

    font-size: 9px;

    font-weight: 700;

    margin-bottom: 5px;
}


.service-content h3 {

    color: var(--deep-blue);

    font-size: 22px;

    margin-bottom: 4px;
}


.service-content p {

    color: #67737e;

    margin-bottom: 10px;

    line-height: 1.5;

    font-size: 12.5px;
}


.service-content strong {

    color: var(--blue);

    font-size: 11px;
}



/* =========================================================
   PRODUCTION + TOOLING
   MORE COMPACT
   ========================================================= */

.project-service {

    padding:
        52px 0 56px;
}


.production-projects {

    background:
        var(--deep-blue);

    color: white;
}


.tooling-projects {

    background:
        #f6f8fa;
}


.project-service-heading {

    max-width: 750px;

    margin-bottom: 24px;
}


.production-projects
.project-service-heading h2 span {

    color: #c3d7e8;
}


.project-service-heading > p:last-child {

    margin-top: 9px;

    color: #dce7f0;

    font-size: 12.5px;

    line-height: 1.5;
}


.tooling-heading > p:last-child {
    color: #68737d;
}


.project-box-grid {

    display: grid;

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

    gap: 18px;
}



/* =========================================================
   PROJECT CARDS
   ========================================================= */

.project-box {

    overflow: hidden;

    background: white;

    box-shadow:
        0 10px 26px
        rgba(16,36,54,.10);

    transition: .3s;
}


.project-box:hover {
    transform: translateY(-4px);
}


.project-box-content {

    padding:
        16px 19px 18px;
}


.project-label {

    display: block;

    color: var(--blue);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 4px;
}


.project-box h3 {

    color: var(--deep-blue);

    font-size: 17px;

    margin-bottom: 5px;
}


.project-box-content p {

    color: #65717b;

    font-size: 11.5px;

    line-height: 1.45;

    margin-top: 3px;
}



/* =========================================================
   SLIDER
   ========================================================= */

.slider {

    height: 195px;

    position: relative;

    overflow: hidden;

    background: #e8ecef;
}


.slides {

    height: 100%;

    position: relative;
}


.slide {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    opacity: 0;

    transition:
        opacity .5s;
}


.slide.active {
    opacity: 1;
}


.slider-btn {

    position: absolute;

    top: 50%;

    transform:
        translateY(-50%);

    width: 32px;

    height: 32px;

    border: 0;

    border-radius: 50%;

    background:
        rgba(14,39,62,.76);

    color: white;

    font-size: 21px;

    cursor: pointer;

    z-index: 5;
}


.slider-prev {
    left: 10px;
}


.slider-next {
    right: 10px;
}


.slider-dots {

    position: absolute;

    bottom: 10px;

    left: 50%;

    transform:
        translateX(-50%);

    display: flex;

    gap: 6px;

    z-index: 6;
}


.slider-dot {

    width: 7px;

    height: 7px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background:
        rgba(255,255,255,.55);
}


.slider-dot.active {
    background: white;
}


.slide-caption {

    position: absolute;

    top: 13px;

    left: 13px;

    z-index: 7;

    display: none;

    padding:
        6px 10px;

    background:
        rgba(18,49,78,.90);

    color: white;

    font-size: 8.5px;

    font-weight: 700;

    letter-spacing: 1.3px;
}


.slide-caption.show {
    display: block;
}



/* =========================================================
   CAPABILITY
   ========================================================= */

.capabilities-section {

    position: relative;

    padding:
        75px 0 34px;

    color: white;

    background:
        var(--navy);
}


.capability-grid {

    display: grid;

    grid-template-columns:
        .85fr 1.15fr;

    gap: 90px;

    align-items: center;
}


.capability-heading h2 span {
    color: #c1d4e4;
}


.capability-heading > p:last-child {

    color: #c5d5e2;

    margin-top: 17px;

    line-height: 1.7;
}


.capability-content {

    display: grid;

    gap: 17px;
}


.primary-capability-card {

    padding: 28px;

    background:
        rgba(255,255,255,.07);

    border-left:
        4px solid #5b91c2;
}


.primary-capability-card > span {

    display: block;

    font-size: 38px;

    font-weight: 700;

    line-height: 1.1;
}


.primary-capability-card h3 {

    margin-top: 5px;

    font-size: 19px;
}


.primary-capability-card p {

    color: #c0d1df;

    margin-top: 4px;

    font-size: 13px;
}



/* MATERIALS */

.material-capability {

    padding: 21px;

    border:
        1px solid
        rgba(255,255,255,.12);
}


.material-capability > p {

    color: #8eabc4;

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 13px;
}


.material-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}


.material-tags span {

    padding:
        7px 12px;

    color: white;

    font-size: 11px;

    background:
        rgba(255,255,255,.08);

    border:
        1px solid
        rgba(255,255,255,.12);
}



/* DOWN ARROW */

.capability-arrow-container {

    width: 90%;

    max-width: 1240px;

    margin:
        25px auto 0;

    padding-top: 12px;

    display: flex;

    justify-content: center;

    border-top:
        1px solid
        rgba(255,255,255,.10);
}


.capability-down-arrow {

    width: 44px;

    height: 44px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: white;

    text-decoration: none;

    font-size: 28px;

    line-height: 1;

    border:
        1px solid
        rgba(255,255,255,.28);

    border-radius: 50%;

    transition: .25s;

    animation:
        capabilityArrow
        1.7s infinite;
}


.capability-down-arrow:hover {

    background:
        rgba(255,255,255,.10);
}


@keyframes capabilityArrow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}



/* =========================================================
   MACHINE
   ========================================================= */

.machine-section {

    padding:
        85px 0;

    background: white;
}


.machine-layout {

    display: grid;

    grid-template-columns:
        .9fr 1.1fr;

    gap: 75px;

    align-items: center;
}


.machine-visual {

    padding: 34px;

    background:
        linear-gradient(
            145deg,
            #f5f7f8,
            #e7edf2
        );
}


.machine-visual img {

    width: 100%;

    max-height: 450px;

    object-fit: contain;
}


.machine-description {

    color: #68737d;

    margin:
        18px 0 28px;

    line-height: 1.7;
}


.machine-spec-grid {

    display: grid;

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

    gap: 10px;
}


.machine-spec {

    padding: 16px;

    background:
        var(--soft-grey);

    border-left:
        3px solid transparent;
}


.machine-spec:hover {
    border-left-color: var(--blue);
}


.machine-spec span {

    display: block;

    color: var(--grey);

    font-size: 8px;

    letter-spacing: 1.4px;

    margin-bottom: 4px;
}


.machine-spec strong {

    color: var(--deep-blue);

    font-size: 14px;
}



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

.contact-section {

    padding:
        78px 0;

    color: white;

    background:
        linear-gradient(
            120deg,
            var(--deep-blue),
            var(--navy)
        );
}


.contact-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 85px;

    align-items: center;
}


.contact-section h2 span {
    color: #c3d7e8;
}


.contact-description {

    color: #d6e2ec;

    margin-top: 17px;

    line-height: 1.7;
}


.contact-details {

    display: grid;

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

    gap: 12px;
}


.contact-details > div {

    padding: 18px;

    background:
        rgba(255,255,255,.06);

    border:
        1px solid
        rgba(255,255,255,.12);
}


.contact-details > div:last-child {
    grid-column: 1 / -1;
}


.contact-details span {

    display: block;

    color: #91b0ca;

    font-size: 8px;

    letter-spacing: 2px;

    margin-bottom: 5px;
}


.contact-details a,
.contact-details p {

    display: block;

    color: white;

    text-decoration: none;

    font-size: 13px;
}



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

.footer {

    background:
        var(--footer);

    color: white;
}


.footer-grid {

    display: grid;

    grid-template-columns:
        1.45fr
        .75fr
        1fr
        1.05fr;

    gap: 60px;

    padding:
        65px 0 50px;
}


.footer-logo {

    display: flex;

    align-items: center;

    gap: 13px;

    margin-bottom: 20px;

    text-decoration: none;
}


.footer-logo img {

    width: 72px;

    background: white;
}


.footer-logo div {

    display: flex;

    flex-direction: column;
}


.footer-logo strong {

    color: white;

    font-size: 18px;

    letter-spacing: 2px;
}


.footer-logo span {

    color: #aabccc;

    font-size: 8px;

    letter-spacing: 4px;
}


.footer-company p {

    color: #9caebe;

    font-size: 13px;

    line-height: 1.7;
}


.footer-column h3 {

    margin-bottom: 20px;

    font-size: 14px;
}


.footer-column ul {
    list-style: none;
}


.footer-column li {
    margin-bottom: 9px;
}


.footer-column a {

    color: #a1b2c1;

    text-decoration: none;

    font-size: 12px;
}


.footer-column a:hover {
    color: white;
}


.footer-contact > span {

    display: block;

    color: #759dbf;

    font-size: 8px;

    letter-spacing: 2px;

    margin-top: 14px;
}


.footer-contact p {

    color: #a1b2c1;

    font-size: 12px;
}


.footer-bottom {
    background: #071928;
}


.footer-bottom-content {

    min-height: 62px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.footer-bottom-content p,
.footer-bottom-content a {

    color: #71879a;

    font-size: 11px;

    text-decoration: none;
}



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

@media (max-width: 1050px) {

    .header-white-shape {
        width: 72%;
    }


    .desktop-nav {
        display: none;
    }


    .mobile-menu-button {
        display: block;
    }


    .hero {

        min-height: auto;

        display: flex;

        flex-direction: column;
    }


    .hero-inner {

        order: 1;

        width: 100%;
    }


    .hero-content {

        width: 100%;

        max-width: 760px;
    }


    .hero-image-area {

        position: relative;

        order: 2;

        width: 100%;

        height: 430px;

        clip-path: none;
    }


    .about-grid,
    .capability-grid,
    .machine-layout,
    .contact-grid {

        grid-template-columns:
            1fr;

        gap: 45px;
    }


    .project-box-grid {

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


    .footer-grid {

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

}



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

@media (max-width: 700px) {

    .container {
        width: 88%;
    }


    .header {
        height: 78px;
    }


    .navbar {
        min-height: 78px;
    }


    .header-white-shape {
        width: 82%;
    }


    .brand-logo {

        width: 68px;

        height: 53px;
    }


    .brand-text strong {
        font-size: 16px;
    }


    .brand-text span {
        font-size: 7px;
    }


    .hero-content {
        padding: 65px 0;
    }


    .hero h1 {

        font-size: 44px;

        letter-spacing: -1px;
    }


    .hero-description {
        font-size: 15px;
    }


    .hero-buttons {

        flex-direction: column;

        align-items: flex-start;
    }


    .hero-image-area {
        height: 330px;
    }


    .about-highlights,
    .service-grid,
    .project-box-grid,
    .machine-spec-grid,
    .contact-details {

        grid-template-columns:
            1fr;
    }


    .service-image {
        height: 215px;
    }


    .slider {
        height: 220px;
    }


    .contact-details > div:last-child {
        grid-column: auto;
    }


    .footer-grid {

        grid-template-columns:
            1fr;

        gap: 38px;
    }


    .footer-bottom-content {

        flex-direction: column;

        align-items: flex-start;

        justify-content: center;

        gap: 7px;

        padding: 16px 0;
    }

}