/* =============================================================
   BEISP additions on top of the Inspire design system (style.css)
   Shared by all pages. Page-specific rules live in assets/css/pages/*.css
   ============================================================= */

/* ---------- Text brand mark (used when no logo is uploaded) ---------- */
.brand-mark { display: inline-flex; align-items: center; gap: 12px; line-height: 1; color: var(--ink); }
.brand-mark--light { color: #fff; }
.brand-mark__box { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--red-2), var(--red-dark)); color: #fff; display: grid; place-items: center; font-family: var(--ff-h); font-weight: 700; font-size: 22px; box-shadow: var(--sh-red); flex: none; }
.brand-mark__text b { display: block; font-family: var(--ff-h); font-size: 22px; letter-spacing: -.02em; }
.brand-mark__text small { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-top: 4px; }
.brand .brand-mark.brand__light { display: none; }
.header--dark .brand .brand-mark.brand__dark { display: none; }
.header--dark .brand .brand-mark.brand__light { display: inline-flex; }
.header.is-sticky .brand .brand-mark.brand__dark { display: inline-flex; }
.header.is-sticky .brand .brand-mark.brand__light { display: none; }
.header.is-sticky .brand-mark__box { width: 38px; height: 38px; font-size: 19px; }
.footer__brandlink { display: inline-block; margin-bottom: 22px; }
.footer__brandlink .brand-mark__box { width: 50px; height: 50px; }
.offcanvas__brand .brand-mark__box { width: 38px; height: 38px; font-size: 19px; }
.preloader__mark.brand-mark__box { width: 84px; height: 84px; font-size: 42px; border-radius: 22px; }
.preloader__mark--logo { width: auto; max-width: 160px; height: 84px; object-fit: contain; animation: none; }
@media (max-width: 720px) { .brand-mark__text small { display: none; } .brand-mark__text b { font-size: 19px; } }

/* ---------- EN / Bangla toggle (Google Translate) ---------- */
.lang-toggle { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .6); gap: 2px; }
.lang-toggle__btn { min-width: 40px; height: 32px; padding: 0 10px; border-radius: 999px; font-family: var(--ff-h); font-weight: 600; font-size: 13px; color: var(--ink); opacity: .65; transition: .25s var(--ease); }
.lang-toggle__btn:hover { opacity: 1; }
html:not(.lang-bn) .lang-toggle__btn[data-set-lang="en"],
html.lang-bn .lang-toggle__btn[data-set-lang="bn"] { background: var(--red); color: #fff; opacity: 1; }
.header--dark .lang-toggle { border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06); }
.header--dark .lang-toggle__btn { color: #fff; }
.header.is-sticky .lang-toggle { border-color: var(--line); background: #fff; }
.header.is-sticky .lang-toggle__btn { color: var(--ink); }
html:not(.lang-bn) .header .lang-toggle__btn[data-set-lang="en"],
html.lang-bn .header .lang-toggle__btn[data-set-lang="bn"] { color: #fff; }
.lang-toggle--topbar { padding: 2px; border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); margin-right: 14px; }
.lang-toggle--topbar .lang-toggle__btn { height: 24px; min-width: 36px; padding: 0 9px; font-size: 11.5px; color: #fff; }
.lang-toggle--block { display: flex; width: 100%; margin-bottom: 4px; }
.lang-toggle--block .lang-toggle__btn { flex: 1; height: 40px; }
@media (max-width: 400px) { .lang-toggle__btn { min-width: 34px; padding: 0 8px; } }

/* Hide Google Translate's own UI; keep only our toggle */
.gt-hidden { display: none !important; }
body { top: 0 !important; position: static; }
iframe.skiptranslate, .goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf, .VIpgJd-ZVi9od-l4eHX-hSRGPd { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* Bangla typography: Bengali font first, no negative tracking (breaks conjuncts) */
html.lang-bn body { font-family: "Noto Sans Bengali", var(--ff-b); }
html.lang-bn h1, html.lang-bn h2, html.lang-bn h3, html.lang-bn h4,
html.lang-bn .h-display, html.lang-bn .h2, html.lang-bn .hero__title, html.lang-bn .btn { font-family: "Noto Sans Bengali", var(--ff-h); letter-spacing: 0; }
html.lang-bn .h-display, html.lang-bn .hero__title, html.lang-bn .h2 { line-height: 1.25; }
html.lang-bn .eyebrow { letter-spacing: .04em; }

/* ---------- Uploaded logo on dark backgrounds ----------
   The logo keeps its own colours; a soft white halo lifts it off dark panels. */
.header--dark .brand img, .footer__logo, .offcanvas__logo, .preloader__mark--logo, .story__mark--logo {
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, .95)) drop-shadow(0 0 7px rgba(255, 255, 255, .8)) drop-shadow(0 0 20px rgba(255, 255, 255, .45));
}
.header.is-sticky .brand img { filter: none; }
.dark .brand img, .section.dark img.footer__logo { filter: drop-shadow(0 0 1px rgba(255, 255, 255, .95)) drop-shadow(0 0 7px rgba(255, 255, 255, .8)); }

/* ---------- Location picker (district > thana > area) ---------- */
.loc-picker__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.loc-picker__row:has(> .field[hidden]:nth-child(1):nth-last-child(3)) { gap: 0; }
.loc-picker__row .field[hidden] { display: none; }
.loc-picker__hint { margin-top: -6px; }
@media (max-width: 720px) { .loc-picker__row { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- Home video ---------- */
.vidsec__frame { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); box-shadow: var(--sh); aspect-ratio: 16 / 9; }
.vidsec__video { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--ink); }
.vidsec__play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; width: 100%; background: linear-gradient(180deg, rgba(3, 4, 28, .25), rgba(3, 4, 28, .55)); color: #fff; font-family: var(--ff-h); font-weight: 600; letter-spacing: .02em; transition: opacity .35s var(--ease), visibility .35s; }
.vidsec__play-circle { width: 84px; height: 84px; border-radius: 50%; background: var(--red); box-shadow: var(--sh-red); display: grid; place-items: center; transition: transform .35s var(--ease); }
.vidsec__play-circle .ic { width: 28px; height: 28px; margin-left: 4px; color: #fff; }
.vidsec__play-label { font-size: 14px; }
.vidsec__play-progress { font-size: 13px; opacity: .85; font-variant-numeric: tabular-nums; }
.vidsec__play:hover .vidsec__play-circle { transform: scale(1.08); }
.vidsec__play.is-hidden { opacity: 0; visibility: hidden; }
@media (max-width: 720px) { .vidsec__play-circle { width: 66px; height: 66px; } .vidsec__play-circle .ic { width: 24px; height: 24px; } }

/* ---------- Testimonial initials avatar ---------- */
.tcard__initials { width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--ff-h); font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--red-2), var(--red-dark)); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--red); }

/* ---------- Notices (form feedback) ---------- */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 14px; font-size: 14.5px; margin-bottom: 20px; line-height: 1.55; }
.notice .ic { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.notice ul { margin: 0; padding-left: 16px; list-style: disc; }
.notice--success { background: rgba(20, 183, 137, .1); color: #0b7a5b; border: 1px solid rgba(20, 183, 137, .3); }
.notice--error { background: rgba(225, 56, 50, .08); color: var(--red-dark); border: 1px solid rgba(225, 56, 50, .25); }
.dark .notice--success { color: #5ee0b8; }
.field .field__error { color: var(--red); font-size: 12.5px; margin-top: 6px; display: block; }
.field input.is-invalid, .field select.is-invalid, .field textarea.is-invalid { border-color: var(--red); }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; left: 22px; bottom: 22px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); transition: transform .3s var(--ease); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: translateY(-3px) scale(1.04); }
.wa-float__tip { position: absolute; left: 68px; white-space: nowrap; background: var(--ink); color: #fff; font-size: 12.5px; padding: 7px 12px; border-radius: 10px; opacity: 0; transform: translateX(-6px); transition: .3s var(--ease); pointer-events: none; }
.wa-float:hover .wa-float__tip { opacity: 1; transform: none; }
@media (max-width: 720px) { .wa-float { width: 50px; height: 50px; left: 14px; bottom: 14px; } .wa-float__tip { display: none; } }

/* ---------- Generic helpers used across BEISP pages ---------- */
.muted { color: var(--muted); }
.badge-soft { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(225, 56, 50, .1); color: var(--red); }
.badge-soft--green { background: rgba(20, 183, 137, .12); color: #0b7a5b; }
.badge-soft--grey { background: var(--grey); color: var(--text); }
.pagination-simple { display: flex; gap: 10px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination-simple a, .pagination-simple span { min-width: 42px; height: 42px; padding: 0 14px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); font-weight: 600; font-family: var(--ff-h); color: var(--ink); background: #fff; }
.pagination-simple .is-active { background: var(--red); border-color: var(--red); color: #fff; }
.pagination-simple .is-disabled { opacity: .45; }
