/* =====================================================================
   Doctor Directory — ফ্রন্টএন্ড স্টাইল
   মোবাইল-ফার্স্ট, হালকা ও দ্রুত (কোনো CSS ফ্রেমওয়ার্ক ছাড়া)
   ===================================================================== */

/* ---------- ডিজাইন টোকেন ---------- */
:root {
  --primary: #0e7490;        /* টিল — মেডিক্যাল/বিশ্বস্ত */
  --primary-dark: #155e75;
  --primary-light: #ecfeff;
  --accent: #f97316;         /* কমলা — কল-টু-অ্যাকশন */
  --accent-dark: #ea580c;
  --red: #dc2626;
  --green: #16a34a;
  --text: #0f172a;
  --muted: #475569;        /* আগের চেয়ে গাঢ় — ছোট বাংলা লেখা পড়তে সুবিধা */
  --border: #e2e8f0;
  --bg: #f8fafc;
  --card: #ffffff;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(15, 23, 42, .06), 0 4px 16px rgba(15, 23, 42, .05);
  --font: 'Noto Sans Bengali', 'Hind Siliguri', 'Nirmala UI', 'Vrinda', system-ui, -apple-system, sans-serif;  /* স্পষ্ট বাংলা: Noto Sans Bengali; Windows-এ লোড না হলে Nirmala UI */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.75; color: var(--text); background: var(--bg);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: auto; -moz-osx-font-smoothing: auto; font-kerning: normal; }
/* বাংলা যুক্তাক্ষর ও মাত্রা যেন কেটে না যায় */
h1, h2, h3, h4 { line-height: 1.45; font-weight: 700; letter-spacing: 0; }
button, input, select, textarea { font-family: inherit; font-size: 1rem; line-height: 1.5; }
small, .small { font-size: .9rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.45; margin: 0 0 .5em; }
h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
h2 { font-size: clamp(1.2rem, 3vw, 1.5rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 .6em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--primary); color: #fff; padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- বাটন ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 18px; border-radius: 8px; border: 2px solid transparent; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none !important; transition: .15s; white-space: nowrap; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-outline { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-sm { padding: 6px 12px; font-size: .9rem; }
.btn-lg { padding: 14px 26px; font-size: 1.1rem; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; color: var(--primary); cursor: pointer; font: inherit; padding: 0; }

/* ---------- ট্যাগ/ব্যাজ ---------- */
.tag { display: inline-block; background: var(--primary-light); color: var(--primary-dark); padding: 2px 10px; border-radius: 99px; font-size: .88rem; margin: 2px 2px 2px 0; }
.tag-red { background: #fee2e2; color: var(--red); }
.tag-green { background: #dcfce7; color: var(--green); }
.badge-verified { display: inline-block; background: #0ea5e9; color: #fff; font-size: .85rem; padding: 1px 8px; border-radius: 99px; vertical-align: middle; }
.stars { color: #f59e0b; letter-spacing: 1px; }
.stars .off { color: #cbd5e1; }
.tele { color: #7c3aed; font-weight: 500; }

/* ---------- অ্যালার্ট ---------- */
.alert { padding: 12px 16px; border-radius: 8px; margin: 12px 0; }
.alert-success { background: #dcfce7; color: #166534; }
.alert-error { background: #fee2e2; color: #991b1b; }
.alert-info { background: var(--primary-light); color: var(--primary-dark); }

/* ---------- হেডার ---------- */
.topbar { background: var(--primary-dark); color: #e0f2fe; font-size: .92rem; }
.topbar .container { display: flex; justify-content: space-between; padding-top: 4px; padding-bottom: 4px; }
.topbar a { color: #fff; font-weight: 700; }
.site-header { background: #fff; box-shadow: 0 1px 0 var(--border); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.logo { display: flex; align-items: center; text-decoration: none !important; }
.logo img { display: block; height: 46px; width: auto; transition: opacity .2s; }
.logo:hover img { opacity: .88; }
@media (max-width: 420px) { .logo img { height: 38px; } }
.footer-logo { display: inline-block; margin-bottom: 12px; }
.footer-logo img { display: block; height: 42px; width: auto; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--primary-dark); }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a:not(.btn) { padding: 8px 12px; color: var(--text); border-radius: 6px; font-weight: 500; }
.main-nav > a:not(.btn):hover, .main-nav > a.active { background: var(--primary-light); color: var(--primary); text-decoration: none; }

/* ---------- ব্রেডক্রাম্ব ---------- */
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; padding: 12px 0 0; margin: 0; font-size: .9rem; }
.breadcrumb li + li::before { content: '›'; margin: 0 8px; color: var(--muted); }
.breadcrumb span { color: var(--muted); }

/* ---------- হিরো ---------- */
.hero { background: linear-gradient(135deg, #0e7490 0%, #0891b2 55%, #06b6d4 100%); color: #fff; padding: 56px 0 44px; text-align: center; }
.hero h1 { font-size: clamp(1.7rem, 5vw, 2.8rem); }
.hero-sub { opacity: .92; max-width: 640px; margin: 0 auto 24px; font-size: 1.08rem; }
.hero-stats { display: flex; justify-content: center; gap: 32px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-size: 1.6rem; }
.hero-stats span { opacity: .85; font-size: .9rem; }

/* ---------- সার্চ ফর্ম ---------- */
.search-form { display: flex; gap: 8px; background: #fff; padding: 8px; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.15); max-width: 900px; margin: 0 auto; flex-wrap: wrap; }
.sf-field { flex: 1 1 180px; position: relative; }
.sf-q { flex: 2 1 280px; }
.search-form input, .search-form select { width: 100%; height: 48px; border: 1px solid var(--border); border-radius: 10px; padding: 0 14px; font: inherit; color: var(--text); background: #fff; }
.search-form .btn { height: 48px; flex: 0 0 auto; }
.ac-list { position: absolute; left: 0; right: 0; top: 52px; background: #fff; border-radius: 10px; box-shadow: var(--shadow); text-align: left; z-index: 40; max-height: 360px; overflow: auto; border: 1px solid var(--border); }
.ac-list a { display: block; padding: 8px 14px; color: var(--text); border-bottom: 1px solid var(--border); }
.ac-list a:hover, .ac-list a.active { background: var(--primary-light); text-decoration: none; }
.ac-list small { display: block; color: var(--muted); }
.ac-list .ac-type { float: right; font-size: .85rem; color: var(--primary); }

/* ---------- কুইক লিংক ---------- */
.quick-links { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: -24px; position: relative; }
.quick-links a { background: #fff; border-radius: var(--radius); padding: 16px 8px; text-align: center; box-shadow: var(--shadow); color: var(--text); font-weight: 500; }
.quick-links a:hover { text-decoration: none; transform: translateY(-2px); }
.quick-links span { display: block; font-size: 1.8rem; }

/* ---------- সেকশন ---------- */
.section { padding: 40px 0; }
.section-alt { background: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; gap: 12px; }
.page-head { background: linear-gradient(135deg, #0e7490, #0891b2); color: #fff; padding: 28px 0; margin-top: 12px; }
.page-head a { color: #fff; }
.page-head-red { background: linear-gradient(135deg, #b91c1c, #dc2626); }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); background: #fff; border-radius: var(--radius); }

/* ---------- গ্রিড ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.spec-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 12px; text-align: center; color: var(--text); transition: .15s; }
.spec-item:hover { border-color: var(--primary); box-shadow: var(--shadow); text-decoration: none; }
.spec-icon { font-size: 2rem; display: block; }
.spec-name { display: block; font-weight: 600; margin: 4px 0; }
.spec-item small { color: var(--muted); }
.division-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.division-grid a { background: var(--primary-light); color: var(--primary-dark); padding: 16px; border-radius: var(--radius); text-align: center; font-weight: 600; }
.division-grid a:hover { background: var(--primary); color: #fff; text-decoration: none; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.mini-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 6px; color: var(--text); position: relative; }
a.mini-card:hover { border-color: var(--primary); text-decoration: none; }
.mini-card .btn { align-self: flex-start; margin-top: 4px; }
.doctor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.doctor-list { display: flex; flex-direction: column; gap: 14px; }

/* ---------- ডাক্তার কার্ড ---------- */
.doctor-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; display: grid; grid-template-columns: 96px 1fr; gap: 14px; transition: .15s; }
.doctor-card:hover { box-shadow: var(--shadow); border-color: #bae6fd; }
.dc-photo img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid var(--primary-light); }
.dc-name { margin: 0 0 2px; font-size: 1.1rem; }
.dc-name a { color: var(--text); }
.dc-degree { color: var(--primary-dark); font-size: .9rem; margin-bottom: 4px; }
.dc-work, .dc-chamber { font-size: .9rem; color: var(--muted); margin-bottom: 4px; }
.dc-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: .9rem; }
.fee { font-weight: 600; color: var(--green); }
.dc-actions { grid-column: 1 / -1; display: flex; gap: 8px; border-top: 1px dashed var(--border); padding-top: 12px; }
.doctor-list .doctor-card { grid-template-columns: 96px 1fr auto; }
.doctor-list .dc-actions { grid-column: auto; flex-direction: column; border: 0; padding: 0; justify-content: center; }

/* ---------- তালিকা লেআউট ---------- */
.listing-layout { display: grid; grid-template-columns: 270px 1fr; gap: 24px; padding-top: 24px; padding-bottom: 40px; }
.filters-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 10px; position: sticky; top: 80px; }
.filters-toggle { display: none; width: 100%; }
.reset-link { text-align: center; font-size: .9rem; }
.related-links { margin-top: 32px; background: #fff; padding: 18px; border-radius: var(--radius); border: 1px solid var(--border); }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--bg); border: 1px solid var(--border); padding: 4px 12px; border-radius: 99px; color: var(--text); font-size: .9rem; }
.chip:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.seo-content { margin-top: 24px; background: #fff; padding: 20px; border-radius: var(--radius); }

/* ---------- ফর্ম ---------- */
.form { display: flex; flex-direction: column; gap: 12px; }
.form label, .filters-form label, .inline-filters label { display: flex; flex-direction: column; gap: 4px; font-weight: 500; font-size: .95rem; }
.form label.check, .filters-form label.check, .inline-filters label.check { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; }
input[type=text], input[type=search], input[type=email], input[type=tel], input[type=number], input[type=date], input[type=time], input[type=url], input[type=password], select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; background: #fff; color: var(--text);
}
input:focus, select:focus, textarea:focus { outline: 2px solid #67e8f9; border-color: var(--primary); }
fieldset { border: 1px solid var(--border); border-radius: 8px; padding: 12px; margin: 0; }
legend { font-weight: 600; padding: 0 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 4px 12px; }
.check-grid.days { grid-template-columns: repeat(7, auto); }
.inline-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 20px; background: #fff; padding: 12px; border-radius: var(--radius); border: 1px solid var(--border); }
.inline-filters input[type=search], .inline-filters select { width: auto; flex: 1 1 180px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 18px; }
.card > h2 { font-size: 1.2rem; border-bottom: 2px solid var(--primary-light); padding-bottom: 8px; }

/* রেটিং ইনপুট: ডান থেকে বামে স্টার (CSS-only হোভার) */
.rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; border: 0; padding: 0; }
.rating-input legend { width: 100%; }
.rating-input input { position: absolute; opacity: 0; }
.rating-input label { font-size: 2rem; color: #cbd5e1; cursor: pointer; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: #f59e0b; }
.form-toggle summary { list-style: none; margin-top: 12px; }
.form-toggle summary::-webkit-details-marker { display: none; }
details > summary { cursor: pointer; font-weight: 600; }

/* ---------- প্রোফাইল ---------- */
.profile { padding-top: 20px; padding-bottom: 40px; }
.profile-head { display: grid; grid-template-columns: 160px 1fr; gap: 24px; }
.profile-photo { width: 160px; height: 160px; border-radius: 16px; object-fit: cover; }
.profile-head .degree { color: var(--primary-dark); font-weight: 500; }
.profile-facts { list-style: none; padding: 0; margin: 12px 0; display: flex; gap: 10px; flex-wrap: wrap; }
.profile-facts li { background: var(--bg); border-radius: 10px; padding: 8px 14px; text-align: center; }
.profile-facts strong { display: block; color: var(--primary-dark); }
.profile-facts span { font-size: .88rem; color: var(--muted); }
.profile-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.share { font-size: .9rem; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.profile-grid { display: grid; grid-template-columns: 1fr 360px; gap: 20px; }
.sticky { position: sticky; top: 80px; }
.chamber { border-left: 4px solid var(--primary); background: var(--bg); padding: 12px 16px; border-radius: 0 8px 8px 0; margin-bottom: 12px; }
.chamber h3 { margin-bottom: 6px; }
.chamber p { margin-bottom: 3px; }
.note { font-size: .9rem; color: #92400e; }
.review { border-bottom: 1px solid var(--border); padding: 10px 0; }
.rating-big { font-size: 1.2rem; }
.disclaimer { font-size: .92rem; color: #92400e; background: #fffbeb; padding: 10px 14px; border-radius: 8px; margin-top: 16px; }

/* ---------- হাসপাতাল ---------- */
.hospital-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.hospital-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.hospital-card img { width: 100%; height: 170px; object-fit: cover; background: var(--primary-light); }
.hc-body { padding: 14px 16px; }
.hc-body h2 { font-size: 1.1rem; margin: 6px 0; }
.hc-body p { font-size: .92rem; margin-bottom: 3px; }
.hospital-head { display: flex; gap: 20px; flex-wrap: wrap; }
.hospital-head img { border-radius: 10px; object-fit: cover; }

/* ---------- রক্তদাতা ---------- */
.blood-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.blood-pills input { position: absolute; opacity: 0; }
.blood-pills span { display: inline-block; padding: 6px 12px; border: 2px solid #fecaca; border-radius: 8px; font-weight: 700; color: var(--red); cursor: pointer; }
.blood-pills input:checked + span { background: var(--red); color: #fff; border-color: var(--red); }
.donor { padding-right: 70px; }
.blood-badge { position: absolute; right: 14px; top: 14px; width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; display: grid; place-items: center; }

/* ---------- আর্টিকেল ---------- */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.article-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.article-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article-card > div { padding: 14px 16px; }
.article-card h2, .article-card h3 { font-size: 1.1rem; }
.article-card h2 a, .article-card h3 a { color: var(--text); }
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 20px; padding-top: 20px; padding-bottom: 40px; }
.article-hero { border-radius: 10px; margin: 12px 0 20px; width: 100%; }
.content { font-size: 1.05rem; }
.content img { border-radius: 8px; margin: 12px 0; }
.content h2, .content h3 { margin-top: 1.2em; }

/* ---------- CTA ---------- */
.cta-band { background: linear-gradient(135deg, #f97316, #fb923c); color: #fff; padding: 36px 0; }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-band .btn-accent { background: #fff; color: var(--accent-dark); }

/* ---------- পেজিনেশন ---------- */
.pagination { display: flex; gap: 6px; justify-content: center; margin: 24px 0; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: 8px; background: #fff; border: 1px solid var(--border); color: var(--text); }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- ফুটার ---------- */
.site-footer { background: #0f172a; color: #cbd5e1; padding: 40px 0 0; margin-top: 40px; }
.site-footer h3 { color: #fff; font-size: 1.05rem; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 24px; }
.social { display: flex; gap: 12px; }
.copyright { border-top: 1px solid #1e293b; margin-top: 24px; padding: 16px; text-align: center; font-size: .92rem; }
.back-to-top { position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--primary); color: #fff; font-size: 1.3rem; cursor: pointer; box-shadow: var(--shadow); }

/* =====================================================================
   রেসপন্সিভ
   ===================================================================== */
@media (max-width: 980px) {
  .listing-layout, .profile-grid, .article-layout { grid-template-columns: 1fr; }
  .filters-toggle { display: flex; }
  .filters-form { display: none; position: static; margin-top: 10px; }
  .filters.open .filters-form { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sticky { position: static; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 16px 16px; box-shadow: 0 10px 20px rgba(0,0,0,.08); }
  .main-nav.open { display: flex; }
  .hide-sm { display: none; }
  .quick-links { grid-template-columns: repeat(3, 1fr); }
  .division-grid { grid-template-columns: repeat(2, 1fr); }
  .doctor-grid { grid-template-columns: 1fr; }
  .doctor-list .doctor-card, .doctor-card { grid-template-columns: 72px 1fr; }
  .dc-photo img { width: 72px; height: 72px; }
  .doctor-list .dc-actions { grid-column: 1 / -1; flex-direction: row; border-top: 1px dashed var(--border); padding-top: 12px; }
  .profile-head { grid-template-columns: 1fr; text-align: center; }
  .profile-photo { margin: 0 auto; }
  .profile-facts, .profile-actions, .share { justify-content: center; }
  .row2 { grid-template-columns: 1fr; }
  .check-grid.days { grid-template-columns: repeat(4, auto); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 18px; }
}

/* ---------- BMDC যাচাই ব্যাজ ও তথ্য ---------- */
.badge-bmdc { display: inline-block; background: #16a34a; color: #fff; font-size: .85rem; font-weight: 600; padding: 1px 8px; border-radius: 99px; vertical-align: middle; white-space: nowrap; }
.bmdc-box { display: flex; flex-direction: column; gap: 2px; border: 1px solid #bbf7d0; background: #f0fdf4; border-radius: 10px; padding: 10px 14px; margin: 10px 0; font-size: .92rem; }
.bmdc-box strong { color: #166534; }
.bmdc-box.bmdc-unverified, .bmdc-box.bmdc-invalid { background: var(--bg); border-color: var(--border); }
.bmdc-box.bmdc-unverified strong, .bmdc-box.bmdc-invalid strong { color: var(--text); }
.bmdc-box.bmdc-expired { background: #fffbeb; border-color: #fde68a; }
.bmdc-box.bmdc-expired strong { color: #92400e; }
.bmdc-box a { font-size: .9rem; }
@media (max-width: 760px) { .bmdc-box { text-align: left; } }

/* ---------- যুক্ত হোন: পেমেন্ট ধাপ ---------- */
.pay-section { border: 2px dashed #fdba74; background: #fff7ed; border-radius: var(--radius); padding: 18px; margin-top: 8px; }
.pay-section h2 { color: var(--accent-dark); }
.pay-methods { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.pay-method { position: relative; cursor: pointer; }
.pay-method input { position: absolute; opacity: 0; }
.pay-method .pm-name { display: inline-block; padding: 10px 20px; border: 2px solid var(--pm); color: var(--pm); background: #fff; border-radius: 10px; font-weight: 700; }
.pay-method input:checked + .pm-name { background: var(--pm); color: #fff; }
.pay-method input:focus-visible + .pm-name { outline: 3px solid #93c5fd; }
.pay-info { background: #fff; border-left: 5px solid var(--pm); border-radius: 8px; padding: 12px 14px; margin-bottom: 14px; }
.pay-number { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pay-number strong { font-size: 1.3rem; letter-spacing: 1px; }
.pay-bank { white-space: normal; line-height: 1.7; }
.pay-hint { color: #b45309; font-size: .92rem; }
button[data-final-submit]:disabled { opacity: .5; cursor: not-allowed; }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1ebe5a; }
.wa-box { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; padding: 12px 14px; }
.success-card { text-align: center; }
.success-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--green); color: #fff; font-size: 2.4rem; display: grid; place-items: center; margin: 0 auto 12px; }
.success-card .ref { font-size: 1.15rem; }

/* ---------- যুক্ত হোন: সেকশনভিত্তিক ফর্ম ---------- */
.join-form { gap: 18px; }
.form-section { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.form-section h2 { display: flex; align-items: center; gap: 10px; margin: 0; }
.form-section h2 small { font-weight: 400; color: var(--muted); font-size: .9rem; }
.step { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 1rem; flex: 0 0 auto; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.inline-radios { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.inline-radios legend { width: 100%; }
.spec-filter { margin-bottom: 8px; }
.chamber-form { border: 1px solid #a5f3fc; background: #f8feff; border-radius: 10px; padding: 14px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 10px; }
.chamber-form-head { display: flex; justify-content: space-between; align-items: center; }
.chamber-form-head .remove { color: var(--red); }
@media (max-width: 760px) { .row3 { grid-template-columns: 1fr; } }

/* ---------- প্রোফাইল: চেম্বার ম্যাপ ও অতিরিক্ত তথ্য ---------- */
.chamber-map { margin-top: 10px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16 / 9; background: var(--primary-light); }
.chamber-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.chamber .fee-line { font-weight: 600; color: var(--green); }
.appt-btn { background: #7c3aed; color: #fff; }
.appt-btn:hover { background: #6d28d9; }
.profile-links { display: flex; flex-wrap: wrap; gap: 10px; font-size: .92rem; }
.disease-list { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; list-style: none; }
.disease-list li { background: #fef3c7; color: #92400e; border-radius: 99px; padding: 3px 12px; font-size: .9rem; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { padding: 6px 0; border-bottom: 1px dashed var(--border); }
.info-list li strong { display: inline-block; min-width: 150px; color: var(--muted); font-weight: 500; }

/* ---------- জেলা × বিশেষজ্ঞতা SEO পেজ ---------- */
.landing { padding-top: 16px; padding-bottom: 40px; max-width: 960px; }
.landing-head { margin-bottom: 12px; }
.landing-intro, .landing-article { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 18px; }
.landing-article h2 { font-size: 1.25rem; color: var(--primary-dark); margin-top: 1.4em; }
.landing-article h2:first-child { margin-top: 0; }
.landing-article ul { padding-left: 1.3em; }
.landing-article li { margin-bottom: 4px; }
.at-a-glance { background: var(--primary-light); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 18px; }
.at-a-glance h2 { font-size: 1.1rem; margin-bottom: 10px; }
.at-a-glance dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 0; }
.at-a-glance dl > div { background: #fff; border-radius: 10px; padding: 10px 12px; }
.at-a-glance dl > div.wide { grid-column: 1 / -1; }
.at-a-glance dt { font-size: .88rem; color: var(--muted); }
.at-a-glance dd { margin: 0; font-weight: 700; color: var(--primary-dark); }
.landing-list { margin-bottom: 18px; }
.doctor-card { position: relative; }
.dc-rank { position: absolute; left: -8px; top: -8px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .9rem; box-shadow: var(--shadow); }
.faq { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 18px; }
.faq details { border-bottom: 1px solid var(--border); padding: 10px 0; }
.faq details:last-child { border-bottom: 0; }
.faq summary { font-weight: 600; }
.faq details p { margin: 8px 0 0; color: #334155; }
.cta-inline { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; background: #fff7ed; border: 1px solid #fed7aa; border-radius: var(--radius); padding: 16px 20px; margin-top: 18px; }
.cta-inline p { margin: 0; }

/* ---------- বিজ্ঞাপন ---------- */
.ad-slot { position: relative; margin: 18px 0; text-align: center; }
.ad-slot img { margin: 0 auto; max-width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--border); }
.ad-label a { color: #fff; text-decoration: underline; }
.ad-label { position: absolute; top: 6px; left: 6px; background: rgba(15, 23, 42, .65); color: #fff; font-size: .85rem; padding: 1px 8px; border-radius: 99px; }

/* ---------- যুক্ত হোন: কেন যুক্ত হবেন ---------- */
.why-join { background: linear-gradient(135deg, #ecfeff, #f0fdf4); border: 1px solid #a5f3fc; border-radius: var(--radius); padding: 16px 20px; margin: 8px 0 18px; }
.why-join p { font-size: 1.04rem; margin-bottom: 10px; }
.why-join ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.why-join li { padding-left: 26px; position: relative; font-size: .95rem; }
.why-join li::before { content: '✔'; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }
.why-join strong { color: var(--primary-dark); }
.why-join h2 { font-size: 1.15rem; color: var(--primary-dark); margin-bottom: 8px; }

/* ---------- ভাষা সুইচ ---------- */
.lang-switch { display: inline-flex; border: 1px solid var(--border); border-radius: 99px; overflow: hidden; margin-left: 6px; }
.lang-switch a { padding: 5px 11px; font-size: .9rem; color: var(--text); text-decoration: none !important; }
.lang-switch a.active { background: var(--primary); color: #fff; }
@media (max-width: 760px) { .lang-switch { align-self: flex-start; margin: 8px 0 0; } }

/* ===== আর্টিকেল: প্রিভিউ, বাইলাইন, সূচিপত্র, ভিডিও, টেবিল, ডাক্তার কার্ড, FAQ, লেখক ===== */
.preview-bar { background: #fff4d6; border-bottom: 2px solid #f0b400; padding: 8px 16px; text-align: center; font-weight: 600; }
.article-main h1 { margin: 10px 0; line-height: 1.35; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .95rem; }
.byline img { border-radius: 50%; object-fit: cover; }
.byline .reviewed { color: #0a7a4b; }
.article-hero { margin: 14px 0; }
.article-hero img, .article-content img { max-width: 100%; height: auto; border-radius: 8px; }
.lead { font-size: 1.1rem; color: #444; }
.toc { background: #f4f8fb; border: 1px solid #dbe7ef; border-radius: 10px; padding: 12px 16px; margin: 16px 0; }
.toc summary { font-weight: 700; cursor: pointer; }
.toc ol { margin: 8px 0 0; padding-left: 22px; }
.toc li { margin: 4px 0; }
.toc .toc-h3 { margin-left: 18px; list-style: circle; font-size: .95rem; }
.toc-side ol { padding-left: 20px; margin: 0; }
.sticky { position: sticky; top: 80px; }
.article-content h2, .article-content h3 { scroll-margin-top: 80px; }
.article-content figure { margin: 18px auto; text-align: center; }
.article-content figcaption { color: #666; font-size: .9rem; margin-top: 4px; }
.video-embed { position: relative; aspect-ratio: 16 / 9; margin: 18px 0; border-radius: 10px; overflow: hidden; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.article-content iframe { max-width: 100%; }
.table-wrap { overflow-x: auto; margin: 16px 0; }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 480px; }
.table-wrap th, .table-wrap td { border: 1px solid #dde3e8; padding: 8px 10px; text-align: left; vertical-align: top; }
.table-wrap th, .table-wrap thead td { background: #eef5f9; }
.table-wrap table.striped tr:nth-child(even) td { background: #f8fafb; }
.article-doctor { margin: 16px 0; }
.article-doctors h2, .faq h2 { margin-top: 28px; }
.faq details { border: 1px solid #e3e8ec; border-radius: 8px; padding: 10px 14px; margin: 8px 0; }
.faq summary { font-weight: 600; cursor: pointer; }
.article-tags .chip { margin: 2px; }
.author-box { display: flex; gap: 14px; background: #f7f9fa; border-radius: 10px; padding: 14px; margin: 18px 0; }
.author-box img { border-radius: 50%; object-fit: cover; flex: none; }
.author-box p { margin: 6px 0 0; }
.author-head { display: flex; gap: 18px; align-items: center; }
.author-head img { border-radius: 50%; object-fit: cover; }

/* ===== ডাক্তার প্রোফাইল — হিরো + ট্যাব + দুই কলাম (মোবাইলে এক কলাম) ===== */
.dp2 { padding-bottom: 40px; }
.dp-hero { background: linear-gradient(135deg, #0e7490 0%, #155e75 55%, #164e63 100%); color: #fff; padding: 28px 0 0; position: relative; overflow: hidden; }
.dp-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: rgba(255,255,255,.06); pointer-events: none; }
.dp-hero a { color: #fff; }
.dp-hero-in { display: flex; gap: 26px; align-items: center; position: relative; z-index: 1; }
.dp-ava { position: relative; flex: none; }
.dp-ava img, .dp-ava-txt { width: 168px; height: 168px; border-radius: 50%; object-fit: cover; border: 5px solid rgba(255,255,255,.9); box-shadow: 0 8px 24px rgba(0,0,0,.18); background: #e0f2fe; }
.dp-ava-txt { display: grid; place-items: center; font-size: 4rem; font-weight: 700; color: var(--primary-dark); }
/* ছবির নিচে "Doctor Directory Bangladesh Verified" ব্যাজ — ব্যাজের জন্য ছবির চারপাশে জায়গা */
.dp-ava--v { margin: 0 30px 18px; }
.dp-vbadge { position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%); z-index: 2; display: inline-flex; align-items: center; gap: 5px;
  white-space: nowrap; background: #fff; color: #0b4a5a; border: 1px solid #bae6fd; border-radius: 999px; padding: 4px 10px 4px 4px;
  font: 700 .66rem/1.2 system-ui, 'Segoe UI', sans-serif; letter-spacing: .01em; box-shadow: 0 4px 14px rgba(15,23,42,.2); }
.dp-vbadge i { width: 18px; height: 18px; flex: none; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #10b981, #059669); }
.dp-live { position: absolute; right: 14px; bottom: 14px; width: 22px; height: 22px; border-radius: 50%; background: #22c55e; border: 3px solid #fff; animation: dpPulse 1.8s infinite; }
@keyframes dpPulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); } 70% { box-shadow: 0 0 0 12px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.dp-hero h1 { color: #fff; margin: 0 0 4px; font-size: clamp(1.5rem, 3.6vw, 2.1rem); }
.dp-hero-txt p { margin: 3px 0; }
.dp-tick { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #1d9bf0; color: #fff; font-size: .85rem; vertical-align: middle; box-shadow: 0 0 0 3px rgba(255,255,255,.35); }
.dp-degree { font-weight: 600; font-size: 1.05rem; color: #cffafe; }
.dp-inst { opacity: .85; font-size: .93rem; }
.dp-specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 !important; }
.dp-specs a { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); padding: 3px 12px; border-radius: 20px; font-weight: 600; font-size: .9rem; text-decoration: none; }
.dp-specs a:hover { background: rgba(255,255,255,.28); }
.dp-work { opacity: .92; }
.dp-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.dp-rating a { text-decoration: none; }
.dp-rating .stars { color: #fcd34d; }
.dp-rating .stars .off { color: rgba(255,255,255,.35); }
.dp-rating span { opacity: .85; font-size: .92rem; }
.dp-stats { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; color: var(--text); border-radius: 14px 14px 0 0; box-shadow: 0 -2px 12px rgba(0,0,0,.08); position: relative; z-index: 1; }
.dp-stats li { text-align: center; padding: 14px 8px; border-right: 1px solid var(--border); }
.dp-stats li:last-child { border-right: 0; }
.dp-stats b { display: block; font-size: 1.35rem; color: var(--primary-dark); line-height: 1.35; }
.dp-stats span { font-size: .88rem; color: var(--muted); }

.dp-tabs { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 2px 6px rgba(0,0,0,.04); }
.dp-tabs .container { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.dp-tabs .container::-webkit-scrollbar { display: none; }
.dp-tabs a { padding: 12px 14px; white-space: nowrap; color: var(--muted); font-weight: 600; border-bottom: 3px solid transparent; text-decoration: none; }
.dp-tabs a:hover, .dp-tabs a.active { color: var(--primary); border-bottom-color: var(--primary); }

.dp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; align-items: start; padding-top: 20px; }
.dp-sec, .dp-card { background: #fff; border-radius: 14px; padding: 20px 22px; margin-bottom: 18px; box-shadow: var(--shadow); scroll-margin-top: 60px; }
.dp-sec > h2 { margin: 0 0 14px; font-size: 1.22rem; display: flex; align-items: center; gap: 10px; }
.dp-sec > h2::before { content: ""; width: 5px; height: 22px; border-radius: 3px; background: var(--primary); flex: none; }

/* চেম্বার কার্ড */
.dp-ch { border: 1px solid var(--border); border-radius: 12px; padding: 16px; margin-bottom: 14px; transition: .15s; }
.dp-ch:hover { border-color: #a5d8e6; box-shadow: 0 4px 14px rgba(14,116,144,.08); }
.dp-ch.is-today { border-color: #86efac; background: linear-gradient(180deg, #f0fdf4 0, #fff 60px); }
.dp-ch-top { display: flex; gap: 8px; flex-wrap: wrap; }
.dp-ch-top:empty { display: none; }
.dp-ch h3 { margin: 6px 0 8px; font-size: 1.1rem; }
.dp-row { display: flex; gap: 8px; margin: 5px 0; align-items: flex-start; }
.dp-row .ic { flex: none; width: 22px; text-align: center; }
.dp-note { color: var(--muted); font-size: .92rem; }
.dp-chno { background: var(--primary-light); color: var(--primary-dark); font-size: .86rem; font-weight: 700; padding: 2px 10px; border-radius: 20px; }
.dp-pill { display: inline-block; font-size: .86rem; font-weight: 600; padding: 2px 10px; border-radius: 20px; background: #f1f5f9; color: var(--muted); }
.dp-pill.green { background: #dcfce7; color: #15803d; }
.dp-pill.blue { background: #e0f2fe; color: #0369a1; }
.dp-week { list-style: none; display: flex; gap: 5px; padding: 0; margin: 8px 0 8px 30px; flex-wrap: wrap; }
.dp-week li { min-width: 42px; text-align: center; font-size: .86rem; padding: 3px 4px; border-radius: 6px; background: #f1f5f9; color: #94a3b8; }
.dp-week li.on { background: var(--primary); color: #fff; font-weight: 600; }
.dp-week li.today { outline: 2px solid var(--accent); outline-offset: 1px; }
.dp-ch-call { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; padding: 12px 14px; background: var(--bg); border-radius: 10px; }
.dp-ch-call small { display: block; color: var(--muted); }
.dp-num { font-size: 1.15rem; font-weight: 700; margin-right: 10px; letter-spacing: .3px; }
.dp-mapbox { margin-top: 10px; }
.dp-mapbox summary { cursor: pointer; color: var(--primary-dark); font-weight: 600; }
.dp-online { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 4px 0 0; }

/* যেসব রোগের চিকিৎসা করেন — তালিকা: বড় পর্দায় ২ কলাম, ছোট পর্দায় ১ কলাম */
.dp-chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.dp-chips li { position: relative; padding: 9px 4px 9px 32px; border-bottom: 1px dashed var(--border); line-height: 1.5; }
.dp-chips li::before { content: "✓"; position: absolute; left: 4px; top: 9px; width: 20px; height: 20px; border-radius: 50%; background: #dcfce7; color: var(--green); font-size: .8rem; font-weight: 700; display: grid; place-items: center; line-height: 1; }
@media (max-width: 640px) { .dp-chips { grid-template-columns: 1fr; } }

/* সম্পূর্ণ তথ্য */
.dp-info { display: grid; grid-template-columns: 180px 1fr; margin: 0; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.dp-info dt, .dp-info dd { padding: 10px 14px; border-bottom: 1px solid var(--border); margin: 0; }
.dp-info dt { font-weight: 600; background: #f8fafc; color: #334155; }
.dp-info dt:last-of-type, .dp-info dd:last-of-type { border-bottom: 0; }
.dp-sched { margin: 0; padding-left: 18px; }
.dp-social { display: flex; flex-wrap: wrap; gap: 6px; }
.dp-soc { display: inline-block; padding: 3px 12px; border-radius: 6px; background: var(--c, #64748b); color: #fff !important; font-size: .9rem; font-weight: 600; text-decoration: none !important; }
.dp-soc:hover { filter: brightness(1.1); }

/* FAQ অ্যাকর্ডিয়ন */
.dp-faq details { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 10px; background: #fff; }
.dp-faq details[open] { border-color: #a5d8e6; box-shadow: 0 2px 10px rgba(14,116,144,.07); }
.dp-faq summary { list-style: none; cursor: pointer; padding: 12px 44px 12px 16px; position: relative; }
.dp-faq summary::-webkit-details-marker { display: none; }
.dp-faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--primary); }
.dp-faq details[open] summary::after { content: "−"; }
.dp-faq summary h3 { margin: 0; font-size: 1rem; }
.dp-faq details p { padding: 0 16px 14px; margin: 0; color: #334155; }
.dp-warn, .dp-notice { background: #fff8e6; border-left: 3px solid #f0b400; padding: 8px 12px; border-radius: 6px; font-size: .92rem; }

/* রিভিউ */
.dp-rsum { display: flex; gap: 24px; align-items: center; background: var(--bg); border-radius: 12px; padding: 16px 18px; margin-bottom: 14px; }
.dp-rbig { text-align: center; flex: none; min-width: 120px; }
.dp-rbig b { display: block; font-size: 2.6rem; line-height: 1; color: var(--text); }
.dp-rbig .stars { font-size: 1.1rem; white-space: nowrap; display: block; }
.dp-rbig span { display: block; font-size: .9rem; color: var(--muted); }
.dp-rbars { list-style: none; margin: 0; padding: 0; flex: 1; }
.dp-rbars li { display: grid; grid-template-columns: 34px 1fr 30px; gap: 8px; align-items: center; font-size: .9rem; margin: 3px 0; }
.dp-rbars i { height: 8px; background: #e2e8f0; border-radius: 4px; overflow: hidden; }
.dp-rbars em { display: block; height: 100%; background: #f59e0b; border-radius: 4px; }
.dp-rev { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.dp-rev p { margin: 4px 0 0; }
.dp-rev-ava { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--primary-light); color: var(--primary-dark); display: grid; place-items: center; font-weight: 700; }
.dp-review-wrap { margin-top: 14px; }
.dp-review-wrap > summary { list-style: none; display: inline-flex; }
.dp-review-wrap > summary::-webkit-details-marker { display: none; }
.dp-review-form { margin-top: 14px; }
.dp-review-form .row2 { align-items: end; }
.word-count { display: block; text-align: right; color: var(--muted); margin-top: -6px; }
.word-count.over { color: #c62828; font-weight: 600; }

/* সাইডবার */
.dp-side { position: sticky; top: 62px; }
.dp-card h2 { font-size: 1.08rem; margin: 0 0 10px; }
.dp-quick { border-top: 4px solid var(--accent); }
.dp-quick .btn { margin-bottom: 8px; }
.dp-today { background: #f1f5f9; border-radius: 10px; padding: 10px 12px; font-size: .93rem; }
.dp-today.open { background: #dcfce7; color: #14532d; }
.dp-today.off { color: var(--muted); }
#appointment summary { list-style: none; cursor: pointer; }
#appointment summary::-webkit-details-marker { display: none; }
#appointment summary h2 { margin: 0; }
#appointment details[open] summary h2 { margin-bottom: 8px; }
.dp-share div { display: flex; gap: 6px; flex-wrap: wrap; }
.dp-share a, .dp-share button { flex: 1; text-align: center; padding: 7px 8px; border-radius: 8px; color: #fff; font: inherit; font-size: .92rem; font-weight: 600; border: 0; cursor: pointer; text-decoration: none; }
.dp-share .fb { background: #1877f2; } .dp-share .wa { background: #25d366; } .dp-share .cp { background: #64748b; }
.dp-report summary { cursor: pointer; color: var(--muted); font-size: .93rem; }
.dp-upd { margin: 10px 0 0; }

/* মোবাইলের নিচের অ্যাকশন বার */
.dp-bar { display: none; }

@media (max-width: 960px) {
  .dp-layout { grid-template-columns: 1fr; }
  .dp-side { position: static; }
}
@media (max-width: 640px) {
  .dp-hero { padding-top: 22px; }
  .dp-hero-in { flex-direction: column; text-align: center; gap: 14px; }
  .dp-ava img, .dp-ava-txt { width: 128px; height: 128px; }
  .dp-ava--v { margin: 0 0 14px; }
  .dp-vbadge { font-size: .58rem; padding: 3px 8px 3px 3px; bottom: -10px; }
  .dp-vbadge i { width: 15px; height: 15px; }
  .dp-specs, .dp-rating { justify-content: center; }
  .dp-stats { grid-template-columns: repeat(2, 1fr); }
  .dp-stats li:nth-child(2) { border-right: 0; }
  .dp-stats li:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .dp-sec, .dp-card { padding: 16px 14px; }
  .dp-week { margin-left: 0; }
  .dp-week li { min-width: 0; flex: 1; }
  .dp-info { grid-template-columns: 1fr; }
  .dp-info dt { border-bottom: 0; padding-bottom: 2px; background: none; color: var(--muted); font-size: .9rem; }
  .dp-info dd { padding-top: 0; }
  .dp-rsum { flex-direction: column; gap: 10px; align-items: stretch; }
  .dp-bar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 16px rgba(0,0,0,.1); }
  .dp-bar .btn { flex: 1; }
  .dp2 { padding-bottom: 76px; }
  .back-to-top { bottom: 84px !important; }
}
/* ছোট মোবাইলে দ্রুত সেবা: ২ কলাম, আইকন পাশে — বাংলা লেখা এক লাইনে পড়া যায় */
@media (max-width: 480px) {
  .quick-links { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .quick-links a { display: flex; align-items: center; gap: 8px; text-align: left; padding: 12px; font-size: .95rem; line-height: 1.4; }
  .quick-links span { font-size: 1.4rem; flex: none; }
}

/* ===== সোশ্যাল মিডিয়া রিপিটার (Join ফর্ম ও অ্যাডমিন) ===== */
.soc-field { margin: 10px 0 14px; }
.soc-label { display: block; font-weight: 600; margin-bottom: 6px; }
.soc-row { display: grid; grid-template-columns: 150px 1fr 40px; gap: 8px; margin-bottom: 8px; }
.soc-row select, .soc-row input { width: 100%; margin: 0; }
.soc-del { border: 1px solid var(--border); background: #fff; color: #c62828; border-radius: 8px; cursor: pointer; font-size: 1rem; }
.soc-del:hover { background: #fee2e2; }
.soc-help { display: block; color: var(--muted); margin-top: 6px; }
@media (max-width: 480px) { .soc-row { grid-template-columns: 1fr 40px; } .soc-row select { grid-column: 1 / -1; } }

/* জনপ্রিয় অনুসন্ধান (ফুটার) ও সম্পর্কিত অনুসন্ধান (প্রোফাইল) — ইন্টারনাল লিংক */
.footer-popular { border-top: 1px solid rgba(255,255,255,.15); padding-top: 16px; margin-top: 8px; }
.footer-popular h3 { font-size: 1rem; margin-bottom: 6px; }
.footer-popular p { font-size: .92rem; line-height: 2; }
.dp-related { margin-top: 8px; }
.dp-related h2 { font-size: 1.15rem; }
.dp-related .chip { display: inline-block; margin: 3px 2px; padding: 4px 12px; border: 1px solid var(--border); border-radius: 20px; background: #fff; font-size: .92rem; }

/* ===================================================================
   তথ্য-পেজ (About, Contact, Privacy, Disclaimer, Help, Advertise)
   =================================================================== */
.ip { padding-bottom: 40px; }
.ip-hero { background: linear-gradient(135deg, #0e7490 0%, #155e75 60%, #164e63 100%); color: #fff; padding: 34px 0 30px; text-align: center; position: relative; overflow: hidden; }
.ip-hero::before { content: ""; position: absolute; left: -90px; bottom: -140px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.06); }
.ip-hero .container { position: relative; }
.ip-icon { display: inline-grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.15); font-size: 1.8rem; margin-bottom: 8px; }
.ip-hero h1 { color: #fff; margin: 0 0 6px; font-size: clamp(1.6rem, 4vw, 2.2rem); }
.ip-sub { max-width: 720px; margin: 0 auto; font-size: 1.08rem; opacity: .92; }
.ip-updated { margin: 10px 0 0; font-size: .9rem; opacity: .85; }
.ip-advertise .ip-hero, .ip-about .ip-hero { padding-bottom: 54px; }

.ip-stats { list-style: none; padding: 0; margin: -30px auto 0; position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 14px; box-shadow: 0 6px 22px rgba(15,23,42,.1); max-width: 900px; }
.ip-stats li { text-align: center; padding: 16px 8px; border-right: 1px solid var(--border); }
.ip-stats li:last-child { border-right: 0; }
.ip-stats b { display: block; font-size: 1.6rem; color: var(--primary-dark); line-height: 1.3; }
.ip-stats span { color: var(--muted); font-size: .9rem; }

.ip-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; }
.ip-cards > div { background: #fff; border-radius: 14px; padding: 18px; box-shadow: var(--shadow); border-top: 3px solid var(--primary); }
.ip-cards span { font-size: 1.6rem; }
.ip-cards h3 { margin: 6px 0 4px; font-size: 1.05rem; }
.ip-cards p { margin: 0; color: #334155; font-size: .95rem; }

.ip-contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-top: -22px; position: relative; z-index: 1; }
.ip-cc { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; background: #fff; border-radius: 14px; padding: 18px 12px; box-shadow: 0 6px 22px rgba(15,23,42,.1); color: var(--text); text-decoration: none !important; transition: .15s; }
a.ip-cc:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(15,23,42,.14); }
.ip-cc span { font-size: 1.6rem; }
.ip-cc b { font-size: 1rem; }
.ip-cc em { font-style: normal; color: var(--primary-dark); font-weight: 600; word-break: break-word; }
.ip-cc.wa em { color: #128c7e; }

.ip-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-top: 20px; }
.ip-quick a { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; font-weight: 600; color: var(--text); text-decoration: none; }
.ip-quick a:hover { border-color: var(--primary); color: var(--primary); }
.ip-quick span { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--primary-light); color: var(--primary-dark); display: grid; place-items: center; font-size: .9rem; }

.ip-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; margin-top: 22px; }
.ip-main > .card, .ip-main > section { margin-bottom: 18px; }
.ip-content { font-size: 1.02rem; }
.ip-content h2 { margin-top: 1.6em; padding-top: .3em; scroll-margin-top: 80px; }
.ip-content h2:first-child { margin-top: 0; }
.ip-content h3 { scroll-margin-top: 80px; }
.ip-content li { margin: 6px 0; }
.ip-content .note { background: #fff8e6; border-left: 4px solid #f0b400; padding: 12px 14px; border-radius: 8px; }
.ip-legal .ip-content h2 { font-size: 1.2rem; border-bottom: 1px solid var(--border); padding-bottom: 6px; }

.ip-side { position: sticky; top: 76px; }
.ip-side .card { margin-bottom: 16px; padding: 16px 18px; }
.ip-side h2 { font-size: 1.02rem; margin: 0 0 10px; border: 0; padding: 0; }
.ip-toc ol { margin: 0; padding-left: 20px; font-size: .95rem; }
.ip-toc li { margin: 5px 0; }
.ip-nav ul { list-style: none; margin: 0; padding: 0; }
.ip-nav li a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--text); text-decoration: none; }
.ip-nav li a:hover { background: var(--bg); }
.ip-nav li.on a { background: var(--primary-light); color: var(--primary-dark); font-weight: 700; border-left: 3px solid var(--primary); }
.ip-help { border-top: 4px solid var(--accent); }
.ip-help p { margin: 0 0 10px; color: var(--muted); }
.ip-help .btn { margin-bottom: 8px; }
.ip-toc-mobile { display: none; }

.ip-places { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.ip-places > div { border: 1px dashed #a5d8e6; border-radius: 10px; padding: 12px; background: #f8fdff; }
.ip-places b { display: block; }
.ip-places small { color: var(--muted); }

.ip-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: linear-gradient(135deg, #0e7490, #164e63); color: #fff; border-radius: 14px; padding: 22px 24px; }
.ip-cta h2 { color: #fff; margin: 0 0 4px; font-size: 1.25rem; border: 0; }
.ip-cta p { margin: 0; opacity: .9; }
.btn-light { background: #fff; color: var(--primary-dark) !important; border: 0; }
.btn-light:hover { background: #ecfeff; text-decoration: none; }
.btn-outline-light { background: transparent; color: #fff !important; border: 1px solid rgba(255,255,255,.7); }
.btn-wa { background: #25d366; color: #fff !important; border: 0; }
.btn-wa:hover { background: #1fb457; text-decoration: none; }
.ip-faq { margin-bottom: 18px; }
.footer-legal a { margin: 0 2px; }
.join-help { color: var(--muted); }

@media (max-width: 960px) {
  .ip-layout { grid-template-columns: 1fr; }
  .ip-side { position: static; }
  .ip-toc { display: none; }
  .ip-toc-mobile { display: block; }
  .ip-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .ip-stats { grid-template-columns: repeat(2, 1fr); }
  .ip-stats li:nth-child(2) { border-right: 0; }
  .ip-stats li:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .ip-cards { grid-template-columns: 1fr; }
  .ip-cta { padding: 18px; }
}
@media (max-width: 560px) {
  .ip-contact-cards { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: -18px; }
  .ip-cc { padding: 12px 8px; font-size: .92rem; }
  .ip-cc span { font-size: 1.3rem; }
}
.dp-room b { color: var(--primary-dark); }
.dc-room { color: var(--muted); font-size: .9em; }

/* ===== হাসপাতাল/ডায়াগনস্টিক যুক্ত করুন ===== */
.hj-hero-cta { margin: 14px 0 0; }
.hj-intro { font-size: 1.04rem; margin-top: 0; }
.hj-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hj-benefits > div { background: var(--bg); border-radius: 10px; padding: 12px 14px; }
.hj-benefits b { display: block; color: var(--primary-dark); }
.hj-benefits span { font-size: .94rem; color: #334155; }
.hj-form h2 { display: flex; align-items: center; gap: 10px; font-size: 1.12rem; margin: 22px 0 12px; padding-top: 14px; border-top: 1px solid var(--border); }
.hj-form h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 4px; }
.hj-form h2 small { font-weight: 400; color: var(--muted); font-size: .85rem; }
.hj-no { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: .95rem; }
.hj-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.hj-type { position: relative; margin: 0; cursor: pointer; }
.hj-type input { position: absolute; opacity: 0; pointer-events: none; }
.hj-type span { display: flex; flex-direction: column; align-items: center; gap: 4px; border: 2px solid var(--border); border-radius: 12px; padding: 14px 8px; font-weight: 600; text-align: center; transition: .15s; }
.hj-type b { font-size: 1.7rem; }
.hj-type input:checked + span { border-color: var(--primary); background: var(--primary-light); color: var(--primary-dark); }
.hj-type input:focus-visible + span { outline: 3px solid #93c5fd; }
.hj-form .btn-lg { width: 100%; margin-top: 10px; }
.hj-done { text-align: center; margin-top: 22px; border-top: 4px solid var(--green); }
.hj-done > span { font-size: 2.6rem; }
.hj-done .btn { margin: 4px; }
.hj-steps ol { list-style: none; counter-reset: s; padding: 0; margin: 0; }
.hj-steps li { counter-increment: s; position: relative; padding: 0 0 14px 40px; }
.hj-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--primary-light); color: var(--primary-dark); display: grid; place-items: center; font-weight: 700; }
.hj-steps li b { display: block; }
.hj-steps li span { font-size: .92rem; color: var(--muted); }
.hj-band { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 26px 0 10px; padding: 20px 22px; border-radius: 14px; background: linear-gradient(135deg, #ecfeff, #f0fdf4); border: 1px solid #bae6fd; }
.hj-band h2 { margin: 0 0 4px; font-size: 1.2rem; }
.hj-band p { margin: 0; color: #334155; }
.cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.hosp-services { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
.hosp-services li { padding: 6px 0 6px 26px; position: relative; border-bottom: 1px dashed var(--border); }
.hosp-services li::before { content: "✓"; position: absolute; left: 2px; color: var(--green); font-weight: 700; }
@media (max-width: 640px) {
  .hj-benefits, .hosp-services { grid-template-columns: 1fr; }
  .hj-types { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .hj-type span { padding: 10px 4px; font-size: .88rem; }
}
/* চেম্বার ফর্মের হাসপাতাল অটোকমপ্লিট */
.hp-wrap { position: relative; }
.hp-wrap .hp-list { top: 100%; margin-top: 2px; font-weight: 400; }
.toc ol ul { padding-left: 0; margin: 4px 0 2px; }

/* ===== হোমপেজ: জনপ্রিয় ও সম্প্রতি যুক্ত ডাক্তার টাইল ===== */
.home-docs .section-head { align-items: flex-end; }
.section-sub { margin: 2px 0 0; color: var(--muted); font-size: .95rem; }
.dtile-filter { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 14px; scrollbar-width: none; }
.dtile-filter::-webkit-scrollbar { display: none; }
.dtile-filter .chip { cursor: pointer; white-space: nowrap; background: #fff; font-family: inherit; }
.dtile-filter .chip small { color: var(--muted); margin-left: 2px; }
.dtile-filter .chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.dtile-filter .chip.active small { color: #cffafe; }
.dtile-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dtile { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 18px 16px 16px; transition: transform .15s, box-shadow .15s, border-color .15s; min-width: 0; }
.dtile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #a5f3fc; }
.dtile[hidden] { display: none; }
.dtile-top { position: relative; width: 100%; display: flex; justify-content: center; margin-bottom: 10px; }
.dtile-rank { position: absolute; left: 0; top: 0; background: #fff7ed; color: var(--accent-dark); border: 1px solid #fed7aa; font-weight: 700; font-size: .85rem; padding: 2px 9px; border-radius: 99px; }
.dtile-new { position: absolute; left: 0; top: 0; background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; font-size: .78rem; font-weight: 600; padding: 2px 9px; border-radius: 99px; }
.dtile-photo { position: relative; display: block; margin-top: 28px; }
.dtile-photo img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 3px solid var(--primary-light); box-shadow: 0 0 0 1px var(--border); background: var(--primary-light); }
.dtile-check { position: absolute; right: 2px; bottom: 2px; width: 24px; height: 24px; border-radius: 50%; background: #0ea5e9; color: #fff; font-size: .75rem; display: grid; place-items: center; border: 2px solid #fff; }
.dtile-name { font-size: 1.05rem; margin: 0 0 2px; line-height: 1.4; }
.dtile-name a { color: var(--text); }
.dtile-name a:hover { color: var(--primary); text-decoration: none; }
.dtile-degree { color: var(--primary-dark); font-size: .86rem; margin: 0 0 6px; width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dtile-spec { display: inline-block; background: var(--primary-light); color: var(--primary-dark); font-size: .82rem; font-weight: 600; padding: 3px 10px; border-radius: 99px; margin-bottom: 10px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dtile-spec:hover { text-decoration: none; background: #cffafe; }
.dtile-facts { list-style: none; padding: 0; margin: 0 0 8px; font-size: .86rem; color: var(--muted); line-height: 1.7; width: 100%; }
.dtile-facts li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dtile-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; font-size: .84rem; margin-bottom: 8px; }
.dtile-rating { color: #b45309; font-weight: 700; }
.dtile-rating small { color: var(--muted); font-weight: 400; }
.dtile-views { color: var(--muted); }
.dtile-tele { color: #7c3aed; }
.dtile-avail { font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 8px; margin: 0 0 10px; }
.dtile-avail-today { background: #dcfce7; color: #15803d; }
.dtile-avail-today::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; margin-right: 6px; vertical-align: middle; animation: dtile-pulse 1.6s infinite; }
.dtile-avail-next { background: var(--bg); color: var(--muted); }
@keyframes dtile-pulse { 50% { opacity: .35; } }
.dtile-actions { margin-top: auto; display: flex; gap: 8px; width: 100%; padding-top: 10px; border-top: 1px dashed var(--border); }
.dtile-actions .btn { flex: 1; justify-content: center; text-align: center; }
.dtile-cta { justify-content: center; gap: 8px; background: linear-gradient(160deg, #ecfeff, #fff7ed); border-style: dashed; border-color: #67e8f9; color: var(--text); }
.dtile-cta:hover { text-decoration: none; }
.dtile-cta-icon { font-size: 1.8rem; }
.dtile-cta span:not(.btn):not(.dtile-cta-icon) { font-size: .88rem; color: var(--muted); }
.dtile-empty { text-align: center; color: var(--muted); padding: 20px 0; }
@media (max-width: 1100px) { .dtile-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .dtile-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* মোবাইলে আড়াআড়ি স্ক্রল করা যায় এমন সারি */
@media (max-width: 560px) {
  .dtile-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; gap: 12px; padding-bottom: 8px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
  .dtile-row::-webkit-scrollbar { display: none; }
  .dtile { flex: 0 0 78%; scroll-snap-align: start; }
  .home-docs .section-head { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .dtile, .dtile-avail-today::before { transition: none; animation: none; } }

/* ===== ডাক্তার প্রোফাইল: QR কোড পপআপ ===== */
.dp-share .qr { background: #0e7490; }
.qr-dialog { border: 0; border-radius: 16px; padding: 22px 20px 18px; width: min(360px, 92vw); text-align: center; box-shadow: 0 20px 60px rgba(15, 23, 42, .35); }
.qr-dialog::backdrop { background: rgba(15, 23, 42, .55); }
.qr-dialog h2 { font-size: 1.15rem; margin: 0 0 6px; }
.qr-help { font-size: .88rem; color: var(--muted); margin: 0 0 12px; }
.qr-img { display: block; width: 240px; height: 240px; margin: 0 auto; border: 1px solid var(--border); border-radius: 12px; background: #f8fafc; }
.qr-url { font-weight: 600; color: var(--primary-dark); margin: 8px 0 12px; font-size: .95rem; }
.qr-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.qr-actions .btn-primary { grid-column: 1 / -1; }
.qr-close { position: absolute; right: 10px; top: 8px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: var(--muted); }
