/* ==========================================================================
   Manufacturing Capabilities & Quality Compliance CSS - 1:1 Pixel-Perfect Match
   ========================================================================== */

.mq-page-main {
    background-color: #ffffff;
    color: #181514;
    font-family: 'Google Sans Flex', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Container Width: 1240px for generous, elegant spacing matching design */
.mq-page-main .container {
    max-width: 1240px;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
}

/* Hide floating start project button if any */
.start_project_floating_btn {
    display: none !important;
}

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */
.mq-breadcrumb-wrapper {
    background-color: #ffffff;
    padding-top: 22px;
    padding-bottom: 26px;
}

.mq-breadcrumb {
    font-size: 13.5px;
    color: #888888;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.mq-breadcrumb a {
    color: #666666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mq-breadcrumb a:hover {
    color: #181514;
    text-decoration: underline;
}

.mq-breadcrumb .sep {
    color: #aaaaaa;
}

.mq-breadcrumb .current {
    color: #181514;
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   Common Gold Lines & Headers
   -------------------------------------------------------------------------- */
.mq-gold-line {
    width: 36px;
    height: 2px;
    background-color: #c5a880;
    margin: 14px 0 18px 0;
    border-radius: 1px;
}

.mq-gold-line-center {
    width: 36px;
    height: 2px;
    background-color: #c5a880;
    margin: 12px auto 16px auto;
    border-radius: 1px;
}

.mq-section-header {
    text-align: center;
    margin-bottom: 44px;
}

.mq-section-title {
    font-size: 28px;
    font-weight: 700;
    color: #181514;
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.3px;
}

.mq-section-subtitle {
    font-size: 14.5px;
    color: #666666;
    margin: 0;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Common Outline Button (1:1 with Design)
   -------------------------------------------------------------------------- */
.mq-btn-outline {
    display: inline-block;
    background-color: #ffffff;
    color: #181514;
    border: 1px solid #71717a;
    padding: 8px 24px;
    font-size: 13.5px;
    font-weight: 500;
    border-radius: 2px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    line-height: 1.4;
}

.mq-btn-outline:hover {
    background-color: #181514;
    border-color: #181514;
    color: #ffffff;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   Section 1: Hero & Stats (White Background #ffffff)
   -------------------------------------------------------------------------- */
.mq-section-hero {
    background-color: #ffffff;
    padding-bottom: 60px;
}

.mq-hero-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.mq-hero-title {
    font-size: 36px;
    font-weight: 700;
    color: #181514;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.4px;
}

.mq-hero-desc {
    font-size: 15px;
    color: #555555;
    line-height: 1.65;
    margin: 0;
    max-width: 440px;
}

.mq-hero-img-wrap {
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
    background: #fbfbfb;
}

.mq-hero-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Stats Bar */
.mq-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-top: 10px;
    align-items: center;
}

.mq-stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mq-stat-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mq-stat-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.mq-stat-text {
    display: flex;
    flex-direction: column;
}

.mq-stat-value {
    font-size: 16px;
    font-weight: 700;
    color: #181514;
    line-height: 1.2;
}

.mq-stat-unit {
    font-size: 13.5px;
    font-weight: 600;
    color: #181514;
}

.mq-stat-label {
    font-size: 11.5px;
    color: #777777;
    line-height: 1.35;
    margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Section 2: 4 Cards Grid (Light Beige Background #f7f5f0)
   -------------------------------------------------------------------------- */
.mq-section-cards {
    background-color: #f7f5f0;
    padding: 70px 0 75px;
}

.mq-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.mq-card-item {
    background-color: #ffffff;
    border: 1px solid #ebe6dc;
    border-radius: 3px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mq-card-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.mq-card-item-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mq-card-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.mq-card-item:hover .mq-card-item-img img {
    transform: scale(1.04);
}

.mq-card-item-body {
    padding: 16px 18px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}

.mq-card-item-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #181514;
    margin: 0 0 7px 0;
    line-height: 1.3;
}

.mq-card-item-desc {
    font-size: 12px;
    color: #666666;
    line-height: 1.5;
    margin: 0;
}

/* --------------------------------------------------------------------------
   Section 3: 5 Steps Process Timeline (White Background #ffffff)
   -------------------------------------------------------------------------- */
.mq-section-process {
    background-color: #ffffff;
    padding: 70px 0 78px;
}

.mq-process-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 30px;
}

/* Horizontal connecting line behind icons */
.mq-process-timeline::before {
    content: "";
    position: absolute;
    top: 24px;
    left: 10%;
    right: 10%;
    height: 1px;
    background-color: #e5e0d8;
    z-index: 1;
}

.mq-process-step {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 6px;
}

.mq-step-icon-wrap {
    width: 50px;
    height: 48px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    padding: 0 8px;
    position: relative;
    z-index: 2;
}

.mq-step-icon-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.mq-step-title {
    font-size: 14px;
    font-weight: 700;
    color: #181514;
    margin: 0 0 7px 0;
    line-height: 1.3;
}

.mq-step-desc {
    font-size: 12px;
    color: #666666;
    line-height: 1.45;
    margin: 0;
    max-width: 185px;
}

/* --------------------------------------------------------------------------
   Section 4: Feature Split Section (Light Beige Background #f7f5f0)
   -------------------------------------------------------------------------- */
.mq-section-feature-split {
    background-color: #f7f5f0;
    padding: 75px 0 80px;
}

.mq-split-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 50px;
    align-items: center;
}

.mq-split-left {
    display: flex;
    flex-direction: column;
}

.mq-split-left-title {
    font-size: 28px;
    font-weight: 700;
    color: #181514;
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.3px;
}

.mq-split-sub {
    font-size: 14.5px;
    color: #444444;
    margin: 0 0 24px 0;
    line-height: 1.5;
}

.mq-numbered-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mq-numbered-item {
    display: flex;
    flex-direction: column;
}

.mq-numbered-heading {
    font-size: 14px;
    font-weight: 700;
    color: #181514;
    margin-bottom: 4px;
    line-height: 1.3;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.mq-num-prefix {
    font-size: 14px;
    font-weight: 700;
    color: #c5a880;
}

.mq-numbered-desc {
    font-size: 12px;
    color: #666666;
    line-height: 1.45;
    margin: 0;
}

.mq-split-img-wrap {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.mq-split-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.mq-img-caption {
    font-size: 11.5px;
    color: #888888;
    margin-top: 10px;
    line-height: 1.4;
    text-align: left;
}

/* --------------------------------------------------------------------------
   Section 5: Cross-Link Sister Page (White Background #ffffff)
   -------------------------------------------------------------------------- */
.mq-section-crosslink {
    background-color: #ffffff;
    padding: 75px 0 90px;
}

.mq-crosslink-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.mq-crosslink-img-wrap {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.mq-crosslink-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.mq-crosslink-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mq-crosslink-title {
    font-size: 28px;
    font-weight: 700;
    color: #181514;
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.3px;
}

.mq-crosslink-sub {
    font-size: 15px;
    font-weight: 600;
    color: #181514;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.mq-crosslink-desc {
    font-size: 13.5px;
    color: #666666;
    line-height: 1.5;
    margin: 0 0 24px 0;
    max-width: 440px;
}

/* --------------------------------------------------------------------------
   Responsive Adaptations
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .mq-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .mq-stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 16px;
    }
    .mq-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .mq-process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 16px;
    }
    .mq-process-timeline::before {
        display: none;
    }
    .mq-split-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .mq-crosslink-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 576px) {
    .mq-hero-title {
        font-size: 28px;
    }
    .mq-section-title,
    .mq-split-left-title,
    .mq-crosslink-title {
        font-size: 24px;
    }
    .mq-stats-bar {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .mq-cards-grid {
        grid-template-columns: 1fr;
    }
    .mq-process-timeline {
        grid-template-columns: 1fr;
    }
}
