/* =========================
   SBP METRO PARTS
   PROFESSIONAL CSS
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: #172033;
    background: #f7f9fc;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}


/* ================= HEADER ================= */

.header {
    background: white;
    border-bottom: 1px solid #e7eaf0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-container {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #0b2a4a;
    color: white;

    border-radius: 8px;

    font-weight: 800;
    letter-spacing: 1px;
}

.logo strong {
    display: block;

    font-size: 17px;
    letter-spacing: .5px;

    color: #0b2a4a;
}

.logo span {
    display: block;

    font-size: 11px;
    color: #718096;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 27px;
}

.navbar a {
    font-size: 14px;
    font-weight: 600;

    color: #465365;

    transition: .2s;
}

.navbar a:hover {
    color: #1261a0;
}

.nav-button {
    background: #1261a0;
    color: white;

    padding: 11px 18px;

    border-radius: 6px;

    font-size: 13px;
    font-weight: 700;
}

.menu-btn {
    display: none;

    border: none;
    background: none;

    font-size: 25px;
    cursor: pointer;
}


/* ================= HERO ================= */

.hero {
    background:
        linear-gradient(
            115deg,
            #071b2d,
            #0c3555
        );

    color: white;

    min-height: 600px;

    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;

    grid-template-columns:
        1.1fr .9fr;

    gap: 60px;

    align-items: center;
}

.hero-tag {
    display: inline-block;

    padding: 7px 12px;

    background: rgba(255,255,255,.08);

    border: 1px solid rgba(255,255,255,.12);

    border-radius: 4px;

    color: #9bd2ff;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.2px;
}

.hero h1 {
    font-size: clamp(40px, 5vw, 62px);

    line-height: 1.08;

    margin: 22px 0;

    max-width: 700px;
}

.hero h1 span {
    display: block;
    color: #69b8f5;
}

.hero p {
    max-width: 650px;

    color: #cbd9e7;

    font-size: 17px;
}

.hero-buttons {
    display: flex;
    gap: 14px;

    margin-top: 30px;
}

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 13px 22px;

    border-radius: 6px;

    font-size: 14px;
    font-weight: 700;

    transition: .2s;
}

.btn-primary {
    background: #1681c4;
    color: white;
}

.btn-primary:hover {
    background: #0f6ca6;
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid #7094b0;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: #0b2a4a;
}

.hero-stats {
    display: flex;

    gap: 35px;

    margin-top: 45px;
}

.hero-stats div {
    border-left: 2px solid #317ba9;

    padding-left: 13px;
}

.hero-stats strong {
    display: block;

    font-size: 22px;
}

.hero-stats span {
    color: #a9bacb;

    font-size: 12px;
}


/* HERO VISUAL */

.hero-visual {
    display: flex;

    justify-content: center;
}

.train-card {
    width: 390px;
    height: 350px;

    position: relative;

    background:
        linear-gradient(
            145deg,
            #123e60,
            #08243b
        );

    border:
        1px solid
        rgba(255,255,255,.15);

    border-radius: 18px;

    box-shadow:
        0 30px 70px
        rgba(0,0,0,.35);

    overflow: hidden;
}

.train-top {
    padding: 18px;

    font-size: 11px;

    letter-spacing: 2px;

    color: #8fcdf4;

    border-bottom:
        1px solid
        rgba(255,255,255,.1);
}

.train-image {
    height: 220px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 155px;

    filter:
        drop-shadow(
            0 20px 20px
            rgba(0,0,0,.3)
        );
}

.component {
    position: absolute;

    width: 55px;
    height: 55px;

    background: white;

    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 27px;

    box-shadow:
        0 10px 25px
        rgba(0,0,0,.3);
}

.component-1 {
    top: 80px;
    right: 30px;
}

.component-2 {
    bottom: 35px;
    left: 35px;
}

.component-3 {
    bottom: 25px;
    right: 55px;
}

.component-4 {
    top: 150px;
    left: 25px;
}


/* ================= TRUST BAR ================= */

.trust-bar {
    background: white;

    border-bottom: 1px solid #e7eaf0;
}

.trust-container {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    min-height: 75px;

    align-items: center;

    text-align: center;

    color: #536273;

    font-size: 13px;
    font-weight: 600;
}


/* ================= SECTIONS ================= */

.section {
    padding: 90px 0;
}

.section-heading {
    text-align: center;

    max-width: 700px;

    margin:
        0 auto
        45px;
}

.section-label {
    color: #1681c4;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.8px;
}

.section-heading h2,
.about-content h2,
.contact-grid h2 {
    color: #0c2b45;

    font-size: 36px;

    line-height: 1.2;

    margin:
        12px 0
        14px;
}

.section-heading p {
    color: #718096;
}


/* ================= PRODUCTS ================= */

.product-controls {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 30px;
}

.search-box {
    display: flex;

    align-items: center;

    gap: 8px;

    background: white;

    border: 1px solid #dce2e9;

    border-radius: 7px;

    padding: 0 14px;

    width: 300px;
}

.search-box input {
    border: none;

    outline: none;

    padding: 13px 5px;

    width: 100%;

    font-size: 13px;
}

.filter-buttons {
    display: flex;

    gap: 8px;

    flex-wrap: wrap;

    justify-content: flex-end;
}

.filter {
    border: 1px solid #dce2e9;

    background: white;

    padding: 9px 13px;

    border-radius: 5px;

    cursor: pointer;

    color: #526172;

    font-size: 12px;
}

.filter.active,
.filter:hover {
    background: #0c3555;

    color: white;

    border-color: #0c3555;
}

.products-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}

.product-card {
    background: white;

    border: 1px solid #e4e8ee;

    border-radius: 10px;

    overflow: hidden;

    transition: .25s;
}

.product-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 40px
        rgba(20,45,70,.09);
}

.product-image {
    height: 230px;

    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #eef4f8,
            #f8fafc
        );
}

.product-badge {
    position: absolute;

    left: 15px;
    top: 15px;

    background: #0c3555;

    color: white;

    padding: 5px 8px;

    border-radius: 4px;

    font-size: 10px;
    font-weight: 700;
}

.part-icon {
    font-size: 105px;

    filter:
        drop-shadow(
            0 10px 10px
            rgba(0,0,0,.12)
        );
}

.product-info {
    padding: 22px;
}

.product-info small {
    color: #1681c4;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1px;
}

.product-info h3 {
    color: #122c43;

    font-size: 18px;

    margin: 7px 0;
}

.product-info p {
    color: #778596;

    font-size: 13px;

    min-height: 60px;
}

.inquiry-btn {
    width: 100%;

    margin-top: 17px;

    padding: 11px;

    border:
        1px solid
        #1681c4;

    background: white;

    color: #1261a0;

    border-radius: 5px;

    cursor: pointer;

    font-weight: 700;

    transition: .2s;
}

.inquiry-btn:hover {
    background: #1261a0;
    color: white;
}


/* ================= ABOUT ================= */

.about-section {
    background: white;

    padding: 95px 0;
}

.about-grid {
    display: grid;

    grid-template-columns:
        .9fr 1.1fr;

    gap: 80px;

    align-items: center;
}

.about-visual {
    min-height: 400px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            145deg,
            #0a2942,
            #125b86
        );

    border-radius: 15px;

    position: relative;

    overflow: hidden;
}

.about-visual::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    border: 1px solid
        rgba(255,255,255,.15);

    border-radius: 50%;
}

.about-box {
    position: relative;

    z-index: 2;

    text-align: center;

    color: white;
}

.about-box span {
    display: block;

    font-size: 70px;

    font-weight: 900;

    letter-spacing: 4px;
}

.about-box strong {
    display: block;

    font-size: 24px;
}

.about-box small {
    display: block;

    margin-top: 10px;

    color: #b9d9ed;
}

.about-content p {
    color: #718096;

    margin-bottom: 17px;
}

.about-list {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 12px;

    margin: 25px 0;
}

.about-list div {
    color: #3d5367;

    font-size: 13px;
}


/* ================= INDUSTRIES ================= */

.industry-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.industry-card {
    background: white;

    border:
        1px solid
        #e3e8ee;

    padding: 28px;

    border-radius: 10px;

    transition: .2s;
}

.industry-card:hover {
    border-color: #1681c4;

    transform: translateY(-4px);
}

.industry-card > div {
    font-size: 38px;

    margin-bottom: 16px;
}

.industry-card h3 {
    color: #12324b;

    margin-bottom: 8px;
}

.industry-card p {
    color: #778596;

    font-size: 13px;
}


/* ================= CTA ================= */

.cta-section {
    background:
        linear-gradient(
            100deg,
            #0b2d49,
            #126b9d
        );

    padding: 55px 0;

    color: white;
}

.cta-container {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.cta-container span {
    font-size: 11px;

    letter-spacing: 1.5px;

    color: #8fd1f4;
}

.cta-container h2 {
    font-size: 34px;

    margin: 7px 0;
}

.cta-container p {
    color: #c5d9e7;

    max-width: 600px;
}

.btn-white {
    background: white;

    color: #0c3555;

    white-space: nowrap;
}


/* ================= CONTACT ================= */

.contact-section {
    padding: 95px 0;

    background: #f7f9fc;
}

.contact-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

    align-items: start;
}

.contact-grid > div > p {
    color: #718096;

    max-width: 520px;
}

.contact-details {
    margin-top: 30px;

    display: grid;

    gap: 18px;
}

.contact-details div {
    display: flex;

    flex-direction: column;

    gap: 2px;
}

.contact-details strong {
    color: #143650;

    font-size: 13px;
}

.contact-details span {
    color: #718096;

    font-size: 14px;
}

.contact-form {
    background: white;

    border: 1px solid #e1e6ec;

    border-radius: 10px;

    padding: 30px;

    display: grid;

    gap: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;

    border: 1px solid #d9e0e7;

    border-radius: 6px;

    padding: 13px;

    outline: none;

    font-family: inherit;

    font-size: 13px;

    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #1681c4;
}

.contact-form button {
    border: none;

    cursor: pointer;
}


/* ================= FOOTER ================= */

footer {
    background: #071b2d;

    color: #9dafbf;

    padding:
        65px 0
        25px;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        2fr 1fr 1.5fr 1.5fr;

    gap: 40px;
}

.footer-logo strong {
    color: white;
}

.footer-brand p {
    max-width: 300px;

    margin-top: 18px;

    font-size: 13px;
}

footer h3 {
    color: white;

    font-size: 14px;

    margin-bottom: 17px;
}

footer a,
footer p {
    display: block;

    color: #91a4b5;

    font-size: 12px;

    margin: 9px 0;
}

footer a:hover {
    color: #69b8f5;
}

.copyright {
    border-top:
        1px solid
        #243b50;

    margin-top: 45px;

    padding-top: 20px;

    text-align: center;

    font-size: 11px;
}


/* ================= WHATSAPP ================= */

.whatsapp {
    position: fixed;

    right: 22px;
    bottom: 22px;

    width: 55px;
    height: 55px;

    border-radius: 50%;

    background: #25d366;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 25px;

    box-shadow:
        0 8px 25px
        rgba(0,0,0,.2);

    z-index: 100;
}


/* ================= MOBILE ================= */

@media(max-width: 950px) {

    .navbar,
    .nav-button {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .hero-container,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 80px 0;
    }

    .hero-visual {
        display: none;
    }

    .products-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .industry-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
}


@media(max-width: 650px) {

    .trust-container {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 15px;

        padding: 18px 0;
    }

    .section {
        padding: 65px 0;
    }

    .section-heading h2,
    .about-content h2,
    .contact-grid h2 {
        font-size: 29px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats {
        gap: 20px;
    }

    .product-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        width: 100%;
    }

    .filter-buttons {
        justify-content: flex-start;
    }

    .products-grid,
    .industry-grid {
        grid-template-columns: 1fr;
    }

    .about-list {
        grid-template-columns: 1fr;
    }

    .cta-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}