/* ==========================================================================
   PT NAGA RAYA TEKNIK — MANPOWER SUPPLY PAGE STYLES (mp-)
   Clean, modern, minimalist industrial aesthetic
   ========================================================================== */

/* Main Container & Base Settings */
.mp-page-wrapper {
    width: 100%;
    flex: 1 0 auto;
    background-color: #f8fafc;
    color: #1e293b;
    font-family: 'Rubik', sans-serif;
    padding-bottom: 48px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.mp-section:last-of-type {
    padding-bottom: 0;
}

.mp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Helpers */
.text-gradient {
    color: #014ca0;
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.mp-hero {
    position: relative;
    padding: 30px 0 24px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.mp-hero-content {
    max-width: 100%;
    margin: 0;
    text-align: left;
}

.mp-hero-title {
    font-family: var(--corp-font-heading, 'Montserrat', sans-serif);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #0f172a;
    margin: 0 0 6px 0;
    text-align: left;
}

.mp-hero-title span,
.mp-hero-title .text-gradient {
    color: #014ca0;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #014ca0;
}

.mp-hero-sub {
    font-family: var(--corp-font-main, 'Rubik', sans-serif);
    font-size: 13.5px;
    line-height: 1.6;
    color: #64748b;
    margin: 0 0 24px 0;
    max-width: 860px;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

/* Stat Bar (Pills Grid) - Wide cards so titles stay on single line */
.mp-stats-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding-top: 6px;
    width: 100%;
}

.mp-stat-pill {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 16px 20px;
    border-radius: 10px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    min-width: 0;
}

.mp-stat-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(0, 75, 153, 0.08);
    color: #004b99;
    font-size: 18px;
}

.mp-stat-info {
    min-width: 0;
    flex: 1;
}

.mp-stat-info h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 3px;
    white-space: nowrap;
}

.mp-stat-info p {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    white-space: nowrap;
}

/* ==========================================================================
   2. SECTION SHARED HEADERS
   ========================================================================== */
.mp-section {
    padding: 44px 0;
}

.mp-section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 36px;
}

.mp-section-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #004b99;
    margin-bottom: 6px;
}

.mp-section-title {
    font-family: var(--corp-font-heading, 'Montserrat', sans-serif);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #0f172a;
    margin-bottom: 8px;
}

.mp-section-sub {
    font-family: var(--corp-font-main, 'Rubik', sans-serif);
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   3. CATEGORY CARDS (WORKFORCE SPECIALIZATIONS)
   ========================================================================== */
.mp-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.mp-cat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.mp-cat-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.mp-cat-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.mp-cat-card--electrical .mp-cat-icon {
    background: rgba(2, 132, 199, 0.1);
    color: #0284c7;
}

.mp-cat-card--instrument .mp-cat-icon {
    background: rgba(0, 75, 153, 0.1);
    color: #004b99;
}

.mp-cat-card--mechanical .mp-cat-icon {
    background: rgba(234, 88, 12, 0.1);
    color: #ea580c;
}

.mp-cat-card--safety .mp-cat-icon {
    background: rgba(22, 163, 74, 0.1);
    color: #16a34a;
}

.mp-cat-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.mp-cat-desc {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

.mp-cat-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex-grow: 1;
}

.mp-cat-list li {
    font-size: 13.5px;
    color: #334155;
    padding: 7px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px dashed #f1f5f9;
}

.mp-cat-list li:last-child {
    border-bottom: none;
}

.mp-cat-list li i {
    color: #10b981;
    font-size: 14px;
    margin-top: 3px;
    flex-shrink: 0;
}

.mp-cat-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.mp-tag {
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 4px;
}

/* ==========================================================================
   4. STANDARDS & QUALIFICATIONS
   ========================================================================== */
.mp-standards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.mp-std-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 26px 20px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.mp-std-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: #f8fafc;
    color: #004b99;
    border: 1px solid #e2e8f0;
}

.mp-std-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.mp-std-desc {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   5. WORKFLOW SECTION
   ========================================================================== */
.mp-workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}

.mp-flow-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 28px 22px;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.mp-flow-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #e2e8f0;
    line-height: 1;
    margin-bottom: 12px;
}

.mp-flow-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.mp-flow-desc {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   6. CALL TO ACTION STRIP (Clean & Subtle)
   ========================================================================== */
.mp-cta-wrap {
    width: 100%;
    margin-top: 36px;
    margin-bottom: 0;
    padding: 0;
}

.mp-cta-strip {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.mp-cta-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mp-cta-title {
    font-family: var(--corp-font-heading, 'Montserrat', sans-serif);
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.mp-cta-sub {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.mp-cta-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.mp-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #014ca0;
    color: #ffffff;
    font-family: var(--corp-font-heading, 'Montserrat', sans-serif);
    font-size: 12.5px;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.mp-btn-primary:hover {
    background: #0f172a;
    color: #ffffff;
}

.mp-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-family: var(--corp-font-heading, 'Montserrat', sans-serif);
    font-size: 12.5px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.mp-btn-secondary:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #0f172a;
}

/* ==========================================================================
   RESPONSIVE (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 991.98px) {
    .mp-hero {
        padding: 40px 0 30px;
    }

    .mp-hero-title {
        font-size: 28px;
    }

    .mp-stats-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .mp-cards-grid {
        grid-template-columns: 1fr;
    }

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

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

    .mp-cta-strip {
        flex-direction: column;
        align-items: flex-start;
    }

    .mp-cta-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .mp-btn-primary, .mp-btn-secondary {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .mp-page-wrapper {
        padding-bottom: 36px;
    }

    .mp-cta-wrap {
        margin-top: 24px;
        margin-bottom: 0;
        padding: 0;
    }

    .mp-container {
        padding: 0 16px;
    }

    .mp-hero {
        padding: 20px 0 18px;
    }

    .mp-hero-title {
        font-size: 20px !important;
        line-height: 1.25 !important;
        margin-bottom: 6px !important;
    }

    .mp-hero-sub {
        font-size: 13px !important;
        line-height: 1.55 !important;
        margin-bottom: 20px !important;
    }

    .mp-stats-strip {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .mp-stat-pill {
        padding: 12px 14px;
    }

    .mp-section {
        padding: 32px 0;
    }

    .mp-section-title {
        font-size: 18px !important;
        margin-bottom: 6px !important;
    }

    .mp-section-sub {
        font-size: 12.5px !important;
    }

    .mp-cat-card {
        padding: 20px 16px;
    }

    .mp-standards-grid {
        grid-template-columns: 1fr;
    }

    .mp-workflow-grid {
        grid-template-columns: 1fr;
    }
}
