:root {
  --xfb-primary: #11B87B;
  --xfb-primary-dark: #0C8258;
  --xfb-accent: #16F1A2;
  --xfb-accent-dark: #10B77B;
  --xfb-hero-btn: #FFFFFF;
  --xfb-hero-btn-hover: #C8FEEB;
  --xfb-cta: #C7A44C;
  --xfb-bg: #D8FEF0;
  --xfb-sub-bg: #90F8D3;
  --xfb-text: #1D2120;
  --xfb-text2: #5C6663;
  --xfb-dark1: #06462F;
  --xfb-dark2: #032519;
}
body { font-family: 'Helvetica Neue',Helvetica,Arial,'PingFang SC','Microsoft YaHei',sans-serif; color: var(--xfb-text); background: var(--xfb-bg); }
a { color: var(--xfb-primary); text-decoration: none; }
a:hover { color: var(--xfb-accent); }
.bg-glass { background: rgba(255,255,255,.08); backdrop-filter: blur(6px); }

/* Header */
.xfb-header { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.xfb-header .navbar-brand { font-weight: 800; font-size: 1.35rem; color: var(--xfb-primary); }
.xfb-header .nav-link { font-size: .92rem; color: var(--xfb-text); font-weight: 500; }
.xfb-header .nav-link:hover { color: var(--xfb-accent); }
.xfb-nav-cta { background: var(--xfb-primary); color: #fff !important; border-radius: 8px; padding: .45rem 1.2rem !important; }
.xfb-nav-cta:hover { background: var(--xfb-accent); }

/* Notice Bar */
.xfb-notice { background: #CEFEEC; color: var(--xfb-text); font-weight: 500; padding: .6rem 0; }

/* Hero */
.xfb-hero { background: url('{$domainStatic}/{$tplPath}/xfb03/images/hero.jpg') center/cover no-repeat; position: relative; padding: 5.5rem 0; text-align: center; color: #fff; }
.xfb-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,.78), rgba(0,0,0,.5)); }
.xfb-hero .container { position: relative; z-index: 2; }
.xfb-hero h1 { font-size: 2.5rem; font-weight: 800; }
.xfb-hero .hero-sub { font-size: 1.15rem; opacity: .92; max-width: 720px; margin: .8rem auto 0; }
.xfb-hero-btn { background: var(--xfb-hero-btn); color: #fff; border-radius: 50px; padding: .7rem 2.2rem; font-weight: 600; display: inline-block; margin-top: 1rem; }
.xfb-hero-btn:hover { background: var(--xfb-hero-btn-hover); color: #fff; }
.xfb-hero-outline { border: 2px solid #fff; color: #fff; border-radius: 50px; padding: .65rem 2rem; font-weight: 600; display: inline-block; margin-top: 1rem; }
.xfb-hero-outline:hover { background: #fff; color: var(--xfb-primary); }

/* Stats dark band */
.xfb-stats { padding: 3rem 0; background: #BEFDE6; color: #fff; }
.xfb-stat-num { font-size: 2rem; font-weight: 800; color: var(--xfb-cta); }
.xfb-stat-label { font-size: .9rem; opacity: .8; }

/* Why Us */
.xfb-why { padding: 4rem 0; background: #fff; }
.xfb-why-card { background: #fff; border-radius: 16px; box-shadow: 0 4px 16px rgba(0,0,0,.06); padding: 1.75rem 1.25rem; height: 100%; border-top: 3px solid var(--xfb-primary); text-align: center; }
.xfb-icon-circle { width: 66px; height: 66px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--xfb-primary); color: #fff; font-size: 1.5rem; margin-bottom: .9rem; }

/* About / timeline */
.xfb-about { padding: 4rem 0; background: var(--xfb-sub-bg); }
.xfb-tl { position: relative; padding-left: 1.75rem; }
.xfb-tl::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--xfb-accent); opacity: .4; }
.xfb-tl-item { position: relative; margin-bottom: 1.4rem; }
.xfb-tl-item::before { content: ''; position: absolute; left: -1.75rem; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--xfb-primary); border: 3px solid #fff; }
.xfb-tl-item .yr { font-weight: 800; color: var(--xfb-primary); }

/* Departments */
.xfb-dept { padding: 4rem 0; background: #fff; }
.xfb-dept-card { background: var(--xfb-sub-bg); border-radius: 16px; padding: 1.75rem; height: 100%; text-align: center; transition: .2s; }
.xfb-dept-card:hover { background: var(--xfb-primary); color: #fff; }
.xfb-dept-card:hover .xfb-dept-icon { color: #fff; }
.xfb-dept-icon { font-size: 2.2rem; color: var(--xfb-primary); margin-bottom: .8rem; }

/* Security */
.xfb-sec { padding: 4rem 0; background: var(--xfb-sub-bg); }
.xfb-sec-item { background: #fff; border-radius: 14px; padding: 1.4rem; height: 100%; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.xfb-sec-item i { font-size: 1.6rem; color: var(--xfb-accent); }

/* Partners */
.xfb-partners { padding: 3.5rem 0; background: #fff; }
.xfb-partner-badge { display: flex; align-items: center; justify-content: center; gap: .5rem; background: var(--xfb-sub-bg); border-radius: 12px; padding: 1.1rem; font-weight: 700; color: var(--xfb-text2); height: 100%; }

/* FAQ */
.xfb-faq { padding: 4rem 0; background: var(--xfb-sub-bg); }
.xfb-faq .accordion-item { border: none; margin-bottom: .75rem; border-radius: 12px !important; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.xfb-faq .accordion-button { font-weight: 600; color: var(--xfb-text); }
.xfb-faq .accordion-button:not(.collapsed) { background: var(--xfb-primary); color: #fff; }

/* Mission */
.xfb-mission { padding: 4.5rem 0; background: #096544; color: #fff; text-align: center; }

/* Testimonials */
.xfb-testi { padding: 4rem 0; background: #fff; }
.xfb-testi-card { background: var(--xfb-sub-bg); border-radius: 16px; padding: 1.5rem; height: 100%; }

/* News */
.xfb-news { padding: 3.5rem 0; background: var(--xfb-sub-bg); }
.xfb-news-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.05); flex-shrink: 0; width: 300px; }
.xfb-news-card img { width: 100%; height: 168px; object-fit: cover; }
.xfb-news-card .card-body { padding: 1rem; }

/* CTA Banner */
.xfb-cta-banner { background: #096544; padding: 4rem 0; color: #fff; text-align: center; position: relative; overflow: hidden; }
.xfb-cta-banner h2 { font-weight: 800; }
.xfb-btn-cta { background: var(--xfb-cta); color: #1a1a1a; border-radius: 50px; padding: .7rem 2.5rem; font-weight: 700; display: inline-block; }
.xfb-btn-cta:hover { opacity: .9; color: #1a1a1a; }
.xfb-btn-outline-cta { border: 2px solid #fff; color: #fff; border-radius: 50px; padding: .65rem 2rem; display: inline-block; }
.xfb-btn-outline-cta:hover { background: rgba(255,255,255,.15); color: #fff; }

/* Footer */
.xfb-footer { background: var(--xfb-dark1); color: #fff; padding: 3rem 0 1.5rem; }
.xfb-footer h6 { text-transform: uppercase; font-weight: 700; margin-bottom: 1rem; }
.xfb-footer a { color: rgba(255,255,255,.7); }
.xfb-footer a:hover { color: var(--xfb-cta); }
.xfb-footer-copy { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2rem; padding-top: 1.5rem; text-align: center; font-size: .85rem; color: rgba(255,255,255,.5); }

/* List page */
.xfb-list-wrap { padding: 3rem 0; }
.xfb-list-item { background: #fff; border-radius: 16px; padding: 1.5rem; margin-bottom: 1rem; box-shadow: 0 2px 8px rgba(0,0,0,.04); display: flex; gap: 1rem; align-items: center; }
.xfb-list-item img { width: 120px; height: 80px; object-fit: cover; border-radius: 10px; }
.xfb-list-item h4 a { color: var(--xfb-text); }
.xfb-list-item h4 a:hover { color: var(--xfb-primary); }

/* Detail page */
.xfb-detail { padding: 3rem 0; }
.xfb-detail h1 { font-size: 1.8rem; font-weight: 800; color: var(--xfb-text); margin-bottom: .8rem; }
.xfb-detail-meta { font-size: .88rem; color: var(--xfb-text2); margin-bottom: 1.5rem; display: flex; flex-wrap: wrap; gap: 14px; }
.xfb-detail-body { line-height: 1.9; font-size: 1rem; color: var(--xfb-text); }
.xfb-detail-body img { max-width: 100%; height: auto; border-radius: 12px; margin: 1rem 0; }

/* Pagination */
.xfb-pagination .page-link { color: var(--xfb-primary); border-radius: 8px; margin: 0 3px; }
.xfb-pagination .page-item.active .page-link { background: var(--xfb-primary); border-color: var(--xfb-primary); color: #fff; }

/* Section title */
.xfb-section-title { text-align: center; margin-bottom: 2.25rem; }
.xfb-section-title h2 { font-weight: 800; color: var(--xfb-text); }
.xfb-section-title p { color: var(--xfb-text2); }

/* Badge */
.xfb-badge { background: var(--xfb-cta); color: #1a1a1a; font-size: .75rem; border-radius: 6px; padding: .3em .7em; }

/* Scroll */
.xfb-scroll { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .8rem; -webkit-overflow-scrolling: touch; }
.xfb-scroll > * { scroll-snap-align: start; }

/* Search */
.xfb-search { padding: 3rem 0; }
.xfb-search input { border-radius: 12px; }

/* User / contact form */
.xfb-form-wrap { max-width: 500px; margin: 3rem auto; padding: 2rem; background: #fff; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.xfb-form-submit { background: var(--xfb-primary); color: #fff; border: none; border-radius: 10px; width: 100%; padding: .75rem; font-weight: 700; }
.xfb-form-submit:hover { background: var(--xfb-accent); }

/* 404 */
.xfb-404 { text-align: center; padding: 5rem 0; }
.xfb-404 h1 { font-size: 6rem; font-weight: 900; color: var(--xfb-primary); }
