/* বাংলা সংখ্যা (০–৯) পরিষ্কার দেখাতে — শুধু সংখ্যার জন্য ছোট ফন্ট (Noto Sans Bengali থেকে) */
@font-face { font-family: "BnDigits"; src: url("../fonts/bn-digits-400.woff2") format("woff2"); font-weight: 400 500; unicode-range: U+09E6-09EF; font-display: swap; }
@font-face { font-family: "BnDigits"; src: url("../fonts/bn-digits-600.woff2") format("woff2"); font-weight: 600; unicode-range: U+09E6-09EF; font-display: swap; }
@font-face { font-family: "BnDigits"; src: url("../fonts/bn-digits-700.woff2") format("woff2"); font-weight: 700 900; unicode-range: U+09E6-09EF; font-display: swap; }

/* =========================================================
   হিন্দু বিবাহ নিবন্ধক, মুন্সীগঞ্জ — Single Page Website
   Developed by SoftVerse IT
   ========================================================= */

/* ---------- 1. Design tokens (এখান থেকে রঙ/ফন্ট বদলান) ---------- */
:root {
  /* নতুন প্যালেট: রাতের নীল + সিঁদুর-গোলাপি + জাফরান */
  --maroon: #E0245E;        /* primary — সিঁদুর গোলাপি */
  --maroon-dark: #A3123F;
  --gold: #F59E0B;          /* accent — জাফরান */
  --gold-soft: #FFF1D6;
  --cream: #FBF8F4;
  --white: #FFFFFF;
  --ink: #0F172A;
  --muted: #5B6476;
  --line: #ECE5DC;
  --night: #0B0F1F;         /* গাঢ় সেকশন */
  --night-2: #151A30;
  --grad: linear-gradient(120deg, #FFB547 0%, #FF6B6B 45%, #E0245E 100%);
  --whatsapp: #25D366;

  --font-body: "BnDigits", "Hind Siliguri", "Poppins", system-ui, sans-serif;
  --font-head: "BnDigits", "Hind Siliguri", "Poppins", sans-serif;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --header-h: 72px;
  --container: 1180px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  overflow-x: clip;
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { font-family: "Poppins", var(--font-body); font-size: 16px; }

img { max-width: 100%; display: block; }
a { color: var(--maroon); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.35; margin: 0 0 .5em; color: var(--ink); }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { font-family: "Poppins", sans-serif; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }

/* স্টিকি হেডারের নিচে সেকশন যেন ঢেকে না যায় */
section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--maroon); color: #fff; }
.btn-primary:hover { background: var(--maroon-dark); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp svg, .float-wa svg { fill: currentColor; stroke: none; }
.btn-primary svg { fill: currentColor; stroke: none; }
.btn-gold { background: var(--grad); color: #fff; }
.btn-outline { background: transparent; color: var(--maroon); border-color: var(--maroon); }
.btn-outline:hover { background: var(--maroon); color: #fff; }

/* ---------- 4. Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 238, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 2px 14px rgba(75,30,20,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--maroon); min-width: 0; }
.brand-mark svg { width: 38px; height: 38px; stroke: var(--gold); }
.site-header { background: rgba(251,248,244,.85); }
.brand-mark svg path { fill: var(--maroon); stroke: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-family: var(--font-head); font-size: 1.05rem; }
.brand-text small { color: var(--muted); font-size: .8rem; }

.main-nav { display: flex; gap: 4px; }
.nav-link {
  position: relative; padding: 8px 12px; border-radius: 8px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem;
}
.nav-link:hover { color: var(--maroon); }
.nav-link.active { color: var(--maroon); }
.nav-link.active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px;
  height: 2px; background: var(--gold); border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-toggle {
  border: 1.5px solid var(--maroon); background: transparent; color: var(--maroon);
  font: 600 .85rem "Poppins", sans-serif; padding: 6px 12px; border-radius: 999px; cursor: pointer;
}
.lang-toggle:hover { background: var(--maroon); color: #fff; }

.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; padding: 9px; }
.menu-toggle span { display: block; height: 2px; background: var(--maroon); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 5. Hero (dark, modern) ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 72px 0 96px; color: #E7E9F3;
  background: var(--night);
}
.hero::before { /* গ্রেডিয়েন্ট আলো */
  content: ""; position: absolute; inset: -20%; z-index: -2;
  background:
    radial-gradient(40% 45% at 78% 35%, rgba(224,36,94,.45), transparent 70%),
    radial-gradient(35% 40% at 92% 85%, rgba(245,158,11,.35), transparent 70%),
    radial-gradient(35% 45% at 5% 10%, rgba(99,102,241,.30), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
.hero::after { /* সূক্ষ্ম গ্রিড */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 30%, transparent 75%);
}
@keyframes drift { to { transform: translate(-4%, 3%) scale(1.06); } }

.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 7px 16px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #FFE2B0;
  font-weight: 600; font-size: .9rem; backdrop-filter: blur(6px);
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 4px rgba(52,211,153,.2); }
.hero h1 { font-size: clamp(2.2rem, 5.6vw, 3.9rem); color: #fff; line-height: 1.2; margin-bottom: .35em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-name { font-size: 1.12rem; font-weight: 600; color: #fff; }
.hero-lead { color: #AEB4C8; font-size: 1.08rem; max-width: 44ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.hero .btn-primary { background: var(--grad); box-shadow: 0 10px 30px rgba(224,36,94,.35); }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-facts li {
  display: flex; flex-direction: column; padding: 10px 18px; border-radius: 14px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
}
.hero-facts span { font-size: .82rem; color: #9097AE; }
.hero-facts strong { font-weight: 600; color: #fff; }

.hero-art { position: relative; max-width: 460px; margin-left: auto; width: 100%; }
.hero-art img { position: relative; width: 100%; height: auto; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
@keyframes float { 50% { transform: translateY(-10px); } }
.hero-art-glow { position: absolute; inset: 12% 8%; border-radius: 50%; background: var(--grad); filter: blur(70px); opacity: .35; }

.appointment-card {
  position: absolute; left: -36px; bottom: 6%; display: flex; gap: 14px; align-items: center;
  max-width: 330px; padding: 14px 18px; border-radius: 18px;
  background: rgba(21,26,48,.72); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
}
.ac-seal { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.ac-seal svg { width: 26px; height: 26px; }
.ac-label { margin: 0; color: #9097AE; font-size: .78rem; }
.ac-number { font-family: "Poppins", sans-serif; font-size: 1rem; font-weight: 600; color: #fff; margin: 0; letter-spacing: .02em; word-break: break-word; }
.ac-law { font-size: .78rem; color: #C5CAD9; margin: 2px 0 0; line-height: 1.45; }

/* ---------- 6. Sections ---------- */
.section { padding: 84px 0; }
.section-tint { background: linear-gradient(180deg, #FFFFFF, #FFF7F0); }
.section-head { text-align: center; margin-bottom: 44px; }
.eyebrow { display: inline-block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; letter-spacing: .04em; margin-bottom: 6px; font-size: .95rem; }
.section-head h2::after {
  content: ""; display: block; width: 64px; height: 3px; margin: 14px auto 0;
  background: linear-gradient(90deg, var(--maroon), var(--gold)); border-radius: 2px;
}

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: center; }
.about-photo { position: relative; }
.about-photo::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--gold); border-radius: 20px; z-index: -1;
}
.photo-placeholder, .about-photo img {
  aspect-ratio: 4/5; width: 100%; border-radius: 20px; object-fit: cover;
  background: linear-gradient(160deg, var(--gold-soft), #f7ead3);
  display: grid; place-items: center; color: var(--gold);
}
.photo-placeholder svg { width: 40%; height: 40%; stroke-width: 1.2; }
.about-role { color: var(--maroon); font-weight: 600; }
.info-list { margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.info-list div { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.info-list dt { font-size: .82rem; color: var(--muted); }
.info-list dd { margin: 0; font-weight: 600; }

/* Services */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--grad); color: #fff; box-shadow: 0 8px 18px rgba(224,36,94,.25);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card p { color: var(--muted); font-size: .97rem; margin: 0; }

/* Process timeline */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; position: relative; }
.timeline::before {
  content: ""; position: absolute; top: 26px; left: 7%; right: 7%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 14px);
}
.timeline li { position: relative; text-align: center; }
.step-no {
  position: relative; z-index: 1; display: grid; place-items: center; margin: 0 auto 14px;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--grad); color: #fff; font: 700 1.3rem var(--font-head);
  box-shadow: 0 0 0 6px var(--cream);
}
.timeline h3 { font-size: 1rem; margin-bottom: 4px; }
.timeline p { font-size: .88rem; color: var(--muted); margin: 0; line-height: 1.6; }
.note {
  margin: 40px auto 0; max-width: 820px; padding: 16px 20px; border-radius: 12px;
  background: var(--gold-soft); color: var(--maroon-dark); font-size: .95rem; text-align: center;
}

/* Documents */
#documents .section-head { position: relative; }
.print-btn { margin-top: 8px; padding: .55em 1.2em; font-size: .92rem; }
.docs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.doc-card { background: var(--cream); border: 1px solid var(--line); border-left: 4px solid var(--maroon); border-radius: var(--radius); padding: 24px; }
.doc-card h3 { display: flex; align-items: center; gap: 10px; }
.doc-no { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--gold); color: #fff; font-size: .95rem; }
.doc-card p { margin: 0; }
.doc-hint { margin-top: 10px !important; font-size: .9rem; color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 8px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 5px;
  background: var(--maroon) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat;
}
.extra-info { margin-top: 24px; background: var(--white); border: 1.5px dashed var(--gold); border-radius: var(--radius); padding: 24px; }
.warning-box {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 24px; padding: 18px 22px;
  border-radius: var(--radius); background: var(--night); color: #E7E9F3;
}
.warning-box svg { flex: none; width: 28px; height: 28px; color: var(--gold-soft); margin-top: 2px; }
.warning-box p { margin: 0; }

/* FAQ */
.faq-tools { display: flex; flex-direction: column; gap: 16px; margin-bottom: 26px; }
.faq-search {
  display: flex; align-items: center; gap: 10px; max-width: 560px; width: 100%; margin: 0 auto;
  background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 18px;
}
.faq-search:focus-within { border-color: var(--gold); }
.faq-search svg { color: var(--muted); }
.faq-search input { flex: 1; border: 0; outline: 0; background: transparent; font: inherit; padding: 10px 0; min-width: 0; }
.faq-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.faq-cat {
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink);
  padding: 6px 14px; border-radius: 999px; font: 500 .9rem var(--font-body); cursor: pointer;
}
.faq-cat.active, .faq-cat:hover { background: var(--maroon); border-color: var(--maroon); color: #fff; }

.faq-list { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq-item.open { border-color: var(--gold); box-shadow: var(--shadow); }
.faq-q {
  width: 100%; display: flex; gap: 12px; align-items: flex-start; text-align: left;
  background: none; border: 0; padding: 16px 18px; cursor: pointer;
  font: 600 1rem/1.55 var(--font-body); color: var(--ink);
}
.faq-q .q-no { flex: none; color: var(--gold); font-weight: 700; min-width: 2ch; }
.faq-q .q-text { flex: 1; }
.faq-q .q-icon { flex: none; transition: transform .25s; color: var(--maroon); margin-top: 3px; }
.faq-item.open .q-icon { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a-inner { padding: 0 18px 18px 50px; color: #45362d; font-size: .97rem; }
.faq-a-inner ul { padding-left: 1.2em; margin: .4em 0 1em; }
.faq-a-inner p:last-child { margin-bottom: 0; }
mark { background: var(--gold-soft); color: inherit; padding: 0 2px; border-radius: 3px; }
.faq-empty { text-align: center; color: var(--muted); }

/* Contact */
.section-dark { background: var(--night); color: #C5CAD9; position: relative; overflow: hidden; }
.section-dark::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -160px; border-radius: 50%; background: var(--grad); filter: blur(120px); opacity: .25; pointer-events: none; }
.section-dark .container { position: relative; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { display: inline-block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 20px 0 8px; display: flex; flex-direction: column; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { flex: none; width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.08); color: var(--gold); }
.contact-list span { display: block; font-size: .85rem; opacity: .75; }
.contact-list strong { font-weight: 600; color: #fff; }
.contact-list a { text-decoration: none; }

.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.15); aspect-ratio: 4/3; background: var(--night-2); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

.callback-form { margin-top: 24px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 22px; display: grid; gap: 12px; }
.callback-form label span { display: block; font-size: .88rem; margin-bottom: 4px; opacity: .85; }
.callback-form input, .callback-form select, .callback-form textarea {
  width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.95); font: inherit; color: var(--ink);
}
.callback-form .hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-size: .92rem; min-height: 1.2em; }
.form-status.ok { color: #9BF0B5; }
.form-status.err { color: #FFC2C2; }

/* Footer */
.site-footer { background: #070A15; color: #d9c4b3; padding: 26px 0; font-size: .9rem; text-align: center; }
.site-footer p { margin: 4px 0; }
.site-footer a { color: var(--gold); }

/* Floating buttons */
.float-wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp); color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(37,211,102,.45); animation: pulse 2.4s infinite;
}
.float-wa svg { width: 30px; height: 30px; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,.45); } 50% { box-shadow: 0 0 0 12px rgba(37,211,102,0); } }
.to-top {
  position: fixed; right: 26px; bottom: 90px; z-index: 60; width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: var(--maroon); color: #fff; cursor: pointer; display: grid; place-items: center;
  opacity: 0; pointer-events: none; transform: translateY(10px); transition: .25s;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .float-wa { animation: none; } }

/* ---------- 7. Responsive ---------- */
@media (max-width: 1080px) {
  .timeline { grid-template-columns: repeat(4, 1fr); row-gap: 32px; }
  .timeline::before { display: none; }
}

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 16px 16px;
    background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0,0,0,.08);
    transform: translateY(-120%); visibility: hidden; transition: transform .3s, visibility .3s;
  }
  .main-nav.open { transform: none; visibility: visible; }
  .nav-link { padding: 12px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-link.active::after { display: none; }
  .nav-link.active { background: var(--gold-soft); }

  .hero-inner, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 64px; }
  .hero-art { margin: 8px auto 0; max-width: 380px; }
  .appointment-card { left: 50%; transform: translateX(-50%); bottom: -18px; width: calc(100% - 8px); max-width: 360px; }
  .about-photo { width: calc(100% - 14px); max-width: 280px; margin: 0 auto; }
  .about-photo::after { inset: 12px -12px -12px 12px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .brand-text small { display: none; }
  .brand-mark svg { width: 32px; height: 32px; }
  .card-grid, .docs-grid, .info-list { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1; }

  /* মোবাইলে টাইমলাইন উল্লম্ব */
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline li { display: flex; gap: 16px; text-align: left; padding-bottom: 22px; }
  .timeline li:not(:last-child)::after {
    content: ""; position: absolute; left: 26px; top: 54px; bottom: 0; width: 2px;
    background: repeating-linear-gradient(180deg, var(--gold) 0 6px, transparent 6px 11px);
  }
  .step-no { margin: 0; flex: none; }
  .faq-a-inner { padding-left: 18px; }
}

/* ---------- 8. Print: শুধু কাগজপত্রের তালিকা ---------- */
@media print {
  body.print-docs > *:not(main), body.print-docs main > section:not(#documents) { display: none !important; }
  body.print-docs #documents { padding: 0; }
  body.print-docs .print-btn, body.print-docs .float-wa, body.print-docs .to-top { display: none !important; }
  body.print-docs .doc-card, body.print-docs .extra-info { break-inside: avoid; }
  body.print-docs .warning-box { background: none; color: var(--ink); border: 1px solid var(--ink); }
  body.print-docs .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   9. নতুন ফিচার
   ========================================================= */
.btn-sm { padding: .55em 1.1em; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--muted); border-color: var(--line); }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); }
body.no-scroll { overflow: hidden; }

/* লাইভ খোলা ব্যাজ */
.open-badge .ob-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; background: #94A3B8; vertical-align: middle; }
.open-badge.is-open .ob-dot { background: #34D399; box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: ping 1.8s infinite; }
.open-badge.is-closed .ob-dot { background: #F87171; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.hero-facts .open-badge { border-color: rgba(52,211,153,.35); }
.hero-facts .open-badge.is-closed { border-color: rgba(248,113,113,.35); }
.hero-facts .open-badge .ob-label { font-size: .82rem; color: #fff; font-weight: 600; }
.open-badge.is-open .ob-label { color: #6EE7B7 !important; }
.open-badge.is-closed .ob-label { color: #FCA5A5 !important; }
.open-badge-inline { margin: 6px 0 0; font-size: .88rem; }
.open-badge-inline .ob-label { display: inline !important; font-weight: 600; margin-right: 6px; opacity: 1 !important; font-size: .88rem !important; }
.open-badge-inline .ob-text { font-weight: 500 !important; color: #C5CAD9 !important; }

/* যাচাই বাটন */
.verify-link { margin-top: 8px; padding: 0; background: none; border: 0; color: #FFD27A; font: 600 .85rem var(--font-body); cursor: pointer; }
.verify-link:hover { text-decoration: underline; }
.btn-verify { margin-top: 22px; background: linear-gradient(120deg, #ECFDF5, #FFF7ED); color: #065F46; border: 1.5px solid #6EE7B7; }
.btn-verify svg { color: #059669; width: 1.4em; height: 1.4em; }

/* মডাল */
.modal, .lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .2s; }
.modal.show, .lightbox.show { opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(7,10,21,.7); backdrop-filter: blur(4px); }
.modal-card {
  position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow: auto;
  background: var(--white); border-radius: 22px; padding: 26px; box-shadow: 0 30px 80px rgba(0,0,0,.4);
  transform: translateY(16px) scale(.98); transition: transform .25s;
}
.modal.show .modal-card { transform: none; }
.modal-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--cream); cursor: pointer; font-size: 1rem; color: var(--ink); }
.vm-head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; padding-right: 40px; }
.vm-head h3 { margin: 0; font-size: 1.15rem; }
.vm-head p { margin: 0; color: var(--muted); font-size: .9rem; }
.vm-doc { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--cream); }
.vm-doc img { width: 100%; height: auto; }
.vm-info { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.vm-info div { background: var(--cream); border-radius: 12px; padding: 10px 14px; }
.vm-info div:first-child { grid-column: 1 / -1; }
.vm-info dt { font-size: .8rem; color: var(--muted); }
.vm-info dd { margin: 0; font-weight: 600; }
.vm-tip { margin: 0; font-size: .9rem; padding: 12px 14px; border-radius: 12px; background: #ECFDF5; color: #065F46; }

/* সেবা কার্ডে WhatsApp লিংক */
.service-card { display: flex; flex-direction: column; }
.service-card p { flex: 1; }
.service-wa { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: .92rem; color: #128C4A; text-decoration: none; }
.service-wa svg { transition: transform .2s; }
.service-wa:hover svg { transform: translateX(4px); }

/* গাইড */
.guide, .my-checklist { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 26px; margin-bottom: 26px; box-shadow: var(--shadow); }
.guide { background: radial-gradient(120% 120% at 100% 0%, #FFF1E6 0%, #fff 55%); }
.guide-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.guide-head h3 { margin: 0 0 2px; }
.guide-head p { margin: 0; color: var(--muted); font-size: .95rem; }
.guide-icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.guide-icon svg { width: 26px; height: 26px; }
.guide-meta { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.guide-dots { display: flex; gap: 6px; }
.guide-dots i { width: 26px; height: 5px; border-radius: 3px; background: var(--line); }
.guide-dots i.on { background: var(--grad); }
.guide-q { font-size: 1.15rem; font-weight: 700; margin: 6px 0 14px; }
.guide-opts { display: grid; gap: 12px; }
.guide-opts.three { grid-template-columns: repeat(3, 1fr); }
.guide-opts.two { grid-template-columns: repeat(2, minmax(0, 200px)); }
.guide-opt {
  text-align: left; padding: 16px 18px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--white);
  cursor: pointer; font: inherit; color: var(--ink); transition: border-color .15s, transform .15s, box-shadow .15s;
}
.guide-opt:hover { border-color: var(--maroon); transform: translateY(-2px); box-shadow: var(--shadow); }
.guide-opt strong { display: block; }
.guide-opt span { display: block; font-size: .87rem; color: var(--muted); }
.guide-back { margin-top: 14px; background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; padding: 0; }
.guide-step, .guide-result { animation: fadeUp .3s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }
.guide-kind { display: inline-block; margin: 0 0 6px; padding: 4px 12px; border-radius: 999px; background: var(--gold-soft); color: var(--maroon-dark); font-weight: 600; font-size: .85rem; }
.guide-result h4 { margin: 6px 0 12px; font-family: var(--font-head); font-size: 1.1rem; }
.guide-result h5 { margin: 16px 0 8px; font-size: 1rem; color: var(--maroon-dark); }
.check-list.alt li::before { background-color: var(--gold); }
.guide-note { font-size: .88rem; color: var(--muted); margin: 14px 0; }
.guide-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* টিক-চেকলিস্ট */
.mc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.mc-head h3 { margin: 0; }
.mc-progress-text { margin: 2px 0 0; color: var(--muted); font-size: .95rem; }
.my-checklist.complete .mc-progress-text { color: #059669; font-weight: 600; }
.mc-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.mc-bar { height: 8px; border-radius: 99px; background: var(--line); margin: 16px 0 18px; overflow: hidden; }
.mc-bar span { display: block; height: 100%; width: 0; background: var(--grad); border-radius: inherit; transition: width .4s ease; }
.my-checklist.complete .mc-bar span { background: linear-gradient(90deg, #34D399, #059669); }
.mc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.mc-list label { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; cursor: pointer; transition: background .15s; }
.mc-list label:hover { background: var(--cream); }
.mc-list input { position: absolute; opacity: 0; pointer-events: none; }
.mc-box { flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 7px; border: 2px solid #CBD5E1; display: grid; place-items: center; transition: .15s; }
.mc-list input:focus-visible + .mc-box { outline: 2px solid var(--maroon); outline-offset: 2px; }
.mc-list li.done .mc-box { background: #10B981; border-color: #10B981; }
.mc-list li.done .mc-box::after { content: ""; width: 10px; height: 6px; border: 2.5px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.mc-list li.done .mc-text { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(16,185,129,.6); }

/* গ্যালারি */
.gal-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.gal-tab { border: 1.5px solid var(--line); background: var(--white); color: var(--ink); padding: 8px 18px; border-radius: 999px; font: 600 .92rem var(--font-body); cursor: pointer; transition: .15s; }
.gal-tab:hover { border-color: var(--maroon); color: var(--maroon); }
.gal-tab.active { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 8px 20px rgba(224,36,94,.25); }
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gal-item { margin: 0; background: var(--white); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); animation: fadeUp .45s ease both; animation-delay: var(--d); transition: transform .2s, box-shadow .2s; }
.gal-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gal-open { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; background: var(--night-2); aspect-ratio: 4/3; overflow: hidden; }
.gal-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gal-item:hover .gal-open img { transform: scale(1.06); }
.gal-open::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(11,15,31,.55)); opacity: 0; transition: opacity .25s; }
.gal-item:hover .gal-open::after { opacity: 1; }
.gal-zoom { position: absolute; right: 12px; bottom: 12px; z-index: 1; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--maroon); box-shadow: 0 6px 16px rgba(0,0,0,.2); transform: scale(.85); opacity: .9; transition: .2s; }
.gal-item:hover .gal-zoom { transform: scale(1); opacity: 1; }
.gal-item figcaption { padding: 14px 16px; }
.gal-item figcaption strong { display: block; }
.gal-item figcaption span { font-size: .88rem; color: var(--muted); }
.gal-more-wrap { text-align: center; margin-top: 28px; }

/* লাইটবক্স */
.lightbox { background: rgba(7,10,21,.97); backdrop-filter: blur(8px); grid-template-columns: auto 1fr auto; gap: 10px; }
.lb-figure { margin: 0; max-width: 1000px; width: 100%; justify-self: center; text-align: center; }
.lb-figure img { max-width: 100%; max-height: 76vh; margin: 0 auto; border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-figure figcaption { color: #E7E9F3; margin-top: 14px; display: flex; flex-direction: column; gap: 2px; }
.lb-figure figcaption span { color: #9097AE; font-size: .92rem; }
.lb-figure em { font-style: normal; font-size: .82rem; color: #FFD27A; }
.lb-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; transition: background .15s; }
.lb-btn:hover { background: rgba(255,255,255,.2); }
.lb-close { position: absolute; top: 16px; right: 16px; font-size: 1.1rem; }

/* কীভাবে আসবেন */
.directions { margin-top: 24px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 20px; }
.directions h3 { margin-bottom: 14px; font-size: 1.05rem; }
.dir-steps { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; counter-reset: dir; }
.dir-steps li { display: flex; gap: 14px; align-items: center; counter-increment: dir; }
.dir-steps img { flex: none; width: 76px; height: 58px; object-fit: cover; border-radius: 10px; border: 1px solid rgba(255,255,255,.15); }
.dir-steps strong { display: block; color: #fff; }
.dir-steps strong::before { content: counter(dir) ". "; color: #FFD27A; }
.dir-steps span { font-size: .88rem; color: #AEB4C8; }

@media (max-width: 960px) {
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-opts.three { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .guide, .my-checklist { padding: 20px 16px; border-radius: 18px; }
  .mc-list { grid-template-columns: 1fr; }
  .mc-actions { width: 100%; }
  .mc-actions .btn-whatsapp { flex: 1; }
  .guide-opts.two { grid-template-columns: 1fr 1fr; }
  .gal-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gal-item figcaption { padding: 10px 12px; }
  .gal-item figcaption strong { font-size: .92rem; }
  .gal-zoom { width: 34px; height: 34px; right: 8px; bottom: 8px; }
  .lightbox { grid-template-columns: 1fr; }
  .lb-prev, .lb-next { position: absolute; bottom: 24px; }
  .lb-prev { left: 24px; } .lb-next { right: 24px; }
  .vm-info { grid-template-columns: 1fr; }
  .nav-link { font-size: .98rem; }
}
@media (min-width: 961px) and (max-width: 1180px) {
  .nav-link { padding: 8px 8px; font-size: .92rem; }
}
@media print {
  body.print-docs .guide, body.print-docs .my-checklist { display: none !important; }
}

/* =========================================================
   10. স্বাগত পপআপ + অ্যাপয়েন্টমেন্ট ফর্ম
   ========================================================= */
.btn-block { width: 100%; }
.btn-appt-head { padding: 7px 14px; font-size: .88rem; background: var(--grad); color: #fff; box-shadow: 0 6px 16px rgba(224,36,94,.25); }
.btn-appt-head svg { width: 1.1em; height: 1.1em; }

.welcome-card { max-width: 520px; padding: 0; overflow: hidden auto; }
.welcome .modal-close { z-index: 3; background: rgba(255,255,255,.9); }
.wm-banner { position: relative; aspect-ratio: 800 / 420; background: var(--night); overflow: hidden; }
.wm-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wm-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11,15,31,.82) 0%, rgba(11,15,31,.45) 45%, transparent 75%); }
.wm-banner.is-art { background: radial-gradient(60% 80% at 80% 40%, rgba(224,36,94,.55), transparent 70%), radial-gradient(50% 60% at 95% 100%, rgba(245,158,11,.45), transparent 70%), var(--night); }
.wm-banner.is-art img { left: auto; right: 2%; width: 44%; object-fit: contain; padding: 10px 0; }
.wm-banner.is-art::after { background: linear-gradient(90deg, rgba(11,15,31,.6), transparent 60%); }
.wm-banner-text { position: absolute; z-index: 2; left: 22px; top: 50%; transform: translateY(-50%); max-width: 62%; color: #fff; }
.wm-tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); font-size: .78rem; font-weight: 600; color: #FFE2B0; margin-bottom: 8px; backdrop-filter: blur(4px); }
.wm-banner-text h3 { color: #fff; font-size: clamp(1.05rem, 3.6vw, 1.35rem); line-height: 1.35; margin: 0 0 6px; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.wm-banner-text p { margin: 0; font-size: .82rem; line-height: 1.5; color: #E7E9F3; }
.welcome .appt-form { padding: 20px 22px 6px; }
.welcome .appt-form h4 { margin: 0 0 2px; font-family: var(--font-head); font-size: 1.08rem; }
.wm-later { display: block; width: 100%; padding: 12px 0 18px; border: 0; background: none; color: var(--muted); font: 500 .9rem var(--font-body); cursor: pointer; }
.wm-later:hover { color: var(--ink); }

.appt-sub { margin: 0 0 14px; color: var(--muted); font-size: .9rem; }
.appt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; margin-bottom: 14px; }
.appt-grid .span-2 { grid-column: 1 / -1; }
.appt-form label span { display: block; font-size: .82rem; margin-bottom: 4px; color: var(--muted); font-weight: 500; }
.appt-form input:not(.hp), .appt-form select, .appt-form textarea {
  width: 100%; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white);
  font: inherit; font-size: .95rem; color: var(--ink); transition: border-color .15s, box-shadow .15s; min-height: 44px;
}
.appt-form input:focus, .appt-form select:focus, .appt-form textarea:focus { outline: 0; border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(224,36,94,.12); }
.appt-form .hp { position: absolute; left: -9999px; }
.appt-form .form-status { margin: 10px 0 0; font-size: .9rem; min-height: 1.2em; }
.appt-form .form-status.err { color: #DC2626; }
.appt-form .form-status .btn { margin-top: 8px; }
.appt-success { text-align: center; padding: 10px 0 8px; animation: fadeUp .3s ease; }
.appt-check { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 50%; background: #10B981; color: #fff; }
.appt-check svg { width: 28px; height: 28px; stroke-width: 3; }
.appt-success strong { display: block; font-size: 1.05rem; }
.appt-success p { margin: 4px 0; color: var(--muted); font-size: .92rem; }
.appt-summary { font-weight: 600; color: var(--ink) !important; }
.appt-success .btn { margin-top: 8px; }

/* যোগাযোগ অংশে (গাঢ় ব্যাকগ্রাউন্ড) */
.appt-form-dark { margin-top: 24px; padding: 22px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.appt-form-dark h3 { margin: 0 0 2px; font-size: 1.1rem; }
.appt-form-dark .appt-sub, .appt-form-dark label span { color: #AEB4C8; }
.appt-form-dark input:not(.hp), .appt-form-dark select, .appt-form-dark textarea { background: rgba(255,255,255,.96); border-color: transparent; }
.appt-form-dark .form-status.err { color: #FCA5A5; }
.appt-form-dark .appt-success strong { color: #fff; }
.appt-form-dark .appt-success p { color: #AEB4C8; }
.appt-form-dark .appt-summary { color: #fff !important; }
.appt-form-dark .btn-ghost { color: #C5CAD9; border-color: rgba(255,255,255,.25); }
.appt-form-dark .btn-primary, .welcome .btn-primary { background: var(--grad); }

@media (max-width: 640px) {
  .btn-appt-head span { display: none; }
  .btn-appt-head { padding: 8px 10px; }
  .welcome.modal { padding: 10px; align-items: end; }
  .welcome-card { max-height: calc(100vh - 20px); border-radius: 20px; }
  .wm-banner { aspect-ratio: 16 / 10; }
  .wm-banner-text { left: 16px; max-width: 70%; }
  .wm-banner.is-art img { width: 48%; }
  .welcome .appt-form { padding: 16px 16px 4px; }
}
@media (max-width: 380px) {
  .appt-grid { grid-template-columns: 1fr; }
  .wm-banner-text p { display: none; }
}

/* ---------- 11. পপআপ — ছোট ও দুই ধাপ ---------- */
.welcome.modal { align-items: center; padding: 16px; }
.welcome-card { max-width: 380px; border-radius: 22px; }
.welcome .modal-close { top: 10px; right: 10px; width: 32px; height: 32px; font-size: .85rem; background: rgba(11,15,31,.45); color: #fff; backdrop-filter: blur(6px); }
.wm-banner { aspect-ratio: 16 / 10; }
.wm-banner img { object-position: 70% 50%; }
.wm-banner::after { background: linear-gradient(0deg, rgba(11,15,31,.92) 0%, rgba(11,15,31,.35) 55%, transparent 80%); }
.wm-banner-text { top: auto; bottom: 16px; left: 18px; right: 18px; transform: none; max-width: none; }
.wm-tag { font-size: .72rem; padding: 3px 10px; margin-bottom: 6px; }
.wm-banner-text h3 { font-size: 1.35rem; margin: 0 0 2px; }
.wm-banner-text p { font-size: .82rem; color: #D5D9E6; }
.wm-banner.is-art img { right: 4%; top: 4%; width: 42%; height: 70%; }

.wm-actions { display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; padding: 14px; }
.wm-actions .btn { padding: .7em .8em; font-size: .92rem; }
.wm-actions .btn-primary { background: var(--grad); }
.wm-actions svg { width: 1.05em; height: 1.05em; }

.welcome .appt-form { display: none; position: relative; padding: 14px 16px 6px; }
.welcome.step-form .appt-form { display: block; animation: fadeUp .25s ease; }
.welcome.step-form .wm-actions { display: none; }
.welcome.step-form .wm-banner { aspect-ratio: 16 / 6; }
.welcome.step-form .wm-banner-text p, .welcome.step-form .wm-tag { display: none; }
.welcome.step-form .wm-banner-text h3 { font-size: 1.1rem; }
.welcome .appt-form h4 { font-size: 1rem; padding-left: 34px; line-height: 1.3; margin-bottom: 0; }
.welcome .appt-sub { padding-left: 34px; font-size: .8rem; margin-bottom: 10px; }
.wm-back { position: absolute; left: 12px; top: 14px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); cursor: pointer; font-size: .9rem; color: var(--ink); }
.appt-grid.compact { gap: 8px; margin-bottom: 10px; }
.appt-grid.compact > input, .appt-grid.compact > select { min-height: 40px; padding: 8px 12px; font-size: .9rem; border-radius: 10px; }
.appt-grid.compact .date-wrap input, .appt-grid.compact .date-wrap select { min-height: 40px; padding: 7px 10px; font-size: .88rem; border-radius: 10px; }
.appt-grid.compact .date-wrap span { font-size: .75rem; margin-bottom: 2px; }
.welcome .appt-form .btn-block { padding: .65em 1em; font-size: .92rem; }
.welcome .form-status { font-size: .82rem; margin-top: 6px; }
.welcome .appt-success { padding: 4px 0 10px; }
.welcome .appt-check { width: 46px; height: 46px; }

@media (max-width: 640px) {
  .welcome.modal { padding: 16px; align-items: center; }
  .welcome-card { max-width: 340px; }
  .wm-banner { aspect-ratio: 16 / 10; }
  .wm-banner-text { left: 16px; right: 16px; max-width: none; }
  .wm-banner-text p { display: block; }
}
@media (max-width: 380px) {
  .appt-grid.compact { grid-template-columns: 1fr 1fr; }
  .wm-actions { grid-template-columns: 1fr; }
}
.wm-actions .btn-primary svg { fill: none; stroke: currentColor; }

/* ---------- 12. হিরোর তথ্য-বক্স: সবসময় এক সারিতে ---------- */
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 560px; }
.hero-facts li { min-width: 0; padding: 10px 12px; }
.hero-facts .open-badge { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 0; }
.hero-facts .open-badge .ob-text { flex-basis: 100%; }
@media (max-width: 640px) {
  .hero-facts { gap: 6px; }
  .hero-facts li { padding: 8px 8px; border-radius: 12px; }
  .hero-facts span, .hero-facts .open-badge .ob-label { font-size: .68rem !important; line-height: 1.35; }
  .hero-facts strong { font-size: .76rem; line-height: 1.35; }
  .hero-facts .open-badge .ob-dot { width: 7px; height: 7px; margin-right: 4px; }
}

/* ---------- 13. লোগো ও নিবন্ধকের ছবি ---------- */
.brand-mark { display: block; flex: none; }
.brand-mark img { width: 48px; height: 48px; border-radius: 50%; display: block; box-shadow: 0 3px 10px rgba(122,16,51,.25); transition: transform .3s; }
.brand:hover .brand-mark img { transform: rotate(-6deg) scale(1.04); }
.about-photo picture { display: block; }
.about-photo img { height: auto; aspect-ratio: 480 / 570; object-fit: cover; object-position: center top; box-shadow: 0 20px 40px rgba(15,23,42,.15); }
@media (max-width: 640px) { .brand-mark img { width: 40px; height: 40px; } }

/* ---------- 14. নতুন হিরো: ব্যানার + Call/WhatsApp/Facebook/YouTube ---------- */
.hero-inner { grid-template-columns: 1fr 1.05fr; gap: 48px; }
.hero-banner { max-width: 640px; }
.hero-banner picture { position: relative; display: block; border-radius: 22px; overflow: hidden; border: 2px solid rgba(255,210,122,.55); box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 0 0 8px rgba(255,255,255,.04); }
.hero-banner img { width: 100%; height: auto; display: block; animation: none; filter: none; aspect-ratio: 1280 / 800; }
.hero-banner .hero-art-glow { inset: 6% 4%; border-radius: 30px; filter: blur(60px); opacity: .45; }

.hero-social { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 28px; max-width: 640px; }
.hs-btn {
  display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 12px; border-radius: 16px;
  text-decoration: none; color: #fff; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  transition: transform .2s, background .2s, border-color .2s, box-shadow .2s;
}
.hs-btn:hover { transform: translateY(-3px); background: rgba(255,255,255,.1); }
.hs-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.hs-icon svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.hs-call .hs-icon svg { fill: currentColor; }
.hs-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.hs-text strong { font-size: .95rem; font-weight: 600; white-space: nowrap; }
.hs-text small { font-size: .74rem; color: #AEB4C8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-call .hs-icon { background: var(--grad); box-shadow: 0 6px 16px rgba(224,36,94,.4); }
.hs-wa .hs-icon { background: #25D366; box-shadow: 0 6px 16px rgba(37,211,102,.35); }
.hs-fb .hs-icon { background: #1877F2; box-shadow: 0 6px 16px rgba(24,119,242,.35); }
.hs-yt .hs-icon { background: #FF0000; box-shadow: 0 6px 16px rgba(255,0,0,.3); }
.hs-call:hover { border-color: rgba(224,36,94,.6); }
.hs-wa:hover { border-color: rgba(37,211,102,.6); }
.hs-fb:hover { border-color: rgba(24,119,242,.7); }
.hs-yt:hover { border-color: rgba(255,0,0,.6); }

@media (max-width: 1180px) {
  .hero-social { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero-banner { order: -1; max-width: 640px; margin: 0 auto; }
  .hero-inner { gap: 28px; }
}
@media (max-width: 640px) {
  .hero { padding: 24px 0 48px; }
  .hero-banner picture { border-radius: 16px; }
  .hero-social { gap: 8px; margin-top: 22px; }
  .hs-btn { padding: 8px 10px; gap: 8px; border-radius: 14px; }
  .hs-icon { width: 36px; height: 36px; border-radius: 10px; }
  .hs-icon svg { width: 19px; height: 19px; }
  .hs-text strong { font-size: .88rem; }
  .hs-text small { font-size: .7rem; }
}
.hero-social { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 500px; }
.hs-btn { padding: 12px 14px; }
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-text { text-align: left; }
  .hero-social { max-width: none; }
}
@media (max-width: 640px) { .hs-btn { padding: 9px 10px; } }

/* ---------- 15. পুরো হিরো জুড়ে ব্যানার ---------- */
.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; }
.hero.hero-full { padding: 0; min-height: calc(100svh - var(--header-h)); display: flex; align-items: stretch; }
.hero.hero-full::before, .hero.hero-full::after { display: none; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--night); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(28px) saturate(1.2) brightness(.55); transform: scale(1.15); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 40%, rgba(11,15,31,.55) 100%), linear-gradient(180deg, transparent 60%, rgba(11,15,31,.85)); }

.hero-stage { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding-top: 20px; padding-bottom: 22px; max-width: 1240px; }
.hero-main { display: block; width: 100%; border-radius: 20px; overflow: hidden; border: 2px solid rgba(255,210,122,.5); box-shadow: 0 30px 70px rgba(0,0,0,.55); }
.hero-main img { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 800;
  /* স্ক্রিনে পুরোটা আঁটাতে উচ্চতা সীমিত — ছবি কাটে না, শুধু ছোট হয় */
  max-height: calc(100svh - var(--header-h) - 140px); object-fit: contain; background: #2a0d14; }
.hero-full .hero-main { width: auto; max-width: 100%; }
.hero-full .hero-main img { width: auto; max-width: 100%; }

.hero-full .hero-social { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 900px; width: 100%; margin: 0; gap: 12px; }
.hero-full .hs-btn { background: rgba(11,15,31,.55); border-color: rgba(255,255,255,.18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

@media (max-width: 760px) {
  .hero.hero-full { min-height: 0; }
  .hero-stage { padding-top: 14px; padding-bottom: 26px; gap: 14px; }
  .hero-main { border-radius: 14px; }
  .hero-full .hero-main, .hero-full .hero-main img { width: 100%; max-height: none; }
  .hero-full .hero-social { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}

/* ---------- 16. কাগজপত্র — পাশাপাশি দুই কলাম ---------- */
.section-sub { margin: 10px 0 0; color: var(--muted); }
.docs-split { display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; align-items: start; }
.docs-panel { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 26px 26px 18px; box-shadow: var(--shadow); }
.docs-panel-alt { background: linear-gradient(160deg, #FFF8EC, #FFFFFF 60%); border-color: #F6DDB0; }
.dp-title { display: flex; align-items: center; gap: 12px; font-size: 1.12rem; line-height: 1.45; margin: 0 0 18px; }
.dp-icon { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.docs-panel-alt .dp-icon { background: linear-gradient(135deg, #F59E0B, #F97316); }
.dp-icon svg { width: 22px; height: 22px; }
.dp-list { list-style: none; counter-reset: dp; margin: 0; padding: 0; }
.dp-list > li { counter-increment: dp; position: relative; padding: 0 0 16px 46px; margin-bottom: 16px; border-bottom: 1px dashed var(--line); }
.dp-list > li:last-child { border-bottom: 0; margin-bottom: 0; }
.dp-list > li::before {
  content: counter(dp, bengali); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: .95rem; color: #fff; background: var(--maroon);
}
html[lang="en"] .dp-list > li::before { content: counter(dp); }
.docs-panel-alt .dp-list > li::before { background: #F59E0B; }
.dp-list p { margin: 0; line-height: 1.75; }
.dp-note { margin-top: 8px !important; padding: 8px 12px; border-radius: 10px; background: var(--cream); color: var(--muted); font-size: .9rem; border-left: 3px solid var(--gold); }
.dp-sub { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.dp-sub li { position: relative; padding-left: 22px; line-height: 1.65; }
.dp-sub li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--maroon); }
#documents .warning-box { margin-top: 22px; }

@media (max-width: 860px) {
  .docs-split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .docs-panel { padding: 20px 16px 12px; border-radius: 18px; }
  .dp-title { font-size: 1.02rem; }
  .dp-list > li { padding-left: 40px; }
  .dp-list > li::before { width: 28px; height: 28px; font-size: .85rem; }
}
@media print {
  body.print-docs .docs-split { grid-template-columns: 1fr 1fr; }
  body.print-docs .docs-panel { box-shadow: none; break-inside: avoid; }
  body.print-docs .dp-list > li::before { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
#documents .my-checklist { margin-top: 22px; }

/* ---------- 17. শিক্ষাগত যোগ্যতা ---------- */
.edu { margin-top: 18px; padding: 18px 18px 14px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.edu-title { display: flex; align-items: center; gap: 10px; font-size: 1.02rem; margin: 0 0 12px; }
.edu-title svg { width: 32px; height: 32px; padding: 6px; border-radius: 10px; background: var(--grad); color: #fff; }
.edu-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.edu-list li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: 12px; background: var(--cream); border: 1px solid var(--line); }
.edu-deg { font-weight: 600; font-size: .95rem; }
.edu-cls { flex: none; font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #E2E8F0; color: #334155; white-space: nowrap; }
.edu-cls.first { background: #FEF3C7; color: #92400E; }
@media (max-width: 640px) { .edu { padding: 16px 14px 12px; } .edu-list { grid-template-columns: 1fr; } }
.edu-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } @media (max-width: 640px) { .edu-list { grid-template-columns: 1fr; } }
#about .info-list { grid-template-columns: 1fr; }

/* ---------- 18. সিঁদুর রঙের কার্ড ও বক্স ---------- */
:root {
  --sindoor: #E0301E;          /* সিঁদুর */
  --sindoor-dark: #A8170D;
  --sindoor-soft: #FFF1EC;
  --sindoor-line: #F6C6B9;
  --sindoor-grad: linear-gradient(135deg, #F2543D 0%, #E0301E 55%, #A8170D 100%);
  --sindoor-card: linear-gradient(160deg, #FFEDE6 0%, #FFF8F5 45%, #FFFFFF 100%);
  --sindoor-shadow: 0 12px 28px rgba(224, 48, 30, .14);
}

/* সব সাদা কার্ড/বক্স */
.service-card, .docs-panel, .docs-panel-alt, .info-list div, .edu, .gal-item, .faq-item, .my-checklist, .note {
  background: var(--sindoor-card);
  border: 1px solid var(--sindoor-line);
  border-top: 4px solid var(--sindoor);
  box-shadow: 0 6px 18px rgba(224, 48, 30, .07);
}
.service-card:hover, .gal-item:hover { border-color: var(--sindoor-line); border-top-color: var(--sindoor); box-shadow: var(--sindoor-shadow); }
.faq-item { border-top-width: 3px; }
.faq-item.open { border-color: var(--sindoor); box-shadow: var(--sindoor-shadow); }
.note { color: var(--sindoor-dark); }

/* আইকন ও নম্বর */
.service-icon, .dp-icon, .docs-panel-alt .dp-icon, .edu-title svg, .step-no, .guide-icon { background: var(--sindoor-grad); box-shadow: 0 8px 18px rgba(224, 48, 30, .3); }
.dp-list > li::before, .docs-panel-alt .dp-list > li::before { background: var(--sindoor); }
.dp-sub li::before { background: var(--sindoor); }
.dp-note { background: #FFF6F2; border-left-color: var(--sindoor); }
.dp-list > li { border-bottom-color: var(--sindoor-line); }

/* ভেতরের ছোট বক্স */
.edu-list li { background: #FFFFFF; border-color: var(--sindoor-line); }
.edu-cls.first { background: var(--sindoor-soft); color: var(--sindoor-dark); border: 1px solid var(--sindoor-line); }
.mc-list label:hover { background: var(--sindoor-soft); }
.mc-bar { background: var(--sindoor-soft); }
.mc-bar span { background: var(--sindoor-grad); }

/* গ্যালারি ও FAQ ট্যাব */
.gal-tab.active, .faq-cat.active, .faq-cat:hover { background: var(--sindoor-grad); border-color: transparent; color: #fff; }
.gal-tab:hover { border-color: var(--sindoor); color: var(--sindoor); }
.gal-zoom { color: var(--sindoor); }
.faq-q .q-no { color: var(--sindoor); }
.faq-q .q-icon { color: var(--sindoor); }

/* সেকশনের শিরোনামের নিচের দাগ */
.section-head h2::after { background: var(--sindoor-grad); }
.warning-box, #documents .warning-box { background: linear-gradient(120deg, #B4231B 0%, #8E140C 100%); color: #FFF4EF; box-shadow: var(--sindoor-shadow); }
.warning-box svg { color: #FFD9C9; }
.print-btn, .btn-outline { color: var(--sindoor); border-color: var(--sindoor); }
.btn-outline:hover { background: var(--sindoor); color: #fff; }
.faq-item { border-top: 1px solid var(--sindoor-line); border-left: 4px solid var(--sindoor); } .faq-item.open { border-color: var(--sindoor); border-left-width: 4px; }

/* ---------- 19. পুরো কার্ড সিঁদুর রঙে ভরাট ---------- */
:root { --sindoor-fill: linear-gradient(145deg, #EC4A33 0%, #D92B1A 50%, #A8170D 100%); }
.service-card, .docs-panel, .docs-panel-alt, .info-list div, .edu, .gal-item, .faq-item, .my-checklist, .note {
  background: var(--sindoor-fill); color: #FFF4EF; border: 0; border-top: 0; border-left: 0;
  box-shadow: 0 14px 30px rgba(168, 23, 13, .25);
}
.faq-item.open { border: 0; box-shadow: 0 16px 34px rgba(168, 23, 13, .35); }
.service-card:hover, .gal-item:hover { box-shadow: 0 20px 40px rgba(168, 23, 13, .35); }

/* লেখা সাদা */
.service-card h3, .docs-panel h3, .dp-title, .edu-title, .gal-item figcaption strong, .faq-q, .mc-head h3, .info-list dd, .edu-deg { color: #fff; }
.service-card p, .dp-list p, .dp-sub li, .gal-item figcaption span, .faq-a-inner, .mc-progress-text, .info-list dt, .mc-text, .note { color: #FFE9E1; }
.my-checklist.complete .mc-progress-text { color: #FFE58A; }

/* আইকন: সাদা ঘরে সিঁদুর রঙ */
.service-icon, .dp-icon, .docs-panel-alt .dp-icon, .edu-title svg { background: #fff; color: var(--sindoor); box-shadow: 0 6px 14px rgba(0,0,0,.15); }
.dp-list > li::before, .docs-panel-alt .dp-list > li::before { background: #fff; color: var(--sindoor); }
.dp-list > li { border-bottom-color: rgba(255,255,255,.25); }
.dp-sub li::before { background: #FFD27A; }
.dp-note { background: rgba(255,255,255,.12); border-left-color: #FFD27A; color: #FFE9E1; }

/* সেবা কার্ডের WhatsApp লিংক — সাদা পিল */
.service-wa { align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: #fff; color: #128C4A; }

/* শিক্ষাগত যোগ্যতা */
.edu-list li { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); }
.edu-cls, .edu-cls.first { border: 0; }
.edu-cls.first { background: #FFD27A; color: #7A1E05; }
.edu-cls:not(.first) { background: rgba(255,255,255,.85); color: #7A1E05; }

/* গ্যালারি */
.gal-item figcaption { background: transparent; }
.gal-zoom { color: var(--sindoor); }

/* প্রশ্নোত্তর */
.faq-q .q-no, .faq-q .q-icon { color: #FFD27A; }
.faq-a-inner mark, .faq-q mark { background: #FFD27A; color: #5A1205; }

/* চেকলিস্ট */
.mc-box { border-color: rgba(255,255,255,.7); }
.mc-list label:hover { background: rgba(255,255,255,.1); }
.mc-list li.done .mc-text { color: rgba(255,255,255,.7); text-decoration-color: #FFD27A; }
.mc-bar { background: rgba(255,255,255,.25); }
.mc-bar span { background: linear-gradient(90deg, #FFD27A, #fff); }
.my-checklist .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }

/* নোট */
.note { text-align: center; }

/* ---------- 20. সিঁদুর রঙের নেভবার ---------- */
.site-header, .site-header.scrolled {
  background: linear-gradient(100deg, #A8170D 0%, #D92B1A 45%, #EC4A33 100%);
  border-bottom: 2px solid #FFD27A;
  box-shadow: 0 4px 18px rgba(168, 23, 13, .3);
  backdrop-filter: none;
}
.brand-text strong { color: #fff; }
.brand-text small { color: #FFE2D6; }
.brand-mark img { background: #fff; padding: 2px; box-shadow: 0 0 0 2px #FFD27A, 0 4px 12px rgba(0,0,0,.25); }

.nav-link { color: #FFEDE6; }
.nav-link:hover { color: #fff; }
.nav-link.active { color: #fff; font-weight: 600; }
.nav-link.active::after { background: #FFD27A; height: 3px; }

.btn-appt-head { background: #fff; color: var(--sindoor); box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.btn-appt-head:hover { background: #FFF4D6; }
.lang-toggle { border-color: rgba(255,255,255,.8); color: #fff; }
.lang-toggle:hover { background: #fff; color: var(--sindoor); }
.menu-toggle span { background: #fff; }

@media (max-width: 960px) {
  .main-nav { background: linear-gradient(180deg, #C0230F, #A8170D); border-bottom: 2px solid #FFD27A; }
  .nav-link { color: #FFEDE6; border-bottom-color: rgba(255,255,255,.18); }
  .nav-link.active { background: rgba(255,255,255,.14); color: #fff; }
}

/* ---------- 21. নেভবারের নাম + হিরোর সরকারি যাচাই ব্যাজ ---------- */
.brand-text strong { font-size: 1.32rem; line-height: 1.2; letter-spacing: .01em; }
.brand-text small { font-size: .72rem; line-height: 1.3; opacity: .92; }
html[lang="en"] .brand-text strong { font-size: 1.1rem; }

.gov-verify {
  display: inline-flex; align-items: center; gap: 12px; max-width: 100%;
  padding: 10px 18px 10px 10px; border-radius: 999px; text-decoration: none; color: #fff;
  background: linear-gradient(100deg, rgba(168,23,13,.92), rgba(236,74,51,.92));
  border: 2px solid #FFD27A; box-shadow: 0 0 0 6px rgba(255,210,122,.15), 0 12px 30px rgba(168,23,13,.45);
  animation: gvGlow 2.6s ease-in-out infinite; transition: transform .2s;
}
.gov-verify:hover { transform: translateY(-2px) scale(1.01); }
@keyframes gvGlow { 50% { box-shadow: 0 0 0 10px rgba(255,210,122,.05), 0 12px 30px rgba(168,23,13,.45); } }
.gv-seal { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #FFD27A; color: #A8170D; }
.gv-seal svg { width: 26px; height: 26px; }
.gv-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.gv-text strong { font-size: 1.02rem; font-weight: 700; }
.gv-text small { font-size: .8rem; color: #FFE2D6; }
.gv-arrow { flex: none; font-size: 1.2rem; color: #FFD27A; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .gov-verify { animation: none; } }

@media (max-width: 640px) {
  .brand-text strong { font-size: 1.08rem; }
  .brand-text small { display: block; font-size: .6rem; }
  .gov-verify { width: 100%; border-radius: 16px; padding: 8px 12px 8px 8px; gap: 10px; }
  .gv-seal { width: 36px; height: 36px; }
  .gv-text strong { font-size: .88rem; }
  .gv-text small { font-size: .7rem; }
}
@media (max-width: 380px) { .brand-text small { display: none; } }
.hero-stage { gap: 14px; padding-top: 16px; }
.hero-main img { max-height: calc(100svh - var(--header-h) - 230px); }
@media (max-width: 760px) { .hero-main img { max-height: none; } }

/* ---------- 22. যাচাই ব্যাজ — নিবন্ধকের ছবির উপরে ---------- */
.hero-main img { max-height: calc(100svh - var(--header-h) - 140px); }
@media (max-width: 760px) { .hero-main img { max-height: none; } }
.about-media { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.about-media .gov-verify { width: 100%; border-radius: 18px; padding: 10px 14px 10px 10px; }
.about-media .gv-text strong { font-size: .98rem; }
@media (max-width: 960px) {
  .about-media { width: 100%; max-width: 380px; margin: 0 auto; }
  .about-media .about-photo { max-width: 300px; }
}

/* ---------- 23. পরিচিতি: পদবি বড়, এলাকা ছোট ---------- */
.about-role { display: flex; flex-direction: column; gap: 2px; margin-bottom: 18px; }
.ar-title { font-size: 1.45rem; font-weight: 700; color: var(--sindoor); line-height: 1.3; }
.ar-area { font-size: .88rem; font-weight: 500; color: var(--muted); }
@media (max-width: 640px) { .ar-title { font-size: 1.25rem; } .ar-area { font-size: .82rem; } }
.edu-cls, .edu-cls.first, .edu-cls:not(.first) { background: #FFD27A; color: #7A1E05; border: 0; }

/* ---------- 24. মোবাইলে ছোট সেবা-কার্ড + আরও দেখুন ---------- */
.see-more { display: none; }
@media (max-width: 640px) {
  .card-grid { gap: 12px; }
  .service-card {
    display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: start;
    padding: 14px 14px 12px; border-radius: 16px;
  }
  .service-card .service-icon { grid-row: span 4; width: 44px; height: 44px; border-radius: 12px; margin: 2px 0 0; }
  .service-card .service-icon svg { width: 22px; height: 22px; }
  .service-card h3 { font-size: .98rem; line-height: 1.4; margin: 0 0 4px; }
  .service-card p { font-size: .86rem; line-height: 1.6; }
  .clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .clamp.expanded { display: block; -webkit-line-clamp: unset; overflow: visible; }
  .see-more {
    display: inline-flex; align-items: center; gap: 2px; justify-self: start; margin: 2px 0 0; padding: 0;
    background: none; border: 0; color: #FFD27A; font: 600 .8rem var(--font-body); cursor: pointer;
  }
  .see-more[hidden] { display: none; }
  .see-more svg { width: 16px; height: 16px; transition: transform .2s; }
  .see-more.open svg { transform: rotate(180deg); }
  .service-card .service-wa { margin-top: 8px; padding: 4px 12px; font-size: .78rem; }
  .service-card .service-wa svg { width: 14px; height: 14px; }
}
@media (max-width: 640px) { .service-card .service-wa { justify-self: start; width: auto; } .service-card .see-more, .service-card .service-wa, .service-card h3, .service-card p { grid-column: 2; } }

/* ---------- 25. সেবা — এক নজরে বোঝার টাইল ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-tile {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 26px 20px 20px; border-radius: 20px; color: #fff;
  background: var(--sindoor-fill, linear-gradient(145deg,#EC4A33,#A8170D));
  box-shadow: 0 14px 30px rgba(168,23,13,.25); transition: transform .2s, box-shadow .2s;
}
.svc-tile:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(168,23,13,.35); }
.svc-ic { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #D92B1A; margin-bottom: 14px; box-shadow: 0 0 0 6px rgba(255,255,255,.18); }
.svc-ic svg { width: 38px; height: 38px; stroke-width: 1.7; }
.svc-tile h3 { color: #fff; font-size: 1.15rem; margin: 0 0 6px; line-height: 1.35; }
.svc-tile p { color: #FFE9E1; font-size: .92rem; line-height: 1.55; margin: 0 0 14px; flex: 1; }
.svc-wa { display: inline-flex; align-items: center; gap: 4px; padding: 6px 16px; border-radius: 999px; background: #FFD27A; color: #7A1E05; font-weight: 700; font-size: .85rem; text-decoration: none; }
.svc-wa:hover { background: #fff; }

@media (max-width: 960px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .svc-grid { gap: 10px; }
  .svc-tile { padding: 16px 10px 14px; border-radius: 16px; }
  .svc-ic { width: 54px; height: 54px; margin-bottom: 10px; box-shadow: 0 0 0 4px rgba(255,255,255,.18); }
  .svc-ic svg { width: 28px; height: 28px; }
  .svc-tile h3 { font-size: .95rem; }
  .svc-tile p { font-size: .78rem; line-height: 1.5; margin-bottom: 10px; }
  .svc-wa { padding: 4px 12px; font-size: .74rem; }
}
/* ৭টি টাইল — শেষটা মাঝখানে */
.svc-tile:nth-child(7):last-child { grid-column: 2; }
@media (max-width: 960px) { .svc-tile:nth-child(7):last-child { grid-column: 1 / -1; } }

/* ---------- 26. সমান মাপের সেবা-টাইল + আরও পড়ুন ---------- */
.svc-grid { grid-auto-rows: 1fr; }
.svc-tile h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.svc-clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; flex: 0 0 auto !important; margin-bottom: 4px !important; }
.svc-more { margin: 0 0 12px; padding: 0; background: none; border: 0; color: #FFD27A; font: 700 .82rem var(--font-body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.svc-more.is-hidden { visibility: hidden; }
.svc-tile .svc-wa { margin-top: auto; }

.svc-modal .modal-card { max-width: 420px; text-align: center; background: linear-gradient(145deg, #EC4A33, #A8170D); color: #fff; }
.svc-modal .svc-ic { margin: 4px auto 14px; }
.svc-modal h3 { color: #fff; font-size: 1.2rem; margin: 0 0 10px; }
.svc-modal p { color: #FFE9E1; line-height: 1.8; margin: 0 0 18px; }
.svc-modal .modal-close { background: rgba(255,255,255,.2); color: #fff; }
@media (max-width: 640px) { .svc-more { font-size: .74rem; margin-bottom: 8px; } }
@media (max-width: 960px) {
  .svc-tile:nth-child(7):last-child { grid-column: 1 / -1; width: calc(50% - 5px); justify-self: center; }
}

/* ---------- 27. গ্যালারি অ্যালবাম ---------- */
.gal-count {
  position: absolute; left: 12px; bottom: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px; background: rgba(11,15,31,.72); color: #fff; font-size: .8rem; font-weight: 600;
  backdrop-filter: blur(6px);
}
.gal-count svg { width: 16px; height: 16px; }
.gal-item.is-album .gal-open::before { /* পেছনে স্তূপের মতো ছবি */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  box-shadow: inset 0 -3px 0 rgba(255,255,255,.35);
}
.lb-thumbs { display: flex; gap: 8px; justify-content: center; margin-top: 12px; overflow-x: auto; padding: 4px; scrollbar-width: thin; }
.lb-thumb { flex: none; width: 64px; height: 48px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; opacity: .55; background: none; transition: .15s; }
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; max-height: none; box-shadow: none; }
.lb-thumb.active, .lb-thumb:hover { opacity: 1; border-color: #FFD27A; }
.lightbox.single .lb-prev, .lightbox.single .lb-next { visibility: hidden; }
.lb-figure img { max-height: 66vh; }
@media (max-width: 640px) {
  .gal-count { left: 8px; bottom: 8px; padding: 3px 9px; font-size: .7rem; }
  .gal-count svg { width: 13px; height: 13px; }
  .lb-thumb { width: 52px; height: 40px; }
  .lb-figure img { max-height: 56vh; }
}
.addr-inline { font-style: normal; display: inline; }
.footer-tags { font-size: .78rem; opacity: .6; margin-bottom: 6px !important; letter-spacing: .01em; }

/* ---------- 28. ইংরেজি মোডে মোবাইল নেভবার ---------- */
@media (max-width: 640px) {
  html[lang="en"] .brand-text strong { font-size: .92rem; line-height: 1.2; }
  html[lang="en"] .brand-text small { display: none; }
}
