/* ============================================================
   BAPCO Home Page CSS — Figma Match
   ============================================================ */

/* Global typography */
body:not(.o_web_client) {
    font-family: 'Poppins', sans-serif !important;
}

/* ── Page background ── */
#wrapwrap { background: #FAFCFD !important; }

/* ── Hero cover ── */
.bapco-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.bapco-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.bapco-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(53,31,25,0.65);
    z-index: 1;
}
.bapco-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 46px;
    max-width: 1492px;
    margin: 0 auto;
    width: 100%;
}
.bapco-hero-content h1 {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    font-size: 85px !important;
    line-height: 1.05 !important;
    color: #FFFFFF !important;
    text-transform: capitalize !important;
    margin-bottom: 20px !important;
}
.bapco-hero-content p {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 400 !important;
    font-size: 18px !important;
    line-height: 30px !important;
    color: rgba(255,255,255,0.85) !important;
    max-width: 600px !important;
    margin-bottom: 32px !important;
}
.bapco-hero-btn {
    display: inline-block !important;
    background: #FC5220 !important;
    color: #fff !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    letter-spacing: 0.5px !important;
    padding: 14px 32px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
}
.bapco-hero-btn:hover { background: #e04818 !important; color: #fff !important; }

/* ── Ticker ── */
.bapco-ticker-section {
    background: #351F19;
    padding: 11px 0;
    overflow: hidden;
    white-space: nowrap;
}
.bapco-ticker-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: bapco-ticker 55s linear infinite;
}
.bapco-ticker-item {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    padding: 0 32px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.bapco-ticker-item::before {
    content: '●';
    color: #F55B14;
    font-size: 8px;
}
@keyframes bapco-ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ── Stats section ── */
.bapco-stats-section {
    background: #fff;
    padding: 60px 0;
    border-bottom: 1px solid #f0ebe7;
}
.bapco-stat-card {
    text-align: center;
    padding: 32px 20px;
}
.bapco-stat-card + .bapco-stat-card {
    border-left: 1px solid #f0ebe7;
}
.bapco-stat-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
}
.bapco-stat-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 15px;
    color: #1C0A00;
    margin-bottom: 8px;
}
.bapco-stat-desc {
    font-size: 13px;
    color: #888;
    line-height: 1.65;
    margin: 0;
}

/* ── Section headings ── */
.bapco-section-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}
.bapco-section-eyebrow span {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #E8541A;
}
.bapco-section-eyebrow::before,
.bapco-section-eyebrow::after {
    content: '';
    flex: 0 0 40px;
    height: 1px;
    background: #E8541A;
}
.bapco-section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 38px;
    color: #1C0A00;
    text-align: center;
    margin-bottom: 48px;
}
.bapco-section-title span { color: #E8541A; }

/* ── News cards ── */
.bapco-news-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
}
.bapco-news-card-img {
    position: relative;
    flex-shrink: 0;
}
.bapco-news-card-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.bapco-news-date-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #E8541A;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
}
.bapco-news-card-body {
    padding: 20px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.bapco-news-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #1C0A00;
    margin-bottom: 10px;
    line-height: 1.4;
    flex: 1;
}
.bapco-news-card-desc {
    font-size: 13px;
    color: #777;
    line-height: 1.65;
    margin: 0;
}

/* ── Services cards ── */
.bapco-service-card {
    background: #fff;
    border-radius: 8px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #f0ebe7;
    text-align: center;
}
.bapco-service-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1.5px solid #E8541A;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #E8541A;
    font-size: 22px;
}
.bapco-service-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #1C0A00;
    margin-bottom: 10px;
}
.bapco-service-desc {
    font-size: 13px;
    color: #888;
    line-height: 1.65;
}

/* ── FAQ ── */
.bfaq-wrap input[type=checkbox] { display: none; }
.bfaq-wrap label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1C0A00;
    cursor: pointer;
    border-bottom: 1px solid #e8e0da;
    gap: 12px;
    user-select: none;
}
.bfaq-wrap label:hover { color: #E8541A; }
.bfaq-plus {
    font-size: 20px;
    font-weight: 300;
    color: #E8541A;
    transition: transform .3s;
    flex-shrink: 0;
    line-height: 1;
}
.bfaq-wrap input:checked + label .bfaq-plus { transform: rotate(45deg); }
.bfaq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}
.bfaq-wrap input:checked ~ .bfaq-body { max-height: 400px; }
.bfaq-body p {
    padding: 12px 4px 16px;
    font-size: 13.5px;
    color: #555;
    line-height: 1.75;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

/* ── Page hero (inner pages) ── */
.bapco-page-hero {
    position: relative;
    background: #1C0A00;
    color: #fff;
    padding: 84px 0 48px;
    min-height: 240px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}
.bapco-page-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.22;
}
.bapco-page-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 46px;
    max-width: 1492px;
    margin: 0 auto;
    width: 100%;
}
.bapco-page-hero h1 {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    font-size: 70px !important;
    line-height: 58px !important;
    color: #FFFFFF !important;
    text-align: center !important;
    text-transform: capitalize !important;
    margin: 0 !important;
}
.bapco-breadcrumb {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    margin-bottom: 16px;
}
.bapco-breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; }
.bapco-breadcrumb .sep { color: #FC5220; margin: 0 8px; }
.bapco-breadcrumb .current { color: #FC5220; }

/* ── Footer ── */
.bapco-footer {
    background: #351F19;
    font-family: 'Poppins', sans-serif;
}
.bapco-footer-title {
    font-size: 30px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 16px;
    line-height: 43px;
}
.bapco-footer-text {
    font-size: 18px;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 30px;
}
.bapco-footer-link {
    font-size: 19px;
    font-weight: 400;
    color: #EEEAEA;
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    letter-spacing: -0.48px;
    line-height: 29px;
}
.bapco-footer-link:hover { color: #FC5220; }
.bapco-footer-contact {
    font-size: 19px;
    font-weight: 500;
    color: #EEEAEA;
    line-height: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.bapco-footer-bottom {
    border-top: 1px solid #5F5E5E;
    padding: 20px 0;
    font-family: 'Mulish', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #FFFFFF;
}

/* ── Container ── */
.bapco-container {
    max-width: 1492px;
    margin: 0 auto;
    padding: 0 46px;
    width: 100%;
}

/* ── Buttons ── */
.btn-bapco-orange {
    background: #FC5220 !important;
    color: #fff !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    letter-spacing: 0.5px !important;
    padding: 12px 28px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    display: inline-block !important;
    border: none !important;
}
.btn-bapco-orange:hover { background: #e04818 !important; color: #fff !important; }

/* ── Gallery grid ── */
.bapco-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 3px;
}
.bapco-gallery-item {
    overflow: hidden;
    aspect-ratio: 1;
}
.bapco-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.bapco-gallery-item:hover img { transform: scale(1.05); }

/* ================================================================
   ADDITIONAL PAGE STYLES — extracted from Figma CSS docs
   ================================================================ */

/* ── Tender / Tenders List ── */
.bapco-tender-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12.75px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.bapco-tender-card-header {
    background: #351F19;
    padding: 14px 21px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.bapco-tender-card-id {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #FFFFFF;
    line-height: 21px;
}
.bapco-tender-status-open {
    background: #ECFFF3;
    border-radius: 999px;
    padding: 3.5px 10.5px;
    font-family: 'Inter', sans-serif;
    font-size: 10.5px;
    font-weight: 500;
    color: #008236;
}
.bapco-tender-status-closed {
    background: #F3F4F6;
    border-radius: 999px;
    padding: 3.5px 10.5px;
    font-family: 'Inter', sans-serif;
    font-size: 10.5px;
    font-weight: 500;
    color: #364153;
}
.bapco-tender-card-body {
    padding: 20px 21px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10.5px;
}
.bapco-tender-title {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #101828;
    line-height: 21px;
    flex: 1;
}
.bapco-tender-meta {
    display: flex;
    flex-direction: column;
    gap: 10.5px;
}
.bapco-tender-meta-row {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.bapco-tender-meta-label {
    font-family: 'Inter', sans-serif;
    font-size: 10.5px;
    font-weight: 400;
    color: #6A7282;
    line-height: 14px;
}
.bapco-tender-meta-value {
    font-family: 'Inter', sans-serif;
    font-size: 12.25px;
    font-weight: 400;
    color: #101828;
    line-height: 18px;
}
.bapco-tender-card-footer {
    padding: 0 21px 21px;
}
.bapco-tender-view-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #F55B14;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 8.75px;
    text-decoration: none;
    border: none;
    cursor: pointer;
}
.bapco-tender-view-btn:hover { background: #e04818; color: #fff; }
.bapco-tender-published {
    background: #F9FAFB;
    border-top: 1px solid #F3F4F6;
    padding: 11.5px 21px;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: #6A7282;
    line-height: 14px;
}

/* ── Tender search bar ── */
.bapco-tender-search {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12.75px;
    padding: 21px;
}
.bapco-tender-search input[type=text] {
    border: 1px solid #D1D5DC;
    border-radius: 8.75px;
    padding: 10.5px 14px 10.5px 35px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: rgba(10,10,10,0.5);
    width: 100%;
}
.bapco-search-results-count {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #4A5565;
    margin: 12px 0 6px;
}

/* ── Pagination ── */
.bapco-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 32px;
}
.bapco-page-btn {
    border: 1px solid #D1D5DC;
    border-radius: 8.75px;
    padding: 7px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 12.25px;
    font-weight: 500;
    color: #364153;
    background: #FFFFFF;
    cursor: pointer;
    text-decoration: none;
}
.bapco-page-btn.active {
    background: #F55B14;
    border-color: #F55B14;
    color: #fff;
}
.bapco-page-btn:hover:not(.active) { background: #f5f3f0; }

/* ── Tender detail page ── */
.bapco-tender-detail-layout {
    display: grid;
    grid-template-columns: 1fr 373px;
    gap: 32px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 46px;
}
.bapco-tender-spec-box {
    background: #F7F7F7;
    border-radius: 8px;
    padding: 30px 32px;
    margin-bottom: 24px;
}
.bapco-tender-spec-title {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #1B1C1A;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(225,191,182,0.15);
    padding-bottom: 16px;
    margin-bottom: 20px;
}
.bapco-spec-label {
    font-family: 'Teko', sans-serif;
    font-size: 17px;
    font-weight: 500;
    color: #59413A;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 4px;
    line-height: 16px;
}
.bapco-spec-value {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #1B1C1A;
    line-height: 28px;
}

/* ── Application status section ── */
.bapco-app-status-box {
    background: #F5F3F0;
    border-radius: 8px;
    padding: 32px;
    margin-bottom: 24px;
}
.bapco-app-status-title {
    font-family: 'Poppins', sans-serif;
    font-size: 25px;
    font-weight: 600;
    color: #1B1C1A;
    margin-bottom: 24px;
}
.bapco-status-step {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}
.bapco-status-icon-green {
    width: 22px;
    height: 18px;
    background: #22C55E;
    border-radius: 12px;
    flex-shrink: 0;
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bapco-status-icon-orange {
    width: 25px;
    height: 25px;
    background: #CB4A1D;
    border-radius: 12px;
    flex-shrink: 0;
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bapco-status-step-title {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #1B1C1A;
    line-height: 28px;
}
.bapco-status-step-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #A93203;
    line-height: 26px;
}
.bapco-status-step-date {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #1B1C1A;
    line-height: 20px;
}

/* ── Quick actions sidebar ── */
.bapco-quick-actions {
    background: #F5F3F0;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 32px;
}
.bapco-quick-actions-title {
    font-family: 'Teko', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #59413A;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.bapco-action-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FFFFFF;
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 8px;
    text-decoration: none;
    color: #1B1C1A;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
}
.bapco-action-link:hover { background: #f5f3f0; color: #1B1C1A; }

/* ── Need help card ── */
.bapco-need-help {
    background: linear-gradient(135deg, #1B1C1A 0%, #30312F 100%);
    border-radius: 8px;
    padding: 32px;
    position: relative;
    overflow: hidden;
}
.bapco-need-help::after {
    content: '';
    position: absolute;
    width: 128px;
    height: 128px;
    right: -32px;
    bottom: -32px;
    background: rgba(169,50,3,0.2);
    filter: blur(32px);
    border-radius: 12px;
}
.bapco-need-help-title {
    font-family: 'Teko', sans-serif;
    font-size: 30px;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 28px;
    margin-bottom: 8px;
}
.bapco-need-help-desc {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.6);
    line-height: 23px;
    margin-bottom: 16px;
}
.bapco-need-help-contact {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #FFFFFF;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.bapco-need-help-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #FFFFFF;
    color: #1B1C1A;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 0;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 24px;
    position: relative;
    z-index: 1;
}
.bapco-need-help-btn:hover { background: #f5f3f0; color: #1B1C1A; }

/* ── Document upload area ── */
.bapco-upload-area {
    border: 2px dashed #E1BFB6;
    border-radius: 8.75px;
    background: rgba(245,243,240,0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}
.bapco-upload-area:hover {
    border-color: #A93203;
    background: rgba(169,50,3,0.05);
}
.bapco-upload-icon {
    width: 48px;
    height: 48px;
    background: #FFDBD0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: #A93203;
    font-size: 20px;
}
.bapco-upload-text {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #1B1C1A;
    margin-bottom: 4px;
}
.bapco-upload-hint {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #59413A;
    opacity: 0.6;
}

/* ── Vendor registration stepper ── */
.bapco-stepper {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 32px;
}
.bapco-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
}
.bapco-step-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #99A1AF;
    font-size: 14px;
}
.bapco-step.active .bapco-step-circle { background: #FC5220; color: #fff; }
.bapco-step.done .bapco-step-circle { background: #00A63E; color: #fff; }
.bapco-step-line {
    width: 168px;
    height: 3.5px;
    background: #E5E7EB;
    border-radius: 3.5px;
    position: absolute;
    top: 21px;
    left: 100%;
}
.bapco-step.done .bapco-step-line { background: #00A63E; }
.bapco-step-label {
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 600;
    color: #6A7282;
    text-align: center;
}
.bapco-step.active .bapco-step-label { color: #101828; }

/* ── Form inputs ── */
.bapco-form-label {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #364153;
    margin-bottom: 10px;
    display: block;
}
.bapco-form-input {
    border: 1px solid #D1D5DC;
    border-radius: 8.75px;
    padding: 10.5px 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    color: rgba(10,10,10,0.9);
    width: 100%;
    box-sizing: border-box;
}
.bapco-form-input:focus {
    outline: none;
    border-color: #FC5220;
    box-shadow: 0 0 0 2px rgba(252,82,32,0.12);
}

/* ── News list page ── */
.bapco-news-item {
    display: flex;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 30px;
}
.bapco-news-item-img {
    width: 400px;
    flex-shrink: 0;
    background: #F1F5F9;
    overflow: hidden;
}
.bapco-news-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bapco-news-item-body {
    padding: 45px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.bapco-news-item-date {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #62748E;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.bapco-news-item-title {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #1D293D;
    line-height: 30px;
    margin-bottom: 16px;
}
.bapco-news-item-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #3F4957;
    line-height: 30px;
}

/* ── Services & Projects page ── */
.bapco-services-layout {
    display: flex;
    gap: 28px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 46px;
}
.bapco-services-sidebar {
    width: 314px;
    flex-shrink: 0;
}
.bapco-services-main { flex: 1; }
.bapco-service-category-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 14px;
    height: 42px;
    border-radius: 8.75px;
    width: 100%;
    background: none;
    border: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #364153;
    cursor: pointer;
    text-align: left;
}
.bapco-service-category-btn.active {
    background: #ED8B00;
    color: #FFFFFF;
}
.bapco-service-content-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12.75px;
    overflow: hidden;
}
.bapco-service-content-img {
    width: 100%;
    height: 336px;
    object-fit: cover;
}
.bapco-service-content-body {
    padding: 28px 42px;
}
.bapco-service-content-title {
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
    font-weight: 600;
    color: #101828;
    margin-bottom: 16px;
}
.bapco-service-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #101828;
    margin-bottom: 12px;
    margin-top: 24px;
}
.bapco-service-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #364153;
    line-height: 26px;
    margin-bottom: 16px;
}
.bapco-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 10.5px;
    margin-bottom: 12px;
}
.bapco-benefit-icon {
    width: 17.5px;
    height: 17.5px;
    background: #ED8B00;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
}
.bapco-feature-tag {
    background: #F5F8FA;
    border-radius: 8.75px;
    padding: 12.75px 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 15.5px;
    font-weight: 400;
    color: #364153;
    display: flex;
    align-items: center;
    gap: 10px;
}
.bapco-feature-dot {
    width: 7px;
    height: 7px;
    background: #ED8B00;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── Legal pages (Terms / Privacy) ── */
.bapco-legal-layout {
    display: flex;
    gap: 42px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 46px;
}
.bapco-legal-nav {
    width: 224px;
    flex-shrink: 0;
}
.bapco-legal-nav-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12.75px;
    padding: 21px;
}
.bapco-legal-nav-title {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #101828;
    margin-bottom: 20px;
}
.bapco-legal-nav-btn {
    display: flex;
    align-items: center;
    gap: 10.5px;
    padding: 0 10.5px;
    height: 31.5px;
    border-radius: 6.75px;
    width: 100%;
    background: none;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #4A5565;
    cursor: pointer;
    text-align: left;
    margin-bottom: 4px;
    text-decoration: none;
}
.bapco-legal-nav-btn.active { background: #FC5220; color: #fff; }
.bapco-legal-content {
    flex: 1;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1);
    border-radius: 8.75px;
    padding: 43px;
}
.bapco-legal-section {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 28px;
    margin-bottom: 28px;
}
.bapco-legal-section:last-child { border-bottom: none; }
.bapco-legal-section-header {
    display: flex;
    align-items: center;
    gap: 10.5px;
    margin-bottom: 16px;
}
.bapco-legal-num {
    width: 35px;
    height: 35px;
    background: #FC5220;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #FFFFFF;
    flex-shrink: 0;
}
.bapco-legal-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #101828;
    letter-spacing: 0.5px;
    line-height: 26px;
}
.bapco-legal-body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #364153;
    line-height: 26px;
}

/* ── Projects gallery ── */
.bapco-project-card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
}
.bapco-project-card img {
    width: 100%;
    height: 621px;
    object-fit: cover;
}
.bapco-project-label {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background: #FFFFFF;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 25px;
    font-weight: 500;
    color: #121C22;
    line-height: 38px;
}

/* ============================================================
   TENDER PAGES — Figma Match
   ============================================================ */

/* Tender list container */
.bapco-tenders-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 40px 28px 0;
}

/* Tender card */
.bapco-tender-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12.75px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Card header bar */
.bapco-tender-card-header {
    background: #351F19;
    padding: 0 21px;
    height: 49px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bapco-tender-card-id {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #FFFFFF;
    line-height: 21px;
}

/* Status badges */
.bapco-badge-open {
    background: #ECFFF3;
    border-radius: 50px;
    padding: 3.5px 10.5px;
    font-family: 'Inter', sans-serif;
    font-size: 10.5px;
    font-weight: 500;
    color: #008236;
    white-space: nowrap;
}

.bapco-badge-closed {
    background: #F3F4F6;
    border-radius: 50px;
    padding: 3.5px 10.5px;
    font-family: 'Inter', sans-serif;
    font-size: 10.5px;
    font-weight: 500;
    color: #364153;
    white-space: nowrap;
}

/* Card body */
.bapco-tender-card-body {
    padding: 20px 21px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bapco-tender-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #101828;
    line-height: 21px;
    margin-bottom: 16px;
    flex: 1;
}

.bapco-tender-meta {
    display: flex;
    flex-direction: column;
    gap: 10.5px;
    margin-bottom: 16px;
}

.bapco-tender-meta-row {
    display: flex;
    align-items: flex-start;
    gap: 10.5px;
}

.bapco-tender-meta-label {
    font-family: 'Inter', sans-serif;
    font-size: 10.5px;
    font-weight: 400;
    color: #6A7282;
    line-height: 14px;
}

.bapco-tender-meta-value {
    font-family: 'Inter', sans-serif;
    font-size: 12.25px;
    font-weight: 400;
    color: #101828;
    line-height: 18px;
}

/* Tender view button */
.bapco-tender-btn {
    display: block;
    width: 100%;
    background: #F55B14;
    color: #FFFFFF;
    text-align: center;
    padding: 10px 0;
    border-radius: 8.75px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}
.bapco-tender-btn:hover { background: #e04818; color: #fff; }

/* Card footer */
.bapco-tender-card-footer {
    background: #F9FAFB;
    border-top: 1px solid #F3F4F6;
    padding: 11.5px 21px 0;
    height: 36px;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: #6A7282;
}

/* Tender search bar */
.bapco-tender-search-bar {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12.75px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    padding: 21px 21px;
    margin-bottom: 24px;
}

/* ── TENDER DETAIL PAGE ── */
.bapco-tender-detail-layout {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 32px;
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.bapco-tender-detail-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.bapco-tender-detail-rail {
    width: 373px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Specs card */
.bapco-tender-specs {
    background: #F7F7F7;
    border-radius: 8px;
    padding: 30px 32px;
}

.bapco-tender-specs-title {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #1B1C1A;
    letter-spacing: 0.5px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(225,191,182,0.15);
    margin-bottom: 16px;
}

.bapco-spec-label {
    font-family: 'Teko', sans-serif;
    font-size: 17px;
    font-weight: 500;
    color: #59413A;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    line-height: 16px;
    margin-bottom: 4.5px;
}

.bapco-spec-value {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #1B1C1A;
    line-height: 28px;
}

/* Application status card */
.bapco-app-status {
    background: #F5F3F0;
    border-radius: 8px;
    overflow: hidden;
}

.bapco-app-status-header {
    padding: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bapco-app-status-title {
    font-family: 'Poppins', sans-serif;
    font-size: 25px;
    font-weight: 600;
    color: #1B1C1A;
}

/* Step items */
.bapco-step {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 0 32px;
}

.bapco-step-dot {
    width: 22px;
    height: 18px;
    background: #22C55E;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 4px;
}

.bapco-step-dot-pending {
    background: #CB4A1D;
}

.bapco-step-name {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #1B1C1A;
    line-height: 28px;
}

.bapco-step-status {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #A93203;
    line-height: 26px;
}

.bapco-step-date {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #1B1C1A;
    line-height: 20px;
}

/* Q&A section */
.bapco-qa-section {
    background: rgba(245,243,240,0.5);
    border-radius: 16px;
    padding: 32px;
}

/* Quick Actions rail */
.bapco-quick-actions {
    background: #F5F3F0;
    border-radius: 8px;
    padding: 24px;
}

.bapco-quick-actions-title {
    font-family: 'Teko', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #59413A;
    text-transform: uppercase;
    line-height: 16px;
    padding-bottom: 8px;
    margin-bottom: 16px;
}

.bapco-action-link {
    background: #FFFFFF;
    border-radius: 4px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #1B1C1A;
}

.bapco-action-link:hover { background: #f5f0ee; color: #1B1C1A; }

/* Need Help card */
.bapco-need-help {
    background: linear-gradient(135deg, #1B1C1A 0%, #30312F 100%);
    border-radius: 8px;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.bapco-need-help::after {
    content: '';
    position: absolute;
    right: -32px;
    bottom: -32px;
    width: 128px;
    height: 128px;
    background: rgba(169,50,3,0.2);
    filter: blur(32px);
    border-radius: 12px;
}

.bapco-need-help-title {
    font-family: 'Teko', sans-serif;
    font-size: 30px;
    color: #FFFFFF;
    line-height: 28px;
    margin-bottom: 7px;
}

.bapco-need-help-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 23px;
    margin-bottom: 17px;
}

.bapco-need-help-contact {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #FFFFFF;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.bapco-need-help-contact i { color: #FFDBD0; }

.bapco-need-help-btn {
    display: block;
    background: #FFFFFF;
    border-radius: 8px;
    padding: 16px 0;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1B1C1A;
    text-decoration: none;
    margin-top: 24px;
    position: relative;
    z-index: 1;
}

/* ── NEWS PAGE ── */
.bapco-news-item {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    margin-bottom: 30px;
}

.bapco-news-item-img {
    width: 400px;
    flex-shrink: 0;
    background: #F1F5F9;
}

.bapco-news-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bapco-news-item-body {
    padding: 45px 32px;
    flex: 1;
}

.bapco-news-item-date {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #62748E;
}

.bapco-news-item-title {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #1D293D;
    line-height: 30px;
    margin-bottom: 20px;
}

.bapco-news-item-excerpt {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #3F4957;
    line-height: 30px;
}

/* ── JOB CARDS ── */
.bapco-job-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bapco-job-card-urgent {
    background: linear-gradient(90deg, #FB2C36 0%, #E7000B 100%);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #FFFFFF;
}

.bapco-job-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bapco-job-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1D293D;
    line-height: 28px;
    margin-bottom: 16px;
}

.bapco-job-card-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #45556C;
}

.bapco-job-tag-blue {
    background: #DBEAFE;
    border-radius: 50px;
    padding: 4px 12px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #1447E6;
    display: inline-block;
}

.bapco-job-tag-gray {
    background: #F1F5F9;
    border-radius: 50px;
    padding: 4px 12px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #314158;
    display: inline-block;
}

.bapco-job-card-desc {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #45556C;
    line-height: 20px;
    flex: 1;
    margin-bottom: 16px;
}

.bapco-job-card-footer {
    border-top: 1px solid #F1F5F9;
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bapco-job-view-link {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #155DFC;
    text-decoration: none;
}

/* ── PAGE HERO BANNER ── */
.bapco-page-hero-section {
    position: relative;
    min-height: 306px;
    background: rgba(53,31,25,0.94);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 48px;
    overflow: hidden;
}

.bapco-page-hero-section h1 {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    font-size: 70px !important;
    line-height: 58px !important;
    color: #FFFFFF !important;
    text-align: center !important;
    text-transform: capitalize !important;
    margin: 0 !important;
}

/* Breadcrumb in hero */
.bapco-hero-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}

.bapco-hero-breadcrumb a {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    text-transform: uppercase;
    text-decoration: none;
}

.bapco-hero-breadcrumb .sep {
    color: #F55B14;
    font-size: 14px;
}

.bapco-hero-breadcrumb .current {
    color: #F55B14;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
}

/* ── PAGINATION ── */
.bapco-pagination {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 32px;
}

.bapco-page-btn {
    width: 32.94px;
    height: 31.5px;
    background: #F55B14;
    border-radius: 8.75px;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 12.25px;
    font-weight: 500;
    color: #351F19;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.bapco-page-btn-inactive {
    background: #FFFFFF;
    border: 1px solid #D1D5DC;
    color: #364153;
}

.bapco-page-btn-inactive:hover { background: #F5F3F0; }

/* ── UPLOAD DROPZONE (Tender Submission) ── */
.bapco-upload-zone {
    border: 2px dashed rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    text-align: center;
}

.bapco-upload-zone.admin {
    border-color: #E1BFB6;
    background: rgba(245,243,240,0.3);
}

.bapco-upload-zone i {
    font-size: 32px;
    color: #A93203;
}

.bapco-upload-btn {
    background: #A93203;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 32px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

/* Submit LOI button */
.bapco-submit-loi-btn {
    background: linear-gradient(90deg, #A93203 0%, #CB4A1D 100%);
    border: none;
    border-radius: 8px;
    padding: 16px 32px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #FFFFFF;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

/* Save folders button */
.bapco-save-folders-btn {
    background: #D95427;
    border: none;
    border-radius: 8px;
    padding: 16px 40px;
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #FFFFFF;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(217,84,39,0.2), 0 4px 6px -4px rgba(217,84,39,0.2);
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ── Jobs page hero title — Figma: 65px ── */
.bapco-jobs-page .bapco-page-hero-section h1 {
    font-size: 65px !important;
    line-height: 48px !important;
}

/* ── Jobs page hero sub-info bar ── */
.bapco-jobs-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #DBEAFE;
    padding: 12px 0 20px;
    background: #351F19;
}

/* ── Responsive: Jobs grid ── */
@media (max-width: 1024px) {
    .bapco-jobs-grid { grid-template-columns: repeat(2, 1fr); }
    .bapco-jobs-page .bapco-page-hero-section h1 { font-size: 48px !important; }
}
@media (max-width: 640px) {
    .bapco-jobs-grid { grid-template-columns: 1fr; }
    .bapco-jobs-page .bapco-page-hero-section h1 { font-size: 36px !important; }
}

/* ── Responsive: Job Detail 2-col ── */
@media (max-width: 1024px) {
    .bapco-jobs-page .job-detail-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ── Hero H1 responsive ── */
@media (max-width: 1024px) {
    .bapco-hero-content h1 { font-size: 60px !important; }
    .bapco-page-hero-section h1 { font-size: 52px !important; }
}
@media (max-width: 640px) {
    .bapco-hero-content h1 { font-size: 40px !important; }
    .bapco-page-hero-section h1 { font-size: 36px !important; }
}
