/* ===== রং ও মাপ (এখানে বদলালে পুরো সাইটের রং বদলাবে) ===== */
:root {
  --green: #14703a;
  --green-600: #1b8a48;
  --green-50: #eef7f1;
  --navy: #163a5f;
  --red: #d7322a;
  --wa: #1fa855;
  --fb: #1877f2;
  --ink: #18261e;
  --muted: #5b6b62;
  --line: #dde7e1;
  --bg: #ffffff;
  --bg-alt: #f5f9f6;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(20, 50, 35, .06), 0 8px 24px rgba(20, 50, 35, .07);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Noto Sans Bengali", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 700; color: var(--navy); }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
svg { width: 1.2em; height: 1.2em; fill: currentColor; flex: none; }

/* ভাষা বদল: html lang="bn" হলে ইংরেজি লুকানো, উল্টোটাও */
html[lang="bn"] .en, html[lang="en"] .bn { display: none !important; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.eyebrow { color: var(--green-600); font-weight: 600; font-size: .92rem; letter-spacing: .02em; margin-bottom: .4em; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* ===== বাটন ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .62em 1.15em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 600; cursor: pointer; text-decoration: none !important;
  transition: background .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: .8em 1.5em; font-size: 1.05rem; }
.btn-sm { padding: .4em .95em; font-size: .95rem; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-600); }
.btn-outline { border-color: var(--green); color: var(--green); background: #fff; }
.btn-outline:hover { background: var(--green-50); }
.btn-wa { background: var(--wa); color: #fff; width: 100%; }
.btn-wa:hover { background: #18914a; }
.btn-fb { background: var(--fb); color: #fff; }
.btn-fb:hover { background: #0f63d6; }
:focus-visible { outline: 3px solid #f2b705; outline-offset: 2px; }

/* ===== টপবার ও হেডার ===== */
.topbar { background: var(--navy); color: #dce7f2; font-size: .9rem; }
.topbar-in { display: flex; gap: 1.4rem; align-items: center; min-height: 38px; }
.topbar a { color: #fff; }
.open-badge { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: #fff; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 3px rgba(61, 220, 132, .25); }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none !important; }
.brand img { border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; white-space: nowrap; }
.header .brand { flex-shrink: 0; }
.brand-text strong { font-size: 1.25rem; color: var(--green); letter-spacing: .01em; }
.brand-text small { font-size: .78rem; color: var(--muted); font-weight: 500; }

.nav { display: flex; gap: .2rem; margin-left: auto; }
.nav a { color: var(--ink); font-weight: 500; padding: .45em .75em; border-radius: 8px; }
.nav a:hover { background: var(--green-50); color: var(--green); text-decoration: none; }
/* সেবাসমূহ: নিচে খোলা মেনু */
.dd { position: relative; }
.dd-btn { font: inherit; color: var(--ink); font-weight: 500; padding: .45em .75em; border-radius: 8px; background: none; border: 0; cursor: pointer; }
.dd-btn:hover, .dd.open .dd-btn { background: var(--green-50); color: var(--green); }
.dd-btn::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; vertical-align: .2em;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.dd-menu { display: none; position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); z-index: 70;
  min-width: 270px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 40px rgba(20, 50, 35, .18); }
.dd-menu::before { content: ""; position: absolute; top: -7px; left: 50%; width: 12px; height: 12px; margin-left: -6px;
  background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); }
.dd-menu::after { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }   /* keeps hover alive across the gap */
.dd:hover .dd-menu, .dd:focus-within .dd-menu, .dd.open .dd-menu { display: grid; gap: 2px; animation: dd-in .15s ease-out; }
@keyframes dd-in { from { opacity: 0; transform: translate(-50%, -4px); } to { opacity: 1; transform: translate(-50%, 0); } }
.dd-menu a { display: flex; align-items: center; gap: 10px; font-size: .96rem; padding: .55em .7em; border-radius: 10px; white-space: nowrap; }
.dd-ico { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--green-50); font-size: 1.05rem; }
.dd-menu a:hover .dd-ico { background: #fff; }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.lang-btn {
  font: inherit; font-size: .92rem; font-weight: 600; color: var(--navy);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .35em .9em; cursor: pointer;
}
.lang-btn:hover { border-color: var(--navy); }
.menu-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; padding: 10px; flex-direction: column; justify-content: space-between; }
.menu-btn span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

/* ===== হিরো ===== */
.hero { background: linear-gradient(180deg, var(--green-50), #fff 85%); padding: 48px 0 56px; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-title { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 700; color: var(--navy); margin: 0 0 .35em; }
.hero-title em { font-style: normal; color: var(--green); }
/* ট্যাগলাইন: হাতের লেখার ফন্ট + লাল হার্টবিট লাইন */
.hero-title .bn { font-family: "Galada", "Noto Sans Bengali", cursive; font-weight: 400; line-height: 1.15; display: block; }
.hero-title .bn em { display: inline-block; padding-left: .6em; }
/* ক্লিনিকের নাম: পেজের মূল শিরোনাম (Google-এর জন্য), ঠিকানার উপরে, মেরুন রঙে */
.hero h1.hero-brand { font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 800; line-height: 1.3; color: #8b1e3f; margin: 0 0 .25em; }
.hero-pulse { display: block; width: 100%; max-width: 340px; height: 30px; margin: -.2em 0 .4em; fill: none; stroke: var(--red); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 2rem; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.hero-facts li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .7em .9em; font-size: .92rem; color: var(--muted); line-height: 1.35; }
.hero-facts strong { display: block; color: var(--green); font-size: 1.15rem; margin-bottom: .1em; }
.hero-img { margin: 0; position: relative; }
.hero-img img { border-radius: 22px; box-shadow: 0 20px 50px rgba(22, 58, 95, .2); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.hero-img figcaption {
  position: absolute; left: 16px; bottom: 16px; background: rgba(255,255,255,.94);
  padding: .35em .85em; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--navy);
}

/* ===== ঘোষণা ===== */
.notice { background: var(--red); color: #fff; }
.notice-in { display: flex; gap: 14px; align-items: center; padding-top: 16px; padding-bottom: 16px; }
.notice-in p { margin: 0; font-size: 1.02rem; }
.notice-icon svg { width: 28px; height: 28px; }

/* ===== সেকশন ===== */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }

.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service { padding: 22px; }
.service p { color: var(--muted); font-size: .97rem; margin: 0; }
.ico { width: 48px; height: 48px; border-radius: 12px; background: var(--green-50); color: var(--green); display: grid; place-items: center; margin-bottom: 14px; }
.ico svg { width: 26px; height: 26px; }

/* ===== ডাক্তার ===== */
.doctors { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }   /* same height in each row */
.doctor { display: grid; grid-template-columns: 170px 1fr; gap: 22px; padding: 22px; }
.doctor-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 12px; background: var(--green-50); align-self: start; }
.doctor-body { display: flex; flex-direction: column; }
.doctor-body > .btn { margin-top: auto; align-self: flex-start; }   /* "সিরিয়াল নিন" always at the bottom */
.doctor-label { margin: 0 0 .35em; font-size: .82rem; font-weight: 600; color: var(--red); line-height: 1.4; }
.doctor h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: .2em; }
.degree { font-weight: 600; color: var(--green); margin: 0 0 .5em; }
.doctor-facts { list-style: none; padding: 0; margin: 0 0 .7em; font-size: .93rem; color: #3a4a41; }
.doctor-facts li { padding-left: 14px; position: relative; margin-bottom: .2em; }
.doctor-facts li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--green-600); }
.doctor-facts .position b { color: var(--navy); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: .8em; }
.tags span { font-size: .78rem; font-weight: 600; color: var(--navy); background: #eef3f9; border-radius: 999px; padding: .15em .7em; }
.schedule { list-style: none; padding: 0; margin: 0 0 .8em; border-top: 1px solid var(--line); }
.schedule li { display: flex; justify-content: space-between; gap: 1rem; padding: .5em 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.schedule b { font-weight: 600; text-align: right; color: var(--green); }
.treats { margin: 0 0 1em; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-alt); }
.treats summary { cursor: pointer; padding: .55em .9em; font-weight: 600; font-size: .93rem; color: var(--navy); }
.treats[open] summary { border-bottom: 1px solid var(--line); }
.treats ul { margin: .6em 0; padding: 0 .9em 0 2em; font-size: .92rem; color: #3a4a41; }
.treats li { margin-bottom: .25em; }
.special { margin: 0 .9em .8em; font-size: .92rem; color: #3a4a41; }

/* ===== সিরিয়াল ===== */
.appt { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.appt-text p { color: var(--muted); }
.alt-row { display: flex; gap: 14px; align-items: center; color: var(--ink); }
.alt-row { margin-top: 1.4rem; font-size: 1.2rem; font-weight: 600; text-decoration: none !important; }
.alt-row small { display: block; font-size: .85rem; color: var(--muted); font-weight: 500; }
.alt-ico { width: 46px; height: 46px; border-radius: 50%; background: var(--green-50); color: var(--green); display: grid; place-items: center; flex: none; }

.appt-form { padding: 26px; display: grid; gap: 14px; }
.appt-form label { display: grid; gap: 5px; font-weight: 500; font-size: .95rem; }
.appt-form .row { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }
.appt-form input, .appt-form select, .appt-form textarea {
  font: inherit; font-size: 1rem; width: 100%; padding: .6em .8em; color: var(--ink);
  border: 1px solid #c9d6cf; border-radius: 10px; background: #fff;
}
.appt-form input:focus, .appt-form select:focus, .appt-form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(20, 112, 58, .15); }
.form-error { color: var(--red); font-weight: 500; margin: 0; }
.form-ok { color: var(--green); background: var(--green-50); font-weight: 600; margin: 0; padding: 10px 14px; border-radius: 10px; }
[hidden] { display: none !important; }
.nav a, .dd-btn { white-space: nowrap; }
@media (min-width: 1200px) {   /* more menu items: a bit tighter on every desktop (the header is at most 1160px wide); "সিরিয়াল" is in the menu already */
  .header-actions .hide-sm { display: none; }
  .nav a, .dd-btn { padding: .45em .38em; font-size: .92rem; }
  .header-actions .btn { padding: .55em .9em; }
}
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* ===== রিপোর্ট ডাউনলোড ===== */
.report-notes { list-style: none; padding: 0; margin: 1.2em 0 0; display: grid; gap: .6em; color: #3a4a41; }
.report-result { border-top: 1px dashed var(--line); padding-top: 14px; display: grid; gap: 8px; }
.report-who { margin: 0; font-weight: 600; color: var(--navy); }
.report-result p.small { margin: 0; }

/* ===== নোটিশ ও হেলথ টিপস ===== */
.nboard { background: #fff; border: 1px solid var(--line); border-top: 4px solid #1e9a4b; border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); }
.nb-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.nb-tab { border: 0; border-radius: 8px; padding: 9px 18px; font: inherit; font-size: .95rem; background: #e8f4fb; color: #0b6fa6; cursor: pointer; }
.nb-tab[aria-pressed="true"] { background: #0b8fd3; color: #fff; }
.nb-all { display: block; text-align: center; background: #1e9a4b; color: #fff; border-radius: 8px; padding: 12px; font-weight: 600; margin-bottom: 16px; }
.nb-all:hover { background: #14703a; text-decoration: none; }
.nb-list { display: grid; gap: 12px; }
.nb-item { border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.nb-item:hover, .nb-item[open] { border-color: #1e9a4b; }
.nb-item summary { display: flex; gap: 14px; align-items: center; padding: 12px; cursor: pointer; list-style: none; }
.nb-item summary::-webkit-details-marker { display: none; }
.nb-date { flex: 0 0 78px; height: 78px; border-radius: 8px; background: #0b8fd3; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; }
.nb-tip .nb-date { background: #1e9a4b; }
.nb-date b { font-size: 1.75rem; }
.nb-date > span { font-size: .78rem; }
.nb-title { color: #16502c; font-size: 1.02rem; font-weight: 600; line-height: 1.45; }
.nb-new { display: inline-block; background: #eb2d2f; color: #fff; font-size: .72rem; border-radius: 20px; padding: 1px 10px; vertical-align: middle; }
.nb-body { padding: 0 14px 14px 104px; color: #3a4a41; white-space: pre-line; }
@media (max-width: 560px) { .nboard { padding: 16px 12px; } .nb-body { padding-left: 14px; } }
.staff-link { color: #b4c4d4; }

/* ===== সম্পর্কে ===== */
.about { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: center; }
.about p { color: #3a4a41; }
.md { padding: 28px; text-align: center; display: grid; justify-items: center; gap: 4px; }
.md img { border-radius: 14px; margin-bottom: 8px; }
.md-role { margin: 0; color: var(--muted); font-size: .92rem; }
.md-name { margin: 0; font-size: 1.3rem; font-weight: 700; color: var(--navy); }

/* ===== প্রশ্নোত্তর ===== */
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 16px; margin: 0; color: var(--muted); }
.faq-cats { display: grid; gap: 10px; }
.faq-cat { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-alt); }
.faq-cat > summary { cursor: pointer; padding: 14px 18px; font-weight: 700; color: var(--navy); }
.faq-cat > summary small { color: var(--muted); font-weight: 500; }
.faq-cat[open] > summary { border-bottom: 1px solid var(--line); }
.faq-cat .faq { padding: 12px; }
.faq-cat .faq summary { padding: 12px 16px; font-size: .97rem; }

/* ===== রেফারেন্স সাইটের লেখা: উপ-শিরোনাম, ইমোজি আইকন, এমডি, গ্যালারি ===== */
.section-sub { color: var(--muted); margin: .4em 0 0; }
.sub-head { text-align: center; color: var(--navy); font-size: 1.2rem; margin: 44px 0 18px; display: flex; align-items: center; gap: 14px; }
.sub-head::before, .sub-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.section-head + .sub-head { margin-top: 0; }
.emoji-ico { font-size: 1.5rem; }
.sub-note { text-align: center; color: var(--muted); margin: 16px 0 0; }
.md-text { margin: 0 0 .8em; font-size: .95rem; color: #3a4a41; }
.md-card { max-width: 980px; margin: 0 auto; grid-template-columns: 240px 1fr; }
.treats-text { padding: .6em .9em 0; font-size: .95rem; color: #3a4a41; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery a { display: block; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s; }
.gallery a:hover img { transform: scale(1.04); }

/* ===== যোগাযোগ ===== */
.map { overflow: hidden; min-height: 360px; }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.crumbs { margin: .6rem 0 0; font-weight: 500; opacity: .9; }
.crumbs a { color: inherit; }
.contact-page { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.cp-info h2 { font-size: 1.3rem; color: var(--navy); margin: 0 0 .5rem; }
.cp-info p { margin: 0 0 1.8rem; line-height: 1.8; }
.cp-form { border-top: 4px solid #1e9a4b; }
.cp-form h2 { font-size: 1.3rem; color: var(--navy); margin: 0; padding-left: 12px; border-left: 4px solid #1e9a4b; border-radius: 0; }
@media (max-width: 900px) { .contact-page { grid-template-columns: 1fr; gap: 32px; } }

/* ===== ফুটার ===== */
.footer { background: var(--navy); color: #c9d6e3; padding: 36px 0; }
.footer-in { display: grid; justify-items: center; gap: 8px; text-align: center; }
.footer .brand-text { text-align: left; }
.footer .brand-text strong { color: #fff; }
.footer .brand-text small { color: #b4c4d4; }
.footer .brand img { border-radius: 10px; }
.footer p { margin: 0; }
/* ফুটারের ট্যাগলাইন: হাতের লেখা, দুই পাশে সরু দাগ */
.footer .slogan { display: inline-flex; align-items: center; gap: 12px; margin: 6px 0; color: #fff; font-size: 1.3rem; }
.footer .slogan .bn { font-family: "Galada", "Noto Sans Bengali", cursive; font-size: 1.6rem; line-height: 1.3; }
.footer .slogan b { font-weight: 400; color: #7fd19c; }
.footer .slogan::before, .footer .slogan::after { content: ""; width: 40px; height: 1px; background: #7fd19c; opacity: .6; flex: none; }
.copy { font-size: .85rem; color: #93a8bd; }
.credit { font-size: .8rem; color: #93a8bd; }
.credit a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.credit a:hover { border-bottom-color: #fff; }
@media (max-width: 1000px) { .footer { padding-bottom: 92px; } }   /* room for the chat button */

.mobile-bar { display: none; }

/* ===== মেনু ☰ বাটনে (পুরো মেনু ১২০০px-এর কমে এক লাইনে ধরে না) ===== */
@media (max-width: 1199px) {
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: .75em .5em; border-bottom: 1px solid var(--line); border-radius: 0; }
  .dd-btn { width: 100%; text-align: left; padding: .75em .5em; border-bottom: 1px solid var(--line); border-radius: 0; }
  .dd-btn::after { float: right; margin-top: .5em; }
  .dd:hover .dd-menu, .dd:focus-within .dd-menu { display: none; }
  .dd.open .dd-menu { display: grid; position: static; transform: none; animation: none; box-shadow: none; border: 0;
    background: var(--bg-alt); border-radius: 10px; padding: 6px; margin: 6px 0 8px; min-width: 0; }
  .dd-menu::before, .dd-menu::after { display: none; }
  .dd-menu a { border-bottom: 0; white-space: normal; }
  .header-actions { margin-left: auto; }
  .menu-btn { display: flex; }
}

/* ===== ট্যাবলেট ===== */
@media (max-width: 1000px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .hero-in, .appt, .about, .doctors { grid-template-columns: 1fr; gap: 32px; }
  .hero-img { order: -1; }
}

/* ===== মোবাইল ===== */
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .hide-sm { display: none !important; }
  .topbar-in { justify-content: space-between; gap: .8rem; }
  .header-in { min-height: 64px; }
  .brand img { width: 44px; height: 44px; }
  .brand-text strong { font-size: 1.1rem; }
  .hero { padding: 24px 0 40px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-facts { grid-template-columns: 1fr 1fr 1fr; gap: .5rem; }
  .hero-facts li { padding: .6em; font-size: .82rem; }
  .hero-facts strong { font-size: 1rem; }
  .section { padding: 52px 0; }
  .services { grid-template-columns: 1fr; gap: 12px; }
  .service { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; padding: 18px; }
  .service .ico { grid-row: span 2; margin: 0; }
  .service h3 { margin-bottom: .15em; }
  .doctor { grid-template-columns: 1fr; padding: 16px; gap: 14px; }
  .doctor-photo { aspect-ratio: 1 / 1; max-height: 340px; }
  .appt-form { padding: 20px; }
  .map, .map iframe { min-height: 300px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    box-shadow: 0 -4px 16px rgba(0,0,0,.12);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .5em; height: 58px; color: #fff; font-weight: 600; font-size: 1.05rem; text-decoration: none; }
  .mb-call { background: var(--green); }
  .mb-wa { background: var(--wa); }
}

/* ===== পরীক্ষার মূল্য তালিকা ===== */
.price-tools { display: grid; gap: 14px; margin-bottom: 22px; }
.price-search { display: flex; align-items: center; gap: 10px; max-width: 560px; width: 100%; margin: 0 auto;
  background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 18px; box-shadow: var(--shadow); }
.price-search:focus-within { border-color: var(--green-600); }
.price-search svg { color: var(--muted); }
.price-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; padding: 13px 0; }
.price-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.price-tab { font: inherit; font-size: .95rem; cursor: pointer; border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 999px; padding: .4em .95em; display: inline-flex; align-items: center; gap: .35em; transition: background .15s, color .15s; }
.price-tab small { font-size: .78rem; background: var(--green-50); color: var(--green); border-radius: 999px; padding: 0 .55em; font-weight: 600; }
.price-tab:hover { border-color: var(--green-600); }
.price-tab.on { background: var(--green); border-color: var(--green); color: #fff; }
.price-tab.on small { background: rgba(255, 255, 255, .2); color: #fff; }
.price-groups { display: grid; gap: 18px; }
.price-group { overflow: hidden; }
.price-head { display: flex; align-items: center; gap: 10px; margin: 0; padding: 14px 20px; background: var(--navy); color: #fff; font-size: 1.1rem; }
.price-head small { margin-left: auto; font-weight: 500; font-size: .85rem; opacity: .8; }
.price-ico { font-size: 1.3rem; }
.price-list { list-style: none; margin: 0; padding: 6px 20px 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.price-list li { display: flex; align-items: baseline; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.price-name { flex: 1; min-width: 0; }
.price-name small { display: block; color: var(--muted); font-size: .85rem; }
.price-tk { font-weight: 700; color: var(--green); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-empty { text-align: center; padding: 22px; color: var(--muted); }
.price-note { margin: 22px 0 0; padding: 14px 18px; border-radius: 12px; background: #fff7e6; border: 1px solid #f3d9a4; color: #6b4e12; font-size: .95rem; }
@media (max-width: 760px) {
  .price-list { grid-template-columns: 1fr; padding: 4px 16px 8px; }
  .price-head { padding: 12px 16px; }
  .price-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
  .price-tab { flex: none; }
}

/* ===== বোর্ড, স্টাফ ও ক্যারিয়ার পেজ ===== */
.page-hero { position: relative; overflow: hidden; padding: 64px 0 52px; background: linear-gradient(135deg, var(--navy), #0f5a3a); color: #fff; }
.page-hero .eyebrow { color: #9fe3b8; }
.page-hero h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); color: #fff; margin: 0 0 .35em; max-width: 760px; }
.page-lead { font-size: 1.08rem; max-width: 700px; opacity: .9; margin: 0; }
.back-link { display: inline-block; color: #cfeedd; margin-bottom: 14px; font-weight: 500; }
.hiring { position: absolute; right: -10px; bottom: -32px; font-size: clamp(4rem, 13vw, 9rem); font-weight: 700; line-height: 1;
  color: rgba(255, 255, 255, .07); pointer-events: none; letter-spacing: -.02em; }
.flash-area { padding-top: 18px; }
.flash { margin: 0 0 10px; padding: 12px 16px; border-radius: 12px; font-weight: 500; }
.flash-success { background: var(--green-50); color: var(--green); border: 1px solid #bfe3cc; }
.flash-error { background: #fdeceb; color: #a3231c; border: 1px solid #f3c3bf; }

.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.people-big { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.person { overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.person:hover { transform: translateY(-3px); text-decoration: none; }
a.person { color: var(--ink); }
.profile-more { display: inline-block; margin-top: .4em; color: var(--green); font-weight: 600; font-size: .9rem; }
/* ===== একজনের প্রোফাইল পেজ (/board/<id>, /our-staff/<id>) ===== */
.profile { display: grid; grid-template-columns: 320px 1fr; gap: 36px; align-items: start; }
.profile-card { overflow: hidden; }
.profile-card .board-badge { margin-bottom: .6em; }
.profile-text > h2 { margin: 0 0 .5em; color: var(--navy); }
.profile-text > h2:not(:first-child) { margin-top: 1.4em; }
.profile-text p { font-size: 1.05rem; line-height: 1.75; }
.profile-facts { margin: 0; display: grid; gap: 0; }
.profile-facts div { display: grid; grid-template-columns: minmax(120px, 30%) 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.profile-facts dt { color: var(--muted); font-weight: 600; }
.profile-facts dd { margin: 0; }
.profile-facts div:has(> dd:only-child) { grid-template-columns: 1fr; }
@media (max-width: 760px) {
  .profile { grid-template-columns: 1fr; gap: 22px; }
  .profile-card { max-width: 360px; margin: 0 auto; width: 100%; }
}
.person-photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: top; background: var(--green-50); }
.person-blank { display: grid; place-items: center; background: linear-gradient(160deg, var(--green-50), #dcefe3); }
.person-blank svg { width: 42%; height: 42%; fill: #a9cdb6; }
.person-body { padding: 18px 20px 20px; }
.person-role { color: var(--red); font-weight: 600; font-size: .92rem; margin: 0 0 .25em; }
.person-body h3 { color: var(--navy); font-size: 1.2rem; margin: 0 0 .3em; }
.muted-name { color: var(--muted) !important; font-weight: 500; font-size: 1rem !important; font-style: italic; }
.person-degree { color: var(--green); font-weight: 500; font-size: .92rem; margin: 0 0 .5em; }
.person-bio { color: var(--muted); font-size: .95rem; margin: 0; }
.person-facts { margin: .6em 0 0; display: grid; gap: 6px; font-size: .93rem; }
.person-facts div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px dashed var(--line); padding-top: 6px; }
.person-facts dt { color: var(--muted); }
.person-facts dd { margin: 0; font-weight: 600; text-align: right; }
.person-phone { margin: .6em 0 0; padding-top: 6px; border-top: 1px dashed var(--line); font-size: .93rem; color: var(--muted); }
.person-phone a { font-weight: 600; }
.empty-note { padding: 26px; text-align: center; color: var(--muted); }

.band { background: var(--green); color: #fff; padding: 46px 0; }
.band-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.band h2 { color: #fff; margin: 0 0 .2em; font-size: clamp(1.35rem, 2.6vw, 1.8rem); }
.band p { margin: 0; opacity: .9; }
.btn-light { background: #fff; color: var(--green); }
.btn-light:hover { background: var(--green-50); text-decoration: none; }

.jobs-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.jobs-head h2 { margin: 0; }
.jobs { display: grid; gap: 14px; }
.job-row { display: flex; align-items: center; gap: 18px; padding: 18px 22px; color: var(--ink); transition: border-color .15s, transform .15s; }
.job-row:hover { text-decoration: none; border-color: var(--green-600); transform: translateY(-2px); }
.job-ico { font-size: 1.6rem; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--green-50); flex: none; }
.job-main { flex: 1; min-width: 0; display: grid; gap: 4px; }
.job-main strong { font-size: 1.12rem; color: var(--navy); }
.job-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: .92rem; }
.job-meta-hero { color: #d6efe0; margin: 0; }
.general-apply { margin-top: 26px; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  background: var(--bg-alt); border-style: dashed; }
.general-apply h3 { margin: 0 0 .2em; color: var(--navy); }
.general-apply p { margin: 0; color: var(--muted); }

.job-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: start; }
.job-grid-single { grid-template-columns: minmax(0, 760px); justify-content: center; }
.job-body .h3, .apply-box .h3 { font-size: 1.25rem; color: var(--navy); margin: 0 0 .6em; }
.job-body .h3 + * { margin-bottom: 1.6em; }
.pre { white-space: pre-line; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: "✔"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.apply-box { padding: 26px 0 0; position: sticky; top: 96px; }
.apply-box > .h3 { padding: 0 26px; }
.apply-box .empty-note { margin: 0 26px 26px; }
.apply-form .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.apply-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .92rem; color: var(--muted); }
.apply-form .check input { width: auto; margin-top: .3em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 860px) {
  .job-grid { grid-template-columns: 1fr; }
  .apply-box { position: static; }
}
@media (max-width: 560px) {
  .page-hero { padding: 44px 0 38px; }
  .apply-form .grid2 { grid-template-columns: 1fr; }
  .job-row { flex-wrap: wrap; padding: 16px; }
  .job-go { width: 100%; text-align: center; }
  .people { grid-template-columns: 1fr 1fr; gap: 14px; }
  .person-body { padding: 14px; }
  .person-facts div { flex-direction: column; gap: 0; }
  .person-facts dd { text-align: left; }
}

/* ===== হোম পেজে বোর্ড অফ ডিরেক্টরস ===== */
.board-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px; }
.team-strip { grid-template-columns: repeat(auto-fit, minmax(170px, 220px)); justify-content: center; }
.board-mini { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 22px 14px; color: var(--ink);
  transition: transform .2s, border-color .2s; }
.board-mini:hover { text-decoration: none; transform: translateY(-3px); border-color: var(--green-600); }
.board-mini .person-photo { width: 104px; height: 104px; aspect-ratio: auto; border-radius: 50%; margin-bottom: 8px;
  border: 3px solid #fff; box-shadow: 0 0 0 2px var(--green-50), var(--shadow); }
.board-mini .person-role { margin: 0; font-size: .86rem; }
.board-mini strong { color: var(--navy); font-size: 1.02rem; line-height: 1.35; }
.board-mini .muted-name { font-size: .92rem !important; }
.center-link { text-align: center; margin: 28px 0 0; }
@media (max-width: 560px) {
  .board-strip { grid-template-columns: 1fr 1fr; gap: 12px; }
  .board-mini .person-photo { width: 84px; height: 84px; }
}

/* ===== Board of Directors page: one card — advisory board, managing director, then the directors ===== */
.board-card { max-width: 720px; margin: 0 auto; padding: 8px 28px; }
.board-lead { display: block; text-align: center; padding: 26px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.board-lead:hover { text-decoration: none; }
.board-lead:hover .board-lead-name { color: var(--green); }
.board-badge { display: inline-block; padding: 4px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.badge-green { background: #dcf3e3; color: var(--green); }
.badge-blue { background: #e1edf9; color: #1d5a91; }
.board-lead-role { margin: 10px 0 2px; font-size: 1.6rem; font-weight: 700; color: var(--ink); }
.board-lead-name { margin: 6px 0 0; font-size: 1.25rem; }
.board-lead-big { font-size: 1.6rem; }
.board-lead-sub { margin: 6px 0 0; color: var(--muted); }
.board-directors { padding: 24px 0 8px; }
.board-directors > h2 { margin: 0 0 6px; font-size: 1.6rem; }
.board-rows { list-style: none; margin: 0; padding: 0; }
.board-rows li { border-bottom: 1px solid var(--line); }
.board-rows li > a { display: flex; align-items: center; gap: 22px; padding: 22px 0; color: var(--ink); }
.board-rows li > a:hover { text-decoration: none; }
.board-rows li > a:hover strong { color: var(--green); }
.board-go { margin-left: auto; color: var(--green); font-size: 1.3rem; }
.board-rows li:last-child { border-bottom: 0; }
.board-avatar { flex: 0 0 84px; width: 84px; height: 84px; border-radius: 18px; background: #f2f4f3; display: grid; place-items: center; overflow: hidden; }
.board-avatar img { width: 100%; height: 100%; object-fit: cover; }
.board-avatar svg { width: 34px; height: 34px; fill: none; stroke: var(--ink); stroke-width: 1.6; }
.board-rows strong { display: block; font-size: 1.3rem; }
.board-rows .board-role { display: block; color: var(--muted); margin-top: 4px; }
@media (max-width: 560px) {
  .board-card { padding: 4px 18px; }
  .board-rows li > a { gap: 16px; }
  .board-avatar { flex-basis: 64px; width: 64px; height: 64px; border-radius: 14px; }
}
.board-lead-photo { display: block; width: 112px; height: 112px; margin: 0 auto 14px; border-radius: 50%; object-fit: cover; object-position: top; border: 4px solid var(--green-50); }

/* ===== Care Assistant (চ্যাট) ===== */
.chat-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 70; display: flex; align-items: center; gap: .5em;
  border: 0; border-radius: 999px; padding: 12px 18px 12px 14px; background: var(--green); color: #fff;
  font: inherit; font-weight: 600; cursor: pointer; box-shadow: 0 6px 20px rgba(20, 80, 45, .35);
}
.chat-fab:hover { background: var(--green-600); }
.chat-fab svg { width: 26px; height: 26px; fill: currentColor; }
.chat-open .chat-fab { display: none; }
.chat-box {
  position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 370px; max-width: calc(100vw - 32px);
  height: min(580px, calc(100vh - 40px)); display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(20, 50, 35, .25);
}
.chat-box[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--green); color: #fff; }
.chat-head img { border-radius: 50%; background: #fff; flex-shrink: 0; }
.chat-head div { flex: 1; min-width: 0; line-height: 1.3; }
.chat-head strong { display: block; font-size: 1.05rem; }
.chat-head small { opacity: .9; font-size: .8rem; }
.chat-close { border: 0; background: none; color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-alt); }
.chat-msg { margin: 0; padding: 9px 13px; border-radius: 14px; max-width: 88%; font-size: .95rem; line-height: 1.55; overflow-wrap: anywhere; }
.chat-msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat-msg.me { align-self: flex-end; background: var(--green); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg.err { background: #fff6f5; border-color: #f2cfcc; }
.chat-msg a { color: var(--green); font-weight: 600; }
.chat-msg.typing { color: var(--muted); letter-spacing: .2em; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chat-chips[hidden] { display: none; }
.chat-chips button {
  border: 1px solid var(--green-600); background: #fff; color: var(--green); border-radius: 999px;
  padding: 5px 12px; font: inherit; font-size: .85rem; cursor: pointer;
}
.chat-chips button:hover { background: var(--green-50); }
.chat-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 14px; font: inherit; font-size: 16px; outline: 0; }
.chat-form input:focus { border-color: var(--green-600); }
.chat-form button { flex-shrink: 0; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--green); color: #fff; cursor: pointer; display: grid; place-items: center; }
.chat-form button:disabled { opacity: .5; }
.chat-form svg { width: 20px; height: 20px; fill: currentColor; }
.chat-note { margin: 0; padding: 0 12px 10px; font-size: .75rem; color: var(--muted); text-align: center; }
.chat-note a { color: var(--green); font-weight: 600; }
@media (max-width: 640px) {
  .chat-fab { right: 14px; bottom: 72px; padding: 11px; }
  .chat-fab-text { display: none; }
  .chat-box { right: 0; left: 0; bottom: 0; top: 0; width: auto; max-width: none; height: auto; border-radius: 0; border: 0; }
}

/* =====================================================================
   মাদার ক্লিনিকের নিজস্ব ডিজাইন (উপরের Holy Care স্টাইলের উপর বসানো)
   রং: বেগুনি-গোলাপি (plum/rose) + ক্রিম; ফন্ট: Hind Siliguri + Tiro Bangla
   ===================================================================== */
:root {
  --green: #00843d;        /* main colour (name kept so the old rules follow it) */
  --green-600: #1fa055;
  --green-50: #e8f6ee;
  --navy: #0d3094;
  --red: #d9475b;
  --ink: #1b2430;
  --muted: #566270;
  --line: #dcebe2;
  --bg-alt: #f4f8fb;
  --gold: #0d3094;
  --radius: 22px;
  --shadow: 0 2px 6px rgba(10, 40, 70, .05), 0 14px 34px rgba(10, 40, 70, .09);
}
body { font-family: "Hind Siliguri", "Noto Sans Bengali", system-ui, sans-serif; }
h2, .hero-title, .doctor h3, .sub-head, .footer .slogan .bn { font-family: "Tiro Bangla", "Hind Siliguri", serif; }
h2 { font-weight: 400; letter-spacing: -.01em; }
.eyebrow { display: inline-block; background: var(--green-50); color: var(--green); padding: .25em .9em; border-radius: 999px; font-size: .85rem; }
.card { border: 0; }

/* top bar + header */
.topbar { background: linear-gradient(90deg, #006b31, #00843d); }
.dot { background: var(--gold); box-shadow: 0 0 0 3px rgba(13, 48, 148, .3); }
.header { border-bottom: 0; box-shadow: 0 6px 20px rgba(10, 40, 70, .06); }
.brand img { border-radius: 50%; }
.brand-text strong { font-family: "Tiro Bangla", serif; font-weight: 400; font-size: 1.4rem; }
.btn-primary { background: linear-gradient(135deg, #00843d, #2bb062); box-shadow: 0 8px 18px rgba(0, 132, 61, .25); }
.btn-primary:hover { background: linear-gradient(135deg, #006b31, #1fa055); }

/* hero: full colour band, text in the middle, soft circles behind */
.hero {
  position: relative; overflow: hidden; color: #fff; padding: 84px 0 96px;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, .10) 0 120px, transparent 121px),
    radial-gradient(circle at 88% 78%, rgba(13, 48, 148, .22) 0 190px, transparent 191px),
    radial-gradient(circle at 75% 10%, rgba(255, 255, 255, .07) 0 70px, transparent 71px),
    linear-gradient(140deg, #005226 0%, #00843d 55%, #2bb062 100%);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; background: #fff;
  clip-path: ellipse(60% 100% at 50% 100%); }
.hero-solo { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.hero-solo .lead { margin-left: auto; margin-right: auto; }
.hero-solo .hero-cta { justify-content: center; }
.hero-solo .hero-pulse { margin-left: auto; margin-right: auto; }
.hero h1.hero-brand { color: #d4f0de; font-weight: 600; letter-spacing: .02em; }
.hero .eyebrow { background: rgba(255, 255, 255, .14); color: #fff; }
.hero-title { color: #fff; font-weight: 400; }
.hero-title .bn { font-family: "Tiro Bangla", serif; }
.hero-title em { color: #ffe58a; font-style: italic; }
.hero-title .bn em { padding-left: 0; }
.hero-pulse { stroke: #ffe58a; }
.lead { color: rgba(255, 255, 255, .86); }
.hero .btn-primary { background: #fff; color: var(--green); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.hero .btn-primary:hover { background: #effaf3; }
.hero .btn-outline { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.hero .btn-outline:hover { background: rgba(255, 255, 255, .12); }
.hero-facts { max-width: 760px; width: 100%; position: relative; z-index: 1; }
.hero-facts li { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); color: rgba(255, 255, 255, .85);
  border-radius: 18px; backdrop-filter: blur(4px); padding: 1em; }
.hero-facts strong { color: #ffe58a; font-size: 1.5rem; font-family: "Tiro Bangla", serif; font-weight: 400; }

/* notice: thin gold strip instead of the red block */
.notice { background: #eef2fc; color: #0d3094; border-bottom: 1px solid #cfdaf3; }
.notice-icon { color: var(--gold); }

/* sections: headings on the left with a coloured bar */
.section { padding: 88px 0; }
.section-head { text-align: left; max-width: none; margin: 0 0 44px; padding-left: 22px; border-left: 5px solid var(--green-600); }
.section-head h2 { margin-bottom: .2em; }
.narrow .section-head { margin-left: 0; }
.sub-head { justify-content: flex-start; color: var(--green); font-weight: 400; }
.sub-head::before { display: none; }

/* service cards: coloured circle icon, lift on hover */
.services { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.service { padding: 26px 22px; transition: transform .2s, box-shadow .2s; border-top: 4px solid transparent; }
.service:hover { transform: translateY(-4px); border-top-color: var(--green-600); }
.ico { border-radius: 50%; background: linear-gradient(135deg, #e8f6ee, #eef2fc); width: 58px; height: 58px; }

/* doctors: one wide card per row, initials circle when there is no photo */
.doctors { grid-template-columns: 1fr; gap: 26px; max-width: 980px; }
.doctor { grid-template-columns: 120px 1fr; padding: 30px; position: relative; overflow: hidden; }
.doctor::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: linear-gradient(180deg, #00843d, #0d3094); }
.doctor-avatar { width: 110px; height: 110px; border-radius: 50%; display: grid; place-items: center; align-self: start;
  font-family: "Tiro Bangla", serif; font-size: 3rem; color: #fff; background: linear-gradient(140deg, #00843d, #2bb062);
  box-shadow: 0 0 0 6px var(--green-50); }
.doctor-photo { border-radius: 50%; aspect-ratio: 1; }
.doctor h3 { font-weight: 400; font-size: 1.5rem; }
.doctor-label { color: var(--gold); text-transform: none; }
.doctor-facts li::before { background: var(--gold); }
.schedule { border-top: 0; background: var(--bg-alt); border-radius: 14px; padding: .2em 1em; }
.schedule li:last-child { border-bottom: 0; }
.treats { background: #fff; border-radius: 14px; }

/* forms */
.appt-form { padding: 32px; }
.appt-form input, .appt-form select, .appt-form textarea { border-color: #cfe3d7; border-radius: 12px; background: #fbfefc; }
.appt-form input:focus, .appt-form select:focus, .appt-form textarea:focus { box-shadow: 0 0 0 3px rgba(0, 132, 61, .15); }
#appointment { background: linear-gradient(180deg, #fff, #e8f6ee); }

/* about + faq + notices in the new colours */
.md { background: linear-gradient(160deg, #005226, #00843d); color: #fff; }
.md .md-role { color: #ffe58a; }
.md .md-text { color: rgba(255, 255, 255, .88); }
.md img { border-radius: 50%; }
.faq details { border: 0; box-shadow: var(--shadow); border-radius: 16px; }
.faq summary::after { color: var(--green-600); }
.nboard { border-top-color: var(--green-600); }
.nb-all { background: var(--green); }
.nb-all:hover { background: #006b31; }
.nb-date, .nb-tab[aria-pressed="true"] { background: var(--green-600); }
.nb-tip .nb-date { background: var(--gold); }
.nb-title { color: var(--navy); }
.cp-form { border-top-color: var(--green-600); }
.cp-form h2 { border-left-color: var(--green-600); }

/* footer */
.footer { background: #0a1f5e; color: #d0daf0; padding: 56px 0 40px; }
.footer .slogan b { color: #ffe58a; }
.footer .slogan::before, .footer .slogan::after { background: #ffe58a; }
.copy, .credit, .staff-link { color: #9aa8c8; }

@media (max-width: 720px) {
  .hero { padding: 56px 0 80px; }
  .doctor { grid-template-columns: 1fr; padding: 24px 22px; }
  .doctor-avatar { width: 84px; height: 84px; font-size: 2.3rem; }
  .section { padding: 64px 0; }
}

/* ---------- হোম পেজ নতুন লেআউট (UCSF / Cleveland Clinic থেকে আইডিয়া) ---------- */
/* hero: rounded photo card, plum shade from the left, search box, shortcut dock */
.hero { background: #fff; color: var(--ink); padding: 28px 0 40px; }
.hero::after { display: none; }
.hero-card { position: relative; border-radius: 28px; overflow: hidden; min-height: 520px; display: flex; align-items: center;
  box-shadow: var(--shadow); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-card::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(0, 60, 30, .94) 0%, rgba(0, 132, 61, .82) 42%, rgba(0, 132, 61, .15) 75%, transparent 100%); }
.hero-text { color: #fff; padding: 56px 56px 120px; max-width: 640px; }
.hero-text .lead { color: rgba(255, 255, 255, .9); }
.hero-search { margin-top: 26px; }
.hero-search label { display: block; font-weight: 600; margin-bottom: .5em; color: #d4f0de; }
.hero-search-row { display: flex; gap: 8px; background: #fff; border-radius: 999px; padding: 6px; box-shadow: 0 12px 30px rgba(0, 0, 0, .2); }
.hero-search-row input { flex: 1; min-width: 0; border: 0; background: transparent; padding: .7em 1.1em; font: inherit; color: var(--ink); outline: none; }
.hero-search-none { margin-top: .6em; color: #fff0b8; }
.btn-gold { background: var(--gold); color: #0d3094; border-radius: 999px; font-weight: 600; border: 0; }
.btn-gold:hover { background: #1a43b8; }
.hero-dock { position: absolute; left: 0; bottom: 0; display: flex; flex-wrap: wrap; background: #fff; border-top-right-radius: 22px; }
.hero-dock a { display: flex; align-items: center; gap: .5em; padding: 18px 26px; color: var(--green); font-weight: 600; text-decoration: none;
  border-right: 1px solid var(--line); }
.hero-dock a:last-child { border-right: 0; }
.hero-dock a:hover { background: var(--green-50); }
.hero .hero-facts { max-width: none; margin: 22px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; padding: 0; }
.hero .hero-facts li { background: var(--bg-alt); border: 1px solid var(--line); color: var(--muted); backdrop-filter: none; }
.hero .hero-facts strong { color: var(--green); }
.hero .hero-facts a { color: var(--green); font-weight: 600; }

/* "how can we help" photo cards */
.help { padding-top: 40px; }
.help-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.help-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.help-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.help-body { position: relative; margin: -40px 16px 16px; background: #fff; border-radius: 18px; padding: 22px 22px 14px; flex: 1; }
.help-body h3 { font-family: "Tiro Bangla", serif; font-weight: 400; color: var(--navy); font-size: 1.3rem; margin: 0 0 .5em; }
.help-body ul { list-style: none; margin: 0; padding: 0; }
.help-body li a { display: flex; justify-content: space-between; padding: .55em 0; border-top: 1px solid var(--line); color: var(--green); text-decoration: none; font-weight: 600; }
.help-body li a:hover { color: var(--green-600); }

/* services: Cleveland-style open grid (icon, coloured title, short text) */
.service { background: transparent; box-shadow: none; border-top: 0; padding: 18px 6px; }
.service:hover { transform: none; }
.service h3, .service .service-title { color: var(--green); }

/* specialist consult block: corridor photo with tiles on top */
.spec-block { position: relative; border-radius: 28px; overflow: hidden; padding: 48px; margin: 34px 0; isolation: isolate; }
.spec-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.spec-block::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(140deg, rgba(0, 60, 30, .92), rgba(0, 132, 61, .78)); }
.spec-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.spec-head h3 { color: #fff; font-family: "Tiro Bangla", serif; font-weight: 400; font-size: 1.8rem; margin: 0; }
.spec-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.spec-tile { display: flex; align-items: center; gap: .7em; background: rgba(255, 255, 255, .95); border-radius: 14px; padding: 14px 16px;
  color: var(--navy); font-weight: 600; text-decoration: none; transition: transform .15s; }
.spec-tile:hover { transform: translateY(-2px); background: #fff; }
.spec-tile > span:last-child { margin-left: auto; color: var(--gold); }
.spec-ico { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--green-50); flex: none; }

/* doctor matched by the hero search */
.doctor.found { outline: 3px solid var(--gold); outline-offset: 4px; }

@media (max-width: 900px) {
  .help-cards { grid-template-columns: 1fr; }
  .hero .hero-facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .hero { padding: 14px 0 28px; }
  .hero-card { min-height: 0; flex-direction: column; align-items: stretch; border-radius: 20px; }
  .hero-card::before { background: linear-gradient(180deg, rgba(0, 60, 30, .9), rgba(0, 132, 61, .88)); }
  .hero-text { padding: 34px 22px 24px; }
  .hero-dock { position: static; border-radius: 0; display: grid; grid-template-columns: 1fr 1fr; }
  .hero-dock a { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .spec-block { padding: 28px 18px; border-radius: 20px; }
}

/* ---------- Praava থেকে আইডিয়া: ছবি-লেখা পাশাপাশি + পরিবারের মতো যত্ন ব্যানার ---------- */
.why-split { padding-top: 40px; }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 64px; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px 28px 28px 120px; box-shadow: var(--shadow); }
.split-rev img { order: 2; border-radius: 28px 120px 28px 28px; }
.split-text h2 { color: var(--navy); margin: 0 0 .4em; }
.split-text h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 2px; background: var(--gold); margin-top: .5em; }
.split-text p { color: var(--muted); font-size: 1.08rem; line-height: 1.8; margin: 0 0 1.4em; }
.care-band { background: linear-gradient(120deg, #005226, #00843d 60%, #1fa055); color: #fff; padding: 48px 0; }
.care-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.care-band h2 { color: #fff; margin: 0 0 .2em; }
.care-band p { margin: 0; color: #d4f0de; font-size: 1.1rem; }
.care-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.care-call { display: inline-flex; align-items: center; gap: .4em; color: #fff; border: 1.5px solid rgba(255, 255, 255, .7); border-radius: 999px; background: transparent; }
.care-call:hover { background: rgba(255, 255, 255, .12); }
.care-call svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 22px; }
  .split-rev img { order: 0; }
  .split img { border-radius: 22px 22px 22px 70px; }
  .split + .split { margin-top: 44px; }
}

/* service cards with a photo */
.service.has-photo { background: #fff; box-shadow: var(--shadow); border-radius: var(--radius); padding: 0 0 18px; overflow: hidden; transition: transform .2s; }
.service.has-photo:hover { transform: translateY(-4px); }
.service-photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; margin-bottom: 14px; }
.service.has-photo h3, .service.has-photo p { padding: 0 18px; }

/* doctors: two cards per row */
.doctors { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; gap: 22px; }
.doctor { grid-template-columns: 96px 1fr; gap: 18px; padding: 26px 24px; }
.doctor .doctor-photo, .doctor .doctor-avatar { width: 96px; height: 96px; }
.doctor-avatar { font-size: 2.5rem; }
.doctor h3 { font-size: 1.3rem; }
@media (max-width: 960px) {
  .doctors { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .doctor { grid-template-columns: 1fr; }
}

/* more photos: booking, reports, about, prices banner, FAQ */
.side-photo { display: block; width: 100%; max-width: 440px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px 24px 24px 90px; box-shadow: var(--shadow); margin-top: 26px; }
.about .side-photo { max-width: 520px; aspect-ratio: 16 / 10; object-position: center 30%; }
.price-banner { display: block; width: 100%; height: 220px; object-fit: cover; border-radius: 24px; margin: -16px 0 30px; box-shadow: var(--shadow); }
.faq-wrap { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: start; max-width: 1100px; }
.faq-photo { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 28px 28px 120px 28px; box-shadow: var(--shadow); position: sticky; top: 100px; }
@media (max-width: 900px) {
  .faq-wrap { grid-template-columns: 1fr; gap: 0; }
  .faq-photo { display: none; }
  .side-photo { max-width: none; }
  .price-banner { height: 150px; }
}

/* logo colours: green (main) + blue (accent) + red (only the small live dot) */
.btn-gold { color: #fff; }
.btn-gold:hover { color: #fff; }
.dot { background: #e12e32; box-shadow: 0 0 0 3px rgba(225, 46, 50, .3); }
.brand img { border-radius: 0; background: #fff; }
.md img { border-radius: 50%; background: #fff; padding: 6px; }
.hero .btn-primary { color: var(--green); }
.spec-tile > span:last-child, .doctor-label { color: #0d3094; }
.about .building-photo { aspect-ratio: auto; max-width: 560px; border-radius: 24px; }

/* ambulance box (logo red, emergency) */
.ambu { padding: 0 0 10px; }
.ambu-inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; background: #fff4f4; border: 1px solid #f6caca;
  border-left: 6px solid #e12e32; border-radius: 0 20px 20px 0; padding: 18px 24px; }
.ambu-ico { font-size: 2.2rem; line-height: 1; }
.ambu-text { flex: 1; min-width: 220px; }
.ambu-text h2 { font-size: 1.35rem; color: #b3161b; margin: 0 0 .15em; }
.ambu-text p { margin: 0; color: var(--muted); }
.ambu-calls { display: flex; gap: 10px; flex-wrap: wrap; }
.ambu-btn { display: inline-flex; align-items: center; gap: .4em; background: #e12e32; color: #fff; border-radius: 999px; font-weight: 600; }
.ambu-btn:hover { background: #c41f24; color: #fff; }
.ambu-btn svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 720px) { .ambu-calls, .ambu-btn { width: 100%; justify-content: center; } }
.doctor.md-card { max-width: 760px; grid-template-columns: 150px 1fr; align-items: center; gap: 28px; }
.doctor.md-card .doctor-photo, .doctor.md-card .doctor-avatar { width: 150px; height: 150px; box-shadow: 0 0 0 6px var(--green-50); }
@media (max-width: 720px) { .doctor.md-card { grid-template-columns: 1fr; justify-items: start; } }

/* ---------- animations (all switched off for people who ask for less motion) ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* hero: text slides in one line after another, photo slowly zooms, shortcut bar rises */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes slow-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero-text > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-text > :nth-child(2) { animation-delay: .1s; }
.hero-text > :nth-child(3) { animation-delay: .2s; }
.hero-text > :nth-child(4) { animation-delay: .3s; }
.hero-text > :nth-child(5) { animation-delay: .4s; }
.hero-text > :nth-child(6) { animation-delay: .5s; }
.hero-bg { animation: slow-zoom 18s ease-in-out infinite alternate; }
.hero-dock { animation: rise .8s .55s cubic-bezier(.2, .7, .2, 1) both; }
.hero .hero-facts li { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero .hero-facts li:nth-child(1) { animation-delay: .6s; }
.hero .hero-facts li:nth-child(2) { animation-delay: .7s; }
.hero .hero-facts li:nth-child(3) { animation-delay: .8s; }
.hero .hero-facts li:nth-child(4) { animation-delay: .9s; }
.hero-dock a { transition: background .2s, color .2s; }
.hero-dock a:hover { color: var(--green-600); }

/* buttons lift a little */
.btn { transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* photos zoom gently on hover */
.help-card img, .service-photo { transition: transform .6s ease; }
.help-card:hover img, .service.has-photo:hover .service-photo { transform: scale(1.06); }
.help-card { transition: transform .25s, box-shadow .25s; }
.help-card:hover { transform: translateY(-4px); }
.help-body li a { transition: padding .2s, color .2s; }
.help-body li a:hover { padding-left: 6px; }
.split img { transition: transform .6s ease; }
.split:hover img { transform: scale(1.02); }

/* specialty tiles: arrow slides, icon pops */
.spec-tile > span:last-child { transition: transform .2s; }
.spec-tile:hover > span:last-child { transform: translateX(4px); }
.spec-ico { transition: transform .25s; }
.spec-tile:hover .spec-ico { transform: scale(1.12) rotate(-6deg); }

/* doctor cards lift, photo ring glows */
.doctor { transition: transform .25s, box-shadow .25s; }
.doctor:hover { transform: translateY(-4px); box-shadow: 0 4px 10px rgba(10, 40, 70, .06), 0 22px 44px rgba(10, 40, 70, .12); }
.doctor .doctor-photo, .doctor .doctor-avatar { transition: box-shadow .3s; }
.doctor:hover .doctor-photo, .doctor:hover .doctor-avatar { box-shadow: 0 0 0 6px var(--green-50), 0 0 0 9px rgba(0, 132, 61, .25); }

/* ambulance: siren wobble + call buttons pulse */
@keyframes siren { 0%, 80%, 100% { transform: rotate(0); } 84% { transform: rotate(-10deg); } 88% { transform: rotate(10deg); } 92% { transform: rotate(-6deg); } 96% { transform: rotate(6deg); } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(225, 46, 50, .45); } 100% { box-shadow: 0 0 0 14px rgba(225, 46, 50, 0); } }
.ambu-ico { display: inline-block; animation: siren 3s ease-in-out infinite; }
.ambu-btn { animation: ring 2s ease-out infinite; }
.ambu-btn + .ambu-btn { animation-delay: 1s; }

/* "family care" banner: colours drift slowly */
@keyframes drift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.care-band { background-size: 200% 200%; animation: drift 12s ease-in-out infinite alternate; }

/* FAQ answers slide open */
.faq details[open] > p { animation: rise .35s ease both; }

/* found doctor (hero search) blinks once */
@keyframes found { 0%, 100% { outline-color: var(--gold); } 50% { outline-color: transparent; } }
.doctor.found { animation: found .5s ease 3; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print { .reveal { opacity: 1 !important; transform: none !important; } }

/* doctor list: first 6, then a button */
.doctors.collapsed .doctor:nth-child(n+7) { display: none; }
.doctors-more { text-align: center; margin: 34px 0 0; }
/* reading progress line at the very top */
.read-bar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1000; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, #00843d, #0d3094); pointer-events: none; }

/* specialist tiles with a photo: picture on top, name + arrow below */
.spec-tiles { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.spec-tile.has-photo { display: grid; grid-template-columns: 1fr auto; align-items: start; align-content: start; gap: 0 8px; padding: 0 16px 16px; overflow: hidden; }
.spec-photo { grid-column: 1 / -1; display: block; width: calc(100% + 32px); max-width: none; margin: 0 -16px 12px; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s ease; }
.spec-tile.has-photo:hover .spec-photo { transform: scale(1.06); }

/* =====================================================================
   PREMIUM LAYER: one type family for headings, quiet cards, line icons,
   solid buttons, navy utility bar. Overrides everything above.
   ===================================================================== */
:root {
  --green: #00843d; --green-600: #007035; --green-700: #055c2f; --green-50: #ecf7f1; --green-100: #d6efe1;
  --navy: #0b2a66; --navy-900: #081c44;
  --ink: #12211a; --muted: #5a6872; --line: #e3eae6; --bg-alt: #f6f9f7;
  --gold: #0b2a66;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .06);
  --shadow-lg: 0 2px 6px rgba(16, 24, 40, .05), 0 24px 48px rgba(16, 24, 40, .12);
  --head: "Anek Bangla", "Hind Siliguri", system-ui, sans-serif;
}
body { color: var(--ink); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, .hero-title, .hero-title .bn, .doctor h3, .sub-head, .help-body h3, .spec-head h3, .split-text h2,
.care-band h2, .ambu-text h2, .brand-text strong, .footer .slogan .bn, .hero-facts strong, .price-head {
  font-family: var(--head); font-weight: 600; letter-spacing: -.012em;
}
h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.45rem); line-height: 1.18; color: var(--ink); }
.section { padding: 104px 0; }
.section-alt { background: var(--bg-alt); }

/* line icons */
.ic { width: 1.2em; height: 1.2em; display: inline-block; vertical-align: -.22em; flex: none; }
.btn .ic { width: 1.15em; height: 1.15em; }

/* section heading: small green label with a line, big calm title; no pills, no side bars */
.section-head { border-left: 0; padding-left: 0; max-width: 760px; margin-bottom: 52px; }
.eyebrow, .hero .eyebrow { background: none; padding: 0; border-radius: 0; color: var(--green); font-weight: 600; font-size: .9rem;
  letter-spacing: .04em; display: inline-flex; align-items: center; gap: 10px; margin-bottom: .7em; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-sub, .section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; }
.sub-head { font-size: 1.15rem; color: var(--ink); margin: 48px 0 20px; }
.sub-head::after { background: var(--line); }

/* buttons: solid, calm, same shape everywhere */
.btn { border-radius: 12px; font-weight: 600; letter-spacing: .005em; box-shadow: none; display: inline-flex; align-items: center; justify-content: center; gap: .5em; }
.btn-primary, .btn-primary:hover { background: var(--green); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 6px 16px rgba(0, 132, 61, .22); }
.btn-primary:hover { background: var(--green-600); }
.btn-gold, .btn-gold:hover { background: var(--navy); color: #fff; border-radius: 12px; }
.btn-gold:hover { background: var(--navy-900); }
.btn:hover { transform: translateY(-1px); }

/* top bar + header */
.topbar { background: var(--navy-900); }
.dot { background: #3ddc84; box-shadow: 0 0 0 3px rgba(61, 220, 132, .25); }
.header { box-shadow: 0 1px 0 var(--line); background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); }
.brand-text strong { font-size: 1.3rem; color: var(--green-700); }
.dd-ico .ic { color: var(--green); }

/* hero */
.hero-card { border-radius: 28px; box-shadow: var(--shadow-lg); min-height: 560px; }
.hero-card::before { background: linear-gradient(95deg, rgba(4, 40, 22, .92) 0%, rgba(0, 92, 45, .82) 40%, rgba(0, 92, 45, .25) 70%, rgba(0, 0, 0, 0) 100%); }
.hero h1.hero-brand { color: rgba(255, 255, 255, .78); font-family: var(--head); font-weight: 500; font-size: 1rem; letter-spacing: .06em; }
.hero .eyebrow { color: #b9f0cf; }
.hero-title { font-size: clamp(2.3rem, 1.4rem + 3vw, 3.7rem); line-height: 1.12; }
.hero-title em { color: #9ff0c3; font-style: normal; }
.hero-search-row { border-radius: 14px; padding: 6px; }
.hero-search-row .btn { border-radius: 10px; }
.hero-dock { border-top-right-radius: 20px; box-shadow: 0 -1px 0 var(--line); }
.hero-dock a { color: var(--ink); font-weight: 600; padding: 20px 28px; }
.hero-dock a .ic { color: var(--green); width: 1.3em; height: 1.3em; }
.hero .hero-facts { gap: 16px; margin-top: 24px; }
.hero .hero-facts li { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); border-radius: 16px; padding: 20px 22px; color: var(--muted); }
.hero .hero-facts strong { color: var(--ink); font-size: 1.6rem; font-weight: 700; display: block; margin-bottom: 2px; }
.hero .hero-facts li:last-child strong { color: var(--green); }

/* cards: white, hairline border, soft shadow, lift on hover */
.card, .help-card, .service.has-photo, .doctor, .appt-form, .price-group, .faq details, .spec-tile {
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); border-radius: var(--radius);
}
.help-card:hover, .service.has-photo:hover, .doctor:hover { box-shadow: var(--shadow-lg); }
.help-body { margin: -36px 14px 14px; border-radius: 14px; box-shadow: 0 -8px 20px rgba(16, 24, 40, .05); }
.help-body h3 { color: var(--ink); font-size: 1.25rem; }
.help-body li a { color: var(--ink); font-weight: 500; }
.help-body li a:hover { color: var(--green); }

/* icon chips (services, values, why-us, prices) */
.ico, .emoji-ico, .spec-ico, .price-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--green-50); color: var(--green); font-size: 1.3rem; }
.ico .ic, .spec-ico .ic, .price-ico .ic { width: 24px; height: 24px; }
.service { padding: 22px 4px; }
.service h3 { color: var(--ink); font-family: var(--head); font-weight: 600; font-size: 1.1rem; }
.service.has-photo { padding-bottom: 20px; }

/* specialist block */
.spec-block { border-radius: 28px; padding: 56px; }
.spec-block::before { background: linear-gradient(135deg, rgba(4, 40, 22, .94), rgba(0, 92, 45, .86)); }
.spec-head h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); }
.spec-tile { background: #fff; border: 0; color: var(--ink); font-weight: 600; }
.spec-tile > span:last-child { color: var(--green); }

/* why-us split rows */
.split img, .split-rev img { border-radius: 24px; box-shadow: var(--shadow-lg); }
.split-text h2::after { background: var(--green); height: 3px; width: 44px; }

/* doctors: no coloured side stripe, clean meta */
.doctor::before { display: none; }
.doctor { padding: 28px; }
.doctor h3 { font-size: 1.3rem; color: var(--ink); }
.doctor-label { color: var(--green); font-weight: 600; font-size: .85rem; letter-spacing: .01em; }
.degree { color: var(--muted); }
.doctor-facts li::before { background: var(--green); }
.doctor-avatar { background: linear-gradient(140deg, var(--green-700), var(--green)); font-family: var(--head); font-weight: 600; }
.schedule { background: var(--bg-alt); border: 1px solid var(--line); }
.treats { border: 1px solid var(--line); }

/* booking + report forms */
#appointment { background: #fff; }
.appt-form { padding: 34px; box-shadow: var(--shadow); }
.appt-form input, .appt-form select, .appt-form textarea { border: 1px solid #d8e1dc; border-radius: 10px; background: #fff; }
.appt-form input:focus, .appt-form select:focus, .appt-form textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(0, 132, 61, .12); }
.side-photo { border-radius: 22px; box-shadow: var(--shadow-lg); }
.report-notes li { display: flex; gap: .5em; align-items: flex-start; }
.report-notes .ic { color: var(--green); margin-top: .15em; }

/* prices */
.price-tab { border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.price-tab .ic { color: var(--green); }
.price-tab.on, .price-tab[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.price-tab.on .ic, .price-tab[aria-pressed="true"] .ic { color: #fff; }
.price-banner { border-radius: 22px; box-shadow: var(--shadow); }

/* ambulance: calm card, red only where it matters */
.ambu-inner { background: #fff; border: 1px solid var(--line); border-left: 4px solid #e12e32; border-radius: 0 16px 16px 0; box-shadow: var(--shadow-sm); }
.ambu-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #fdecec; color: #d42a2f; font-size: 1rem; }
.ambu-ico .ic { width: 28px; height: 28px; }
.ambu-text h2 { color: var(--ink); font-size: 1.25rem; }
.ambu-btn { border-radius: 12px; }

/* family-care band: one deep green, no moving colours */
.care-band { background: radial-gradient(800px 300px at 85% 0%, rgba(255, 255, 255, .08), transparent 60%), linear-gradient(135deg, #053d21, #00843d);
  animation: none; padding: 64px 0; }
.care-band p { color: rgba(255, 255, 255, .8); }
.care-call { border-radius: 12px; }

/* about + MD + mission card */
.md { background: linear-gradient(160deg, #053d21, #00843d); border: 0; }
.md .md-role { color: #9ff0c3; }
.doctor.md-card { box-shadow: var(--shadow); }

/* faq */
.faq details { box-shadow: none; background: #fff; }
.faq details[open] { box-shadow: var(--shadow); border-color: var(--green-100); }
.faq summary { font-weight: 600; }
.faq summary::after { color: var(--green); }
.faq-photo { border-radius: 24px; box-shadow: var(--shadow-lg); }
.faq-cat summary .ic { color: var(--green); }

/* footer */
.footer { background: var(--navy-900); color: #c9d3e6; }
.footer .slogan b { color: #9ff0c3; }
.footer .slogan::before, .footer .slogan::after { background: #9ff0c3; }
.copy, .credit, .staff-link { color: #8e9bb8; }

.read-bar { background: linear-gradient(90deg, #00843d, #3ddc84); }

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .spec-block { padding: 28px 18px; }
  .hero-dock a { padding: 14px 16px; }
}

/* a group with just one service: wide card, photo left, text right */
.services:has(> .service.has-photo:only-child) { grid-template-columns: 1fr; }
.service.has-photo:only-child { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; align-items: center; max-width: 820px; padding: 0; }
.service.has-photo:only-child .service-photo { margin: 0; height: 100%; aspect-ratio: 16 / 10; }
.service.has-photo:only-child h3 { font-size: 1.3rem; padding: 24px 28px; margin: 0; }
@media (max-width: 600px) {
  .service.has-photo:only-child { grid-template-columns: 1fr; }
  .service.has-photo:only-child h3 { padding: 16px 18px 4px; }
}

/* line icons stay line icons even where older rules fill every svg */
svg.ic, svg.ic * { fill: none !important; stroke: currentColor; }
.hero-facts a { white-space: nowrap; }
@media (max-width: 720px) {
  .hero .hero-facts li:last-child strong { font-size: 1.3rem; }
  .spec-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .spec-tile.has-photo { padding: 0 10px 12px; font-size: .92rem; gap: 0 4px; }
  .spec-photo { width: calc(100% + 20px); margin: 0 -10px 10px; }
  .spec-head { margin-bottom: 18px; }
}

/* phones: photo cards keep the photo on top (the icon-row layout is for icon cards only) */
@media (max-width: 720px) {
  .service.has-photo:not(:only-child) { display: block; padding: 0 0 18px; }
}

/* mission / vision card: doctor-and-family photo under the green */
.md { padding-top: 150px; background: url("images/site/mission-family.webp") center top / 100% auto no-repeat, rgb(0, 96, 44); }
.md img { box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.md .md-text { text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }

/* about: text on top, building photo and mission card side by side at the same size */
.about { grid-template-columns: 1fr 1fr; align-items: stretch; gap: 28px; }
.about .about-text { grid-column: 1 / -1; max-width: 760px; }
.about .building-photo { max-width: none; width: 100%; height: 100%; min-height: 420px; aspect-ratio: auto; object-fit: cover; margin: 0; }
.about .md { margin: 0; align-content: end; border-radius: 24px; min-height: 420px; }
@media (max-width: 960px) { .about { grid-template-columns: 1fr; } .about .about-text { grid-column: auto; } .about .building-photo { min-height: 0; aspect-ratio: 6 / 5; } }

/* doctor photos like Holy Care: tall rounded rectangle on the left, full width on phones */
.doctor { grid-template-columns: 170px 1fr; gap: 22px; }
.doctor .doctor-photo, .doctor .doctor-avatar, .doctor.md-card .doctor-photo, .doctor.md-card .doctor-avatar {
  width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: 14px; object-fit: cover; object-position: top; align-self: start; box-shadow: none; }
.doctor .doctor-avatar { font-size: 3.6rem; }
.doctor.md-card { grid-template-columns: 220px 1fr; }
.doctor:hover .doctor-photo, .doctor:hover .doctor-avatar { box-shadow: var(--shadow); }
@media (max-width: 720px) {
  .doctor, .doctor.md-card { grid-template-columns: 1fr; gap: 14px; }
  .doctor .doctor-photo, .doctor .doctor-avatar, .doctor.md-card .doctor-photo, .doctor.md-card .doctor-avatar { aspect-ratio: 1 / 1; max-height: 340px; }
}
