/* ============================================================
   BASIRA — Design system for WordPress / Bricks Builder
   Basira Centre for People with Disabilities — Doha, Qatar
   ------------------------------------------------------------
   Ported from the Claude Design prototype (colors_and_type.css
   + component styles). Every Bricks element in the imported
   templates references these `b-*` classes, so the design
   lives here — editable in one place.
   ============================================================ */

:root {
  /* ---- Brand core ---------------------------------------- */
  --teal:        #1B535A;
  --teal-700:    #16454B;
  --teal-900:    #0F3338;
  --teal-300:    #5C8A8F;
  --teal-100:    #DCE8E9;
  --teal-50:     #EEF4F4;

  --yellow:      #FACC10;
  --yellow-600:  #E0B400;
  --yellow-100:  #FEF3C8;

  --coral:       #EF996B;
  --coral-600:   #E07E4C;
  --coral-100:   #FBE6DA;

  /* ---- Playful accents ------------------------------------ */
  --cyan:        #4EC6DE;
  --green:       #30BE48;
  --pink:        #F389B1;
  --orange:      #F5A623;

  /* ---- Neutrals (warm, teal-tinted greys) ----------------- */
  --ink:         #1C2A2B;
  --ink-2:       #45575A;
  --ink-3:       #6E8085;
  --line:        #DCE3E3;
  --line-2:      #E9EEEE;
  --surface:     #FFFFFF;
  --surface-2:   #F6F9F9;
  --surface-3:   #EFF4F3;

  --fg1: var(--ink);
  --fg2: var(--ink-2);
  --fg3: var(--ink-3);
  --on-teal:   #FFFFFF;
  --on-yellow: var(--teal-900);
  --on-coral:  #FFFFFF;

  /* ---- Status --------------------------------------------- */
  --success:   #2FA64E;
  --success-bg:#E6F5EA;
  --warning:   #F5A623;
  --warning-bg:#FDF0D9;
  --error:     #E2563F;
  --error-bg:  #FBE7E2;
  --info:      var(--cyan);
  --info-bg:   #E4F6FA;

  /* ---- Typography ----------------------------------------- */
  --font-display: 'Poppins', system-ui, sans-serif;
  --font-body:    'Nunito Sans', system-ui, sans-serif;
  --font-arabic:  'Tajawal', system-ui, sans-serif;
  --font-accent:  'Playfair Display', Georgia, serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-md:   1.125rem;
  --text-lg:   1.375rem;
  --text-xl:   1.75rem;
  --text-2xl:  2.25rem;
  --text-3xl:  3rem;
  --text-4xl:  3.75rem;

  --leading-tight: 1.12;
  --leading-snug:  1.3;
  --leading-body:  1.6;

  /* ---- Radii / spacing / elevation ------------------------ */
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-pill: 999px;

  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  --shadow-sm: 0 1px 2px rgba(27,83,90,.06), 0 1px 3px rgba(27,83,90,.08);
  --shadow-md: 0 4px 12px rgba(27,83,90,.08), 0 2px 6px rgba(27,83,90,.06);
  --shadow-lg: 0 14px 34px rgba(27,83,90,.12), 0 6px 14px rgba(27,83,90,.07);
  --shadow-yellow: 0 8px 20px rgba(250,204,16,.35);
  --shadow-coral:  0 8px 20px rgba(239,153,107,.35);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* Arabic / RTL: rebind the font variables so every var(--font-*)
   reference resolves to Tajawal automatically. */
html[dir="rtl"] {
  --font-display: 'Tajawal', system-ui, sans-serif;
  --font-body:    'Tajawal', system-ui, sans-serif;
}

/* ============================================================
   Base
   ============================================================ */
body {
  font-family: var(--font-body);
  color: var(--fg1);
  background: var(--surface-2);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  margin: 0;
}
::selection { background: var(--yellow); color: var(--teal-900); }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); margin: 0; }

@keyframes basiraFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
main, #brx-content { animation: basiraFade .35s var(--ease); }

/* Neutralise Bricks' default section/container spacing so the
   b-* classes below fully control the layout. */
.brxe-section { padding: 0; display: block; }
.brxe-container { width: auto; }
.brxe-div { display: block; }

/* ============================================================
   Layout primitives
   ============================================================ */
.b-sec            { padding: var(--s-9) 0; position: relative; }
.b-sec--tight     { padding: var(--s-8) 0; }
.b-sec--tighter   { padding: var(--s-7) 0; }
.b-sec--white     { background: var(--surface); }
.b-sec--surface   { background: var(--surface-2); }
.b-sec--teal      { background: var(--teal); }
.b-sec--overflow  { overflow: hidden; }

.b-wrap, .brxe-container.b-wrap {
  max-width: 1120px; width: 100%; box-sizing: border-box;
  margin-left: auto; margin-right: auto;
  padding-left: 40px; padding-right: 40px;
  position: relative;
}
.b-wrap--narrow, .brxe-container.b-wrap--narrow { max-width: 820px; }

/* Grids */
.b-grid          { display: grid; gap: 24px; }
.b-grid--2       { grid-template-columns: 1fr 1fr; }
.b-grid--3       { grid-template-columns: repeat(3, 1fr); }
.b-grid--4       { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.b-grid--gap14   { gap: 14px; }
.b-grid--gap18   { gap: 18px; }
.b-grid--gap20   { gap: 20px; }
.b-grid--gap22   { gap: 22px; }
.b-grid--gap72   { gap: 72px; }
.b-grid--split   { grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.b-grid--about   { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.b-grid--approach{ grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.b-grid--who     { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.b-grid--formrail{ grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }

/* ============================================================
   Type helpers
   ============================================================ */
.b-eyebrow {
  font-family: var(--font-display); font-weight: 700; font-size: 12.5px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--coral-600);
}
.b-eyebrow--yellow { color: var(--yellow); }
.b-eyebrow--center { text-align: center; }

.b-h-display {
  font-family: var(--font-display); font-weight: 800; font-size: 38px;
  color: var(--teal); letter-spacing: -.02em; line-height: 1.12;
  margin: 12px 0 14px;
}
.b-h-display--36 { font-size: 36px; }
.b-h-display--32 { font-size: 32px; margin: 0 0 8px; }
.b-h-display--30 { font-size: 30px; line-height: 1.2; }
.b-h-display--nomb { margin-bottom: 0; }

.b-sub { font-size: 17px; line-height: 1.65; color: var(--fg2); margin: 0; }
.b-sub--md { font-size: 16.5px; line-height: 1.7; }
.b-body-lg { font-size: 17px; line-height: 1.75; color: var(--fg2); margin: 0 0 18px; }
.b-body-lg:last-child { margin-bottom: 0; }

/* Centered section head */
.b-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.b-head .b-eyebrow { text-align: center; }
.b-head .b-sub { margin: 0 auto; }

/* Yellow underline highlight (hero headline) */
.u-hl { position: relative; white-space: nowrap; z-index: 0; }
.u-hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 14px;
  background: var(--yellow); z-index: -1; border-radius: 8px;
}
html[dir="rtl"] .u-hl::after { bottom: 4px; }

.b-accent-script { font-family: var(--font-accent); font-style: italic; color: var(--coral); font-weight: 600; }

/* ============================================================
   Badges & pills
   ============================================================ */
.b-badge {
  font-family: var(--font-display); font-weight: 700; font-size: 12.5px;
  padding: 5px 13px; border-radius: var(--r-pill); display: inline-block;
  background: var(--teal-100); color: var(--teal);
}
.b-badge--coral  { background: var(--coral-100);  color: var(--coral-600); }
.b-badge--yellow { background: var(--yellow-100); color: #9A7A00; }
.b-badge--info   { background: var(--info-bg);    color: #1E93AE; }

.b-needinfo {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 700; font-size: 11.5px;
  color: #9A6B00; background: var(--warning-bg); border: 1px dashed var(--warning);
  padding: 3px 9px; border-radius: var(--r-pill); white-space: nowrap;
}

/* ============================================================
   Buttons  (apply to Bricks button elements)
   ============================================================ */
.brxe-button.b-btn, .b-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 0; cursor: pointer; font-family: var(--font-display); font-weight: 700;
  border-radius: var(--r-pill); padding: 13px 24px; font-size: 15.5px;
  line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background .15s var(--ease), transform .12s var(--ease), border-color .15s var(--ease);
}
.b-btn--sm { padding: 9px 16px;  font-size: 14px; }
.b-btn--lg { padding: 16px 30px; font-size: 17px; }

.b-btn--primary { background: var(--coral); color: #fff; box-shadow: var(--shadow-coral); }
.b-btn--primary:hover { background: var(--coral-600); color: #fff; }
.b-btn--teal    { background: var(--teal); color: #fff; }
.b-btn--teal:hover { background: var(--teal-700); color: #fff; }
.b-btn--yellow  { background: var(--yellow); color: var(--teal-900); }
.b-btn--yellow:hover { background: var(--yellow-600); color: var(--teal-900); }
.b-btn--ghost   { background: transparent; color: var(--teal); border: 1.5px solid var(--line); }
.b-btn--ghost:hover { background: var(--teal-50); border-color: var(--teal-300); color: var(--teal); }
.b-btn--white   { background: #fff; color: var(--teal); box-shadow: var(--shadow-sm); }
.b-btn--white:hover { background: #fff; transform: translateY(-1px); color: var(--teal); }
.b-btn--full { width: 100%; }

.b-btn i { font-size: 1.05em; }

/* Flip trailing arrow icons in RTL */
html[dir="rtl"] .b-btn i[class*="arrow-right"] { transform: scaleX(-1); }

/* Safety net: Bricks icon elements default to a large size — cap any
   icon this stylesheet hasn't explicitly sized. Context selectors
   below (.b-iconwell i, .b-trust__item i, …) override this. */
i.brxe-icon { font-size: 20px; }

/* ============================================================
   Header
   ============================================================ */
/* Sticky, and slides away on scroll-down / returns on scroll-up
   (the .b-hide class is toggled by assets/js/basira.js) */
#brx-header { position: sticky; top: 0; z-index: 50; transition: transform .28s var(--ease); }
#brx-header.b-hide { transform: translateY(-100%); }
.b-header {
  background: rgba(255,255,255,.93);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-2);
  position: relative;
}
.b-header__in {
  max-width: 1120px; margin: 0 auto; padding: 0 40px; height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}

/* Logo lockup — mark image comes from the child theme */
.b-logo { display: flex; align-items: center; gap: 12px; cursor: pointer; text-decoration: none; }
.b-logo__mark {
  width: 44px; height: 44px; flex: none;
  background: url(../img/basira-mark.png) center / contain no-repeat;
}
.b-logo__text { line-height: 1; display: flex; flex-direction: column; gap: 1px; }
.b-logo__name {
  font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 21px;
  letter-spacing: -.01em; color: var(--teal);
}
.b-logo__sub {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: 14.5px; color: var(--coral); margin-top: -1px;
}

.b-nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.b-nav a {
  font-family: var(--font-display); font-weight: 600; font-size: 14.5px;
  color: var(--ink-2); padding: 9px 13px; border-radius: var(--r-pill);
  text-decoration: none; white-space: nowrap;
  transition: background .15s, color .15s;
}
.b-nav a:hover, .b-nav a.active, .b-nav a[aria-current="page"] {
  background: var(--teal-50); color: var(--teal);
}

.b-header__actions { display: flex; align-items: center; gap: 12px; flex: none; }

/* Hamburger (injected by assets/js/basira.js on small screens) */
.b-burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; border: 0; cursor: pointer;
  background: transparent; border-radius: var(--r-md); flex: none;
}
.b-burger span {
  display: block; height: 2.5px; border-radius: 2px; background: var(--teal);
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.b-header.b-open .b-burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.b-header.b-open .b-burger span:nth-child(2) { opacity: 0; }
.b-header.b-open .b-burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.b-lang-btn {
  border: 1.5px solid var(--line); background: #fff; cursor: pointer; height: 40px;
  padding: 0 14px; border-radius: var(--r-pill); display: inline-flex; align-items: center;
  gap: 7px; font-family: var(--font-display); font-weight: 700; font-size: 13.5px;
  color: var(--teal); text-decoration: none;
}
.b-lang-btn:hover { background: var(--teal-50); color: var(--teal); }
.b-lang-btn i { font-size: 16px; color: var(--teal); }

/* ============================================================
   Trust strip
   ============================================================ */
.b-trust { background: #fff; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.b-trust__in {
  max-width: 1120px; margin: 0 auto; padding: 18px 40px;
  display: flex; flex-wrap: wrap; gap: 14px 36px; align-items: center; justify-content: space-between;
}
.b-trust__item { display: flex; align-items: center; gap: 10px; }
.b-trust__item i { color: var(--teal); font-size: 19px; }
.b-trust__item span {
  font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--teal-900);
}

/* ============================================================
   Hero (split variant)
   ============================================================ */
.b-hero { background: var(--surface-2); position: relative; overflow: hidden; }
.b-hero .b-grid--split { padding: 84px 0 92px; }
.b-hero__h1 {
  font-family: var(--font-display); font-weight: 800; font-size: 58px; line-height: 1.05;
  letter-spacing: -.025em; color: var(--teal); margin: 16px 0 0;
}
html[dir="rtl"] .b-hero__h1 { line-height: 1.18; letter-spacing: -.02em; }
.b-hero__lede { font-size: 19px; line-height: 1.65; color: var(--fg2); max-width: 480px; margin: 22px 0 30px; }
.b-hero__btns { display: flex; gap: 14px; flex-wrap: wrap; }

.b-stats { display: flex; gap: 28px; margin-top: 38px; flex-wrap: wrap; }
.b-stat__n { font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--coral); }
.b-stat__l { font-size: 13px; color: var(--fg3); max-width: 120px; }

/* Floating "now enrolling" badge card */
.b-hero__media { position: relative; }
.b-herobadge {
  position: absolute; bottom: -22px; inset-inline-start: -22px; background: #fff;
  border-radius: var(--r-lg); box-shadow: var(--shadow-md); padding: 14px 18px;
  display: flex; align-items: center; gap: 12px; z-index: 2;
}
.b-herobadge__icon {
  width: 42px; height: 42px; border-radius: 50%; background: var(--success-bg);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.b-herobadge__icon i { color: var(--success); font-size: 20px; }
.b-herobadge__t { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--teal); }
.b-herobadge__s { font-size: 12.5px; color: var(--fg3); }

/* ============================================================
   Photo frames
   ============================================================ */
.b-ph {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); background: var(--teal-100); display: block;
}
.b-ph img, .b-ph .brxe-image img, img.b-ph-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.b-ph--45  { aspect-ratio: 4/5; }
.b-ph--54  { aspect-ratio: 5/4; }
.b-ph--43  { aspect-ratio: 4/3; }
.b-ph--169 { aspect-ratio: 16/9; }
.b-ph--11  { aspect-ratio: 1/1; }
.b-ph--rlg    { border-radius: var(--r-lg); }
.b-ph--r0     { border-radius: 0; }
.b-ph--shsm   { box-shadow: var(--shadow-sm); }
.b-ph--shmd   { box-shadow: var(--shadow-md); }
.b-ph--flat   { box-shadow: none; }
.b-ph--pos70  img { object-position: 70% center; }

.b-ph__label {
  position: absolute; bottom: 12px; inset-inline-start: 14px; z-index: 2;
  font-family: var(--font-display); font-weight: 700; font-size: 12.5px; color: var(--teal);
  background: rgba(255,255,255,.92); padding: 6px 12px; border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
}

/* Service-detail floating icon chip over photo */
.b-ph__chip {
  position: absolute; top: 18px; inset-inline-start: 20px; width: 52px; height: 52px;
  border-radius: 14px; background: #fff; display: flex; align-items: center;
  justify-content: center; box-shadow: var(--shadow-sm); z-index: 2;
}
.b-ph__chip i { font-size: 24px; }

/* ============================================================
   Confetti shapes (decorative, aria-hidden divs)
   ============================================================ */
.b-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.b-shape { position: absolute; display: block; }

.b-shape--puzzle { width: var(--sz, 26px); height: var(--sz, 26px); background: var(--c, var(--yellow)); border-radius: calc(var(--sz, 26px) * .18); }
.b-shape--ring   { width: var(--sz, 24px); height: var(--sz, 24px); border-radius: 50%; border: max(3px, calc(var(--sz, 24px) * .16)) solid var(--c, var(--orange)); }
.b-shape--tri    { width: 0; height: 0;
  border-left: calc(var(--sz, 22px) / 2) solid transparent;
  border-right: calc(var(--sz, 22px) / 2) solid transparent;
  border-bottom: calc(var(--sz, 22px) * .86) solid var(--c, var(--green)); }
.b-shape--star   { color: var(--c, var(--pink)); font-size: var(--sz, 24px); line-height: 1; }
.b-shape--star::before { content: "\2726"; }
.b-shape--jig    { width: var(--sz, 26px); height: var(--sz, 26px); border: calc(var(--sz, 26px) * .12) solid var(--c, var(--cyan)); border-radius: calc(var(--sz, 26px) * .18); }
.b-shape--jig::after { content: ""; position: absolute; width: calc(var(--sz, 26px) * .36); height: calc(var(--sz, 26px) * .36);
  border: calc(var(--sz, 26px) * .12) solid var(--c, var(--cyan)); border-radius: 50%; background: var(--surface-2);
  inset-inline-end: calc(var(--sz, 26px) * -.3); top: calc(var(--sz, 26px) * .2); }
.b-shape--brush  { width: calc(var(--sz, 30px) * 1.3); height: calc(var(--sz, 30px) * .55); background: var(--c, var(--coral));
  border-radius: 0 0 40px 40px / 0 0 60% 60%; transform: rotate(-8deg); }

/* -- Per-section confetti placements (mirrors the prototype) -- */
/* Hero */
.c-hero-1 { --sz:30px; --c:var(--yellow); inset-inline-start: 6%; top: 90px;  transform: rotate(12deg); }
.c-hero-2 { --sz:26px; --c:var(--orange); inset-inline-start: 2%; top: 230px; }
.c-hero-3 { --sz:22px; --c:var(--green);  inset-inline-end: 44%;  top: 60px; }
.c-hero-4 { --sz:26px; --c:var(--pink);   inset-inline-end: 6%;   bottom: 120px; }
.c-hero-5 { --sz:28px; --c:var(--cyan);   inset-inline-end: 10%;  top: 70px; }
.c-hero-6 { --sz:30px; --c:var(--coral);  inset-inline-start: 40%; bottom: 50px; }
/* Page hero */
.c-page-1 { --sz:26px; --c:var(--yellow); inset-inline-start: 8%; top: 44px; transform: rotate(12deg); }
.c-page-2 { --sz:22px; --c:var(--pink);   inset-inline-end: 10%;  top: 56px; }
.c-page-3 { --sz:24px; --c:var(--cyan);   inset-inline-end: 20%;  bottom: 26px; }
/* Quote band (on teal) */
.c-quote-1 { --sz:30px; --c:rgba(255,255,255,.18); inset-inline-start: 4%; top: 40px; }
.c-quote-2 { --sz:24px; --c:var(--yellow);          inset-inline-end: 8%;  top: 50px; }
.c-quote-3 { --sz:22px; --c:rgba(255,255,255,.16);  inset-inline-end: 20%; bottom: 30px; }
.c-quote-4 { --sz:22px; --c:rgba(250,204,16,.5);    inset-inline-start: 16%; bottom: 36px; transform: rotate(12deg); }
/* CTA band */
.c-cta-1 { --sz:26px; --c:var(--yellow); inset-inline-end: 220px; top: 24px; transform: rotate(14deg); }
.c-cta-2 { --sz:22px; --c:var(--teal);   inset-inline-end: 60px;  bottom: 20px; }
.c-cta-3 { --sz:22px; --c:var(--pink);   inset-inline-end: 180px; bottom: 26px; }
/* About-strip photo corner */
.c-about-1 { --sz:24px; --c:var(--yellow); inset-inline-end: -10px; top: -10px; transform: rotate(12deg); z-index: 2; }

/* ============================================================
   Cards
   ============================================================ */
.b-card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }

/* Tints + icon colours */
.b-tint--teal   { background: var(--teal-100); }
.b-tint--teal50 { background: var(--teal-50); }
.b-tint--yellow { background: var(--yellow-100); }
.b-tint--coral  { background: var(--coral-100); }
.b-tint--info   { background: var(--info-bg); }
.b-fg--teal   { color: var(--teal); }
.b-fg--gold   { color: #9A7A00; }
.b-fg--coral  { color: var(--coral-600); }
.b-fg--cyan   { color: #1E93AE; }

/* Icon wells */
.b-iconwell {
  width: 48px; height: 48px; border-radius: 13px; background: var(--teal-50);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.b-iconwell i { color: var(--teal); font-size: 22px; }
.b-iconwell--44 { width: 44px; height: 44px; border-radius: 12px; }
.b-iconwell--56 { width: 56px; height: 56px; border-radius: 16px; }
.b-iconwell--56 i { font-size: 26px; }
.b-iconwell--coral { background: var(--coral-100); }
.b-iconwell--coral i { color: var(--coral-600); }

/* Service card (overview grid) */
.b-svc-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease); text-decoration: none; display: block; color: inherit; }
.b-svc-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.b-svc-card__top { height: 90px; position: relative; display: flex; align-items: center; padding-inline-start: 22px; }
.b-svc-card__icon { width: 52px; height: 52px; border-radius: 14px; background: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.b-svc-card__icon i { font-size: 24px; }
.b-svc-card__num { position: absolute; inset-inline-end: 18px; bottom: 12px;
  font-family: var(--font-display); font-weight: 800; font-size: 26px; color: rgba(255,255,255,.55); }
.b-svc-card__shape { inset-inline-end: 20px; top: 18px; transform: rotate(10deg); --sz: 22px; }
.b-svc-card__body { padding: 18px 22px 22px; }
.b-svc-card__body .b-eyebrow { font-size: 11px; }
.b-svc-card__title { font-family: var(--font-display); font-weight: 700; font-size: 18.5px;
  color: var(--teal); margin: 7px 0 8px; line-height: 1.25; }
.b-svc-card__desc { font-size: 14.5px; line-height: 1.55; color: var(--fg2); margin: 0; }
.b-svc-card__more { display: flex; align-items: center; gap: 7px; margin-top: 16px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--coral-600); }
html[dir="rtl"] .b-svc-card__more i { transform: scaleX(-1); }

/* Vision / mission cards */
.b-vm-card { background: #fff; border-radius: var(--r-xl); padding: 38px 36px;
  box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.b-vm-card__body { font-family: var(--font-display); font-weight: 600; font-size: 21px;
  line-height: 1.5; color: var(--teal-900); margin: 12px 0 0; letter-spacing: -.01em; }
.b-vm-card .b-iconwell--56 { margin-bottom: 20px; }
.b-eyebrow--teal { color: var(--teal); }

/* Why / feature card */
.b-why-card { background: #fff; border-radius: var(--r-lg); padding: 26px 24px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px; }
.b-why-card h4 { font-weight: 700; font-size: 17.5px; color: var(--teal-900); margin: 0; line-height: 1.3; }
.b-why-card p { font-size: 14.5px; line-height: 1.55; color: var(--fg2); margin: 0; }

/* Approach / steps card */
.b-step-card { background: #fff; border-radius: var(--r-lg); padding: 22px 20px; box-shadow: var(--shadow-sm); position: relative; }
.b-step-card__row { display: flex; align-items: center; justify-content: space-between; }
.b-step-card__num { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--line); }
.b-step-card h4 { font-weight: 700; font-size: 17px; color: var(--teal-900); margin: 16px 0 6px; }
.b-step-card p { font-size: 13.5px; line-height: 1.5; color: var(--fg2); margin: 0; }
.b-step-card--pad { padding: 24px 22px; }
.b-step-card--pad .b-step-card__num { position: absolute; top: 18px; inset-inline-end: 20px; font-size: 20px; }
.b-step-card--pad .b-iconwell { margin-bottom: 16px; }
.b-step-card--pad p { font-size: 14px; }

/* Target-group chip */
.b-chip { display: flex; align-items: center; gap: 14px; background: #fff;
  border-radius: var(--r-md); padding: 16px 18px; box-shadow: var(--shadow-sm); }
.b-chip span { font-family: var(--font-display); font-weight: 600; font-size: 15.5px;
  color: var(--teal-900); line-height: 1.3; }

/* Testimonial card */
.b-quote-card { background: #fff; border-radius: var(--r-lg); padding: 26px 24px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px; }
.b-quote-card > i { color: var(--yellow); font-size: 24px; }
.b-quote-card__q { font-family: var(--font-display); font-weight: 500; font-size: 16px;
  line-height: 1.5; color: var(--teal-900); margin: 0; flex: 1; }
.b-quote-card__who { display: flex; align-items: center; gap: 12px; }
.b-avatar { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: #fff; font-family: var(--font-display); font-weight: 800; flex: none; }
.b-avatar--coral { background: var(--coral); }
.b-avatar--teal { background: var(--teal); }
.b-avatar--yellow { background: var(--yellow-600); }
.b-quote-card__name { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: var(--teal); }
.b-quote-card__role { font-size: 12.5px; color: var(--fg3); }

/* News card */
.b-news-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease); display: block; color: inherit; text-decoration: none; }
.b-news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.b-news-card__body { padding: 18px 22px 22px; }
.b-news-card__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.b-news-card__date { font-size: 12.5px; color: var(--fg3); font-weight: 600; }
.b-news-card__title { font-family: var(--font-display); font-weight: 700; font-size: 18px;
  color: var(--teal); margin: 0 0 8px; line-height: 1.3; }
.b-news-card__desc { font-size: 14.5px; line-height: 1.55; color: var(--fg2); margin: 0; }

/* Team card */
.b-team-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.b-team-card__ph { aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; position: relative; }
.b-mark-img { width: 42%; aspect-ratio: 1/1; opacity: .85;
  background: url(../img/basira-mark.png) center / contain no-repeat; }
.b-team-card__body { padding: 18px 22px 22px; }
.b-team-card__name { font-family: var(--font-display); font-weight: 700; font-size: 17.5px;
  color: var(--teal); margin: 0 0 4px; line-height: 1.3; }
.b-team-card__role { font-size: 14px; color: var(--coral-600); font-weight: 600; margin: 0; }

/* ============================================================
   Quote band / CTA band
   ============================================================ */
.b-quoteband { text-align: center; max-width: 800px; margin: 0 auto; position: relative; }
.b-quoteband > i { color: var(--yellow); font-size: 38px; }
.b-quoteband__q { font-family: var(--font-display); font-weight: 600; font-size: 28px;
  line-height: 1.45; color: #fff; margin: 18px 0 0; letter-spacing: -.01em; }

.b-cta { background: var(--coral-100); border-radius: var(--r-xl); padding: 48px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  position: relative; overflow: hidden; flex-wrap: wrap; }
.b-cta__text { position: relative; }
.b-cta__text p { font-size: 17px; color: var(--teal-900); margin: 0; max-width: 480px; }
.b-cta .b-btn { flex: none; position: relative; }

/* ============================================================
   Page hero (inner pages)
   ============================================================ */
.b-pagehero { background: var(--surface-2); position: relative; overflow: hidden; }
.b-pagehero__in { max-width: 820px; margin: 0 auto; padding: 72px 40px 32px; text-align: center; position: relative; }
.b-pagehero__h1 { font-family: var(--font-display); font-weight: 800; font-size: 46px;
  color: var(--teal); letter-spacing: -.025em; margin: 12px 0 14px; line-height: 1.1; }
.b-pagehero__sub { font-size: 18px; line-height: 1.65; color: var(--fg2); max-width: 600px; margin: 0 auto; }

/* ============================================================
   Services page
   ============================================================ */
/* Sticky under the header; when the header slides away on scroll-down
   (body.b-header-hidden, toggled by assets/js/basira.js) the jump nav
   moves up to the viewport edge so no gap is left behind. */
.b-jumpnav { background: #fff; border-bottom: 1px solid var(--line-2); position: sticky; top: 76px; z-index: 20;
  transition: top .28s var(--ease); }
body.b-header-hidden .b-jumpnav { top: 0; }
.b-jumpnav__in { max-width: 1120px; margin: 0 auto; padding: 12px 40px; display: flex;
  gap: 8px; flex-wrap: wrap; justify-content: center; }
.b-jumpnav a { text-decoration: none; font-family: var(--font-display); font-weight: 600;
  font-size: 13.5px; color: var(--teal); background: var(--teal-50); padding: 7px 14px; border-radius: var(--r-pill); }
.b-jumpnav a:hover { background: var(--teal-100); }

.b-svcdet { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; scroll-margin-top: 140px; }
.b-svcdet--flip .b-svcdet__media { order: 2; }
.b-svcdet__desc { font-size: 16.5px; line-height: 1.7; color: var(--fg2); margin: 0 0 22px; font-style: italic; }
.b-svcdet h2 { font-weight: 800; font-size: 30px; color: var(--teal); letter-spacing: -.02em;
  margin: 14px 0 12px; line-height: 1.2; }

/* Check list (rich-text ul) */
ul.b-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
ul.b-checks li { position: relative; padding-inline-start: 38px; font-size: 15.5px;
  line-height: 1.5; color: var(--teal-900); font-weight: 500; min-height: 26px; }
ul.b-checks li::before { content: "\2713"; position: absolute; inset-inline-start: 0; top: 1px;
  width: 26px; height: 26px; border-radius: 8px; background: var(--tint, var(--teal-100));
  color: var(--fgc, var(--teal)); font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center; }
.b-checks--teal   { --tint: var(--teal-100);   --fgc: var(--teal); }
.b-checks--yellow { --tint: var(--yellow-100); --fgc: #9A7A00; }
.b-checks--coral  { --tint: var(--coral-100);  --fgc: var(--coral-600); }
.b-checks--info   { --tint: var(--info-bg);    --fgc: #1E93AE; }

/* Icon-tile fallback (services without a photo) */
.b-svctile { border-radius: var(--r-xl); aspect-ratio: 1/1; display: flex; align-items: center;
  justify-content: center; position: relative; overflow: hidden; box-shadow: var(--shadow-md); }
.b-svctile__icon { width: 96px; height: 96px; border-radius: 26px; background: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.b-svctile__icon i { font-size: 44px; }
.b-svctile__num { position: absolute; top: 20px; inset-inline-start: 24px;
  font-family: var(--font-display); font-weight: 800; font-size: 64px; color: rgba(255,255,255,.5); }
.b-svctile .b-shape { inset-inline-end: 28px; bottom: 28px; transform: rotate(10deg); --sz: 30px; }

/* ============================================================
   FAQ (native <details> accordion, styled)
   ============================================================ */
.b-faq { display: grid; gap: 14px; }
details.b-faq__item { background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-sm); overflow: hidden; }
details.b-faq__item summary { list-style: none; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: 16.5px; color: var(--teal-900); }
details.b-faq__item summary::-webkit-details-marker { display: none; }
details.b-faq__item summary::after { content: "+"; flex: none; width: 32px; height: 32px;
  border-radius: 50%; background: var(--teal-50); color: var(--teal); font-weight: 600;
  font-size: 18px; display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s; font-family: var(--font-body); }
details.b-faq__item[open] summary::after { content: "\2212"; background: var(--teal); color: #fff; }
details.b-faq__item .b-faq__a { padding: 0 24px 22px; }
details.b-faq__item .b-faq__a p { font-size: 15.5px; line-height: 1.7; color: var(--fg2); margin: 0; }

/* ============================================================
   Forms (Bricks form element)
   ============================================================ */
.b-formcard { background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  padding: 32px; position: relative; overflow: hidden; }
.b-form .form-group label, .b-form label {
  display: block; font-family: var(--font-display); font-weight: 600; font-size: 13.5px;
  color: var(--teal-900); margin-bottom: 7px;
}
.b-form input[type="text"], .b-form input[type="email"], .b-form input[type="tel"],
.b-form input[type="number"], .b-form select, .b-form textarea {
  width: 100%; box-sizing: border-box; font-family: var(--font-body); font-size: 15px;
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-md);
  color: var(--ink); background: #fff; outline: none; line-height: 1.4;
}
.b-form input:focus, .b-form select:focus, .b-form textarea:focus { border-color: var(--teal-300); }
.b-form textarea { resize: vertical; min-height: 84px; }
.b-form button[type="submit"], .b-form .bricks-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%;
  border: 0; cursor: pointer; font-family: var(--font-display); font-weight: 700;
  border-radius: var(--r-pill); padding: 16px 30px; font-size: 17px;
  background: var(--coral); color: #fff; box-shadow: var(--shadow-coral);
  transition: background .15s var(--ease); margin-top: 6px;
}
.b-form button[type="submit"]:hover, .b-form .bricks-button:hover { background: var(--coral-600); }
.b-form__note { font-size: 12.5px; color: var(--fg3); text-align: center; margin: 14px 0 0; }

/* ============================================================
   Contact page
   ============================================================ */
.b-notice { background: var(--warning-bg); border: 1px dashed var(--warning); border-radius: var(--r-md);
  padding: 14px 20px; display: flex; align-items: center; gap: 12px; margin-bottom: 36px; }
.b-notice i { color: #9A6B00; font-size: 19px; flex: none; }
.b-notice span { font-size: 14.5px; color: #7A5500; font-weight: 600; line-height: 1.5; }

.b-contactcard { background: #fff; border-radius: var(--r-xl); padding: 36px; box-shadow: var(--shadow-md); }
.b-clines { display: grid; gap: 14px; }
.b-cline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.b-cline__icon { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--teal-50);
  display: flex; align-items: center; justify-content: center; }
.b-cline__icon i { color: var(--teal); font-size: 18px; }
.b-cline .b-cline__v { font-size: 15px; color: var(--ink-2); font-weight: 600;
  text-decoration: none; line-height: 1.4; flex: 1; min-width: 0; }
a.b-cline__v:hover { color: var(--teal); }

.b-socials { display: flex; gap: 10px; }
.b-socials a { width: 40px; height: 40px; border-radius: 50%; background: var(--teal-50);
  display: flex; align-items: center; justify-content: center; font-family: 'Poppins', sans-serif;
  font-weight: 700; font-size: 13px; color: var(--teal); text-decoration: none; }
.b-socials a:hover { background: var(--teal-100); color: var(--teal); }

/* Map placeholder */
.b-map { background: var(--teal-100); border-radius: var(--r-xl); box-shadow: var(--shadow-md);
  position: relative; overflow: hidden; min-height: 420px; display: flex; align-items: center;
  justify-content: center; height: 100%; }
.b-map::before { content: ""; position: absolute; inset: 0; opacity: .7;
  background-image: linear-gradient(var(--teal-50) 1.5px, transparent 1.5px),
                    linear-gradient(90deg, var(--teal-50) 1.5px, transparent 1.5px);
  background-size: 46px 46px; }
.b-map__road-h { position: absolute; inset-inline: 0; top: 42%; height: 16px; background: #fff; opacity: .55; }
.b-map__road-v { position: absolute; top: 0; bottom: 0; inset-inline-start: 58%; width: 16px; background: #fff; opacity: .55; }
.b-map__center { position: relative; text-align: center; }
.b-map__pin { width: 56px; height: 56px; border-radius: 50% 50% 50% 0; background: var(--coral);
  display: inline-flex; align-items: center; justify-content: center; transform: rotate(-45deg);
  box-shadow: var(--shadow-md); }
.b-map__pin i { transform: rotate(45deg); color: #fff; font-size: 24px; }
.b-map__t { margin-top: 14px; font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--teal); }
.b-map__addr { margin: 6px auto 0; font-size: 13.5px; font-weight: 600; color: var(--teal-900);
  max-width: 300px; line-height: 1.5; }

/* Join-us panel (team page) */
.b-joincard { background: var(--teal-50); border-radius: var(--r-xl); padding: 40px 44px;
  text-align: center; max-width: 760px; margin: 0 auto; }
.b-joincard > i { color: var(--teal); font-size: 32px; }
.b-joincard h3 { font-weight: 700; font-size: 22px; color: var(--teal); margin: 12px 0 8px; }
.b-joincard p { font-size: 16px; line-height: 1.6; color: var(--fg2); margin: 0 0 20px; }

/* ============================================================
   Footer
   ============================================================ */
.b-footer { background: var(--teal-900); color: rgba(255,255,255,.8); }
.b-footer__in { max-width: 1120px; margin: 0 auto; padding: 56px 40px 30px;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.b-footer__mark { width: 132px; height: 56px; margin-bottom: 14px;
  background: url(../img/basira-mark-text-white.png) 0 50% / contain no-repeat; }
html[dir="rtl"] .b-footer__mark { background-position: 100% 50%; }
.b-footer__about { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.66);
  max-width: 280px; margin: 0 0 16px; }
.b-footer__h { font-family: var(--font-display); font-weight: 700; font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.b-footer__col a { display: block; font-size: 14px; padding: 5px 0; color: rgba(255,255,255,.66); text-decoration: none; }
.b-footer__col a:hover { color: #fff; }
.b-footer .b-socials a { background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); font-size: 12.5px; }
.b-footer .b-socials a:hover { background: rgba(255,255,255,.16); color: #fff; }
.b-footer__bar { border-top: 1px solid rgba(255,255,255,.1); }
.b-footer__bar-in { max-width: 1120px; margin: 0 auto; padding: 18px 40px; display: flex;
  justify-content: space-between; align-items: center; font-size: 13px;
  color: rgba(255,255,255,.5); gap: 16px; flex-wrap: wrap; }
.b-footer__bar-in a { color: rgba(255,255,255,.5); text-decoration: none; }
.b-footer__bar-in a:hover { color: #fff; }
.b-footer__legal { display: flex; gap: 20px; }

/* ============================================================
   Text on teal helpers
   ============================================================ */
.b-on-teal        { color: #fff; }
.b-on-teal-sub    { color: rgba(255,255,255,.82); }
.b-on-teal-faint  { color: rgba(255,255,255,.7); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1240px) {
  /* Keep the header on one line: tighten nav pills before wrapping */
  .b-nav a { padding: 8px 9px; font-size: 13.5px; }
  .b-header__in { gap: 10px; }
  .b-lang-btn { padding: 0 11px; }
}
@media (max-width: 1100px) {
  .b-hero__h1 { font-size: 48px; }
}
@media (max-width: 991px) {
  .b-grid--3, .b-grid--4 { grid-template-columns: 1fr 1fr; }
  .b-grid--split, .b-grid--about, .b-grid--approach, .b-grid--who,
  .b-grid--formrail, .b-svcdet { grid-template-columns: 1fr; }
  .b-svcdet--flip .b-svcdet__media { order: 0; }
  .b-hero .b-grid--split { padding: 56px 0 64px; }
  .b-hero__h1 { font-size: 42px; }
  .b-pagehero__h1 { font-size: 38px; }

  /* Compact header: logo + CTA + hamburger; nav collapses into a panel */
  .b-header__in { height: 62px; gap: 10px; }
  .b-burger { display: flex; }
  .b-nav { display: none; }
  .b-header.b-open .b-nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line-2);
    box-shadow: var(--shadow-md); padding: 10px 16px 16px;
  }
  .b-header.b-open .b-nav a { font-size: 16px; padding: 12px 14px; border-radius: var(--r-md); }
  .b-logo__mark { width: 38px; height: 38px; }
  .b-logo__name { font-size: 18px; }
  .b-logo__sub { font-size: 12.5px; }

  .b-footer__in { grid-template-columns: 1fr 1fr; }
  .b-sec { padding: var(--s-8) 0; }
  .b-jumpnav { top: 62px; } /* compact header height, so the revealed header doesn't cover it */
}
@media (max-width: 520px) {
  /* Very small screens: drop the lang label to just the icon-sized pill */
  .b-header__actions .b-btn--sm { padding: 9px 13px; font-size: 13px; }
  .b-lang-btn { padding: 0 10px; }
}
@media (max-width: 640px) {
  .b-grid--2, .b-grid--3, .b-grid--4 { grid-template-columns: 1fr; }
  .brxe-container.b-wrap, .b-header__in, .b-trust__in, .b-footer__in,
  .b-footer__bar-in, .b-pagehero__in, .b-jumpnav__in { padding-left: 20px; padding-right: 20px; }
  .b-hero__h1 { font-size: 34px; }
  .b-pagehero__h1 { font-size: 31px; }
  .b-h-display, .b-h-display--36 { font-size: 28px; }
  .b-quoteband__q { font-size: 21px; }
  .b-cta { padding: 32px 24px; }
  .b-footer__in { grid-template-columns: 1fr; }
  .b-herobadge { inset-inline-start: 8px; }
  .b-sec { padding: var(--s-7) 0; }
}
