/* মাদ্রাসার ওয়েবসাইট ও প্রচারণার সাইট। --brand বডিতে style দিয়ে মাদ্রাসার রং বসে। */
:root { --brand: #0f5132; --bs-font-sans-serif: "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif; }
body.site { font-family: var(--bs-font-sans-serif); background: #fff; color: #1f2a24; font-size: 1.02rem; }
.site a:where(:not(.btn)) { color: var(--brand); }
.site .btn-brand { background: var(--brand); border-color: var(--brand); color: #fff; }
.site .btn-brand:hover { filter: brightness(.9); color: #fff; }
.site .btn-outline-brand { border-color: var(--brand); color: var(--brand); }
.site .btn-outline-brand:hover { background: var(--brand); color: #fff; }
.site .text-brand { color: var(--brand) !important; }
.site .bg-brand { background: var(--brand) !important; }
.site .bg-brand-soft { background: color-mix(in srgb, var(--brand) 8%, #fff); }
.arabic { font-family: "Amiri", serif; }

/* উপরের পাতলা বার */
.site-topbar { background: color-mix(in srgb, var(--brand) 88%, #000); color: #e8f3ee; font-size: .85rem; }
.site-topbar a:where(:not(.btn)) { color: #fff; text-decoration: none; }
.site-topbar .btn-light { color: var(--brand); }
.site .btn-light.text-brand { color: var(--brand) !important; }

/* হেডার */
.site-header { background: #fff; border-bottom: 1px solid #e7ece9; }
.site-header .logo { height: 64px; width: auto; }
.site-header .mark { width: 64px; height: 64px; border-radius: 1rem; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 2rem; font-family: "Amiri", serif; }
.site-header .name { font-size: 1.45rem; font-weight: 700; color: var(--brand); line-height: 1.2; }
.site-header .name-ar { font-family: "Amiri", serif; font-size: 1.15rem; color: #5b6b62; }

/* মেনু */
.site-nav { background: var(--brand); }
.site-nav .nav-link { color: rgba(255,255,255,.92); font-weight: 500; padding: .8rem 1rem !important; }
.site-nav .nav-link:hover, .site-nav .nav-link.active, .site-nav .show > .nav-link { color: #fff; background: rgba(0,0,0,.15); }
.site-nav .dropdown-menu { border-radius: 0 0 .5rem .5rem; border: 0; box-shadow: 0 .5rem 1rem rgba(0,0,0,.12); }
.site-nav .dropdown-item:active { background: var(--brand); }
.site-nav .navbar-toggler { border-color: rgba(255,255,255,.5); }
.site-nav .navbar-toggler-icon { filter: invert(1); }

/* হিরো */
.hero { position: relative; color: #fff; background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 60%, #000)); background-size: cover; background-position: center; }
.hero.has-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.65), rgba(0,0,0,.25)); }
.hero > .container { position: relative; padding: 5rem 1rem; }
.hero h1 { font-weight: 700; font-size: clamp(1.7rem, 4vw, 2.8rem); }
.hero .lead { max-width: 42rem; opacity: .95; }
.hero .arabic { font-size: clamp(1.2rem, 2.5vw, 1.7rem); opacity: .9; }

/* সেকশন */
.section { padding: 3.5rem 0; }
.section-title { font-weight: 700; color: var(--brand); position: relative; padding-bottom: .6rem; margin-bottom: 1.6rem; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; background: var(--brand); border-radius: 2px; }
.text-center .section-title::after { left: 50%; transform: translateX(-50%); }
.page-band { background: color-mix(in srgb, var(--brand) 8%, #fff); border-bottom: 1px solid #e7ece9; padding: 2rem 0; }
.page-band h1 { font-size: 1.6rem; font-weight: 700; color: var(--brand); margin: 0; }
.prose { line-height: 1.85; }
.prose h3, .prose h4, .prose h5 { color: var(--brand); margin-top: 1.4rem; }
.prose img { max-width: 100%; height: auto; border-radius: .5rem; }

/* কার্ড */
.site .card { border-color: #e7ece9; }
.feature-card { border: 1px solid #e7ece9; border-radius: .9rem; padding: 1.4rem; height: 100%; background: #fff; transition: box-shadow .2s, transform .2s; }
.feature-card:hover { box-shadow: 0 .6rem 1.4rem rgba(15,81,50,.10); transform: translateY(-2px); }
.feature-card .icon { width: 48px; height: 48px; border-radius: .8rem; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 10%, #fff); color: var(--brand); font-size: 1.4rem; margin-bottom: .8rem; }
.stat-box { text-align: center; padding: 1.4rem .5rem; }
.stat-box .n { font-size: 2.2rem; font-weight: 700; color: var(--brand); line-height: 1.1; }
.teacher-card { text-align: center; }
.teacher-card .photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid color-mix(in srgb, var(--brand) 15%, #fff); background: #f1f4f2; }
.teacher-card .ph { width: 120px; height: 120px; border-radius: 50%; display: inline-grid; place-items: center; background: color-mix(in srgb, var(--brand) 10%, #fff); color: var(--brand); font-size: 2.6rem; font-weight: 700; }
.message-photo { width: 140px; height: 140px; object-fit: cover; border-radius: 50%; border: 5px solid #fff; box-shadow: 0 .4rem 1rem rgba(0,0,0,.1); }
.gallery-thumb { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: .6rem; background: #eef2ef; }
.notice-row { border-bottom: 1px dashed #dfe6e2; padding: .7rem 0; }
.notice-row:last-child { border-bottom: 0; }
.date-chip { min-width: 3.4rem; text-align: center; background: color-mix(in srgb, var(--brand) 10%, #fff); color: var(--brand); border-radius: .5rem; padding: .25rem .4rem; line-height: 1.1; font-weight: 600; }
.date-chip small { display: block; font-weight: 400; font-size: .72rem; }

/* ফুটার */
.site-footer { background: #10231a; color: #c9d6cf; font-size: .95rem; }
.site-footer a:where(:not(.btn)) { color: #e6efe9; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h6 { color: #fff; font-weight: 600; margin-bottom: 1rem; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }

/* প্রচারণার সাইট */
.mk-hero { background: radial-gradient(1200px 500px at 85% -10%, color-mix(in srgb, var(--brand) 25%, #fff), transparent), linear-gradient(180deg, #f3f8f5, #fff); }
.mk-hero h1 { font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.25; color: #10231a; }
.mk-hero .lead { color: #42524a; }
.price-card { border: 1px solid #e3e9e5; border-radius: 1rem; padding: 1.6rem; height: 100%; background: #fff; }
.price-card.popular { border: 2px solid var(--brand); box-shadow: 0 1rem 2rem rgba(15,81,50,.12); }
.price-card .amount { font-size: 2rem; font-weight: 800; color: var(--brand); }
.price-card ul { padding-left: 1.1rem; }
.mk-nav { background: rgba(255,255,255,.92); backdrop-filter: blur(6px); border-bottom: 1px solid #e7ece9; }
.mk-nav .nav-link { color: #23332b; font-weight: 500; }
.mk-nav .nav-link:hover { color: var(--brand); }
.faq .accordion-button:not(.collapsed) { background: color-mix(in srgb, var(--brand) 8%, #fff); color: var(--brand); }
.madrasa-chip { border: 1px solid #e3e9e5; border-radius: .8rem; padding: .8rem 1rem; background: #fff; height: 100%; }
.step-n { width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; display: inline-grid; place-items: center; font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 991.98px) { .hero > .container { padding: 3rem 1rem; } .section { padding: 2.4rem 0; } }

/* ---------- "আধুনিক" হোম পেজ ---------- */
.m-hero { padding: 3rem 0 2rem; background: linear-gradient(180deg, var(--brand-soft, #eef6f2), #fff); }
.m-hero-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 1.25rem; box-shadow: 0 1rem 2.5rem rgba(0,0,0,.12); }
.m-hero-ph { aspect-ratio: 4/3; border-radius: 1.25rem; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 2rem; opacity: .9; }
.m-tile { display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: 1rem .5rem; border-radius: 1rem; background: #fff; border: 1px solid #e5e7eb; text-decoration: none; color: inherit; text-align: center; transition: transform .15s, box-shadow .15s; height: 100%; }
.m-tile:hover { transform: translateY(-2px); box-shadow: 0 .5rem 1.25rem rgba(0,0,0,.08); color: var(--brand); }
.m-stat { padding: 1.25rem; border-radius: 1rem; border: 1px solid #e5e7eb; }
.m-stat .n { font-size: 1.9rem; font-weight: 700; color: var(--brand); }
.m-card { display: block; height: 100%; padding: 1rem 1.1rem; border-radius: 1rem; background: #fff; text-decoration: none; color: inherit; border: 1px solid #e5e7eb; }
.m-card:hover { border-color: var(--brand); }
.m-quote { padding: 1.5rem; border-radius: 1.25rem; background: var(--brand-soft, #eef6f2); border-left: 4px solid var(--brand); }
.m-avatar { width: 3.5rem; height: 3.5rem; border-radius: 50%; object-fit: cover; }
.m-dept { padding: .75rem 0; border-bottom: 1px dashed #d1d5db; }
.m-mosaic { display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); gap: .5rem; }
.m-mosaic img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: .75rem; }

/* প্রচারণা: নতুন সেকশন */
.mk-eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, #fff); border-radius: 2rem; padding: .25rem .8rem; margin-bottom: .6rem; }
.mk-ticks { list-style: none; padding: 0; }
.mk-ticks li { position: relative; padding: .2rem 0 .2rem 1.5rem; }
.mk-ticks li::before { content: "✓"; position: absolute; left: 0; top: .2rem; color: var(--brand); font-weight: 700; }
.mk-device .icon { font-size: 1.6rem; }
.mk-modnav { position: sticky; top: 5rem; display: flex; flex-direction: column; gap: .25rem; border: 1px solid #e7ece9; border-radius: 1rem; padding: .6rem; background: #fff; }
.mk-modnav a { display: flex; align-items: center; gap: .6rem; padding: .5rem .6rem; border-radius: .6rem; color: #23332b; text-decoration: none; font-weight: 500; font-size: .95rem; }
.mk-modnav a:hover, .mk-modnav a:focus { background: color-mix(in srgb, var(--brand) 8%, #fff); color: var(--brand); }
.mk-modnav .n { width: 26px; height: 26px; flex: none; border-radius: 50%; display: inline-grid; place-items: center; background: color-mix(in srgb, var(--brand) 12%, #fff); color: var(--brand); font-size: .8rem; font-weight: 700; }
.mk-module { border: 1px solid #e7ece9; border-radius: 1rem; padding: 1.4rem 1.5rem; background: #fff; margin-bottom: 1rem; scroll-margin-top: 5rem; }
.mk-module:target { border-color: var(--brand); box-shadow: 0 .6rem 1.4rem rgba(15,81,50,.10); }
.mk-module .icon { width: 52px; height: 52px; flex: none; border-radius: .9rem; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 10%, #fff); font-size: 1.6rem; }
.mk-dark { background: radial-gradient(900px 400px at 15% 0%, color-mix(in srgb, var(--brand) 45%, #10231a), transparent), #10231a; color: #e6efe9; }
.mk-dark .mk-eyebrow { background: rgba(255,255,255,.1); color: #bfe3cf; }
.mk-dark-card { height: 100%; border: 1px solid rgba(255,255,255,.1); border-radius: 1rem; padding: 1.4rem; background: rgba(255,255,255,.04); }
.mk-dark-card .icon { width: 48px; height: 48px; border-radius: .8rem; display: grid; place-items: center; background: rgba(255,255,255,.08); font-size: 1.4rem; margin-bottom: .8rem; }
@media (max-width: 991.98px) {
  .mk-modnav { position: static; flex-direction: row; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .mk-modnav a { flex: none; }
}

/* প্রচারণা: নীতিমালা পাতা ও ভাসমান WhatsApp/কল বোতাম */
.mk-policy h3 { font-size: 1.7rem; font-weight: 800; color: #10231a; margin-bottom: 1rem; }
.mk-policy h4 { font-size: 1.15rem; font-weight: 700; color: var(--brand); margin-top: 1.6rem; }
.mk-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 1030; display: flex; flex-direction: column; gap: .6rem; align-items: stretch; }
.mk-float a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-width: 10.5rem; padding: .7rem 1.2rem; border-radius: 2rem; color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 .5rem 1.2rem rgba(0,0,0,.18); transition: transform .15s, box-shadow .15s; }
.mk-float a:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 .8rem 1.6rem rgba(0,0,0,.22); }
.mk-float-wa { background: #25d366; }
.mk-float-call { background: #1565f5; }
@media (max-width: 575.98px) {
  .mk-float { right: .7rem; bottom: .7rem; }
  .mk-float a { min-width: 0; width: 3.2rem; height: 3.2rem; padding: 0; }
  .mk-float a span { display: none; }
}
@media print { .mk-float { display: none; } }
