/* ================================================================
   Page Join.Css
   Join Our Team / Why Join Us / Agent Test / Is RE For You - .bgw-* + recite.
   Source: additional-css-v3.5.css sections § 6  JOIN OUR TEAM PAGE, § 7  WHY JOIN US PAGE
   This file is enqueued from astra_child_enqueue_styles() in
   functions.php. Keep it out of the Customizer - it is versioned in git.
   ================================================================ */

/* ================================================================
   § 6  JOIN OUR TEAM PAGE
   NOTE: bodies use page-id-2703 / page-id-2790 (no page-slug class
   is present on live body element). Scoping below targets the real IDs.
================================================================ */

body.page-id-2703 .entry-title,
body.page-id-2790 .entry-title { display: none !important; }

body.page-id-2703 .site-content,
body.page-id-2703 .content-area,
body.page-id-2703 .entry-content,
body.page-id-2703 #primary,
body.page-id-2703 .ast-article-single,
body.page-id-2703 .hentry,
body.page-id-2703 .site-main,
body.page-id-2790 .site-content,
body.page-id-2790 .content-area,
body.page-id-2790 .entry-content,
body.page-id-2790 #primary,
body.page-id-2790 .ast-article-single,
body.page-id-2790 .hentry,
body.page-id-2790 .site-main {
    background: #ffffff !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

body.page-id-2703 body,
body.page-id-2703 .site { background: #ffffff !important; }

/* Join-Our-Team FAQ — grid + item cards (legacy join.css equivalent) */
.bgw-faq { background: #ffffff; padding: 64px 24px; }
.bgw-faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; max-width: 1200px; margin: 0 auto; }
.bgw-faq-item { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 24px; transition: all 0.3s ease; }
.bgw-faq-item:hover { border-color: #f5c842; -webkit-transform: translateY(-2px); -ms-transform: translateY(-2px); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15,41,64,0.10); }
.bgw-faq-item h3 { font-size: 16px; font-weight: 700; color: #0f2940; margin: 0 0 12px; }
.bgw-faq-item p { font-size: 14px; color: #475569; margin: 0; line-height: 1.6; }

.bg-recruit-wrap {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: #1a1a2e;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.bg-recruit-wrap * {
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.bg-recruit-wrap h1 { font-size: clamp(1.8em, 5vw, 2.8em); color: #0f2940; margin-bottom: 0.5em; line-height: 1.2; }
.bg-recruit-wrap h2 { font-size: clamp(1.4em, 4vw, 2em); color: #0f2940; margin: 1.5em 0 0.5em; border-bottom: 2px solid #f5c842; padding-bottom: 0.3em; display: inline-block; }
.bg-recruit-wrap h3 { font-size: 1.3em; color: #0f2940; margin: 1.2em 0 0.5em; }
.bg-recruit-wrap p { margin-bottom: 1em; font-size: 1.05em; }
.bg-recruit-wrap a { color: #1557b0; text-decoration: underline; }
.bg-recruit-wrap a:hover { color: #f5c842; }

.bg-recruit-table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 0.95em; }
.bg-recruit-table th { background: #0f2940; color: #fff; padding: 14px 12px; text-align: left; }
.bg-recruit-table td { padding: 12px; border: 1px solid #e0e0e0; background: #fff; }
.bg-recruit-table tr:nth-child(even) td { background: #f8f9fa; }

.bg-recruit-steps { counter-reset: step; list-style: none; padding: 0; }
.bg-recruit-steps li { position: relative; padding-left: 50px; margin-bottom: 1.2em; }
.bg-recruit-steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; background: #f5c842; color: #0f2940; border-radius: 50%; text-align: center; line-height: 36px; font-weight: 700; }
.bg-recruit-steps strong { color: #0f2940; }

.bg-recruit-stats { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; gap: 1em; margin: 1.5em 0; }
.bg-recruit-stat { -webkit-box-flex: 1; -ms-flex: 1 1 200px; flex: 1 1 200px; background: #0f2940; color: #fff; padding: 1.2em; border-radius: 12px; text-align: center; }
.bg-recruit-stat-num { font-size: 2em; font-weight: 700; color: #f5c842; }

.bg-recruit-cta { text-align: center; margin: 2.5em 0; padding: 1em; }

.bg-recruit-final {
    background: -webkit-linear-gradient(135deg, #0f2940, #1a3a5c);
    background: -ms-linear-gradient(135deg, #0f2940, #1a3a5c);
    background: linear-gradient(135deg, #0f2940, #1a3a5c);
    color: #fff;
    padding: 2em;
    border-radius: 16px;
    text-align: center;
    margin: 2em 0;
}

.bg-recruit-final h3 { color: #f5c842 !important; margin-top: 0 !important; }
.bg-recruit-final a { color: #f5c842 !important; font-weight: 700; }

@media (max-width: 767px) {
    .bg-recruit-table { font-size: 0.85em; }
    .bg-recruit-table th, .bg-recruit-table td { padding: 8px 6px; }
}



/* ================================================================
   § 7  WHY JOIN US PAGE — v3.1 (EN+ZH toggle, 12 reasons,
          hero image, color-coded badges, WhatsApp float)
   NOTE: body uses page-id-2717 (no page-slug-why-join-us on live).
================================================================ */

body.page-id-2717 .entry-title { display: none !important; }

body.page-id-2717 .site-content,
body.page-id-2717 .content-area,
body.page-id-2717 .entry-content,
body.page-id-2717 #primary,
body.page-id-2717 .ast-article-single,
body.page-id-2717 .hentry,
body.page-id-2717 .site-main {
    background: #f8f9fa !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

body.page-id-2717 body,
body.page-id-2717 .site { background: #f8f9fa !important; }

/* ── .bgw-page wrapper ── */
.bgw-page {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #334155;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

.bgw-page *,
.bgw-page *::before,
.bgw-page *::after {
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.bgw-page a { color: inherit; text-decoration: none; }
.bgw-page img { max-width: 100%; height: auto; display: block; }

/* ── Container ── */
.bgw-container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── Skip Link ── */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #f5c842;
    color: #0f2940;
    padding: 8px 16px;
    z-index: 100000;
    font-weight: 700;
    border-radius: 0 0 4px 0;
    -webkit-transition: top 0.2s;
    -ms-transition: top 0.2s;
    transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ── Language Toggle ── */
.bgw-lang-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 16px 24px 0;
    max-width: 1100px;
    margin: 0 auto;
}

.bgw-lang-btn {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 6px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    background: #ffffff;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    margin-left: 8px;
}

.bgw-lang-btn:hover { border-color: #f5c842; color: #0f2940; }
.bgw-lang-btn.active { background: #0f2940; border-color: #0f2940; color: #f5c842; }

.bgw-lang-en { display: none; }
.bgw-lang-en.show { display: block; }
.bgw-lang-zh { display: none; }
.bgw-lang-zh.show { display: block; }

/* ── Hero Section ── */
/* === JOIN-OUR-TEAM PAGE === */

/* Hero: flex layout — content LEFT, image RIGHT, both above overlay */
.bgw-hero {
    position: relative;
    min-height: 580px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 40px;
    padding: 80px max(24px, 5vw);
    background-color: #0f2940;
    overflow: hidden;
}

.bgw-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://boongiap.com.my/wp-content/uploads/2026/03/bg-homepage-photo.avif');
    background-size: cover;
    background-position: center 30%;
    opacity: 0.18;
}

.bgw-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,41,64,0.97) 0%, rgba(15,41,64,0.85) 50%, rgba(15,41,64,0.92) 100%);
    z-index: 1;
}

.bgw-hero-content {
    position: relative;
    z-index: 2;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 480px;
    flex: 1 1 480px;
    max-width: 680px;
}

.bgw-hero-image {
    position: relative;
    z-index: 2;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    max-width: 420px;
    width: 100%;
}

.bgw-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    -webkit-box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    -webkit-filter: contrast(1.05) saturate(1.1);
    filter: contrast(1.05) saturate(1.1);
}

.bgw-hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(26px, 3.5vw, 48px);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 20px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.bgw-hero-subtitle {
    font-size: clamp(15px, 2vw, 18px);
    color: rgba(255,255,255,0.88);
    line-height: 1.7;
    margin: 0 0 36px;
    max-width: 640px;
}

.bgw-hero-cta {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 14px;
}

.bgw-btn {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
    min-height: 48px;
    min-width: 160px;
    letter-spacing: 0.2px;
}

.bgw-btn-primary { background: #f5c842; color: #0f2940; }
.bgw-btn-primary:hover { background: #e0b035; -webkit-transform: translateY(-2px); -ms-transform: translateY(-2px); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,200,66,0.4); }
.bgw-btn-secondary { background: #1E8449; color: #ffffff; }
.bgw-btn-secondary:hover { background: #166534; -webkit-transform: translateY(-2px); -ms-transform: translateY(-2px); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(30,132,73,0.35); }
.bgw-btn-whatsapp { background: #1E8449; color: #ffffff; }
.bgw-btn-whatsapp:hover { background: #166534; -webkit-transform: translateY(-2px); -ms-transform: translateY(-2px); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(30,132,73,0.4); }

/* Shared layout helpers — scoped to BGW pages that use bare .container (Join-Our-Team sections) */
.bgw-why .container, .bgw-roles .container, .bgw-benefits .container, .bgw-faq .container, .bgw-apply .container, .bgw-footer .container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.bgw-section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 700;
    color: #0f2940;
    text-align: center;
    margin: 0 0 12px;
    line-height: 1.2;
}

.bgw-section-sub { text-align: center; color: #64748b; font-size: 15px; margin-bottom: 40px; }

/* Why Join Us — Feature Cards */
.bgw-why { background: #ffffff; padding: 64px 24px; }

.bgw-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.bgw-feature-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 24px;
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.bgw-feature-card:hover {
    border-color: #f5c842;
    -webkit-transform: translateY(-4px);
    -ms-transform: translateY(-4px);
    transform: translateY(-4px);
    -webkit-box-shadow: 0 12px 32px rgba(15,41,64,0.12);
    box-shadow: 0 12px 32px rgba(15,41,64,0.12);
}

.bgw-feature-icon { font-size: 36px; margin-bottom: 16px; line-height: 1; }

.bgw-feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #0f2940;
    margin: 0 0 10px;
    line-height: 1.3;
}

.bgw-feature-card p,
.bgw-feature-card { font-size: 14.5px; color: #475569; line-height: 1.75; }

/* Available Roles */
.bgw-roles { background: #f8fafc; padding: 64px 24px; }

.bgw-roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.bgw-role-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 24px;
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
    position: relative;
}

.bgw-role-card:hover {
    border-color: #0891b2;
    -webkit-transform: translateY(-4px);
    -ms-transform: translateY(-4px);
    transform: translateY(-4px);
    -webkit-box-shadow: 0 12px 32px rgba(15,41,64,0.10);
    box-shadow: 0 12px 32px rgba(15,41,64,0.10);
}

.bgw-role-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f2940;
    margin: 0 0 12px;
    line-height: 1.3;
}

.bgw-role-card p { font-size: 14.5px; color: #475569; line-height: 1.75; margin: 0 0 16px; }

.bgw-role-tags {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 8px;
}

.bgw-role-tag {
    display: inline-block;
    background: #eff6ff;
    color: #0e7490;
    border: 1px solid #bae6fd;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Benefits Table */
.bgw-benefits { background: #ffffff; padding: 64px 24px; }

.bgw-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; border: 1px solid #e2e8f0; max-width: 900px; margin: 32px auto 0; }

.bgw-table { width: 100%; border-collapse: collapse; font-size: 15px; }

.bgw-table thead th {
    background: #0f2940;
    color: #ffffff;
    padding: 16px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.3px;
}

.bgw-table tbody tr { border-bottom: 1px solid #e2e8f0; }
.bgw-table tbody tr:last-child { border-bottom: none; }
.bgw-table tbody tr:nth-child(even) { background: #f8fafc; }

.bgw-table tbody td {
    padding: 16px 20px;
    color: #334155;
    vertical-align: top;
    line-height: 1.6;
}

.bgw-table tbody td:first-child { font-weight: 600; color: #0f2940; white-space: nowrap; }

.bgw-table-icon { margin-right: 8px; font-size: 18px; vertical-align: middle; }

/* Apply Steps */
.bgw-apply { background: #f8fafc; padding: 64px 24px; }

.bgw-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    max-width: 900px;
    margin: 32px auto 0;
}

.bgw-step {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 24px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 20px;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.bgw-step:hover {
    border-color: #f5c842;
    -webkit-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    transform: translateY(-3px);
    -webkit-box-shadow: 0 8px 24px rgba(15,41,64,0.10);
    box-shadow: 0 8px 24px rgba(15,41,64,0.10);
}

.bgw-step-number {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 52px;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: #f5c842;
    color: #0f2940;
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.bgw-step-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0f2940;
    margin: 0 0 8px;
    line-height: 1.3;
}

.bgw-step-content p { font-size: 14px; color: #475569; line-height: 1.75; margin: 0; }

.bgw-apply-cta { text-align: center; margin-top: 40px; }

.bgw-contact-info {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #64748b;
    line-height: 1.8;
}

.bgw-contact-info a {
    color: #0e7490;
    text-decoration: none;
    font-weight: 600;
}

.bgw-contact-info a:hover { text-decoration: underline; }

/* Footer */
.bgw-footer { background: #060f1a; padding: 32px 24px; text-align: center; }
.bgw-footer-inner { color: rgba(255,255,255,0.5); font-size: 13px; line-height: 1.8; }
.bgw-footer-inner strong { color: rgba(255,255,255,0.75); font-weight: 600; }
.bgw-footer-divider { width: 40px; height: 2px; background: #f5c842; margin: 16px auto; opacity: 0.5; }

/* Focus & Accessibility */
.bgw-btn:focus-visible,
.bgw-role-card:focus-visible,
.bgw-step:focus-visible {
    outline: 3px solid #f5c842;
    outline-offset: 2px;
}

/* Mobile — Join Our Team */
@media (max-width: 768px) {
    .bgw-hero {
        -webkit-box-orient: vertical;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        min-height: auto;
        padding: 60px 20px 40px;
        text-align: center;
    }

    .bgw-hero-content {
        -webkit-box-flex: unset;
        -ms-flex: unset;
        flex: unset;
        max-width: 100%;
    }

    .bgw-hero-subtitle { margin-left: auto; margin-right: auto; }

    .bgw-hero-cta {
        -webkit-box-orient: vertical;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: stretch;
        -ms-flex-align: stretch;
        align-items: stretch;
    }

    .bgw-btn { min-width: unset; width: 100%; }

    .bgw-hero-image {
        -webkit-box-flex: unset;
        -ms-flex: unset;
        flex: unset;
        max-width: 280px;
        margin-top: 32px;
    }

    .bgw-hero-image img {
        border-radius: 12px;
        -webkit-box-shadow: 0 12px 32px rgba(0,0,0,0.4);
        box-shadow: 0 12px 32px rgba(0,0,0,0.4);
    }

    .bgw-why, .bgw-roles, .bgw-benefits, .bgw-apply { padding: 48px 16px; }
    .bgw-why-grid, .bgw-roles-grid { grid-template-columns: 1fr; gap: 16px; }
    .bgw-steps { grid-template-columns: 1fr; gap: 16px; }
    .bgw-step { padding: 20px 16px; }
    .bgw-table-wrap { border-radius: 8px; }
    .bgw-table { font-size: 14px; }
    .bgw-table thead th, .bgw-table tbody td { padding: 12px 14px; }
}

@media (max-width: 480px) {
    .bgw-hero h1 { font-size: 26px; }
    .bgw-section-title { font-size: 22px; }
    .bgw-role-card, .bgw-feature-card { padding: 20px 16px; }
    .bgw-step { -webkit-box-orient: vertical; -ms-flex-direction: column; flex-direction: column; gap: 12px; }
    .bgw-step-number { width: 44px; height: 44px; min-width: 44px; font-size: 18px; }
}

/* ── Stats Section ── */
.bgw-stats { background: #0f2940; padding: 40px 24px; }

.bgw-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    max-width: 1100px;
    margin: 0 auto;
}

.bgw-stat-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.bgw-stat-card:hover {
    background: rgba(245,200,66,0.1);
    border-color: rgba(245,200,66,0.25);
    -webkit-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    transform: translateY(-3px);
}

.bgw-stat-icon { font-size: 28px; margin-bottom: 10px; }

.bgw-stat-number {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    color: #f5c842;
    line-height: 1.1;
}

.bgw-stat-label { font-size: 13px; color: rgba(255,255,255,0.75); margin-top: 6px; line-height: 1.4; }

/* ── Intro Section ── */
.bgw-intro { background: #ffffff; padding: 64px 24px; text-align: center; }

.bgw-intro h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(24px, 3.5vw, 38px);
    font-weight: 700;
    color: #0f2940;
    margin: 0 0 20px;
}

.bgw-intro p {
    font-size: clamp(15px, 1.8vw, 17px);
    color: #64748b;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ── Reasons Section ── */
.bgw-reasons { background: #f8fafc; padding: 64px 24px; }

.bgw-reasons h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 700;
    color: #0f2940;
    text-align: center;
    margin: 0 0 12px;
}

.bgw-reasons-sub { text-align: center; color: #64748b; font-size: 15px; margin-bottom: 40px; }

.bgw-accordion-wrap {
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    background: #ffffff;
    max-width: 860px;
    margin: 0 auto;
}

/* Why Join Us — Native details/summary Accordion (bg-reasons-faq) */
.bgw-page .bg-reasons-faq {
    margin: 28px 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}

.bgw-page .bg-reasons-faq details {
    border-bottom: 1px solid #e2e8f0;
    -webkit-transition: background 0.2s ease;
    -ms-transition: background 0.2s ease;
    transition: background 0.2s ease;
}
.bgw-page .bg-reasons-faq details:last-child { border-bottom: none; }
.bgw-page .bg-reasons-faq details[open] { border-left: 4px solid #c8860a; }
.bgw-page .bg-reasons-faq details:hover { background: #f8fafc; }

.bgw-page .bg-reasons-faq summary {
    padding: 18px 22px;
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}
.bgw-page .bg-reasons-faq summary::-webkit-details-marker { display: none; }
.bgw-page .bg-reasons-faq summary::marker { display: none; }

.bgw-page .bg-reasons-faq .bga-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    margin-right: 16px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    background: #f5c842;
    color: #0f2940;
}

.bgw-page .bg-reasons-faq .bga-title-text {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    font-weight: 700;
    font-size: 15px;
    color: #1e293b;
    line-height: 1.4;
}

.bgw-page .bg-reasons-faq .bg-faq-chevron {
    width: 20px;
    height: 20px;
    color: #64748b;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin-left: 14px;
    max-width: none !important;
    -webkit-transition: -webkit-transform 0.25s ease, color 0.2s ease;
    transition: transform 0.25s ease, color 0.2s ease;
}
.bgw-page .bg-reasons-faq details[open] .bg-faq-chevron {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
    color: #c8860a;
}

.bgw-page .bg-reasons-faq .bg-faq-body {
    padding: 6px 22px 20px 76px;
    font-size: 15px;
    color: #475569;
    line-height: 1.82;
    background: #fafcff;
    font-family: 'Inter', sans-serif;
}

.bgw-page .bg-reasons-faq details[data-color="teal"] .bga-icon { background: #0e7490; color: #ffffff; }
.bgw-page .bg-reasons-faq details[data-color="green"] .bga-icon { background: #1E8449; color: #ffffff; }
.bgw-page .bg-reasons-faq details[data-color="amber"] .bga-icon { background: #b45309; color: #ffffff; }
.bgw-page .bg-reasons-faq details[data-color="rose"] .bga-icon { background: #e11d48; color: #ffffff; }
.bgw-page .bg-reasons-faq details[data-color="purple"] .bga-icon { background: #7c3aed; color: #ffffff; }

.bgw-page .bg-reasons-faq summary:focus-visible {
    outline: 2px solid #c8860a;
    outline-offset: -2px;
}

.bga-item:last-child { border-bottom: none; }
.bga-item:hover { background: #f8fafc; }
.bga-item.active { background: #f8fafc; }

.bga-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.bga-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: #f5c842;
    color: #0f2940;
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    margin-right: 16px;
    -webkit-transition: background 0.3s ease;
    -ms-transition: background 0.3s ease;
    transition: background 0.3s ease;
    -webkit-box-flex: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.bga-title-text {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: #0f2940;
    line-height: 1.4;
    padding-right: 8px;
}

.bga-chevron {
    font-size: 18px;
    color: #64748b;
    -webkit-transition: -webkit-transform 0.3s ease, color 0.3s ease;
    -webkit-transition: transform 0.3s ease, color 0.3s ease;
    -ms-transition: transform 0.3s ease, color 0.3s ease;
    transition: transform 0.3s ease, color 0.3s ease;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin-left: 12px;
}

.bga-item.active .bga-chevron {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    color: #b8932a;
}

.bga-body {
    display: none;
    padding: 0 24px 20px 76px;
}

.bga-body.show { display: block; }

.bga-body-inner {
    color: #334155;
    line-height: 1.8;
    font-size: 15px;
}

/* Icon colour variants */
.bga-item[data-color="teal"] .bga-icon { background: #0e7490; color: #ffffff; }
.bga-item[data-color="green"] .bga-icon { background: #1E8449; color: #ffffff; }

.bga-item[data-color="amber"] .bga-icon { background: #b45309; color: #ffffff; }
.bga-item[data-color="rose"] .bga-icon { background: #e11d48; color: #ffffff; }
.bga-item[data-color="purple"] .bga-icon { background: #7c3aed; color: #ffffff; }
.bga-item[data-color="teal"].active .bga-icon { background: #0e7490; }
.bga-item[data-color="green"].active .bga-icon { background: #1E8449; }
.bga-item[data-color="amber"].active .bga-icon { background: #b45309; }
.bga-item[data-color="rose"].active .bga-icon { background: #e11d48; }
.bga-item[data-color="purple"].active .bga-icon { background: #7c3aed; }

/* ── CTA Section ── */
.bgw-cta-section {
    background: linear-gradient(135deg, #0f2940 0%, #1a3a5c 100%);
    padding: 72px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bgw-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://boongiap.com.my/wp-content/uploads/2026/03/bg-homepage-photo.avif');
    background-size: cover;
    background-position: center;
    opacity: 0.07;
}

.bgw-cta-content { position: relative; z-index: 1; }

.bgw-cta-section h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(24px, 3.5vw, 40px);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px;
}

.bgw-cta-section > .bgw-container > p {
    font-size: clamp(14px, 1.8vw, 17px);
    color: rgba(255,255,255,0.85);
    max-width: 560px;
    margin: 0 auto 36px;
}

/* ── Footer ── */
.bgw-footer { background: #060f1a; padding: 32px 24px; text-align: center; }

.bgw-footer-inner { color: rgba(255,255,255,0.5); font-size: 13px; line-height: 1.8; }
.bgw-footer-inner strong { color: rgba(255,255,255,0.75); font-weight: 600; }
.bgw-footer-divider { width: 40px; height: 2px; background: #f5c842; margin: 16px auto; opacity: 0.5; }

/* ── Focus States ── */
.bga-header:focus-visible,
.bgw-btn:focus-visible,
.bgw-lang-btn:focus-visible {
    outline: 3px solid #f5c842;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ── Responsive — Tablet ── */
@media (max-width: 900px) {
    .bgw-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .bga-body { padding-left: 24px; }
    .bgw-hero { min-height: 480px; padding: 60px 24px; }
}

/* ── Responsive — Mobile ── */
@media (max-width: 640px) {
    .bgw-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .bgw-stat-card { padding: 20px 12px; }
    .bgw-stat-number { font-size: 24px; }
    .bgw-stat-label { font-size: 11px; }
    .bga-header { padding: 16px; }
    .bgw-page .bg-reasons-faq .bga-title-text { font-size: 14px; }
    .bgw-page .bg-reasons-faq .bga-icon { width: 32px; height: 32px; min-width: 32px; font-size: 13px; margin-right: 12px; }
    .bgw-page .bg-reasons-faq .bg-faq-body { padding: 6px 16px 16px 60px; font-size: 14px; }
    .bgw-hero { min-height: 420px; padding: 48px 20px; }
    .bgw-hero-cta { -webkit-box-orient: vertical; -ms-flex-direction: column; flex-direction: column; -webkit-box-align: stretch; -ms-flex-align: stretch; align-items: stretch; }
    .bgw-btn { min-width: unset; width: 100%; }
    .bgw-lang-wrap { padding: 12px 16px 0; }
    .bgw-cta-section { padding: 48px 20px; }
    .bgw-reasons { padding: 40px 16px; }
    .bgw-intro { padding: 40px 16px; }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        -webkit-transition: none !important;
        -ms-transition: none !important;
        transition: none !important;
        animation: none !important;
    }
}
