/* ==========================================================================
   Bahaa Abed Contracting WordPress Theme - Core Styles
   NOTE: header, hero, achievements panel and WhatsApp button use their own
   "bb-" classes (no dependency on the purged Tailwind build).
   ========================================================================== */

:root {
  --bb-amber: #F59E0B;
  --bb-amber-dark: #D97706;
  --bb-ink: #0F172A;
  --bb-text: #334155;
  --bb-line: #E2E8F0;
  --bb-navy: #060A14;
  /* distance of the floating WhatsApp button from the bottom of the screen */
  --bb-wa-bottom: 24px;
}

.bb-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: 16px;
}
@media (min-width: 640px)  { .bb-container { padding-inline: 24px; } }
@media (min-width: 1024px) { .bb-container { padding-inline: 32px; } }

/* -------------------------------------------------------------------------
   1. Header
   ------------------------------------------------------------------------- */
.bb-header {
  position: sticky !important;
  top: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  background: #FFFFFF !important;
}

/* thin top strip */
.bb-topbar {
  background: #0B1622 !important;
  color: #E2E8F0;
  font-size: 13px;
}
.bb-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
}
.bb-topbar-contact { display: flex; align-items: center; gap: 22px; }
.bb-topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #F1F5F9 !important;
  text-decoration: none !important;
  font-weight: 600;
  transition: color .2s;
}
.bb-topbar-link:hover { color: var(--bb-amber) !important; }
.bb-topbar-link svg { width: 15px; height: 15px; flex-shrink: 0; }

.bb-topbar-social { display: flex; align-items: center; gap: 8px; }
.bb-topbar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28);
  color: #F1F5F9 !important;
  transition: all .2s;
}
.bb-topbar-social a svg { width: 13px; height: 13px; }
.bb-topbar-social a:hover { background: var(--bb-amber); border-color: var(--bb-amber); color: #0F172A !important; }

/* main white bar */
.bb-nav {
  background: #FFFFFF !important;
  border-bottom: 1px solid var(--bb-line);
  box-shadow: 0 2px 10px rgba(15, 23, 42, .06);
}
.bb-nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.bb-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  flex-shrink: 0;
}
.bb-brand img { height: 52px; width: auto; object-fit: contain; }
.bb-brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.bb-brand-text strong { color: var(--bb-ink); font-size: 15px; font-weight: 800; }
.bb-brand-text small  { color: #64748B; font-size: 11px; font-weight: 600; }

/* simple, close-together links */
.bb-menu {
  display: none;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0 12px 0 0;
  padding: 0;
}
.bb-menu li {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}
.bb-menu a {
  position: relative;
  display: block;
  padding: 8px 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--bb-text) !important;
  text-decoration: none !important;
  transition: color .2s;
}
.bb-menu a::after {
  content: "";
  position: absolute;
  inset-inline: 10px;
  bottom: 2px;
  height: 2px;
  background: var(--bb-amber);
  transform: scaleX(0);
  transition: transform .2s;
}
.bb-menu a:hover,
.bb-menu a.active,
.bb-menu li.current-menu-item > a,
.bb-menu li.current_page_item > a { color: var(--bb-amber-dark) !important; }
.bb-menu a:hover::after,
.bb-menu a.active::after,
.bb-menu li.current-menu-item > a::after,
.bb-menu li.current_page_item > a::after { transform: scaleX(1); }

/* Dropdown sub-menus */
.bb-menu .sub-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 220px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  border: 1px solid #E2E8F0;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 100;
  pointer-events: none;
}
.bb-menu li:hover > .sub-menu,
.bb-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.bb-menu .sub-menu li {
  width: 100%;
}
.bb-menu .sub-menu a {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #1E293B !important;
  white-space: nowrap;
  border-bottom: 1px solid #F1F5F9;
  transition: background-color .15s ease, color .15s ease;
}
.bb-menu .sub-menu li:last-child > a {
  border-bottom: none;
}
.bb-menu .sub-menu a::after {
  display: none !important;
}
.bb-menu .sub-menu a:hover,
.bb-menu .sub-menu li.current-menu-item > a {
  background-color: #F8FAFC;
  color: var(--bb-amber-dark) !important;
}
html[dir="ltr"] .bb-menu .sub-menu {
  right: auto;
  left: 0;
}
.bb-menu .sub-menu .sub-menu {
  top: 0;
  right: 100%;
  transform: translateX(-6px);
}
html[dir="ltr"] .bb-menu .sub-menu .sub-menu {
  right: auto;
  left: 100%;
  transform: translateX(6px);
}
.bb-menu .sub-menu li:hover > .sub-menu {
  transform: translate(0, 0);
}
.bb-menu .menu-item-has-children > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.bb-menu .menu-item-has-children > a::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  order: 2;
  transition: transform .2s ease;
  opacity: 0.7;
}
.bb-menu .menu-item-has-children:hover > a::before {
  transform: rotate(-135deg);
  margin-top: 3px;
}
.bb-menu .sub-menu .menu-item-has-children > a::before {
  transform: rotate(135deg);
  margin-top: 0;
  margin-inline-start: auto;
}
html[dir="ltr"] .bb-menu .sub-menu .menu-item-has-children > a::before {
  transform: rotate(-45deg);
}

.bb-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline-start: auto;
}

/* language switcher */
.bb-lang {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border-radius: 9999px;
  background: #F8FAFC;
  border: 1px solid var(--bb-line);
  color: var(--bb-ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
}
.bb-lang svg { width: 16px; height: 16px; color: var(--bb-amber-dark); transition: transform .3s; }
.bb-lang:hover { background: #FFF7E6; border-color: var(--bb-amber); color: var(--bb-amber-dark); }
.bb-lang:hover svg { transform: rotate(20deg); }

.bb-cta {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--bb-amber);
  color: #0F172A !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none !important;
  transition: background .2s;
}
.bb-cta:hover { background: var(--bb-amber-dark); }

.bb-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #CBD5E1;
  background: #fff;
  color: var(--bb-ink);
  cursor: pointer;
}
.bb-burger svg { width: 20px; height: 20px; }

.bb-mobile-menu {
  background: #fff;
  border-top: 1px solid var(--bb-line);
  padding: 8px 16px 16px;
}
.bb-mobile-menu.hidden { display: none !important; }
.bb-mobile-menu a {
  display: block;
  padding: 11px 6px;
  border-bottom: 1px solid #F1F5F9;
  color: var(--bb-text) !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
}
.bb-mobile-menu a:hover { color: var(--bb-amber-dark) !important; }
.bb-mobile-menu .bb-mobile-cta {
  margin-top: 12px;
  border: 0;
  border-radius: 8px;
  background: var(--bb-amber);
  color: #0F172A !important;
  text-align: center;
}

/* Mobile Navigation List Structure */
.bb-mobile-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bb-mobile-nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bb-mobile-nav > li > a {
  display: block;
  padding: 11px 6px;
  border-bottom: 1px solid #F1F5F9;
  color: var(--bb-text) !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  transition: color .2s;
}
.bb-mobile-nav a:hover,
.bb-mobile-nav a.active,
.bb-mobile-nav li.current-menu-item > a,
.bb-mobile-nav li.current_page_item > a {
  color: var(--bb-amber-dark) !important;
}
.bb-mobile-nav .sub-menu {
  list-style: none;
  margin: 4px 0 8px;
  padding: 4px 0 4px 16px;
  padding-inline-start: 16px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 8px;
  border-inline-start: 3px solid var(--bb-amber);
}
.bb-mobile-nav .sub-menu a {
  display: block;
  padding: 8px 10px;
  font-size: 13.5px;
  color: #475569 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.bb-mobile-nav .sub-menu li:last-child > a {
  border-bottom: none;
}
.bb-mobile-nav .sub-menu a:hover,
.bb-mobile-nav .sub-menu li.current-menu-item > a {
  color: var(--bb-amber-dark) !important;
}

/* Footer Dynamic Menu */
.bb-footer-menu {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.bb-footer-menu li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.bb-footer-menu a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #94A3B8;
  text-decoration: none;
  transition: color .2s;
}
.bb-footer-menu a:hover,
.bb-footer-menu li.current-menu-item > a {
  color: #F59E0B;
}
.bb-footer-menu a::before {
  content: "‹";
  color: #3B82F6;
  font-size: 14px;
  line-height: 1;
  font-weight: bold;
}
html[dir="ltr"] .bb-footer-menu a::before {
  content: "›";
}

@media (min-width: 1024px) {
  .bb-menu { display: flex; }
  .bb-burger, .bb-mobile-menu { display: none !important; }
}
@media (max-width: 639px) {
  .bb-hide-mobile { display: none !important; }
  .bb-brand img { height: 42px; }
  .bb-brand-text strong { font-size: 13px; }
  .bb-nav-inner { min-height: 62px; gap: 10px; }
  .bb-topbar-contact { gap: 12px; }
}

/* no gap between header and hero */
main, .site-main {
  background-color: var(--bb-navy);
  margin: 0 !important;
  padding: 0 !important;
}

/* Homepage background requested: #f3f4f6 */
body.home,
body.front-page,
body.home.bb-body,
body.front-page.bb-body {
  background: #f3f4f6 !important;
  background-color: #f3f4f6 !important;
}
body.home main,
body.front-page main,
body.home .site-main,
body.front-page .site-main {
  background: #f3f4f6 !important;
  background-color: #f3f4f6 !important;
}

/* -------------------------------------------------------------------------
   2. Hero banner: dark at the bottom, fading to a clear image on top
   ------------------------------------------------------------------------- */
body.bb-body {
  margin: 0;
  background: #0B111A;
  color: #fff;
  overflow-x: hidden;
  font-family: 'Tajawal', 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.bb-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--bb-navy);
  user-select: none;
}
.bb-hero-wrap {
  position: relative;
  width: 100%;
  height: 560px;
}
@media (min-width: 640px)  { .bb-hero-wrap { height: 620px; } }
@media (min-width: 1024px) { .bb-hero-wrap { height: 680px; } }

#hero-slider-track {
  display: flex !important;
  flex-direction: row !important;
  width: 100% !important;
  height: 100% !important;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1) !important;
  will-change: transform !important;
}
.hero-slide-item {
  position: relative !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  min-width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}
.hero-slide-item > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* the fade: solid dark bottom -> transparent top (image stays clear) */
.bb-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6, 10, 20, .96) 0%,
    rgba(6, 10, 20, .86) 22%,
    rgba(6, 10, 20, .52) 45%,
    rgba(6, 10, 20, .12) 68%,
    rgba(6, 10, 20, 0) 100%
  );
}

.bb-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
}
.bb-hero-text {
  max-width: 640px;
  padding-bottom: 76px;
}
@media (max-width: 639px) { .bb-hero-text { padding-bottom: 64px; } }

.bb-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, .55);
}
.bb-hero-badge.is-blue { color: #93C5FD; border-color: rgba(59, 130, 246, .6); }
.bb-hero-badge i {
  width: 8px; height: 8px; border-radius: 50%;
  background: currentColor;
  animation: bb-pulse 1.8s ease-in-out infinite;
}
@keyframes bb-pulse { 50% { opacity: .35; } }

.bb-hero-title {
  margin: 14px 0 10px;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .55);
}
@media (min-width: 640px)  { .bb-hero-title { font-size: 40px; } }
@media (min-width: 1024px) { .bb-hero-title { font-size: 48px; } }

.bb-hero-desc {
  margin: 0;
  max-width: 560px;
  font-size: 14px;
  line-height: 1.8;
  color: #E2E8F0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}
@media (min-width: 640px) { .bb-hero-desc { font-size: 16px; } }

.bb-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.bb-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
  transition: all .2s;
}
.bb-btn svg { width: 16px; height: 16px; }
.bb-btn-primary { background: var(--bb-amber); color: #0F172A !important; box-shadow: 0 6px 18px rgba(245, 158, 11, .35); }
.bb-btn-primary:hover { background: var(--bb-amber-dark); }
.bb-btn-glass {
  background: rgba(255, 255, 255, .12);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.bb-btn-glass:hover { background: rgba(255, 255, 255, .22); }
.bb-btn-glass svg { color: #34D399; }

/* slider arrows */
.bb-arrow {
  position: absolute;
  top: 42%;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(0, 0, 0, .45);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all .2s;
}
.bb-arrow svg { width: 22px; height: 22px; }
.bb-arrow:hover { background: var(--bb-amber); color: #0F172A; border-color: var(--bb-amber); }
#slider-prev { right: 16px; }
#slider-next { left: 16px; }
@media (max-width: 639px) { .bb-arrow { display: none; } }

/* dots */
.bb-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 8px;
}
.slider-dot-btn {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
  transition: all .3s;
}
.slider-dot-btn.is-active { width: 32px; background: var(--bb-amber); }

/* -------------------------------------------------------------------------
   3. Achievements panel (floating over the banner, on the side)
   ------------------------------------------------------------------------- */
.bb-stats-panel {
  display: none;
  position: absolute;
  z-index: 20;
  bottom: 64px;
  left: max(88px, calc((100% - 1280px) / 2 + 32px));
  width: 300px;
}
@media (min-width: 1024px) { .bb-stats-panel { display: block; } }

.bb-stats-card {
  padding: 18px;
  border-radius: 20px;
  background: rgba(10, 16, 28, .72);
  border: 1px solid rgba(245, 158, 11, .4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, .45);
}
.bb-stats-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.bb-stats-head small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .06em; color: var(--bb-amber); }
.bb-stats-head h3 { margin: 2px 0 0; font-size: 15px; font-weight: 800; color: #fff; }
.bb-stats-live { width: 9px; height: 9px; border-radius: 50%; background: #34D399; animation: bb-pulse 1.8s ease-in-out infinite; }

.bb-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
  border-radius: 12px;
  background: rgba(0, 0, 0, .38);
  border: 1px solid rgba(255, 255, 255, .06);
}
.bb-stat-row:last-child { margin-bottom: 0; }
.bb-stat-row h4 { margin: 0; font-size: 13px; font-weight: 700; color: #fff; }
.bb-stat-row p  { margin: 2px 0 0; font-size: 10.5px; color: #A8B5C7; line-height: 1.4; }
.bb-stat-num { font-size: 24px; font-weight: 900; font-family: ui-monospace, Menlo, Consolas, monospace; white-space: nowrap; color: var(--bb-amber); }
.bb-stat-num.is-blue { color: #60A5FA; }

/* mobile / tablet achievements bar */
.bb-stats-mobile {
  background: #090E16;
  border-bottom: 1px solid #1B283B;
  padding: 18px 16px;
}
.bb-stats-mobile-grid {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.bb-stats-mobile-item {
  padding: 12px;
  border-radius: 14px;
  background: #0D141E;
  border: 1px solid rgba(255, 255, 255, .06);
  text-align: center;
}
.bb-stats-mobile-item .bb-stat-num { display: block; font-size: 22px; }
.bb-stats-mobile-item b { display: block; margin-top: 2px; font-size: 12.5px; color: #fff; }
.bb-stats-mobile-item small { display: block; font-size: 10.5px; color: #94A3B8; }
@media (min-width: 1024px) { .bb-stats-mobile { display: none; } }

/* -------------------------------------------------------------------------
   4. Floating WhatsApp + Back-to-Top buttons: styles are inlined by
   inc/floating-buttons.php so they work on every page template
   ------------------------------------------------------------------------- */


/* -------------------------------------------------------------------------
   5. GTranslate / Google Translate: keep working, hide their own UI
   (our own language button in the header drives them)
   ------------------------------------------------------------------------- */
.gtranslate_wrapper,
.gt_switcher,
#gt_float_wrapper,
.goog-te-gadget,
.skiptranslate:not(html):not(body) {
  position: absolute !important;
  left: 0 !important;
  clip-path: inset(50%) !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
iframe.skiptranslate { display: none !important; }
body { top: 0 !important; }

/* 5. Utility Styles */
.safety-stripes {
  background: repeating-linear-gradient(
    -45deg,
    #F59E0B,
    #F59E0B 12px,
    #0F192F 12px,
    #0F192F 24px
  );
}

.clean-card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.clean-card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px -5px rgba(0, 0, 0, 0.35);
  border-color: rgba(245, 158, 11, 0.45);
}

.glass-panel {
  background: rgba(13, 20, 30, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   v1.1.0 additions
   ========================================================================== */

/* ---- Header: soft near-white background ---- */
.bb-header,
.bb-nav,
.bb-mobile-menu { background: #F5F7FA !important; }
.bb-nav { border-bottom: 1px solid #E3E8EF; box-shadow: 0 2px 12px rgba(15, 23, 42, .05); }
.bb-brand-text strong { color: #0B2A5B; }
.bb-brand-text small { color: #64748B; }

/* ---- Language switcher: AR | EN sliding pill ---- */
.bb-langsw {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  height: 38px;
  padding: 3px;
  border-radius: 9999px;
  background: #E8EDF4;
  border: 1px solid #D5DCE7;
  direction: ltr;
  isolation: isolate;
}
.bb-langsw-opt {
  position: relative;
  z-index: 2;
  min-width: 46px;
  height: 30px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  color: #64748B;
  cursor: pointer;
  transition: color .25s;
}
.bb-langsw-opt.is-active { color: #fff; }
.bb-langsw-thumb {
  position: absolute;
  z-index: 1;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: 9999px;
  background: linear-gradient(135deg, #1D4ED8, #2563EB);
  box-shadow: 0 4px 12px rgba(37, 99, 235, .4);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
.bb-langsw[data-active="en"] .bb-langsw-thumb { transform: translateX(100%); }
.bb-langsw:not([data-active]) .bb-langsw-thumb { transform: none; }
@media (max-width: 639px) {
  .bb-langsw { height: 34px; }
  .bb-langsw-opt { min-width: 38px; height: 26px; padding: 0 8px; font-size: 12px; }
}

/* hide Google Translate banner / tooltips */
.goog-te-banner-frame, .skiptranslate iframe, #goog-gt-tt, .goog-tooltip { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* ---- Sectors section (below banner): site blue background ---- */
.bb-sectors {
  position: relative;
  padding: 72px 0 64px;
  color: #0F172A;
  background: #F3F4F6;
  border-top: 1px solid #E5E7EB;
}
.bb-sec-head { max-width: 720px; margin-bottom: 36px; }
.bb-sec-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(245, 158, 11, .16);
  border: 1px solid rgba(245, 158, 11, .5);
  color: #B45309;
  font-size: 12px;
  font-weight: 800;
}
.bb-sec-title { margin: 0 0 12px; font-size: 26px; line-height: 1.35; font-weight: 900; color: #0F172A; }
.bb-sec-desc  { margin: 0; font-size: 15px; line-height: 1.9; color: #475569; }
@media (min-width: 1024px) { .bb-sec-title { font-size: 34px; } .bb-sec-desc { font-size: 16px; } }

.bb-sec-grid { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: stretch; }
@media (min-width: 1024px) { .bb-sec-grid { grid-template-columns: 5fr 7fr; } }

/* emergency card */
.bb-em-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 26px 24px;
  border-radius: 20px;
  background: linear-gradient(160deg, #06183D 0%, #0A2456 100%);
  border: 1px solid rgba(245, 158, 11, .55);
  box-shadow: 0 24px 50px rgba(2, 8, 30, .45);
  overflow: hidden;
}
.bb-em-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: #F59E0B; }
.bb-em-top { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.bb-em-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 9999px;
  background: #F59E0B; color: #0F172A;
  font-size: 12px; font-weight: 900;
}
.bb-em-badge svg, .bb-em-badge i { width: 14px; height: 14px; }
.bb-em-num { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; font-weight: 800; color: #F59E0B; }
.bb-em-icon {
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(245, 158, 11, .5); color: #FBBF24;
}
.bb-em-icon svg, .bb-em-icon i { width: 28px; height: 28px; }
.bb-em-title { margin: 0; font-size: 23px; line-height: 1.4; font-weight: 900; color: #fff; }
.bb-em-desc  { margin: 0; font-size: 14.5px; line-height: 1.9; color: #E2ECFA; }
.bb-em-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bb-em-list li { position: relative; padding-inline-start: 18px; font-size: 14px; color: #D3E0F4; }
.bb-em-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: #F59E0B; }
.bb-em-list strong { color: #fff; font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 800; }
.bb-em-link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 6px; padding-top: 6px;
  font-size: 14px; font-weight: 800; color: #FBBF24 !important; text-decoration: none !important;
}
.bb-em-link:hover { color: #fff !important; }
.bb-em-link svg, .bb-em-link i { width: 16px; height: 16px; }

/* sector cards */
.bb-sec-cards { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .bb-sec-cards { grid-template-columns: 1fr 1fr; } }
.bb-sec-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 20px; border-radius: 16px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .6);
  color: #0F172A !important; text-decoration: none !important;
  box-shadow: 0 8px 22px rgba(2, 8, 30, .22);
  transition: transform .2s, box-shadow .2s;
}
.bb-sec-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(2, 8, 30, .35); }
.bb-sec-card.is-wide { grid-column: 1 / -1; }
.bb-sec-card-top { display: flex; align-items: center; justify-content: space-between; }
.bb-sec-card-icon {
  width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  border-radius: 12px; background: #EAF1FF; color: #1D4ED8;
}
.bb-sec-card-icon svg, .bb-sec-card-icon i { width: 24px; height: 24px; }
.bb-sec-card-num { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 15px; font-weight: 900; color: #D97706; }
.bb-sec-card h4 { margin: 0; font-size: 16px; line-height: 1.5; font-weight: 800; color: #0B2A5B; }
.bb-sec-card p  { margin: 0; font-size: 13px; line-height: 1.8; color: #475569; }
.bb-sec-card-more {
  margin-top: auto; padding-top: 10px; border-top: 1px solid #E2E8F0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; font-weight: 800; color: #1D4ED8;
}
.bb-sec-card:hover .bb-sec-card-more { color: #D97706; }
.bb-sec-card-more svg, .bb-sec-card-more i { width: 15px; height: 15px; }

/* order call-to-action */
.bb-order {
  margin-top: 34px; padding: 26px 28px; border-radius: 20px;
  display: flex; flex-direction: column; gap: 18px; align-items: flex-start; justify-content: space-between;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
@media (min-width: 768px) { .bb-order { flex-direction: row; align-items: center; } }
.bb-order-text h3 { margin: 0 0 4px; font-size: 22px; font-weight: 900; color: #fff; }
.bb-order-text p  { margin: 0; font-size: 14px; color: #DCE7F8; }
.bb-order-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bb-order-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 12px;
  font-size: 15px; font-weight: 900; text-decoration: none !important; transition: all .2s;
}
.bb-order-btn svg, .bb-order-btn i { width: 18px; height: 18px; }
.bb-order-btn.is-primary { background: #F59E0B; color: #0F172A !important; box-shadow: 0 8px 22px rgba(245, 158, 11, .4); }
.bb-order-btn.is-primary:hover { background: #FBBF24; transform: translateY(-2px); }
.bb-order-btn.is-ghost { background: rgba(255, 255, 255, .12); color: #fff !important; border: 1px solid rgba(255, 255, 255, .4); }
.bb-order-btn.is-ghost:hover { background: #25D366; border-color: #25D366; }
@media (max-width: 639px) {
  .bb-sectors { padding: 52px 0 48px; }
  .bb-order-actions, .bb-order-btn { width: 100%; justify-content: center; }
}


/* top strip also light */
.bb-topbar { background: #EAEFF5 !important; color: #334155 !important; border-bottom: 1px solid #DCE3EC; }
.bb-topbar-link { color: #1E293B !important; }
.bb-topbar-link:hover { color: #D97706 !important; }
.bb-topbar-social a { color: #334155 !important; border-color: #C5CFDC; }
.bb-topbar-social a:hover { color: #0F172A !important; }

/* ==========================================================================
   v1.2.0 - refinements
   ========================================================================== */

/* Header + menu: very light grey (#F2F2F2), dark clear text */
.bb-header, .bb-topbar, .bb-nav, .bb-mobile-menu { background: #F2F2F2 !important; }
.bb-topbar { border-bottom: 1px solid #E0E0E0; }
.bb-nav { border-bottom: 1px solid #E0E0E0; box-shadow: 0 2px 10px rgba(0, 0, 0, .06); }
.bb-menu a, .bb-mobile-menu a { color: #1F2937 !important; font-weight: 700; }
.bb-menu a:hover, .bb-menu a.active, .bb-mobile-menu a:hover { color: #B45309 !important; }
.bb-mobile-menu a { border-bottom-color: #E2E2E2; }
.bb-mobile-menu .bb-mobile-cta { color: #0F172A !important; }

/* Language switch: small, simple "AR | EN" */
.bb-langsw {
  display: inline-flex; align-items: center; gap: 2px;
  height: 32px; padding: 0 6px;
  border-radius: 8px; background: #fff; border: 1px solid #CBD2DC;
  direction: ltr; grid-template-columns: none;
}
.bb-langsw-thumb { display: none !important; }
.bb-langsw-sep { color: #B6BFCC; font-size: 13px; line-height: 1; user-select: none; }
.bb-langsw-opt {
  min-width: 0; height: 26px; padding: 0 7px; border-radius: 6px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: #6B7280; background: transparent;
}
.bb-langsw-opt:hover { color: #0B2A5B; }
.bb-langsw-opt.is-active { color: #fff; background: #0B2A5B; }
@media (max-width: 639px) { .bb-langsw { height: 30px; } .bb-langsw-opt { height: 24px; padding: 0 6px; font-size: 12px; } }

/* Smooth scrolling with sticky header offset */
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 110px; }

/* Sectors section: light grey #F2F2F2, consistent with the header */
.bb-sectors {
  background: #F2F2F2 !important;
  color: #0F172A;
  border-top: 1px solid #E0E0E0;
  border-bottom: 1px solid #E0E0E0;
}
.bb-sec-eyebrow { background: #FFF4DC; border-color: #F5C25B; color: #B45309; }
.bb-sec-title { color: #0F172A; }
.bb-sec-desc { color: #475569; }
.bb-em-card { background: linear-gradient(160deg, #0A1F47 0%, #0C2A63 100%); }
.bb-sec-card { background: #fff; border: 1px solid #E3E6EB; box-shadow: 0 4px 14px rgba(15, 23, 42, .06); }
.bb-sec-card:hover { box-shadow: 0 12px 26px rgba(15, 23, 42, .12); }
.bb-order { background: linear-gradient(135deg, #0A1F47 0%, #0E3A86 100%); border: 0; box-shadow: 0 14px 30px rgba(10, 31, 71, .25); }


/* ==========================================================================
   v1.2.0 - Requested navigation, language and light section updates
   ========================================================================== */

/* Main navigation: light gray background for clear menu text */
.bb-nav,
.bb-header .bb-nav,
.bb-mobile-menu {
  background: #F3F4F6 !important;
}
.bb-nav {
  border-bottom: 1px solid #DDE3EA !important;
}
.bb-menu a {
  color: #172033 !important;
}
.bb-menu a:hover,
.bb-menu a.active {
  color: #B45309 !important;
}

/* Keep the language switcher visible and positioned at the left side of the nav */
.bb-nav-actions {
  margin-inline-start: auto !important;
}
.bb-langsw {
  flex-shrink: 0;
  display: inline-grid !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Sections area: near-white gray background */
.bb-sectors {
  background: #F3F4F6 !important;
  color: #0F172A !important;
  border-top: 1px solid #E5E7EB !important;
}
.bb-sec-title {
  color: #0F172A !important;
}
.bb-sec-desc {
  color: #475569 !important;
}

/* Correct in-page navigation target spacing */
#hero, #about, #sectors, #projects, #contact {
  scroll-margin-top: 120px;
}

@media (max-width: 639px) {
  #hero, #about, #sectors, #projects, #contact {
    scroll-margin-top: 90px;
  }
}


/* ==========================================================================
   v1.2.1 - Unified header bar: light gray, close to white
   (single source of truth: change --bb-header-bg to adjust the whole bar)
   ========================================================================== */
:root {
  --bb-header-bg: #F4F4F5;
  --bb-header-line: #E4E4E7;
}
.bb-header,
.bb-header .bb-topbar,
.bb-header .bb-nav,
.bb-header .bb-mobile-menu,
.bb-topbar,
.bb-nav,
.bb-mobile-menu {
  background: var(--bb-header-bg) !important;
  background-color: var(--bb-header-bg) !important;
}
.bb-header .bb-topbar { border-bottom: 1px solid var(--bb-header-line) !important; }
.bb-header .bb-nav {
  border-bottom: 1px solid var(--bb-header-line) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05) !important;
}
.bb-mobile-menu { border-top: 1px solid var(--bb-header-line) !important; }

/* ==========================================================================
   v1.3.0 - Inner pages design system (pages, posts, projects, archives,
   about, contact, careers). Self-contained "bb-" classes: does not depend on
   the purged Tailwind build.

   Concept: a light "site board". Each page opens with a navy band whose bottom
   edge is hazard tape (the one bold element); everything below is a quiet,
   high-contrast reading surface.
   ========================================================================== */
.bb-inner {
  --in-ground: #E8EBEE;
  --in-sheet: #FFFFFF;
  --in-ink: #14213A;
  --in-steel: #55657A;
  --in-line: #D5DBE2;
  --in-line-strong: #B9C3CF;
  --in-navy: #0B2A5B;
  --in-navy-deep: #081F44;
  --in-amber: #F59E0B;
  --in-amber-ink: #8A5300;
  --in-ok: #15803D;
  --in-radius: 8px;
  --in-head: 'Cairo', 'Tajawal', system-ui, sans-serif;
  --in-body: 'Tajawal', 'Cairo', system-ui, sans-serif;

  display: block;
  background: var(--in-ground) !important;
  color: var(--in-ink);
  font-family: var(--in-body);
  font-size: 17px;
  line-height: 1.85;
  padding-bottom: 72px !important;
}
.bb-inner *,
.bb-inner *::before,
.bb-inner *::after { box-sizing: border-box; }
.bb-inner a { color: inherit; }
.bb-inner img { max-width: 100%; height: auto; }
.bb-inner :focus-visible { outline: 3px solid var(--in-navy); outline-offset: 2px; border-radius: 4px; }

.bb-wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px) { .bb-wrap { padding-inline: 24px; } }
@media (min-width: 1024px) { .bb-wrap { padding-inline: 32px; } }

.bb-sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Page header band ("site board") ---------- */
.bb-pagehead {
  position: relative;
  background: var(--in-navy);
  color: #fff;
  padding: 28px 0 54px;
}
.bb-pagehead::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 12px;
  background: repeating-linear-gradient(-45deg, var(--in-amber) 0 14px, #0A1A33 14px 28px);
}
@media (min-width: 1024px) { .bb-pagehead { padding: 36px 0 68px; } }

.bb-crumbs { margin: 0 0 22px; font-size: 14px; line-height: 1.6; }
.bb-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; list-style: none; margin: 0; padding: 0; }
.bb-crumbs li { display: inline-flex; align-items: center; gap: 6px; color: #AFC0DA; max-width: 100%; }
.bb-crumbs li + li::before { content: "‹"; color: #6F86AB; font-size: 16px; line-height: 1; }
.bb-crumbs a { color: #DCE6F5 !important; text-decoration: none; }
.bb-crumbs a:hover { color: var(--in-amber) !important; text-decoration: underline; text-underline-offset: 4px; }
.bb-crumbs [aria-current] { color: #fff; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }
.bb-pagehead :focus-visible { outline-color: var(--in-amber); }

.bb-pagehead-title {
  margin: 0;
  max-width: 24ch;
  font-family: var(--in-head);
  font-weight: 900;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #fff;
  text-wrap: balance;
}
.bb-pagehead-lead {
  margin: 16px 0 0;
  max-width: 62ch;
  font-size: 18px;
  line-height: 1.9;
  color: #C9D6EA;
}
.bb-pagehead-meta {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  margin: 20px 0 0; padding: 0; list-style: none;
  font-size: 14.5px; color: #C9D6EA;
}
.bb-pagehead-meta li { display: inline-flex; align-items: center; gap: 7px; }
.bb-pagehead-meta svg, .bb-pagehead-meta i { width: 16px; height: 16px; color: var(--in-amber); flex: 0 0 16px; }
.bb-pagehead-meta strong { color: #fff; font-weight: 700; }
.bb-pagehead-meta a { color: #fff !important; text-decoration: underline; text-decoration-color: rgba(245, 158, 11, .6); text-underline-offset: 4px; }
.bb-pagehead-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- Buttons ---------- */
.bb-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 10px 22px;
  border-radius: 6px; border: 1.5px solid transparent;
  font-family: var(--in-head); font-weight: 800; font-size: 15.5px; line-height: 1.3;
  text-decoration: none !important; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.bb-button svg, .bb-button i { width: 18px; height: 18px; flex: 0 0 18px; }
.bb-button-primary { background: var(--in-amber); color: #1A1300 !important; }
.bb-button-primary:hover { background: #FBBF24; }
.bb-button-ghost { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .45); }
.bb-button-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.bb-button-outline { background: transparent; color: var(--in-navy) !important; border-color: var(--in-navy); }
.bb-button-outline:hover { background: var(--in-navy); color: #fff !important; }
.bb-button-whatsapp { background: #1F9D55; color: #fff !important; }
.bb-button-whatsapp:hover { background: #17834A; }
.bb-button-block { width: 100%; }
.bb-button[disabled], .bb-button.is-busy { opacity: .6; cursor: progress; }

/* ---------- Layout ---------- */
.bb-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  margin-top: -26px;
  position: relative;
}
@media (min-width: 1024px) {
  .bb-body-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
  .bb-body-grid.is-wide-aside { grid-template-columns: minmax(0, 1fr) 380px; }
  .bb-aside-sticky { position: sticky; top: 120px; }
}
.bb-body-single { margin-top: -26px; position: relative; }

.bb-sheet {
  background: var(--in-sheet);
  border: 1px solid var(--in-line);
  border-radius: var(--in-radius);
  padding: 24px 20px;
  box-shadow: 0 1px 2px rgba(20, 33, 58, .05);
}
@media (min-width: 640px) { .bb-sheet { padding: 36px 40px; } }
@media (min-width: 1024px) { .bb-sheet.is-roomy { padding: 48px 56px; } }
.bb-sheet + .bb-sheet { margin-top: 24px; }

.bb-section { padding: 64px 0 0; }
.bb-section-head { max-width: 62ch; margin-bottom: 28px; }
.bb-section-title {
  margin: 0;
  font-family: var(--in-head); font-weight: 900;
  font-size: clamp(24px, 2.6vw, 32px); line-height: 1.35;
  color: var(--in-ink);
}
.bb-section-desc { margin: 10px 0 0; color: var(--in-steel); font-size: 17px; }
.bb-section-head.has-link { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; max-width: none; }

.bb-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--in-navy) !important; font-weight: 700;
  text-decoration: underline; text-decoration-color: var(--in-amber);
  text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.bb-link:hover { color: var(--in-amber-ink) !important; }
.bb-link svg, .bb-link i { width: 16px; height: 16px; }

/* ---------- Long-form content (the_content) ---------- */
.bb-prose { max-width: 68ch; color: var(--in-ink); font-size: 17.5px; line-height: 1.95; overflow-wrap: break-word; }
.bb-prose.is-full { max-width: none; }
.bb-prose > *:first-child { margin-top: 0 !important; }
.bb-prose > *:last-child { margin-bottom: 0 !important; }
.bb-prose p { margin: 0 0 1.15em; }
.bb-prose h2, .bb-prose h3, .bb-prose h4, .bb-prose h5, .bb-prose h6 {
  font-family: var(--in-head); color: var(--in-ink); font-weight: 800; line-height: 1.45;
  margin: 1.8em 0 .6em; scroll-margin-top: 120px;
}
.bb-prose h2 { font-size: 1.55em; font-weight: 900; }
.bb-prose h3 { font-size: 1.3em; }
.bb-prose h4 { font-size: 1.12em; }
.bb-prose a { color: var(--in-navy); font-weight: 700; text-decoration: underline; text-decoration-color: var(--in-amber); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.bb-prose a:hover { color: var(--in-amber-ink); }
.bb-prose strong, .bb-prose b { color: var(--in-ink); font-weight: 800; }
.bb-prose ul, .bb-prose ol { margin: 0 0 1.2em; padding-inline-start: 1.4em; }
.bb-prose ul { list-style: disc; }
.bb-prose ol { list-style: decimal; }
.bb-prose li { margin: .35em 0; padding-inline-start: .2em; }
.bb-prose li::marker { color: var(--in-amber-ink); font-weight: 800; }
.bb-prose blockquote {
  margin: 1.6em 0; padding: 18px 22px;
  background: #F3F5F8; border-inline-start: 4px solid var(--in-navy); border-start-end-radius: 6px; border-end-end-radius: 6px;
  color: #24324B; font-size: 1.05em;
}
.bb-prose blockquote p:last-child { margin-bottom: 0; }
.bb-prose blockquote cite { display: block; margin-top: 8px; font-size: .85em; color: var(--in-steel); font-style: normal; }
.bb-prose hr { border: 0; border-top: 1px solid var(--in-line); margin: 2.2em 0; }
.bb-prose img, .bb-prose video, .bb-prose iframe { border-radius: 6px; }
.bb-prose figure { margin: 1.8em 0; }
.bb-prose figcaption, .bb-prose .wp-element-caption { margin-top: 8px; font-size: 14.5px; color: var(--in-steel); text-align: center; }
.bb-prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 15.5px; }
.bb-prose .wp-block-table { overflow-x: auto; margin: 1.6em 0; }
.bb-prose .wp-block-table table { margin: 0; min-width: 100%; }
.bb-prose .wp-block-table thead { border-bottom: 0; }
.bb-prose th, .bb-prose td { border: 1px solid var(--in-line); padding: 10px 12px; text-align: start; vertical-align: top; }
.bb-prose th { background: #F3F5F8; font-weight: 800; }
.bb-prose code { background: #F1F3F6; border-radius: 4px; padding: .1em .35em; font-size: .9em; }
.bb-prose pre { background: #0F1B2D; color: #E2E8F0; padding: 16px; border-radius: 6px; overflow-x: auto; direction: ltr; text-align: left; }
.bb-prose pre code { background: none; padding: 0; }
.bb-prose .aligncenter { margin-inline: auto; display: block; }
.bb-prose .alignright { float: right; margin: .3em 0 1em 1.4em; max-width: 50%; }
.bb-prose .alignleft { float: left; margin: .3em 1.4em 1em 0; max-width: 50%; }
.bb-prose .wp-block-button__link { background: var(--in-amber); color: #1A1300; border-radius: 6px; padding: 12px 22px; font-weight: 800; text-decoration: none; }
.bb-prose .wp-block-embed iframe, .bb-prose iframe { max-width: 100%; }
.bb-prose::after { content: ""; display: table; clear: both; }

/* ---------- Post / page parts ---------- */
.bb-figure { margin: 0 0 28px; }
.bb-figure img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: #D8DEE5; }
.bb-figure figcaption { margin-top: 8px; font-size: 14.5px; color: var(--in-steel); }

.bb-entry-foot { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--in-line); display: grid; gap: 18px; }
.bb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bb-tags a {
  display: inline-block; padding: 5px 12px; border-radius: 4px;
  background: #EEF1F5; border: 1px solid var(--in-line); color: var(--in-ink) !important;
  font-size: 14px; font-weight: 700; text-decoration: none;
}
.bb-tags a:hover { border-color: var(--in-navy); }
.bb-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bb-share-label { font-weight: 800; font-size: 15px; margin-inline-end: 4px; }
.bb-share a, .bb-share button {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 40px; padding: 6px 14px; border-radius: 6px;
  background: #fff; border: 1px solid var(--in-line-strong); color: var(--in-ink) !important;
  font: 700 14px/1 var(--in-body); text-decoration: none; cursor: pointer;
}
.bb-share a:hover, .bb-share button:hover { border-color: var(--in-navy); color: var(--in-navy) !important; }
.bb-share svg { width: 16px; height: 16px; }

.bb-postnav { display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 640px) { .bb-postnav { grid-template-columns: 1fr 1fr; } }
.bb-postnav a {
  display: block; padding: 16px 18px; border-radius: var(--in-radius);
  background: #fff; border: 1px solid var(--in-line); text-decoration: none;
}
.bb-postnav a:hover { border-color: var(--in-navy); }
.bb-postnav small { display: block; font-size: 13.5px; color: var(--in-steel); }
.bb-postnav strong { display: block; margin-top: 2px; font-family: var(--in-head); font-weight: 800; line-height: 1.5; color: var(--in-ink); }
.bb-postnav .is-next { text-align: end; }

.bb-updated { font-size: 14.5px; color: var(--in-steel); }

/* ---------- Aside blocks ---------- */
.bb-aside { display: grid; gap: 20px; }
.bb-aside-block { background: var(--in-sheet); border: 1px solid var(--in-line); border-radius: var(--in-radius); padding: 22px; }
.bb-aside-title { margin: 0 0 4px; font-family: var(--in-head); font-weight: 900; font-size: 19px; line-height: 1.45; color: var(--in-ink); }
.bb-aside-desc { margin: 0 0 14px; font-size: 15px; color: var(--in-steel); line-height: 1.7; }
.bb-aside-block.is-navy { background: var(--in-navy); border-color: var(--in-navy); color: #DCE6F5; }
.bb-aside-block.is-navy .bb-aside-title { color: #fff; }
.bb-aside-block.is-navy .bb-aside-desc { color: #B9C8E0; }

.bb-channels { list-style: none; margin: 0 0 16px; padding: 0; }
.bb-channels li + li { border-top: 1px solid var(--in-line); }
.bb-channels a, .bb-channels .bb-channel-static {
  display: flex; align-items: center; gap: 12px; padding: 12px 2px; text-decoration: none; color: var(--in-ink) !important;
}
.bb-channels a:hover strong { color: var(--in-navy); text-decoration: underline; text-decoration-color: var(--in-amber); text-underline-offset: 4px; }
.bb-channel-icon {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #EEF2F7; color: var(--in-navy);
}
.bb-channel-icon svg, .bb-channel-icon i { width: 19px; height: 19px; }
.bb-channel-icon.is-wa { background: #E6F6EC; color: #15803D; }
.bb-channels small { display: block; font-size: 13.5px; color: var(--in-steel); line-height: 1.5; }
.bb-channels strong { display: block; font-size: 16px; font-weight: 800; line-height: 1.5; word-break: break-word; }
.bb-ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

.bb-linklist { list-style: none; margin: 0; padding: 0; }
.bb-linklist li + li { border-top: 1px solid var(--in-line); }
.bb-linklist a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; text-decoration: none; font-weight: 700; color: var(--in-ink) !important; }
.bb-linklist a::after { content: "‹"; color: var(--in-amber-ink); font-size: 20px; line-height: 1; }
.bb-linklist a:hover { color: var(--in-navy) !important; }

/* ---------- Cards (archives, related) ---------- */
.bb-cards { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .bb-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .bb-cards.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bb-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--in-sheet); border: 1px solid var(--in-line); border-radius: var(--in-radius); overflow: hidden;
}
.bb-card:hover { border-color: var(--in-line-strong); box-shadow: 0 10px 24px rgba(20, 33, 58, .08); }
.bb-card-media { display: block; aspect-ratio: 16 / 10; background: #D8DEE5; overflow: hidden; }
.bb-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bb-card-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.bb-card-meta { font-size: 13.5px; color: var(--in-steel); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.bb-card-meta .is-cat { color: var(--in-amber-ink); font-weight: 800; }
.bb-card-title { margin: 0; font-family: var(--in-head); font-weight: 800; font-size: 19px; line-height: 1.55; color: var(--in-ink); }
.bb-card-title a { text-decoration: none; color: inherit !important; }
.bb-card-title a::after { content: ""; position: absolute; inset: 0; }
.bb-card-title a:hover { color: var(--in-navy) !important; }
.bb-card:focus-within { outline: 3px solid var(--in-navy); outline-offset: 2px; }
.bb-card-title a:focus-visible { outline: none; }
.bb-card-excerpt { margin: 0; font-size: 15.5px; line-height: 1.8; color: var(--in-steel); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.bb-pagination { margin-top: 36px; }
.bb-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.bb-pagination .page-numbers {
  min-width: 44px; height: 44px; padding: 0 12px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--in-line-strong); color: var(--in-ink) !important;
  font-weight: 800; text-decoration: none;
}
.bb-pagination .page-numbers.current { background: var(--in-navy); border-color: var(--in-navy); color: #fff !important; }
.bb-pagination a.page-numbers:hover { border-color: var(--in-navy); }

.bb-empty { text-align: center; padding: 48px 20px; }
.bb-empty h2 { margin: 0 0 8px; font-family: var(--in-head); font-size: 24px; font-weight: 900; }
.bb-empty p { margin: 0 auto 20px; max-width: 52ch; color: var(--in-steel); }

.bb-search { display: flex; gap: 8px; max-width: 560px; margin-top: 22px; }
.bb-search input[type="search"] {
  flex: 1; min-width: 0; height: 50px; padding: 0 16px; border-radius: 6px;
  border: 1.5px solid transparent; background: #fff; color: var(--in-ink);
  font: 500 16px var(--in-body);
}
.bb-sheet .bb-search input[type="search"], .bb-empty .bb-search input[type="search"] { border-color: var(--in-line-strong); }
.bb-empty .bb-search { margin-inline: auto; }

/* ---------- Facts list (dl) ---------- */
.bb-facts { margin: 0; display: grid; gap: 0; }
.bb-facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--in-line); }
.bb-facts > div:first-child { border-top: 0; padding-top: 0; }
.bb-facts dt { color: var(--in-steel); font-size: 15px; }
.bb-facts dd { margin: 0; font-weight: 800; text-align: end; }
.bb-aside-block.is-navy .bb-facts > div { border-color: rgba(255, 255, 255, .14); }
.bb-aside-block.is-navy .bb-facts dt { color: #B9C8E0; }
.bb-aside-block.is-navy .bb-facts dd { color: #fff; }

.bb-metric-list { margin: 0 0 18px; display: grid; gap: 0; }
.bb-metric-list > div { padding: 14px 0; border-top: 1px solid var(--in-line); }
.bb-metric-list > div:first-child { border-top: 0; padding-top: 0; }
.bb-metric-list dd { margin: 0; font-family: var(--in-head); font-weight: 900; font-size: 30px; line-height: 1.2; color: var(--in-navy); }
.bb-metric-list dt { font-size: 15px; color: var(--in-steel); }

.bb-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .bb-checklist.is-2 { grid-template-columns: 1fr 1fr; } }
.bb-checklist li { position: relative; padding-inline-start: 30px; line-height: 1.75; }
.bb-checklist li::before {
  content: "✓"; position: absolute; inset-inline-start: 0; top: .35em;
  width: 20px; height: 20px; border-radius: 4px; background: var(--in-amber); color: #1A1300;
  display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 900; line-height: 1;
}

.bb-note {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 24px; padding: 16px 18px; border-radius: 6px;
  background: #F3F5F8; border: 1px solid var(--in-line); font-size: 15.5px; color: #2B3A52; line-height: 1.8;
}
.bb-note svg, .bb-note i { width: 20px; height: 20px; flex: 0 0 20px; color: var(--in-navy); margin-top: 3px; }

/* ---------- Gallery (projects) ---------- */
.bb-gallery-main {
  position: relative; margin: 0; border-radius: 6px; overflow: hidden; background: #0F1B2D;
  aspect-ratio: 16 / 9;
}
.bb-gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bb-gallery-open {
  position: absolute; inset-inline-start: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 14px;
  border-radius: 6px; border: 0; background: rgba(8, 20, 40, .82); color: #fff;
  font: 700 14.5px var(--in-body); cursor: pointer;
}
.bb-gallery-open:hover { background: var(--in-amber); color: #1A1300; }
.bb-gallery-open svg { width: 17px; height: 17px; }
.bb-gallery-count { position: absolute; inset-inline-end: 14px; bottom: 14px; padding: 4px 10px; border-radius: 4px; background: rgba(8, 20, 40, .82); color: #fff; font-size: 13.5px; font-weight: 700; direction: ltr; }
.bb-thumbs { display: flex; gap: 10px; margin: 12px 0 0; padding: 2px 2px 6px; list-style: none; overflow-x: auto; scrollbar-width: thin; }
.bb-thumbs button {
  flex: 0 0 auto; width: 112px; height: 72px; padding: 0; border-radius: 5px; overflow: hidden;
  border: 2px solid transparent; background: #D8DEE5; cursor: pointer; opacity: .7;
}
.bb-thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bb-thumbs button:hover { opacity: 1; }
.bb-thumbs button[aria-current="true"] { border-color: var(--in-amber); opacity: 1; }

.bb-lightbox {
  position: fixed; inset: 0; z-index: 2147483640;
  display: none; flex-direction: column; background: rgba(5, 10, 20, .96); color: #fff;
  padding: 14px;
}
.bb-lightbox.is-open { display: flex; }
.bb-lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .12); font-weight: 700; }
.bb-lightbox-stage { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 12px 0; }
.bb-lightbox-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.bb-lightbox button {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .08); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.bb-lightbox button:hover { background: var(--in-amber, #F59E0B); color: #1A1300; }
.bb-lightbox button svg { width: 22px; height: 22px; }
.bb-lightbox-prev, .bb-lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); }
.bb-lightbox-prev { inset-inline-start: 6px; }
.bb-lightbox-next { inset-inline-end: 6px; }
.bb-lightbox :focus-visible { outline: 3px solid #F59E0B; outline-offset: 2px; }

/* ---------- Text columns (about: vision / mission / values) ---------- */
.bb-columns { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .bb-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; } }
.bb-columns > div { border-top: 3px solid var(--in-navy); padding-top: 18px; }
.bb-columns h3 { margin: 0 0 8px; font-family: var(--in-head); font-weight: 900; font-size: 21px; color: var(--in-ink); }
.bb-columns p { margin: 0; color: #33425A; line-height: 1.95; }

.bb-capabilities { display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); background: #fff; border: 1px solid var(--in-line); border-radius: var(--in-radius); }
@media (min-width: 768px) { .bb-capabilities { grid-template-columns: 1fr 1fr; } }
.bb-capabilities > div { display: flex; gap: 16px; padding: 24px; border-top: 1px solid var(--in-line); }
.bb-capabilities > div:first-child { border-top: 0; }
@media (min-width: 768px) {
  .bb-capabilities > div:nth-child(2) { border-top: 0; }
  .bb-capabilities > div:nth-child(even) { border-inline-start: 1px solid var(--in-line); }
}
.bb-capabilities h3 { margin: 0 0 4px; font-family: var(--in-head); font-weight: 800; font-size: 18px; }
.bb-capabilities p { margin: 0; color: var(--in-steel); font-size: 15.5px; line-height: 1.85; }

.bb-identity { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.bb-identity img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 6px; padding: 6px; }
.bb-identity strong { display: block; color: #fff; font-family: var(--in-head); font-weight: 900; font-size: 17px; line-height: 1.5; }
.bb-identity small { display: block; color: #F8C35A; font-weight: 700; font-size: 14px; }

/* ---------- CTA band ---------- */
.bb-ctaband {
  margin-top: 64px; background: var(--in-navy); color: #fff; border-radius: var(--in-radius);
  padding: 32px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
@media (min-width: 1024px) { .bb-ctaband { padding: 40px 48px; } }
.bb-ctaband h2 { margin: 0; font-family: var(--in-head); font-weight: 900; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.4; color: #fff; }
.bb-ctaband p { margin: 6px 0 0; color: #C9D6EA; max-width: 56ch; }
.bb-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- FAQ accordion ---------- */
.bb-faq { background: #fff; border: 1px solid var(--in-line); border-radius: var(--in-radius); }
.bb-faq details + details { border-top: 1px solid var(--in-line); }
.bb-faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; font-family: var(--in-head); font-weight: 800; font-size: 17.5px; line-height: 1.55;
}
.bb-faq summary::-webkit-details-marker { display: none; }
.bb-faq summary::after { content: "+"; flex: 0 0 auto; font-size: 26px; line-height: 1; color: var(--in-amber-ink); font-weight: 400; }
.bb-faq details[open] summary::after { content: "−"; }
.bb-faq summary:hover { color: var(--in-navy); }
.bb-faq-answer { padding: 0 22px 22px; color: #33425A; max-width: 72ch; }
.bb-faq-answer p { margin: 0; }

/* ---------- Steps (careers process: a real sequence) ---------- */
.bb-steps { list-style: none; margin: 0; padding: 0; counter-reset: bbstep; display: grid; gap: 14px; }
.bb-steps li { counter-increment: bbstep; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.bb-steps li::before {
  content: counter(bbstep); width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--in-amber); color: #1A1300; font-family: var(--in-head); font-weight: 900; font-size: 15px;
}
.bb-steps strong { display: block; font-weight: 800; line-height: 1.6; }
.bb-steps span { display: block; font-size: 15px; color: var(--in-steel); line-height: 1.7; }
.bb-aside-block.is-navy .bb-steps strong { color: #fff; }
.bb-aside-block.is-navy .bb-steps span { color: #B9C8E0; }

/* ---------- Forms ---------- */
.bb-form { display: grid; gap: 18px; }
.bb-form-title { margin: 0; font-family: var(--in-head); font-weight: 900; font-size: 24px; line-height: 1.45; }
.bb-form-intro { margin: 4px 0 6px; color: var(--in-steel); font-size: 16px; max-width: 62ch; }
.bb-form-row { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .bb-form-row { grid-template-columns: 1fr 1fr; } }
.bb-field { display: grid; gap: 7px; min-width: 0; }
.bb-field label, .bb-field .bb-label { font-weight: 800; font-size: 15.5px; line-height: 1.5; color: var(--in-ink); }
.bb-req { color: #B42318; font-weight: 900; margin-inline-start: 2px; }
.bb-optional { color: var(--in-steel); font-weight: 500; font-size: 14px; }
.bb-hint { font-size: 14px; color: var(--in-steel); line-height: 1.6; }
.bb-field input:not([type="file"]):not([type="checkbox"]),
.bb-field select,
.bb-field textarea {
  width: 100%; min-height: 50px; padding: 11px 14px;
  background: #fff; color: var(--in-ink);
  border: 1.5px solid var(--in-line-strong); border-radius: 6px;
  font: 500 16px/1.6 var(--in-body);
  transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none; appearance: none;
}
.bb-field textarea { min-height: 140px; resize: vertical; }
.bb-field select {
  padding-inline-end: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355657A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 18px; background-position: left 14px center;
}
.bb-field input::placeholder, .bb-field textarea::placeholder { color: #8592A3; }
.bb-field input:focus, .bb-field select:focus, .bb-field textarea:focus {
  outline: none; border-color: var(--in-navy); box-shadow: 0 0 0 3px rgba(11, 42, 91, .18);
}
.bb-field input:user-invalid, .bb-field select:user-invalid, .bb-field textarea:user-invalid { border-color: #B42318; }
/* phone/email inputs are typed left-to-right; on Arabic pages keep the placeholder aligned with the labels */
html[dir="rtl"] .bb-field input[dir="ltr"]:placeholder-shown { text-align: right; }
/* honeypot: hidden without off-screen offsets (those create sideways scroll in RTL) */
.bb-hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; opacity: 0; pointer-events: none; }
.bb-form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding-top: 4px; }
.bb-form-actions .bb-button-primary { flex: 1 1 260px; }
.bb-form-privacy { font-size: 14px; color: var(--in-steel); margin: 0; }

.bb-drop {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 150px; padding: 22px 16px; text-align: center;
  border: 2px dashed var(--in-line-strong); border-radius: 8px; background: #F7F9FB; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.bb-drop:hover, .bb-drop.is-dragover { border-color: var(--in-navy); background: #EEF3FA; }
.bb-drop:focus-within { border-color: var(--in-navy); box-shadow: 0 0 0 3px rgba(11, 42, 91, .18); }
.bb-drop input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.bb-drop svg, .bb-drop i { width: 28px; height: 28px; color: var(--in-navy); }
.bb-drop strong { font-weight: 800; font-size: 16px; }
.bb-drop span { font-size: 14px; color: var(--in-steel); }
.bb-drop-file { display: none; margin-top: 4px; padding: 6px 12px; border-radius: 4px; background: #E6F6EC; color: #14532D; font-weight: 800; font-size: 14.5px; word-break: break-all; }
.bb-drop.has-file .bb-drop-file { display: inline-block; }
.bb-drop.has-error { border-color: #B42318; background: #FEF3F2; }
.bb-drop.has-error .bb-drop-file { background: #FEE4E2; color: #912018; }

.bb-closed { text-align: center; max-width: 640px; margin-inline: auto; }
.bb-closed h2 { margin: 0 0 10px; font-family: var(--in-head); font-weight: 900; font-size: 26px; }
.bb-closed p { color: var(--in-steel); margin: 0 auto 24px; }
.bb-closed .bb-cta-actions { justify-content: center; }

/* Lucide placeholders: reserve space before the icon script swaps them (no layout shift) */
.bb-inner i[data-lucide] { display: inline-block; width: 18px; height: 18px; flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) {
  .bb-inner *, .bb-inner *::before, .bb-inner *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .bb-pagehead { background: none; color: #000; padding: 0 0 12px; }
  .bb-pagehead::after, .bb-aside, .bb-share, .bb-postnav, .bb-ctaband { display: none !important; }
  .bb-pagehead-title, .bb-pagehead-lead { color: #000; }
  .bb-body-grid { display: block; margin: 0; }
  .bb-sheet { border: 0; padding: 0; }
}


/* ==========================================================================
   v1.4.0 - Arabic / English (Polylang): direction-aware details
   Arabic pages are dir="rtl", English pages dir="ltr" (set by WordPress per language).
   ========================================================================== */

/* Directional arrows: drawn for RTL, mirrored on LTR pages */
html[dir="ltr"] svg.lucide-chevron-left,
html[dir="ltr"] svg.lucide-chevron-right,
html[dir="ltr"] svg.lucide-arrow-left,
html[dir="ltr"] svg.lucide-arrow-right,
html[dir="ltr"] .bb-hero-actions .bb-btn svg,
html[dir="ltr"] .bb-arrow svg { scale: -1 1; }

/* Hero slider arrows and the achievements panel swap sides */
html[dir="ltr"] #slider-prev { right: auto; left: 16px; }
html[dir="ltr"] #slider-next { left: auto; right: 16px; }
html[dir="ltr"] .bb-stats-panel { left: auto; right: max(88px, calc((100% - 1280px) / 2 + 32px)); }

/* Text separators / arrows */
html[dir="ltr"] .bb-crumbs li + li::before { content: "›"; }
html[dir="ltr"] .bb-linklist a::after { content: "›"; }
html[dir="ltr"] .bb-field select { background-position: right 14px center; }

/* Footer column headings: accent bar on the reading start side */
.bb-foot-title { border-inline-start: 2px solid #F59E0B; padding-inline-start: 12px; }
.bb-foot-title.is-blue { border-inline-start-color: #3B82F6; }

/* Language switcher: AR | EN on one line (an older rule made it a one-column grid) */
.bb-langsw { display: inline-flex !important; flex-direction: row; align-items: center; gap: 2px; }

/* Language switcher as links (Polylang) */
a.bb-langsw-opt {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none !important; line-height: 1;
}
a.bb-langsw-opt:focus-visible { outline: 2px solid #0B2A5B; outline-offset: 2px; }

/* English typography: Latin text reads better slightly tighter than Arabic */
html[lang^="en"] .bb-inner { line-height: 1.75; }
html[lang^="en"] .bb-prose { line-height: 1.8; }
html[lang^="en"] .bb-pagehead-title { letter-spacing: -0.015em; line-height: 1.2; }
html[lang^="en"] .bb-hero-title { letter-spacing: -0.01em; }


/* ==========================================================================
   v1.5.0 - Light design across the whole site
   One light ground (#E7E7E7) everywhere, white working surfaces on top of it,
   navy for text accents and amber hazard tape as the single bold element.
   No dark sections below the hero photo slider.
   ========================================================================== */
:root {
  --bb-ground: #E7E7E7;
  --bb-sheet: #FFFFFF;
  --bb-sheet-soft: #F4F4F4;
  --bb-ink-l: #141C2B;
  --bb-steel: #566273;
  --bb-rule: #D6D6D6;
  --bb-rule-strong: #BDBDBD;
  --bb-navy-l: #0B2A5B;
  --bb-amber-ink: #8A5300;
  --bb-tape: repeating-linear-gradient(-45deg, #F59E0B 0 14px, #1B2333 14px 28px);
}

/* ---------- Page ground (all templates, incl. pages whose header/footer come from Elementor) ---------- */
html body,
html body.bb-body,
html body.home,
html body.front-page,
html body.home.bb-body,
html body.front-page.bb-body {
  background: var(--bb-ground) !important;
  background-color: var(--bb-ground) !important;
  color: var(--bb-ink-l);
}
html body main,
html body .site-main,
html body.home main,
html body.front-page main,
html body.home .site-main,
html body.front-page .site-main {
  background: var(--bb-ground) !important;
  background-color: var(--bb-ground) !important;
}

.bb-inner {
  --in-ground: var(--bb-ground);
  --in-sheet: var(--bb-sheet);
  --in-ink: var(--bb-ink-l);
  --in-steel: var(--bb-steel);
  --in-line: var(--bb-rule);
  --in-line-strong: var(--bb-rule-strong);
  --in-navy: var(--bb-navy-l);
  --in-amber-ink: var(--bb-amber-ink);
  --in-radius: 10px;
}

/* ---------- Page header: white band, title + photo ---------- */
.bb-pagehead {
  background: var(--bb-sheet);
  color: var(--bb-ink-l);
  padding: 26px 0 44px;
  border-bottom: 1px solid var(--bb-rule);
}
.bb-pagehead::after {
  height: 8px;
  background: var(--bb-tape);
}
.bb-pagehead.has-media { padding-bottom: 0; }
.bb-pagehead.has-media::after { display: none; }
@media (min-width: 1024px) { .bb-pagehead { padding: 34px 0 56px; } .bb-pagehead.has-media { padding-bottom: 0; } }

.bb-pagehead-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.bb-pagehead.has-media .bb-pagehead-text { padding-bottom: 4px; }
@media (min-width: 1024px) {
  .bb-pagehead.has-media .bb-pagehead-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; }
  .bb-pagehead.has-media .bb-pagehead-text { padding-bottom: 56px; }
}

.bb-pagehead-media {
  position: relative;
  margin: 0;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  background: #D2D2D2;
  aspect-ratio: 16 / 9;
}
@media (min-width: 1024px) { .bb-pagehead-media { aspect-ratio: 4 / 3; align-self: end; } }
.bb-pagehead-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* the hazard tape runs along the bottom edge of the photo, where it meets the page */
.bb-pagehead-media::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 12px;
  background: var(--bb-tape);
}

.bb-crumbs li { color: var(--bb-steel); }
.bb-crumbs li + li::before { color: #9AA3AF; }
.bb-crumbs a { color: var(--bb-navy-l) !important; }
.bb-crumbs a:hover { color: var(--bb-amber-ink) !important; }
.bb-crumbs [aria-current] { color: var(--bb-ink-l); }
.bb-pagehead :focus-visible { outline-color: var(--bb-navy-l); }

.bb-pagehead-title { color: var(--bb-ink-l); }
.bb-pagehead-lead { color: #3E4959; }
.bb-pagehead-meta { color: var(--bb-steel); }
.bb-pagehead-meta svg, .bb-pagehead-meta i { color: var(--bb-amber-ink); }
.bb-pagehead-meta strong { color: var(--bb-ink-l); }
.bb-pagehead-meta a { color: var(--bb-navy-l) !important; }

/* ---------- Buttons on light surfaces ---------- */
.bb-button-ghost { background: transparent; color: var(--bb-navy-l) !important; border-color: var(--bb-navy-l); }
.bb-button-ghost:hover { background: var(--bb-navy-l); border-color: var(--bb-navy-l); color: #fff !important; }
.bb-button-primary { box-shadow: 0 6px 16px rgba(245, 158, 11, .28); }
.bb-button-primary:hover { background: #FBBF24; }

/* ---------- Body layout: content starts below the band (no overlap) ---------- */
.bb-body-grid,
.bb-body-single { margin-top: 40px; }
@media (min-width: 1024px) { .bb-body-grid, .bb-body-single { margin-top: 48px; } }

.bb-sheet,
.bb-aside-block,
.bb-card,
.bb-faq,
.bb-capabilities,
.bb-postnav a { border-color: var(--bb-rule); box-shadow: 0 1px 2px rgba(20, 28, 43, .04), 0 8px 24px -18px rgba(20, 28, 43, .25); }

/* Former navy aside: white card with a navy top rule */
.bb-aside-block.is-navy {
  background: var(--bb-sheet);
  border-color: var(--bb-rule);
  border-top: 4px solid var(--bb-navy-l);
  color: var(--bb-ink-l);
}
.bb-aside-block.is-navy .bb-aside-title { color: var(--bb-ink-l); }
.bb-aside-block.is-navy .bb-aside-desc { color: var(--bb-steel); }
.bb-aside-block.is-navy .bb-facts > div { border-color: var(--bb-rule); }
.bb-aside-block.is-navy .bb-facts dt { color: var(--bb-steel); }
.bb-aside-block.is-navy .bb-facts dd { color: var(--bb-ink-l); }
.bb-aside-block.is-navy .bb-steps strong { color: var(--bb-ink-l); }
.bb-aside-block.is-navy .bb-steps span { color: var(--bb-steel); }
.bb-identity { border-bottom-color: var(--bb-rule); }
.bb-identity img { background: var(--bb-sheet-soft); border: 1px solid var(--bb-rule); }
.bb-identity strong { color: var(--bb-ink-l); }
.bb-identity small { color: var(--bb-amber-ink); }

/* Section rhythm inside inner pages */
.bb-section { padding-top: 72px; }
.bb-columns > div {
  background: var(--bb-sheet);
  border: 1px solid var(--bb-rule);
  border-top: 4px solid var(--bb-navy-l);
  border-radius: 10px;
  padding: 24px 24px 26px;
}
.bb-columns > div:nth-child(2) { border-top-color: #F59E0B; }
.bb-capabilities > div { align-items: flex-start; }
.bb-capabilities .bb-channel-icon { background: #FFF4DC; color: var(--bb-amber-ink); }

/* ---------- Closing call-to-action: white card, hazard tape on the start edge ---------- */
.bb-ctaband {
  position: relative;
  margin-top: 72px;
  background: var(--bb-sheet);
  color: var(--bb-ink-l);
  border: 1px solid var(--bb-rule);
  border-radius: 10px;
  overflow: hidden;
  padding-inline-start: 44px;
  box-shadow: 0 18px 40px -28px rgba(20, 28, 43, .35);
}
.bb-ctaband::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 14px;
  background: var(--bb-tape);
}
@media (min-width: 1024px) { .bb-ctaband { padding-inline-start: 64px; } }
.bb-ctaband h2 { color: var(--bb-ink-l); }
.bb-ctaband p { color: var(--bb-steel); }

/* ---------- Elementor layouts shown inside / instead of the theme design ---------- */
.bb-builder-zone { margin-top: 64px; color: var(--bb-ink-l); }
.bb-builder-zone.is-page { margin-top: 0; padding: 40px 0 0; }
.bb-builder-zone > .elementor { width: 100%; }

/* ---------- Gallery stays dark only behind photos ---------- */
.bb-gallery-main { background: #CFCFCF; }

/* ==========================================================================
   Homepage (light)
   ========================================================================== */
.bb-home { background: var(--bb-ground) !important; color: var(--bb-ink-l); }

/* mobile achievements bar under the slider */
.bb-stats-mobile { background: var(--bb-sheet); border-bottom: 1px solid var(--bb-rule); }
.bb-stats-mobile-item { background: var(--bb-sheet-soft); border: 1px solid var(--bb-rule); }
.bb-stats-mobile-item b { color: var(--bb-ink-l); }
.bb-stats-mobile-item small { color: var(--bb-steel); }
.bb-stats-mobile-item .bb-stat-num { color: var(--bb-amber-ink); }
.bb-stats-mobile-item .bb-stat-num.is-blue { color: var(--bb-navy-l); }

/* sectors */
.bb-sectors,
html body .bb-sectors {
  background: var(--bb-ground) !important;
  border-top: 0 !important;
  border-bottom: 1px solid var(--bb-rule) !important;
}
.bb-em-card {
  background: var(--bb-sheet) !important;
  border: 1px solid var(--bb-rule);
  box-shadow: 0 22px 44px -30px rgba(20, 28, 43, .45);
  padding-top: 34px;
}
.bb-em-card::before { height: 12px; background: var(--bb-tape); }
.bb-em-num { color: var(--bb-amber-ink); }
.bb-em-icon { background: #FFF4DC; border-color: #F5C25B; color: var(--bb-amber-ink); }
.bb-em-title { color: var(--bb-ink-l); }
.bb-em-desc { color: #3E4959; }
.bb-em-list li { color: #2B3646; }
.bb-em-list strong { color: var(--bb-navy-l); }
.bb-em-link { color: var(--bb-navy-l) !important; }
.bb-em-link:hover { color: var(--bb-amber-ink) !important; }
.bb-sec-card { border: 1px solid var(--bb-rule); box-shadow: 0 1px 2px rgba(20, 28, 43, .04); }
.bb-sec-card:hover { border-color: var(--bb-rule-strong); box-shadow: 0 14px 30px -18px rgba(20, 28, 43, .35); }
.bb-sec-card h4 { color: var(--bb-ink-l); }
.bb-sec-card-more { border-top-color: #E6E6E6; color: var(--bb-navy-l); }

.bb-order,
html body .bb-order {
  background: var(--bb-sheet) !important;
  border: 1px solid var(--bb-rule) !important;
  box-shadow: 0 18px 40px -30px rgba(20, 28, 43, .4) !important;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.bb-order-text h3 { color: var(--bb-ink-l); }
.bb-order-text p { color: var(--bb-steel); }
.bb-order-btn.is-ghost { background: transparent; color: var(--bb-navy-l) !important; border: 1.5px solid var(--bb-navy-l); }
.bb-order-btn.is-ghost:hover { background: #1F9D55; border-color: #1F9D55; color: #fff !important; }

/* shared section shell */
.bb-h-sec { position: relative; padding: 76px 0; }
@media (max-width: 639px) { .bb-h-sec { padding: 56px 0; } }
.bb-h-sec.is-white { background: var(--bb-sheet); border-block: 1px solid var(--bb-rule); }
.bb-h-sec.is-ground { background: var(--bb-ground); }
.bb-h-signature { padding-bottom: 0; }
.bb-h-signature + .bb-h-projects { padding-top: 64px; }

.bb-h-head { max-width: 720px; margin-bottom: 36px; }
.bb-h-head.is-center { margin-inline: auto; text-align: center; }
.bb-h-title {
  margin: 0 0 14px;
  font-family: 'Cairo', 'Tajawal', system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.4;
  color: var(--bb-ink-l);
  text-wrap: balance;
}
.bb-h-lead { margin: 0 0 14px; font-size: 17px; line-height: 1.95; color: #2B3646; }
.bb-h-lead strong { color: var(--bb-navy-l); font-weight: 800; }
.bb-h-text { margin: 0; font-size: 15.5px; line-height: 1.95; color: var(--bb-steel); }
.bb-h-head .bb-h-text { margin-inline: auto; max-width: 60ch; }

.bb-h-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.bb-h-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 22px; border-radius: 8px; border: 1.5px solid transparent;
  font-family: 'Cairo', 'Tajawal', system-ui, sans-serif; font-size: 15px; font-weight: 800; line-height: 1.3;
  text-decoration: none !important; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.bb-h-btn svg, .bb-h-btn i { width: 18px; height: 18px; flex: 0 0 18px; }
.bb-h-btn.is-primary { background: #F59E0B; color: #1A1300 !important; box-shadow: 0 6px 16px rgba(245, 158, 11, .28); }
.bb-h-btn.is-primary:hover { background: #FBBF24; }
.bb-h-btn.is-outline { background: transparent; color: var(--bb-navy-l) !important; border-color: var(--bb-navy-l); }
.bb-h-btn.is-outline:hover { background: var(--bb-navy-l); color: #fff !important; }
.bb-h-btn.is-whatsapp { background: #1F9D55; color: #fff !important; }
.bb-h-btn.is-whatsapp:hover { background: #17834A; }
.bb-h-btn.is-wide { flex: 1 1 260px; }
.bb-h-btn:focus-visible { outline: 3px solid var(--bb-navy-l); outline-offset: 2px; }
.bb-h-btn[disabled] { opacity: .6; cursor: progress; }

.bb-h-chip {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #E9EEF6; color: var(--bb-navy-l);
}
.bb-h-chip svg, .bb-h-chip i { width: 21px; height: 21px; }
.bb-h-chip.is-amber { background: #FFF4DC; color: var(--bb-amber-ink); }
.bb-h-chip.is-green { background: #E3F4E9; color: #15803D; }

/* about */
.bb-h-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
@media (min-width: 1024px) { .bb-h-split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; } }
.bb-h-story { max-width: 68ch; }
.bb-h-checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px 24px; }
@media (min-width: 640px) { .bb-h-checks { grid-template-columns: 1fr 1fr; } }
.bb-h-checks li { position: relative; padding-inline-start: 30px; font-weight: 700; color: #2B3646; line-height: 1.7; }
.bb-h-checks li::before {
  content: "✓"; position: absolute; inset-inline-start: 0; top: .2em;
  width: 20px; height: 20px; border-radius: 5px; background: #F59E0B; color: #1A1300;
  display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 900; line-height: 1;
}

.bb-h-profile {
  position: relative;
  background: var(--bb-sheet-soft);
  border: 1px solid var(--bb-rule);
  border-radius: 12px;
  padding: 26px 24px 0;
  overflow: hidden;
}
.bb-h-profile-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--bb-rule); }
.bb-h-profile-head img { width: 56px; height: 56px; object-fit: contain; background: #fff; border: 1px solid var(--bb-rule); border-radius: 10px; padding: 5px; }
.bb-h-profile-head small { display: block; font-size: 13px; font-weight: 800; color: var(--bb-amber-ink); }
.bb-h-profile-head strong { display: block; font-family: 'Cairo', 'Tajawal', sans-serif; font-size: 17px; font-weight: 900; color: var(--bb-ink-l); line-height: 1.5; }
.bb-h-profile-head div > span { display: block; font-size: 13.5px; color: var(--bb-steel); }
.bb-h-features { list-style: none; margin: 0; padding: 6px 0; }
.bb-h-features li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; }
.bb-h-features li + li { border-top: 1px solid #E2E2E2; }
.bb-h-features b { display: block; font-size: 15px; font-weight: 800; color: var(--bb-ink-l); line-height: 1.55; }
.bb-h-features small { display: block; font-size: 13.5px; color: var(--bb-steel); line-height: 1.6; }
.bb-h-profile-foot {
  margin-inline: -24px;
  padding: 20px 24px 26px;
  background: var(--bb-sheet);
  border-top: 1px solid var(--bb-rule);
  position: relative;
}
.bb-h-profile-foot::before { content: ""; position: absolute; inset-inline: 0; top: -1px; height: 6px; background: var(--bb-tape); }
.bb-h-profile-foot strong { display: block; margin-top: 4px; font-family: 'Cairo', 'Tajawal', sans-serif; font-size: 30px; font-weight: 900; color: var(--bb-navy-l); line-height: 1.3; }
.bb-h-profile-foot > span { display: block; font-size: 14px; font-weight: 700; color: var(--bb-steel); }

/* intro column + tiles (resources, partners) */
.bb-h-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; align-items: start; }
@media (min-width: 1024px) { .bb-h-cols { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; } .bb-h-intro { position: sticky; top: 130px; } }
.bb-h-tiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 640px) { .bb-h-tiles { grid-template-columns: 1fr 1fr; } }
.bb-h-tile {
  background: var(--bb-sheet-soft);
  border: 1px solid var(--bb-rule);
  border-radius: 12px;
  padding: 24px;
}
.bb-h-tile h3 { margin: 16px 0 6px; font-family: 'Cairo', 'Tajawal', sans-serif; font-size: 17.5px; font-weight: 800; line-height: 1.55; color: var(--bb-ink-l); }
.bb-h-tile p { margin: 0; font-size: 14.5px; line-height: 1.85; color: var(--bb-steel); }

.bb-h-bignum { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--bb-rule); }
.bb-h-bignum strong { display: block; font-family: 'Cairo', 'Tajawal', sans-serif; font-size: 40px; font-weight: 900; color: var(--bb-navy-l); line-height: 1.2; }
.bb-h-bignum > span { font-size: 14.5px; font-weight: 700; color: var(--bb-steel); }

.bb-h-partners { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border: 1px solid var(--bb-rule); border-radius: 12px; overflow: hidden; background: var(--bb-sheet); }
@media (min-width: 640px) { .bb-h-partners { grid-template-columns: 1fr 1fr; } }
.bb-h-partner { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border-top: 1px solid var(--bb-rule); }
.bb-h-partner:first-child { border-top: 0; }
@media (min-width: 640px) {
  .bb-h-partner:nth-child(2) { border-top: 0; }
  .bb-h-partner:nth-child(even) { border-inline-start: 1px solid var(--bb-rule); }
}
.bb-h-partner h3 { margin: 0; font-size: 15.5px; font-weight: 800; line-height: 1.55; color: var(--bb-ink-l); }
.bb-h-partner p { margin: 2px 0 0; font-size: 13.5px; line-height: 1.65; color: var(--bb-steel); }

/* numbers */
.bb-h-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (min-width: 1024px) { .bb-h-numbers { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.bb-h-number {
  background: var(--bb-sheet);
  border: 1px solid var(--bb-rule);
  border-radius: 12px;
  padding: 24px 18px 22px;
  text-align: center;
}
.bb-h-number-icon { display: inline-flex; width: 42px; height: 42px; border-radius: 50%; align-items: center; justify-content: center; background: #FFF4DC; color: var(--bb-amber-ink); }
.bb-h-number-icon svg, .bb-h-number-icon i { width: 20px; height: 20px; }
.bb-h-number strong { display: block; margin-top: 12px; font-family: 'Cairo', 'Tajawal', sans-serif; font-size: clamp(30px, 3.4vw, 42px); font-weight: 900; line-height: 1.15; color: var(--bb-navy-l); direction: ltr; }
.bb-h-number h3 { margin: 6px 0 2px; font-size: 15.5px; font-weight: 800; color: var(--bb-ink-l); }
.bb-h-number p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--bb-steel); }

/* contact */
.bb-h-contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
@media (min-width: 1024px) { .bb-h-contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; } }
.bb-h-channels { display: grid; gap: 14px; }
.bb-h-channel {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--bb-sheet); border: 1px solid var(--bb-rule); border-radius: 12px;
  padding: 18px 20px; text-decoration: none !important; color: var(--bb-ink-l) !important;
  transition: border-color .15s ease;
}
a.bb-h-channel:hover { border-color: var(--bb-navy-l); }
.bb-h-channel small { display: block; font-size: 13.5px; color: var(--bb-steel); }
.bb-h-channel strong { display: block; margin: 2px 0; font-size: 18px; font-weight: 800; color: var(--bb-ink-l); }
.bb-h-channel div > span { display: block; font-size: 13.5px; color: var(--bb-steel); line-height: 1.6; }
.bb-h-channel.is-static div > span { font-size: 14.5px; color: #2B3646; }

.bb-h-formcard {
  background: var(--bb-sheet); border: 1px solid var(--bb-rule); border-radius: 12px;
  padding: 26px 22px; box-shadow: 0 22px 44px -32px rgba(20, 28, 43, .45);
  border-top: 4px solid #F59E0B;
}
@media (min-width: 640px) { .bb-h-formcard { padding: 32px 34px; } }
.bb-h-formcard h3 { margin: 0 0 20px; padding-bottom: 14px; border-bottom: 1px solid #E6E6E6; font-family: 'Cairo', 'Tajawal', sans-serif; font-size: 20px; font-weight: 900; color: var(--bb-ink-l); }
.bb-h-form { display: grid; gap: 16px; }
.bb-h-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 640px) { .bb-h-row { grid-template-columns: 1fr 1fr; } }
.bb-h-field { display: grid; gap: 6px; min-width: 0; }
.bb-h-field label { font-size: 14.5px; font-weight: 800; color: var(--bb-ink-l); }
.bb-h-field input,
.bb-h-field select,
.bb-h-field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  background: #fff; color: var(--bb-ink-l);
  border: 1.5px solid var(--bb-rule-strong); border-radius: 8px;
  font: 500 15.5px/1.6 'Tajawal', 'Cairo', system-ui, sans-serif;
  -webkit-appearance: none; appearance: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.bb-h-field textarea { min-height: 120px; resize: vertical; }
.bb-h-field select {
  padding-inline-end: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23566273' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 18px; background-position: left 14px center;
}
html[dir="ltr"] .bb-h-field select { background-position: right 14px center; }
.bb-h-field input::placeholder, .bb-h-field textarea::placeholder { color: #8A94A3; }
.bb-h-field input:focus, .bb-h-field select:focus, .bb-h-field textarea:focus { outline: none; border-color: var(--bb-navy-l); box-shadow: 0 0 0 3px rgba(11, 42, 91, .16); }
html[dir="rtl"] .bb-h-field input[dir="ltr"]:placeholder-shown { text-align: right; }
.bb-h-formactions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
#bb-front-contact-status.hidden { display: none; }

/* project filter tabs: active state without depending on Tailwind classes */
.project-filter-btn.is-active { background: var(--bb-navy-l) !important; color: #fff !important; border-color: var(--bb-navy-l) !important; }

/* icons inside the new homepage blocks reserve their size before Lucide runs */
.bb-home i[data-lucide] { display: inline-block; width: 18px; height: 18px; flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) {
  .bb-h-btn, .bb-h-channel, .bb-sec-card { transition: none !important; }
}

/* project cards: equal photo height (the Tailwind height utilities are not in the purged build) */
.project-card-item > div:first-child > a:first-child { display: block; height: 216px; position: relative; overflow: hidden; }
.project-card-item > div:first-child > a:first-child > img { width: 100%; height: 100%; object-fit: cover; }
