/* Binnaem Site Modern v1.2.1 — tuned brand palette */

:root {
  --bn-primary: #025873;
  --bn-primary-dark: #01425a;
  --bn-primary-light: #0487ad;
  --bn-primary-soft: #e8f4f8;
  --bn-accent: #e8933a;
  --bn-accent-light: #f5c882;
  --bn-accent-dark: #c47a28;
  --bn-text: #1a3340;
  --bn-text-muted: #5a7280;
  --bn-text-light: #7d96a3;
  --bn-bg: #f4f8fa;
  --bn-bg-alt: #eaf2f6;
  --bn-white: #ffffff;
  --bn-border: #c5d9e3;
  --bn-shadow: 0 8px 32px rgba(2, 88, 115, 0.08);
  --bn-shadow-hover: 0 16px 40px rgba(2, 88, 115, 0.14);
  --bn-radius: 12px;
  --bn-radius-lg: 20px;
  --bn-font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Base typography ── */
body.binnaem-modern,
body.binnaem-modern .fl-builder-content {
  font-family: var(--bn-font) !important;
  color: var(--bn-text) !important;
  line-height: 1.7 !important;
  -webkit-font-smoothing: antialiased;
}

body.binnaem-modern p,
body.binnaem-modern .fl-rich-text p,
body.binnaem-modern .fl-module-content p {
  color: var(--bn-text-muted) !important;
  font-size: 1.05rem !important;
  line-height: 1.75 !important;
}

/* ── Headings hierarchy ── */
body.binnaem-modern h1,
body.binnaem-modern .fl-heading h1,
body.binnaem-modern .entry-title {
  color: var(--bn-primary-dark) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.2 !important;
}

body.binnaem-modern h2,
body.binnaem-modern .fl-heading h2 {
  color: var(--bn-primary-dark) !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
}

body.binnaem-modern h3,
body.binnaem-modern .fl-heading h3 {
  color: #243f4d !important;
  font-weight: 700 !important;
}

body.binnaem-modern h4,
body.binnaem-modern h5,
body.binnaem-modern h6,
body.binnaem-modern .fl-heading h4,
body.binnaem-modern .fl-heading h5,
body.binnaem-modern .fl-heading h6 {
  color: var(--bn-text) !important;
  font-weight: 600 !important;
}

/* Fix light text on light backgrounds */
body.binnaem-modern .fl-row-bg-color .fl-heading-text,
body.binnaem-modern .fl-row-bg-photo .fl-heading-text {
  text-shadow: none;
}

/* ── Custom dark hero & CTA sections: force readable white text (all pages) ── */
body.binnaem-modern [class*="bn-"][class*="hero"] h1,
body.binnaem-modern [class*="bn-"][class*="hero"] h2,
body.binnaem-modern [class*="bn-"][class*="hero"] h3 {
  color: #fff !important;
}

body.binnaem-modern [class*="bn-"][class*="hero"] p,
body.binnaem-modern [class*="bn-"][class*="hero"] li {
  color: rgba(255, 255, 255, 0.96) !important;
}

body.binnaem-modern [class*="bn-"][class*="hero"] li strong,
body.binnaem-modern [class*="bn-"][class*="hero"] p strong {
  color: #fff !important;
}

body.binnaem-modern [class*="bn-"][class*="cta__band"]:not(.bn-vm-cta__band) h2,
body.binnaem-modern [class*="bn-"][class*="cta__band"]:not(.bn-vm-cta__band) h3,
body.binnaem-modern [class*="bn-"][class*="cta__band"]:not(.bn-vm-cta__band) p,
body.binnaem-modern [class*="bn-"][class*="cta-band"] h2,
body.binnaem-modern [class*="bn-"][class*="cta-band"] h3,
body.binnaem-modern [class*="bn-"][class*="cta-band"] p,
body.binnaem-modern [class*="bn-"][class*="cta-box"] h2,
body.binnaem-modern [class*="bn-"][class*="cta-box"] h3,
body.binnaem-modern [class*="bn-"][class*="cta-box"] p {
  color: #fff !important;
}

/* Homepage quick-nav teal panel & CTA box: same white-text treatment */
body.binnaem-modern .bn-home-quicknav__content h2,
body.binnaem-modern .bn-home-quicknav__content h3,
body.binnaem-modern .bn-home-quicknav__content strong,
body.binnaem-modern .bn-home-cta h2,
body.binnaem-modern .bn-home-cta h3,
body.binnaem-modern .bn-home-cta strong {
  color: #fff !important;
}

body.binnaem-modern .bn-home-quicknav__content p,
body.binnaem-modern .bn-home-quicknav__content li,
body.binnaem-modern .bn-home-cta p,
body.binnaem-modern .bn-home-cta li {
  color: rgba(255, 255, 255, 0.95) !important;
}

/* Floating WhatsApp CTA: keep both text lines white */
body.binnaem-modern .bn-float-cta__text strong,
body.binnaem-modern .bn-float-cta__text small {
  color: #fff !important;
}

/* ── Links ──
   Excludes anything button-like ([class*="btn"]/[class*="button"]) so custom
   buttons keep their own text color (e.g. white on green WhatsApp buttons) */
body.binnaem-modern a:not(.fl-button):not(.menu-link):not([class*="btn"]):not([class*="button"]):not([class*="__link"]):not([class*="__cta"]):not(.bn-partners-link):not(.bn-footer__link) {
  color: var(--bn-primary) !important;
  text-decoration-color: rgba(2, 88, 115, 0.28);
  transition: color 0.2s ease;
}

body.binnaem-modern a:not(.fl-button):not(.menu-link):not([class*="btn"]):not([class*="button"]):not([class*="__link"]):not([class*="__cta"]):not(.bn-partners-link):not(.bn-footer__link):hover {
  color: var(--bn-accent-dark) !important;
}

/* Footer: force readable white text (overrides global h3/link rules) */
body.binnaem-modern .bn-footer h3,
body.binnaem-modern .bn-footer p,
body.binnaem-modern .bn-footer li,
body.binnaem-modern .bn-footer span,
body.binnaem-modern .bn-footer strong {
  color: rgba(255, 255, 255, 0.92) !important;
}

body.binnaem-modern .bn-footer a.bn-footer__link,
body.binnaem-modern a.bn-footer__link {
  color: rgba(255, 255, 255, 0.92) !important;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

body.binnaem-modern .bn-footer a.bn-footer__link:hover,
body.binnaem-modern a.bn-footer__link:hover {
  color: #fff !important;
  text-decoration-color: rgba(255, 255, 255, 0.65);
}

/* ── Buttons ── */
body.binnaem-modern .fl-button,
body.binnaem-modern .fl-button a,
body.binnaem-modern a.fl-button,
body.binnaem-modern .ast-button,
body.binnaem-modern .wp-block-button__link {
  border-radius: 999px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  background-color: var(--bn-primary) !important;
  color: var(--bn-white) !important;
  border: 2px solid var(--bn-primary) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease !important;
}

body.binnaem-modern .fl-button:hover,
body.binnaem-modern a.fl-button:hover {
  transform: translateY(-2px);
  background-color: var(--bn-primary-dark) !important;
  border-color: var(--bn-primary-dark) !important;
  box-shadow: 0 6px 20px rgba(2, 88, 115, 0.22) !important;
}

/* ── Header / navigation ── */
body.binnaem-modern .site-header,
body.binnaem-modern #masthead {
  box-shadow: 0 2px 16px rgba(2, 88, 115, 0.08) !important;
}

body.binnaem-modern .main-header-menu .menu-link,
body.binnaem-modern .ast-builder-menu .menu-link {
  color: var(--bn-text) !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
}

body.binnaem-modern .main-header-menu .menu-link:hover,
body.binnaem-modern .main-header-menu .current-menu-item > .menu-link {
  color: var(--bn-primary) !important;
}

body.binnaem-modern .main-header-menu .current-menu-item > .menu-link {
  color: var(--bn-accent-dark) !important;
}

/* ── Package / pricing cards ── */
body.binnaem-modern .fl-col,
body.binnaem-modern .fl-module-photo,
body.binnaem-modern .fl-module-callout {
  transition: transform 0.25s ease;
}

body.binnaem-modern .fl-col-group .fl-col:hover {
  transform: translateY(-4px);
}

body.binnaem-modern .fl-module-heading .fl-heading,
body.binnaem-modern .fl-price-table,
body.binnaem-modern .uabb-price-table {
  border-radius: var(--bn-radius);
}

/* Price text */
body.binnaem-modern .fl-heading .fl-heading-text:has(+ *),
body.binnaem-modern h2.fl-heading-text,
body.binnaem-modern h3.fl-heading-text {
  word-break: break-word;
}

body.binnaem-modern .fl-rich-text strong,
body.binnaem-modern .fl-heading-text {
  color: inherit;
}

/* Gold accent prices (RM amounts) */
body.binnaem-modern .fl-heading h2 .fl-heading-text,
body.binnaem-modern h2:where(:not(.menu-item)) {
  /* keep BB inline colors but improve contrast on white */
}

/* ── Testimonials ── */
body.binnaem-modern .fl-module-testimonials,
body.binnaem-modern .uabb-testimonial {
  border-radius: var(--bn-radius-lg) !important;
}

body.binnaem-modern .fl-testimonials-name,
body.binnaem-modern .uabb-testimonial-author {
  color: var(--bn-primary) !important;
  font-weight: 700 !important;
}

/* ── Section backgrounds ── */
body.binnaem-modern .fl-row-bg-color {
  border-radius: 0;
}

/* Alternate section feel */
body.binnaem-modern .fl-row:nth-child(even) {
  background-color: transparent;
}

/* ── Forms ── */
body.binnaem-modern input[type="text"],
body.binnaem-modern input[type="email"],
body.binnaem-modern input[type="tel"],
body.binnaem-modern input[type="number"],
body.binnaem-modern input[type="date"],
body.binnaem-modern select,
body.binnaem-modern textarea,
body.binnaem-modern .wpforms-field input,
body.binnaem-modern .wpforms-field select,
body.binnaem-modern .wpforms-field textarea {
  border: 1.5px solid var(--bn-border) !important;
  border-radius: 8px !important;
  color: var(--bn-text) !important;
  font-family: var(--bn-font) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

body.binnaem-modern input:focus,
body.binnaem-modern select:focus,
body.binnaem-modern textarea:focus,
body.binnaem-modern .wpforms-field input:focus,
body.binnaem-modern .wpforms-field textarea:focus {
  border-color: var(--bn-primary-light) !important;
  box-shadow: 0 0 0 3px rgba(3, 122, 158, 0.15) !important;
  outline: none !important;
}

body.binnaem-modern .wpforms-submit,
body.binnaem-modern button[type="submit"] {
  background: var(--bn-primary) !important;
  color: var(--bn-white) !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  padding: 12px 32px !important;
  border: none !important;
}

body.binnaem-modern .wpforms-submit:hover,
body.binnaem-modern button[type="submit"]:hover {
  background: var(--bn-primary-dark) !important;
}

/* ── Footer (legacy Astra widgets hidden when bn-footer is injected) ── */
body.binnaem-modern .site-footer:not(.bn-footer),
body.binnaem-modern footer:not(.bn-footer) {
  background: linear-gradient(160deg, var(--bn-primary-dark) 0%, #025873 100%) !important;
  color: rgba(255, 255, 255, 0.88) !important;
}

body.binnaem-modern .site-footer:not(.bn-footer) a,
body.binnaem-modern footer:not(.bn-footer) a {
  color: var(--bn-accent-light) !important;
}

body.binnaem-modern .site-footer:not(.bn-footer) a:hover,
body.binnaem-modern footer:not(.bn-footer) a:hover {
  color: var(--bn-white) !important;
}

body.binnaem-modern .site-footer:not(.bn-footer) p,
body.binnaem-modern footer:not(.bn-footer) p {
  color: rgba(255, 255, 255, 0.78) !important;
}

/* ── Trust badges / icon boxes ── */
body.binnaem-modern .fl-module-icon,
body.binnaem-modern .uabb-info-box,
body.binnaem-modern .fl-module-info-box {
  border-radius: var(--bn-radius);
}

body.binnaem-modern .fl-module-icon .fl-icon i,
body.binnaem-modern .uabb-info-box-icon i {
  color: var(--bn-primary) !important;
}

/* ── Slider ── */
body.binnaem-modern .fl-slideshow-caption,
body.binnaem-modern .bx-caption {
  background: linear-gradient(transparent, rgba(1, 61, 82, 0.85)) !important;
  border-radius: 0 0 var(--bn-radius) var(--bn-radius);
}

body.binnaem-modern .fl-slideshow-caption h2,
body.binnaem-modern .fl-slideshow-caption h3 {
  color: var(--bn-white) !important;
}

/* ── Tables / lists ── */
body.binnaem-modern table th {
  background: var(--bn-bg-alt) !important;
  color: var(--bn-primary) !important;
}

body.binnaem-modern ul li,
body.binnaem-modern ol li {
  color: var(--bn-text-muted);
}

/* ── Breadcrumbs ── */
body.binnaem-modern .ast-breadcrumbs-wrapper,
body.binnaem-modern .aioseo-breadcrumbs {
  color: var(--bn-text-light) !important;
  font-size: 0.9rem !important;
}

/* ── Blog ── */
body.binnaem-modern .entry-content,
body.binnaem-modern article {
  color: var(--bn-text-muted);
}

body.binnaem-modern .entry-meta {
  color: var(--bn-text-light) !important;
}

/* ── WhatsApp floating / CTA bars ── */
body.binnaem-modern .ht-ctc-chat,
body.binnaem-modern .joinchat {
  filter: drop-shadow(0 4px 12px rgba(2, 88, 115, 0.3));
}

/* ── Accessibility: improve contrast on small caps labels ── */
body.binnaem-modern small,
body.binnaem-modern .fl-heading h5,
body.binnaem-modern .fl-heading h6 {
  color: var(--bn-text-muted) !important;
}

/* ── Mobile readability ── */
@media (max-width: 768px) {
  body.binnaem-modern h1,
  body.binnaem-modern .fl-heading h1 {
    font-size: clamp(1.6rem, 6vw, 2.2rem) !important;
  }

  body.binnaem-modern h2,
  body.binnaem-modern .fl-heading h2 {
    font-size: clamp(1.3rem, 5vw, 1.8rem) !important;
  }

  body.binnaem-modern p,
  body.binnaem-modern .fl-rich-text p {
    font-size: 1rem !important;
  }
}

/* ── Homepage FAQ — modern accordion ── */
.bn-faq-section {
  --faq-primary: #025873;
  --faq-primary-dark: #01425a;
  --faq-primary-light: #0487ad;
  --faq-primary-soft: #e8f4f8;
  --faq-text: #1a3340;
  --faq-muted: #5a7280;
  --faq-white: #ffffff;
  --faq-border: #c5d9e3;
  --faq-shadow: 0 4px 24px rgba(2, 88, 115, 0.08);
  --faq-radius: 14px;
  background: linear-gradient(180deg, #f4f8fa 0%, #eaf2f6 100%);
  border-top: 1px solid var(--faq-border);
  padding: 64px 20px 72px;
  margin-top: 0;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.bn-faq-inner {
  max-width: 780px;
  margin: 0 auto;
}

.bn-faq-header {
  text-align: center;
  margin-bottom: 36px;
}

.bn-faq-eyebrow {
  display: inline-block;
  background: var(--faq-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.bn-faq-title {
  color: var(--faq-primary-dark) !important;
  font-size: clamp(1.6rem, 3.5vw, 2.15rem) !important;
  font-weight: 800 !important;
  margin: 0 0 12px !important;
  letter-spacing: -0.02em;
  line-height: 1.25 !important;
}

.bn-faq-intro {
  color: var(--faq-muted) !important;
  margin: 0 auto !important;
  max-width: 540px;
  font-size: 1.05rem !important;
  line-height: 1.7 !important;
}

.bn-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bn-faq-item {
  background: var(--faq-white);
  border: 1px solid var(--faq-border);
  border-radius: var(--faq-radius);
  overflow: hidden;
  box-shadow: var(--faq-shadow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bn-faq-item:hover {
  border-color: var(--faq-primary-light);
  box-shadow: 0 8px 28px rgba(2, 88, 115, 0.12);
}

.bn-faq-item[open] {
  border-color: var(--faq-primary-light);
  box-shadow: 0 8px 32px rgba(2, 88, 115, 0.14);
}

.bn-faq-q {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  font-weight: 600;
  color: var(--faq-text) !important;
  padding: 18px 20px;
  list-style: none;
  font-size: 1rem;
  line-height: 1.45;
  user-select: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.bn-faq-q::-webkit-details-marker,
.bn-faq-q::marker {
  display: none;
  content: "";
}

.bn-faq-q__num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--faq-primary-soft);
  color: var(--faq-primary);
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
}

.bn-faq-q__text {
  flex: 1;
  text-align: left;
}

.bn-faq-q__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--faq-primary-soft);
  position: relative;
  transition: transform 0.25s ease, background 0.2s ease;
}

.bn-faq-q__icon::before,
.bn-faq-q__icon::after {
  content: "";
  position: absolute;
  background: var(--faq-primary);
  border-radius: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.bn-faq-q__icon::before {
  width: 12px;
  height: 2px;
}

.bn-faq-q__icon::after {
  width: 2px;
  height: 12px;
}

.bn-faq-item[open] .bn-faq-q {
  color: var(--faq-primary-dark) !important;
  background: linear-gradient(90deg, var(--faq-primary-soft) 0%, transparent 100%);
}

.bn-faq-item[open] .bn-faq-q__num {
  background: var(--faq-primary);
  color: #fff;
}

.bn-faq-item[open] .bn-faq-q__icon {
  background: var(--faq-primary);
  transform: rotate(180deg);
}

.bn-faq-item[open] .bn-faq-q__icon::before,
.bn-faq-item[open] .bn-faq-q__icon::after {
  background: #fff;
}

.bn-faq-item[open] .bn-faq-q__icon::after {
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}

.bn-faq-a {
  padding: 0 20px 20px 70px;
  color: var(--faq-muted) !important;
  font-size: 0.98rem !important;
  line-height: 1.75 !important;
  border-top: 1px solid var(--faq-border);
  margin: 0 20px;
  padding-top: 16px;
  padding-left: 0;
  padding-right: 0;
}

.bn-faq-a a {
  color: var(--faq-primary-light) !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bn-faq-cta-box {
  margin-top: 36px;
  padding: 28px 24px;
  background: linear-gradient(135deg, var(--faq-primary) 0%, #037a9e 100%);
  border-radius: var(--faq-radius);
  text-align: center;
  color: #fff;
  box-shadow: 0 12px 40px rgba(2, 88, 115, 0.25);
}

.bn-faq-cta-box__title {
  margin: 0 0 8px !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #fff !important;
}

.bn-faq-cta-box__text {
  margin: 0 0 20px !important;
  font-size: 0.95rem !important;
  color: rgba(255, 255, 255, 0.88) !important;
  line-height: 1.6 !important;
}

.bn-faq-cta-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.bn-faq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.bn-faq-btn:hover {
  transform: translateY(-1px);
}

.bn-faq-btn--wa {
  background: #25d366;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.bn-faq-btn--outline {
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.bn-faq-btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 600px) {
  .bn-faq-section {
    padding: 48px 16px 56px;
  }

  .bn-faq-q {
    padding: 16px;
    gap: 10px;
    font-size: 0.95rem;
  }

  .bn-faq-q__num {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }

  .bn-faq-a {
    margin: 0 16px;
    font-size: 0.92rem !important;
  }

  .bn-faq-cta-box__actions {
    flex-direction: column;
  }

  .bn-faq-btn {
    width: 100%;
  }
}

/* ══════════════════════════════════════════
   PHASE 3 — Visual redesign (BB-safe CSS)
   ══════════════════════════════════════════ */

/* Sticky header — solid teal, matches footer */
body.binnaem-phase3 .site-header,
body.binnaem-phase3 #masthead,
body.binnaem-modern .site-header,
body.binnaem-modern #masthead {
  position: sticky !important;
  top: 0;
  z-index: 999;
  background: linear-gradient(160deg, #01425a 0%, #025873 100%) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.binnaem-modern .ast-above-header-bar,
body.binnaem-modern .main-header-bar,
body.binnaem-modern.ast-theme-transparent-header .ast-above-header,
body.binnaem-modern.ast-theme-transparent-header .ast-above-header.ast-above-header-bar {
  background: linear-gradient(160deg, #01425a 0%, #025873 100%) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Hero slider — first row */
body.binnaem-home .fl-builder-content > .fl-row:first-child {
  margin-bottom: 0 !important;
}

body.binnaem-phase3 .fl-module-slideshow,
body.binnaem-phase3 .fl-module-content-slider,
body.binnaem-phase3 .bx-wrapper {
  border-radius: 0 !important;
  overflow: hidden;
}

body.binnaem-phase3 .fl-slideshow-content,
body.binnaem-phase3 .bx-viewport {
  min-height: clamp(280px, 42vw, 520px);
}

body.binnaem-phase3 .fl-slideshow-caption,
body.binnaem-phase3 .bx-caption {
  background: linear-gradient(0deg, rgba(1, 61, 82, 0.92) 0%, rgba(1, 61, 82, 0.35) 55%, transparent 100%) !important;
  padding: 48px 32px 28px !important;
  text-align: left !important;
}

body.binnaem-phase3 .fl-slideshow-caption .fl-heading-text {
  font-size: clamp(1.4rem, 3.5vw, 2.2rem) !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* Section spacing — skip rows with their own background (photo/color/video),
   otherwise the outer padding shows as a white band around them */
body.binnaem-phase3 .fl-builder-content .fl-row:not(.fl-row-bg-photo):not(.fl-row-bg-color):not(.fl-row-bg-video):not(.fl-row-bg-gradient):not(.fl-row-bg-slideshow) {
  padding-top: clamp(32px, 5vw, 56px) !important;
  padding-bottom: clamp(32px, 5vw, 56px) !important;
}

body.binnaem-phase3 .fl-builder-content > .fl-row:nth-child(even) {
  background-color: var(--bn-bg) !important;
}

/* Section titles (h2) — centered with accent line */
body.binnaem-home .fl-heading h2 {
  text-align: center !important;
  margin-bottom: 8px !important;
}

body.binnaem-home .fl-heading h2 .fl-heading-text {
  display: inline-block;
  position: relative;
  padding-bottom: 14px;
}

body.binnaem-home .fl-heading h2 .fl-heading-text::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 64px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--bn-primary), var(--bn-accent));
}

/* Intro / about block */
body.binnaem-home .fl-rich-text {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Package cards — columns with photos */
body.binnaem-home .fl-col-group > .fl-col:has(.fl-module-photo) {
  background: var(--bn-white) !important;
  border: 1px solid var(--bn-border) !important;
  border-radius: var(--bn-radius-lg) !important;
  box-shadow: var(--bn-shadow) !important;
  overflow: hidden !important;
  padding: 0 !important;
  transition: transform 0.28s ease, box-shadow 0.28s ease !important;
}

body.binnaem-home .fl-col-group > .fl-col:has(.fl-module-photo):hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 48px rgba(2, 88, 115, 0.16) !important;
}

body.binnaem-home .fl-col:has(.fl-module-photo) .fl-module-photo img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  object-fit: cover !important;
  border-radius: 0 !important;
  display: block;
}

body.binnaem-home .fl-col:has(.fl-module-photo) .fl-module {
  padding-left: 16px !important;
  padding-right: 16px !important;
}

body.binnaem-home .fl-col:has(.fl-module-photo) .fl-module-photo {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: -0px;
}

body.binnaem-home .fl-col:has(.fl-module-photo) .fl-module-heading h4,
body.binnaem-home .fl-col:has(.fl-module-photo) .fl-module-heading h3 {
  margin-top: 12px !important;
  color: var(--bn-primary) !important;
}

/* Gold price tags inside package cards */
body.binnaem-home .fl-col:has(.fl-module-photo) h2 .fl-heading-text,
body.binnaem-home .fl-col:has(.fl-module-photo) .fl-heading h2 {
  color: var(--bn-accent-dark) !important;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem) !important;
  font-weight: 800 !important;
  text-shadow: none;
}

body.binnaem-home .fl-col:has(.fl-module-photo) .fl-heading h6:has(+ *),
body.binnaem-home .fl-col:has(.fl-module-photo) .fl-heading h5 {
  color: var(--bn-accent) !important;
  font-weight: 700 !important;
}

body.binnaem-home .fl-col:has(.fl-module-photo) .fl-heading h6,
body.binnaem-home .fl-col:has(.fl-module-photo) .fl-heading h5 {
  color: var(--bn-text-light) !important;
  font-size: 0.8rem !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Package card CTA buttons */
body.binnaem-home .fl-col:has(.fl-module-photo) .fl-button-wrap {
  margin: 8px 0 20px !important;
  text-align: center;
}

body.binnaem-home .fl-col:has(.fl-module-photo) .fl-button,
body.binnaem-home .fl-col:has(.fl-module-photo) a.fl-button {
  background: var(--bn-accent) !important;
  color: var(--bn-white) !important;
  border: 2px solid var(--bn-accent) !important;
  padding: 10px 24px !important;
  font-size: 0.9rem !important;
}

body.binnaem-home .fl-col:has(.fl-module-photo) .fl-button:hover {
  background: var(--bn-accent-dark) !important;
  border-color: var(--bn-accent-dark) !important;
}

/* Trust badges / icon columns */
body.binnaem-home .fl-col:has(.fl-module-icon) {
  background: var(--bn-white) !important;
  border: 1px solid var(--bn-border) !important;
  border-radius: var(--bn-radius) !important;
  padding: 20px 14px !important;
  box-shadow: 0 4px 16px rgba(2, 88, 115, 0.06) !important;
  text-align: center !important;
  transition: border-color 0.2s ease;
}

body.binnaem-home .fl-col:has(.fl-module-icon):hover {
  border-color: var(--bn-primary-light) !important;
}

body.binnaem-home .fl-col:has(.fl-module-icon) .fl-icon i {
  font-size: 1.75rem !important;
  color: var(--bn-primary) !important;
}

body.binnaem-home .fl-col:has(.fl-module-icon) h5,
body.binnaem-home .fl-col:has(.fl-module-icon) h6 {
  font-size: 0.78rem !important;
  line-height: 1.45 !important;
  color: var(--bn-text-muted) !important;
}

/* Quote / tagline block */
body.binnaem-home .fl-heading h3 .fl-heading-text {
  font-style: italic;
  color: var(--bn-primary) !important;
  text-align: center;
}

/* Testimonials */
body.binnaem-phase3 .fl-module-testimonials .fl-testimonials-quote,
body.binnaem-phase3 .uabb-testimonial-content {
  background: var(--bn-white) !important;
  border-left: 4px solid var(--bn-accent) !important;
  border-radius: 0 var(--bn-radius) var(--bn-radius) 0 !important;
  padding: 20px 24px !important;
  box-shadow: var(--bn-shadow) !important;
  font-size: 1rem !important;
  line-height: 1.7 !important;
  color: var(--bn-text-muted) !important;
}

body.binnaem-phase3 .fl-testimonials-name {
  margin-top: 10px !important;
  font-size: 0.95rem !important;
}

body.binnaem-phase3 .fl-module-testimonials .fl-testimonials-rating,
body.binnaem-phase3 .uabb-testimonial-rating {
  color: var(--bn-accent) !important;
}

/* Gallery */
body.binnaem-phase3 .fl-module-gallery img,
body.binnaem-phase3 .fl-module-photo-gallery img {
  border-radius: var(--bn-radius) !important;
  transition: transform 0.25s ease;
}

body.binnaem-phase3 .fl-module-gallery img:hover,
body.binnaem-phase3 .fl-module-photo-gallery img:hover {
  transform: scale(1.03);
}

/* Inner page heroes */
body.binnaem-phase3:not(.binnaem-home) .fl-builder-content > .fl-row:first-child .fl-heading h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
}

/* Floating WhatsApp CTA bar */
.bn-float-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.bn-float-cta__btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #25d366, #128c7e) !important;
  color: #fff !important;
  text-decoration: none !important;
  padding: 12px 20px 12px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(18, 140, 126, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bn-float-cta__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(18, 140, 126, 0.55);
  color: #fff !important;
}

.bn-float-cta__icon {
  font-size: 1.4rem;
  line-height: 1;
}

.bn-float-cta__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}

.bn-float-cta__text strong {
  font-size: 0.95rem;
  color: #fff;
}

.bn-float-cta__text small {
  font-size: 0.75rem;
  opacity: 0.9;
  color: #fff !important;
}

/* Package pages — feature grid polish */
body.binnaem-phase3:not(.binnaem-home) .fl-col:has(.fl-module-icon),
body.binnaem-phase3:not(.binnaem-home) .fl-col:has(.uabb-info-box) {
  background: var(--bn-white);
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius);
  padding: 16px !important;
  box-shadow: 0 4px 16px rgba(2, 88, 115, 0.05);
}

/* Hide accidental duplicate Umrah links blocks */
.bn-umrah-links ~ .bn-umrah-links {
  display: none !important;
}

.fl-module:has(.bn-umrah-links) ~ .fl-module:has(.bn-umrah-links) {
  display: none !important;
}

/* Umrah internal links block */
.bn-umrah-links {
  margin-top: 2.5rem !important;
  background: var(--bn-white) !important;
  border: 1px solid var(--bn-border) !important;
  border-radius: var(--bn-radius-lg) !important;
  overflow: hidden !important;
  box-shadow: var(--bn-shadow) !important;
  text-align: left !important;
}

.bn-umrah-links__head {
  background: linear-gradient(135deg, var(--bn-primary) 0%, var(--bn-primary-light) 100%) !important;
  padding: 16px 20px !important;
}

.bn-umrah-links__title {
  margin: 0 !important;
  padding: 0 !important;
  color: #ffffff !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  text-align: left !important;
  background: none !important;
  border: none !important;
}

.bn-umrah-links__title::before,
.bn-umrah-links__title::after {
  display: none !important;
  content: none !important;
}

.bn-umrah-links__list {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.bn-umrah-links__list li {
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid var(--bn-border) !important;
  list-style: none !important;
}

.bn-umrah-links__list li:last-child {
  border-bottom: none !important;
}

.bn-umrah-links__list a {
  display: block !important;
  padding: 14px 20px !important;
  text-decoration: none !important;
  color: var(--bn-primary) !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  transition: background 0.2s ease !important;
}

.bn-umrah-links__list a:hover {
  background: var(--bn-primary-soft) !important;
}

.bn-umrah-links__list a span {
  color: var(--bn-text-muted) !important;
  font-weight: 500 !important;
}

.bn-umrah-links__cta {
  margin: 0 !important;
  padding: 16px 20px !important;
  background: var(--bn-bg) !important;
  color: var(--bn-text-muted) !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  text-align: left !important;
}

.bn-umrah-links__cta a {
  color: var(--bn-primary) !important;
  font-weight: 600 !important;
}

.bn-umrah-links__cta a:hover {
  color: var(--bn-accent-dark) !important;
}

/* Prevent BB global heading/list styles bleeding in */
.bn-umrah-links h1,
.bn-umrah-links h2,
.bn-umrah-links h3,
.bn-umrah-links ul,
.bn-umrah-links li {
  background: none !important;
  text-align: left !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.bn-umrah-links h2::after,
.bn-umrah-links h2::before {
  display: none !important;
  content: none !important;
}

@media (max-width: 768px) {
  body.binnaem-phase3 .fl-builder-content .fl-row:not(.fl-row-bg-photo):not(.fl-row-bg-color):not(.fl-row-bg-video):not(.fl-row-bg-gradient):not(.fl-row-bg-slideshow) {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }

  body.binnaem-home .fl-col-group > .fl-col:has(.fl-module-photo) {
    margin-bottom: 20px !important;
  }

  .bn-float-cta {
    bottom: 14px;
    right: 14px;
    left: 14px;
  }

  .bn-float-cta__btn {
    justify-content: center;
    width: 100%;
    border-radius: 14px;
  }
}

/* ── SEO intro (homepage keyword links) ── */
.bn-seo-intro {
  max-width: 900px;
  margin: 0 auto 1.5rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #f0f9fc 0%, #e8f4f8 100%);
  border-left: 4px solid var(--bn-primary, #025873);
  border-radius: 0 10px 10px 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.bn-seo-intro__lead {
  margin: 0 0 0.75rem;
  color: #333;
}

.bn-seo-intro__links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
}

.bn-seo-intro__links li {
  margin: 0;
  padding: 0;
}

.bn-seo-intro__links a {
  color: var(--bn-primary, #025873);
  font-weight: 600;
  text-decoration: none;
}

.bn-seo-intro__links a:hover {
  color: var(--bn-accent-dark, #037a9e);
  text-decoration: underline;
}

.bn-seo-intro__links span {
  color: #666;
  font-weight: 400;
  font-size: 0.88rem;
}

/* ── Pakej Umrah hub page (full styles live in umrah-hub.css) ── */
body.binnaem-modern .bn-umrah-hub .bn-faq-section {
  margin-top: 48px;
  padding-left: 0;
  padding-right: 0;
  border-radius: var(--bn-radius-lg);
}

body.bn-page-umrah-hub .entry-header {
  display: none;
}

/* ── Main navigation redesign (keeps teal background) ── */
body.binnaem-modern .ast-above-header-bar,
body.binnaem-modern .main-header-bar {
  box-shadow: 0 2px 18px rgba(0, 25, 35, 0.22);
}

/* Top-level links: readable white pills */
body.binnaem-modern .main-header-menu > .menu-item > .menu-link {
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.05em;
  padding: 9px 14px !important;
  margin: 0 2px;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

body.binnaem-modern .main-header-menu > .menu-item:hover > .menu-link,
body.binnaem-modern .main-header-menu > .menu-item > .menu-link:focus-visible {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.13) !important;
}

body.binnaem-modern .main-header-menu > .menu-item.current-menu-item > .menu-link,
body.binnaem-modern .main-header-menu > .menu-item.current-menu-ancestor > .menu-link,
body.binnaem-modern .main-header-menu > .menu-item.current_page_item > .menu-link {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.18) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

body.binnaem-modern .main-header-menu .menu-link .ast-icon.icon-arrow svg {
  fill: currentColor;
  opacity: 0.7;
}

/* Dropdown panels: clean white cards */
@media (min-width: 922px) {
  body.binnaem-modern .main-header-menu .sub-menu {
    background: #fff !important;
    border: 1px solid rgba(2, 88, 115, 0.1) !important;
    border-radius: 12px !important;
    /* overflow must stay visible or third-level flyouts get clipped */
    overflow: visible !important;
    padding: 6px !important;
    box-shadow: 0 18px 44px rgba(1, 42, 56, 0.22) !important;
    margin-top: 6px !important;
  }

  /* Third-level flyout: align beside its parent item, no extra top offset */
  body.binnaem-modern .main-header-menu .sub-menu .sub-menu {
    margin-top: 0 !important;
    margin-left: 6px !important;
  }

  body.binnaem-modern .main-header-menu .sub-menu .menu-item {
    border: 0 !important;
  }

  body.binnaem-modern .main-header-menu .sub-menu .menu-link {
    color: #1a3340 !important;
    font-weight: 500 !important;
    font-size: 0.84rem !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    border: 0 !important;
    transition: background-color 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
  }

  body.binnaem-modern .main-header-menu .sub-menu .menu-item:hover > .menu-link,
  body.binnaem-modern .main-header-menu .sub-menu .menu-link:focus-visible {
    background: #e8f4f8 !important;
    color: #025873 !important;
    padding-left: 18px !important;
  }

  body.binnaem-modern .main-header-menu .sub-menu .current-menu-item > .menu-link {
    background: #e8f4f8 !important;
    color: #025873 !important;
    font-weight: 700 !important;
  }
}

/* Mobile menu: readable on teal */
body.binnaem-modern .ast-mobile-header-wrap .main-header-menu .menu-link,
body.binnaem-modern .ast-header-break-point .main-header-menu .menu-link {
  color: rgba(255, 255, 255, 0.92) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.binnaem-modern .ast-mobile-header-wrap .main-header-menu .menu-item:hover > .menu-link,
body.binnaem-modern .ast-mobile-header-wrap .main-header-menu .current-menu-item > .menu-link {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

body.binnaem-modern .ast-mobile-header-wrap .main-header-menu .sub-menu {
  background: rgba(0, 0, 0, 0.14) !important;
}

body.binnaem-modern .menu-toggle,
body.binnaem-modern .ast-mobile-menu-trigger-minimal {
  color: #fff !important;
}

/* ── Print ── */
@media print {
  body.binnaem-modern {
    color: #000 !important;
  }

  .bn-float-cta {
    display: none !important;
  }
}
