/* ================================================================
    § 7  WHY JOIN US PAGE — .bgw-page
=============================================================== */

/* Hide WordPress title */
body.page-id-2717 .entry-title,
body.page-2717 .entry-title { display: none !important; }

/* Reset content area */
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,
body.page-2717 .site-content,
body.page-2717 .content-area,
body.page-2717 .entry-content,
body.page-2717 #primary,
body.page-2717 .ast-article-single,
body.page-2717 .hentry,
body.page-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,
body.page-2717 body, 
body.page-2717 .site { background: #f8f9fa !important; }

.bgw-page { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: #334155; line-height: 1.7; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
.bgw-page *, .bgw-page *::before, .bgw-page *::after { box-sizing: border-box; }
.bgw-page { max-width: 100%; }
.bgw-page a { color: inherit; text-decoration: none; }
.bgw-page img { max-width: 100%; height: auto; display: block; }
.bgw-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Language Toggle */
.bgw-lang-wrap { display: flex; align-items: center; justify-content: flex-end; padding: 16px 24px 0; max-width: 1200px; margin: 0 auto; }
.bgw-lang-btn { display: inline-flex; align-items: center; padding: 6px 16px; border: 1.5px solid #e2e8f0; border-radius: 20px; background: #fff; color: #64748b; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; 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 */
.bgw-hero { position: relative; min-height: 580px; display: flex; align-items: center; 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; flex: 1 1 480px; max-width: 680px; }
.bgw-hero-image { position: relative; z-index: 2; flex: 0 0 auto; max-width: 420px; width: 100%; }
.bgw-hero-image img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.bgw-hero h1 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(26px, 3.5vw, 48px); font-weight: 700; color: #fff; 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: flex; flex-wrap: wrap; gap: 14px; }

.bgw-btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 32px; border-radius: 8px; font-size: 15px; font-weight: 700; transition: all 0.3s ease; cursor: pointer; border: none; text-decoration: none; min-height: 48px; min-width: 160px; }
.bgw-btn-primary { background: #f5c842; color: #0f2940; }
.bgw-btn-primary:hover { background: #e0b035; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,200,66,0.4); }
.bgw-btn-secondary { background: #20bd5a; color: #fff; }
.bgw-btn-secondary:hover { background: #1a9c4a; transform: translateY(-2px); }
.bgw-btn-whatsapp { background: #25d366; color: #fff; }
.bgw-btn-whatsapp:hover { background: #1fb855; transform: translateY(-2px); }

/* Stats */
.bgw-stats { background: #0f2940; padding: 40px 24px; }
.bgw-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; max-width: 1200px; 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; }
.bgw-stat-card:hover { background: rgba(245,200,66,0.1); border-color: rgba(245,200,66,0.25); 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; }

/* Sections */
.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: #fff; padding: 64px 24px; }
.bgw-why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 1200px; margin: 0 auto; }
.bgw-feature-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 16px; padding: 28px 24px; transition: all 0.3s ease; }
.bgw-feature-card:hover { border-color: #f5c842; transform: translateY(-4px); 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; }
.bgw-feature-card p { font-size: 14.5px; color: #475569; }

/* Available Roles */
.bgw-roles { background: #f8fafc; padding: 64px 24px; }
.bgw-roles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; max-width: 1200px; margin: 0 auto; }
.bgw-role-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 28px 24px; position: relative; }
.bgw-role-card:hover { border-color: #0891b2; transform: translateY(-4px); 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; }
.bgw-role-card p { font-size: 14.5px; color: #475569; margin: 0 0 16px; }
.bgw-role-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.bgw-role-tag { display: inline-block; background: #eff6ff; color: #0891b2; border: 1px solid #bae6fd; border-radius: 20px; padding: 4px 12px; font-size: 12px; font-weight: 600; }

/* Benefits Table */
.bgw-benefits { background: #fff; padding: 64px 24px; }
.bgw-table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid #e2e8f0; max-width: 1200px; margin: 32px auto 0; }
.bgw-table { width: 100%; border-collapse: collapse; font-size: 15px; max-width: 1200px; }
.bgw-table thead th { background: #0f2940; color: #fff; padding: 16px 20px; text-align: left; font-weight: 700; }
.bgw-table tbody tr { border-bottom: 1px solid #e2e8f0; }
.bgw-table tbody tr:nth-child(even) { background: #f8fafc; }
.bgw-table tbody td { padding: 16px 20px; color: #334155; vertical-align: top; }
.bgw-table tbody td:first-child { font-weight: 600; color: #0f2940; white-space: nowrap; }

/* Apply Steps */
.bgw-apply { background: #f8fafc; padding: 64px 24px; }
.bgw-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; max-width: 1200px; margin: 32px auto 0; }
.bgw-step { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 28px 24px; display: flex; gap: 20px; align-items: flex-start; }
.bgw-step:hover { border-color: #f5c842; transform: translateY(-3px); box-shadow: 0 8px 24px rgba(15,41,64,0.10); }
.bgw-step-number { flex: 0 0 52px; width: 52px; height: 52px; background: #f5c842; color: #0f2940; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; flex-shrink: 0; }
.bgw-step-content h4 { font-size: 16px; font-weight: 700; color: #0f2940; margin: 0 0 8px; }
.bgw-step-content p { font-size: 14px; color: #475569; margin: 0; }

/* 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: #fff; 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; }

/* WhatsApp Float */
.bgw-wa-float { position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(37,211,102,0.4); transition: all 0.2s ease; text-decoration: none; z-index: 9999; }
.bgw-wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,0.55); }
.bgw-wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* Responsive */
@media (max-width: 900px) { .bgw-stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
    .bgw-hero { flex-direction: column; min-height: auto; padding: 60px 20px 40px; text-align: center; }
    .bgw-hero-content { flex: unset; max-width: 100%; }
    .bgw-hero-subtitle { margin-left: auto; margin-right: auto; }
    .bgw-hero-cta { flex-direction: column; align-items: stretch; }
    .bgw-btn { min-width: unset; width: 100%; }
    .bgw-hero-image { max-width: 280px; margin-top: 32px; }
    .bgw-why, .bgw-roles, .bgw-benefits, .bgw-apply { padding: 48px 16px; }
    .bgw-why-grid, .bgw-roles-grid { grid-template-columns: 1fr; }
    .bgw-steps { grid-template-columns: 1fr; }
    .bgw-wa-float { width: 50px; height: 50px; bottom: 16px; right: 16px; }
}
@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; } }
@media (max-width: 480px) { .bgw-hero h1 { font-size: 26px; } .bgw-section-title { font-size: 22px; } }