/* =========================
   GLOBAL
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: #17202a;
    background: #ffffff;
    line-height: 1.6;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}

a {
    text-decoration: none;
    color: inherit;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.96);
    border-bottom: 1px solid #e8e8e8;
}

.nav-container {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo span {
    color: #d71920;
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    font-size: 14px;
    font-weight: 600;
    color: #343a40;
    transition: 0.3s;
}

nav a:hover {
    color: #d71920;
}

.nav-button {
    background: #d71920;
    color: white;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 760px;
    position: relative;
    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            #101820 0%,
            #101820 45%,
            rgba(16,24,32,0.65) 70%,
            rgba(16,24,32,0.25) 100%
        );
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background-image:
        radial-gradient(
            circle at 80% 50%,
            rgba(215,25,32,0.22),
            transparent 35%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding-top: 80px;
}

.eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #d71920;
    margin-bottom: 18px;
}

.hero .eyebrow {
    color: #ff4b51;
}

.hero h1 {
    font-size: clamp(46px, 6vw, 78px);
    line-height: 1.05;
    letter-spacing: -3px;
    max-width: 850px;
    margin-bottom: 28px;
}

.hero-text {
    max-width: 650px;
    font-size: 18px;
    color: #d9dee3;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
}


/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-block;
    padding: 14px 26px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid transparent;
    cursor: pointer;
}

.primary {
    background: #d71920;
    color: white;
}

.primary:hover {
    background: #b8141a;
}

.secondary {
    border-color: rgba(255,255,255,0.5);
    color: white;
}

.secondary:hover {
    background: white;
    color: #17202a;
}


/* =========================
   SECTIONS
========================= */

.section {
    padding: 110px 0;
}

.section-heading {
    margin-bottom: 55px;
}

.section-heading h2 {
    font-size: clamp(36px, 4vw, 54px);
    line-height: 1.1;
    letter-spacing: -2px;
}

.section-heading.center {
    text-align: center;
}

.section-heading.center > p:last-child {
    max-width: 650px;
    margin: 20px auto 0;
    color: #66717c;
}


/* ================================
   ABOUT SECTION
================================ */

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: start;
}

.about-image img {
    width: 100%;
    display: block;
    border-radius: 4px;
}

.about-text {
    display: flex;
    flex-direction: column;
}

.about-text h2 {
    margin-top: 0;
    margin-bottom: 28px;
}

.about-text p {
    margin-bottom: 22px;
    line-height: 1.8;
}


.company-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 35px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.company-info div {
    padding: 20px 12px;
    border-right: 1px solid #ddd;
}

.company-info div:last-child {
    border-right: none;
}

.company-info strong,
.company-info span {
    display: block;
}

.company-info strong {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.company-info span {
    color: #d71920;
    font-size: 13px;
}


/* ================================
   ABOUT STATS
================================ */

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 30px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.stat {
    padding: 22px 15px;
    border-right: 1px solid #ddd;
}

.stat:last-child {
    border-right: none;
}

.stat h4 {
    margin: 0 0 10px;
    font-size: 13px;
    letter-spacing: 1px;
    color: #17202b;
}

.stat p {
    margin: 0;
    font-size: 15px;
    color: #e21b23;
    line-height: 1.4;
}


/* ================================
   MOBILE
================================ */

@media (max-width: 768px) {

    .about-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .stat {
        border-right: none;
        border-bottom: 1px solid #ddd;
    }

    .stat:last-child {
        border-bottom: none;
    }
}
.about-section {
    background: #ffffff;
    padding: 110px 0;
    color: #17202b;
}

.about-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


/* Heading */

.about-heading {
    max-width: 850px;
    margin-bottom: 70px;
}

.about-heading span,
.block-heading span,
.about-final > span {
    display: block;
    color: #e21b23;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.about-heading h2 {
    font-size: 48px;
    line-height: 1.1;
    margin: 0 0 25px;
    font-weight: 800;
    color: #142033;
}

.about-heading p {
    font-size: 18px;
    line-height: 1.8;
    color: #617085;
}


/* Introduction */

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.about-image {
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-radius: 4px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-text h3 {
    font-size: 32px;
    margin-bottom: 22px;
    color: #142033;
}

.about-text p {
    color: #617085;
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 18px;
}


/* Blocks */

.about-block {
    margin-bottom: 100px;
}

.block-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 35px;
}

.block-heading span {
    margin: 0;
    font-size: 15px;
}

.block-heading h3 {
    font-size: 34px;
    margin: 0;
    color: #142033;
}


/* What We Do */

.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.about-card {
    padding: 40px;
    background: #f5f7fa;
    border: 1px solid #e5e9ee;
    position: relative;
}

.card-number {
    color: #e21b23;
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 20px;
}

.about-card h4 {
    font-size: 25px;
    margin: 0 0 18px;
    color: #142033;
}

.about-card p {
    color: #617085;
    line-height: 1.75;
}

.about-card ul {
    padding-left: 20px;
    margin: 20px 0;
}

.about-card li {
    margin-bottom: 10px;
    color: #344255;
}

.small-text {
    font-size: 14px;
}


/* Performance */

.performance-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 25px 0;
}

.performance-list div {
    background: white;
    padding: 15px;
    border-left: 3px solid #e21b23;
}

.performance-list strong {
    display: block;
    color: #142033;
    margin-bottom: 4px;
}

.performance-list span {
    font-size: 13px;
    color: #718096;
}


/* Engineering Approach */

.engineering-approach {
    background: #142033;
    color: white;
    padding: 60px;
    margin-bottom: 100px;
}

.approach-content {
    max-width: 800px;
}

.approach-content > span {
    color: #e21b23;
    font-weight: 800;
}

.approach-content h3 {
    font-size: 36px;
    margin: 12px 0 20px;
}

.approach-content p {
    color: #c7d0dc;
    line-height: 1.8;
}


/* Process */

.process-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 50px;
}

.process-item {
    text-align: center;
    min-width: 110px;
}

.process-icon {
    width: 50px;
    height: 50px;
    border: 2px solid #e21b23;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto auto 12px;
    font-weight: 700;
}

.process-item h4 {
    font-size: 14px;
    margin: 0;
}

.process-line {
    height: 1px;
    background: #526071;
    flex: 1;
    margin: 0 10px;
}


/* Capabilities */

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.capability-item {
    padding: 18px 20px;
    border: 1px solid #e1e5ea;
    background: #fafbfc;
    font-weight: 600;
}

.capability-item::before {
    content: "✓";
    color: #e21b23;
    margin-right: 10px;
}

.capabilities-note {
    color: #617085;
    line-height: 1.7;
    margin-top: 25px;
}


/* Industries */

.industries-section {
    margin-bottom: 100px;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.industry-card {
    padding: 30px;
    border: 1px solid #e2e7ed;
    transition: 0.3s;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.industry-card h4 {
    font-size: 19px;
    color: #142033;
    margin-bottom: 12px;
}

.industry-card p {
    color: #617085;
    line-height: 1.7;
    font-size: 14px;
}


/* Why Us */

.why-us {
    margin-bottom: 100px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.why-card {
    padding: 30px;
    background: #f5f7fa;
    border-top: 3px solid #e21b23;
}

.why-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.why-card p {
    color: #617085;
    line-height: 1.7;
}


/* Final */

.about-final {
    background: #f5f7fa;
    padding: 65px;
    text-align: center;
}

.about-final h3 {
    font-size: 38px;
    color: #142033;
    margin: 10px auto 25px;
}

.about-final p {
    max-width: 850px;
    margin: 12px auto;
    color: #617085;
    line-height: 1.8;
}

.about-tagline {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #dce1e7;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about-tagline strong {
    font-size: 25px;
    color: #142033;
}

.about-tagline span {
    color: #617085;
}

.about-tagline b {
    color: #e21b23;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    .about-section {
        padding: 70px 0;
    }

    .about-heading h2 {
        font-size: 36px;
    }

    .about-intro,
    .about-cards {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 300px;
    }

    .process-flow {
        flex-direction: column;
        gap: 15px;
    }

    .process-line {
        width: 1px;
        height: 25px;
        flex: none;
    }

    .capabilities-grid,
    .industries-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .engineering-approach,
    .about-final {
        padding: 35px 25px;
    }

}


/* =========================
   PRODUCTS
========================= */

.products-section {
    background: #f5f6f7;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.product-card {
    background: white;
    border: 1px solid #e1e4e7;
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.product-gallery {
    background: #eef0f2;
}

.main-product-image {
    width: 100%;
    height: 330px;
    overflow: hidden;
    background: #e5e7e9;
}

.main-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 0.25s ease;
}

.thumbnail-row {
    display: flex;
    gap: 8px;
    padding: 10px;
    background: white;
    overflow-x: auto;
}

.thumbnail-row img {
    width: 70px;
    height: 55px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.65;
    transition: 0.2s;
}

.thumbnail-row img:hover {
    opacity: 1;
    border-color: #d71920;
}

.thumbnail-row img.active-thumb {
    opacity: 1;
    border-color: #d71920;
}

.product-content {
    padding: 30px;
}

.product-number {
    color: #d71920;
    font-size: 12px;
    font-weight: 800;
}

.product-content h3 {
    font-size: 23px;
    line-height: 1.25;
    margin: 12px 0;
}

.product-content p {
    color: #69737c;
    font-size: 14px;
    margin-bottom: 20px;
}

.product-content ul {
    list-style: none;
    margin-bottom: 25px;
}

.product-content li {
    font-size: 13px;
    margin-bottom: 7px;
}

.product-content li::before {
    content: "✓";
    color: #d71920;
    font-weight: bold;
    margin-right: 8px;
}

.product-link {
    color: #d71920;
    font-size: 13px;
    font-weight: 800;
}

/* =========================
   SERVICES
========================= */

.services-section {
    background: #f5f6f7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    border: 1px solid #e1e4e7;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.08);
}


/* =========================
   SERVICE IMAGE AREA
========================= */

.service-images {
    display: block;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: #e5e7e9;
}

.service-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}


.service-image:hover img {
    transform: scale(1.04);
}


/* =========================
   SERVICE CONTENT
========================= */

.service-content {
    padding: 30px;
}

.service-number {
    color: #d71920;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.service-content h3 {
    font-size: 25px;
    margin: 10px 0 12px;
}

.service-content p {
    color: #69737c;
    font-size: 14px;
    margin-bottom: 20px;
}

.service-content ul {
    list-style: none;
}

.service-content li {
    font-size: 13px;
    margin-bottom: 7px;
}

.service-content li::before {
    content: "✓";
    color: #d71920;
    font-weight: bold;
    margin-right: 8px;
}


/* =========================
   IMAGE PLACEHOLDER
========================= */

.service-placeholder {
    height: 250px;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #899198;
}

.service-placeholder span {
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.service-placeholder p {
    font-size: 13px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

    .services-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .service-images {
        grid-template-columns: 1fr;
    }

    .service-image {
        height: 230px;
    }

}
/* =========================
   CAPABILITIES
========================= */

.capability-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.capability {
    border-top: 2px solid #d71920;
    padding-top: 25px;
}

.icon {
    font-size: 30px;
    margin-bottom: 20px;
}

.capability h3 {
    font-size: 19px;
    margin-bottom: 10px;
}

.capability p {
    font-size: 14px;
    color: #69737c;
}


/* =========================
   CTA
========================= */
/*
.cta {
    background: #101820;
    color: white;
    padding: 80px 0;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.cta h2 {
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.1;
    margin-bottom: 15px;
}

.cta p {
    color: #aeb6bd;
}
*/

/* =========================
   CONTACT
========================= */

.contact-section {
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
}

.contact-details h3 {
    font-size: 30px;
    margin-bottom: 8px;
}

.contact-details > p {
    color: #69737c;
    margin-bottom: 40px;
}

.contact-item {
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

.contact-item strong {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.contact-item span {
    color: #606b74;
}


/* =========================
   FORM
========================= */

.contact-form {
    background: #f5f6f7;
    padding: 40px;
}

.contact-form h3 {
    font-size: 26px;
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #d8dce0;
    background: white;
    padding: 15px;
    margin-bottom: 15px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #d71920;
}

.contact-form textarea {
    resize: vertical;
}

#formMessage {
    margin-top: 15px;
    color: #d71920;
    font-size: 14px;
}



/* =========================================
   ENQUIRY BOX
========================================= */

.enquiry-box {
    background: #f5f6f7;
    padding: 45px 43px 55px;
}

.enquiry-box h2 {
    font-size: 30px;
    color: #132033;
    margin: 0 0 35px;
    font-weight: 700;
}


/* =========================================
   FORM
========================================= */
/*
#enquiryForm {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

#enquiryForm input,
#enquiryForm textarea {
    width: 100%;
    box-sizing: border-box;

    border: 1px solid #d8dce0;
    background: #ffffff;

    padding: 16px;
    font-family: inherit;
    font-size: 16px;
    color: #17212d;

    outline: none;

    transition: border-color 0.2s ease,
                box-shadow 0.2s ease;
}

#enquiryForm input {
    height: 52px;
}

#enquiryForm textarea {
    resize: vertical;
}

.full-width {
    display: block;
    margin-bottom: 16px;
}

.message-box {
    min-height: 140px;
}

*/
/* INPUT FOCUS */

#enquiryForm input:focus,
#enquiryForm textarea:focus {
    border-color: #e21b23;
    box-shadow: 0 0 0 2px rgba(226, 27, 35, 0.08);
}


/* PLACEHOLDER */

#enquiryForm input::placeholder,
#enquiryForm textarea::placeholder {
    color: #7b8794;
    opacity: 1;
}


/* =========================================
   SEND BUTTON
========================================= */

#sendButton {
    display: inline-block;

    margin-top: 5px;

    background: #e21b23;
    color: #ffffff;

    border: none;
    border-radius: 4px;

    padding: 15px 31px;

    font-family: inherit;
    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    transition: all 0.25s ease;

    box-shadow: 0 4px 10px rgba(226, 27, 35, 0.20);
}

#sendButton:hover {
    background: #c9141b;

    transform: translateY(-2px);

    box-shadow: 0 6px 15px rgba(226, 27, 35, 0.28);
}

#sendButton:active {
    transform: translateY(0);
}

#sendButton:disabled {
    background: #999999;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 900px) {

    .contact-container {
        width: 90%;
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contact-subtitle {
        margin-bottom: 40px;
    }

    .enquiry-box {
        padding: 35px 25px 40px;
    }
}


@media (max-width: 600px) {

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-section {
        padding: 50px 0;
    }

    .enquiry-box h2 {
        font-size: 25px;
    }

    .contact-info h2 {
        font-size: 29px;
    }
}
/* =========================
   FOOTER
========================= */

footer {
    background: #0b1116;
    color: white;
}

.footer-content {
    padding: 55px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    color: #8e979e;
    margin-top: 8px;
    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: #c3c8cc;
    font-size: 13px;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    text-align: center;
    border-top: 1px solid #252c32;
    padding: 20px;
    color: #727b82;
    font-size: 12px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    nav {
        display: none;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
    }

    .capability-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cta-content {
        flex-direction: column;
        align-items: flex-start;
    }

}


@media (max-width: 600px) {

    .hero {
        min-height: 680px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-grid,
    .capability-grid {
        grid-template-columns: 1fr;
    }

    .company-info {
        grid-template-columns: 1fr;
    }

    .company-info div {
        border-right: none;
        border-bottom: 1px solid #ddd;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 25px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

}