/* =============================================================
   Mouza Map Bangladesh — Premium Frontend Theme
   White + Green | Material inspired | Minimal government style
   ============================================================= */

:root {
    --green-800: #0b5940;
    --green-700: #0e6b4d;
    --green-600: #12805c;
    --green-500: #159a6c;
    --green-400: #22b57f;
    --green-100: #d9efe6;
    --green-50: #eef8f3;
    --ink-900: #0d1b16;
    --ink-700: #2f4038;
    --ink-600: #51645b;
    --ink-400: #8fa39a;
    --ink-200: #dbe5e0;
    --surface: #ffffff;
    --bg: #f6faf8;
    --amber: #f59e0b;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(13, 27, 22, .05), 0 1px 6px rgba(13, 27, 22, .04);
    --shadow-md: 0 4px 14px rgba(13, 27, 22, .07), 0 2px 6px rgba(13, 27, 22, .05);
    --shadow-lg: 0 18px 44px rgba(13, 27, 22, .12), 0 6px 18px rgba(13, 27, 22, .07);
    --font-sans: 'Inter', 'Noto Sans Bengali', -apple-system, "Segoe UI", Roboto, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--ink-900);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection { background: var(--green-100); color: var(--green-800); }

a { color: var(--green-600); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--green-800); }

.text-green { color: var(--green-600) !important; }
.bg-soft { background: var(--bg); }

/* ---------------------------------- Buttons ---------------------------------- */

.btn { border-radius: var(--radius-sm); font-weight: 600; letter-spacing: .1px; transition: all .2s cubic-bezier(.4, 0, .2, 1); }

.btn-green {
    background: linear-gradient(135deg, var(--green-600), var(--green-700));
    border: none; color: #fff;
    padding: .65rem 1.4rem;
    box-shadow: 0 2px 8px rgba(18, 128, 92, .3);
}
.btn-green:hover, .btn-green:focus {
    background: linear-gradient(135deg, var(--green-500), var(--green-600));
    color: #fff; transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(18, 128, 92, .38);
}
.btn-green:active { transform: translateY(0); }

.btn-outline-green {
    border: 1.5px solid var(--green-600); color: var(--green-700);
    padding: .6rem 1.35rem; background: transparent;
}
.btn-outline-green:hover { background: var(--green-50); color: var(--green-800); border-color: var(--green-700); }

.btn-ghost { color: var(--ink-600); }
.btn-ghost:hover { color: var(--green-700); background: var(--green-50); }

/* ---------------------------------- Navbar ---------------------------------- */

.navbar-mouza {
    background: rgba(255, 255, 255, .86);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(13, 27, 22, .06);
    transition: box-shadow .25s ease;
    padding-top: .65rem; padding-bottom: .65rem;
}
.navbar-mouza.scrolled { box-shadow: var(--shadow-md); }

.navbar-brand-mouza { font-weight: 800; font-size: 1.18rem; color: var(--ink-900) !important; display: flex; align-items: center; gap: .55rem; }
.navbar-brand-mouza .brand-mark {
    width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--green-600), var(--green-800));
    color: #fff; font-size: 1.05rem;
    box-shadow: 0 3px 10px rgba(14, 107, 77, .35);
}
.navbar-mouza .nav-link {
    color: var(--ink-700); font-weight: 550; padding: .5rem .85rem !important;
    border-radius: 9px; font-size: .94rem;
}
.navbar-mouza .nav-link:hover { color: var(--green-700); background: var(--green-50); }
.navbar-mouza .nav-link.active { color: var(--green-700); background: var(--green-50); font-weight: 650; }

.lang-switch {
    border: 1.5px solid var(--ink-200); border-radius: 999px; overflow: hidden; display: inline-flex;
}
.lang-switch a {
    padding: .28rem .7rem; font-size: .8rem; font-weight: 650; color: var(--ink-600);
}
.lang-switch a.active { background: var(--green-600); color: #fff; }

/* ---------------------------------- Hero ---------------------------------- */

.hero {
    position: relative;
    background:
        radial-gradient(1000px 500px at 85% -10%, rgba(34, 181, 127, .14), transparent 60%),
        radial-gradient(800px 420px at -10% 20%, rgba(18, 128, 92, .10), transparent 55%),
        linear-gradient(180deg, #fbfefc 0%, var(--bg) 100%);
    padding: 4.5rem 0 5.5rem;
    overflow: hidden;
}
.hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image:
        linear-gradient(rgba(18, 128, 92, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 128, 92, .05) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(720px 420px at 50% 12%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(720px 420px at 50% 12%, #000 30%, transparent 75%);
}

.hero .eyebrow {
    display: inline-flex; align-items: center; gap: .45rem;
    background: #fff; border: 1px solid var(--green-100);
    color: var(--green-700); font-weight: 650; font-size: .82rem;
    padding: .38rem .9rem; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.hero h1 { font-weight: 800; letter-spacing: -1.2px; font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.14; }
.hero h1 .grad {
    background: linear-gradient(120deg, var(--green-600) 20%, var(--green-400) 80%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .lead { color: var(--ink-600); font-size: 1.08rem; max-width: 620px; }

.hero-stats { display: flex; gap: 2.2rem; flex-wrap: wrap; }
.hero-stats .stat b { font-size: 1.35rem; font-weight: 800; color: var(--ink-900); display: block; letter-spacing: -.5px; }
.hero-stats .stat span { color: var(--ink-600); font-size: .84rem; }

/* ------------------------------- Search card ------------------------------- */

.search-card {
    background: #fff; border: 1px solid rgba(13, 27, 22, .07);
    border-radius: 20px; box-shadow: var(--shadow-lg);
    padding: 1.5rem;
}
.search-card .form-label { font-size: .8rem; font-weight: 650; color: var(--ink-600); margin-bottom: .3rem; }
.search-card .form-select, .search-card .form-control {
    border-radius: 11px; border-color: var(--ink-200); padding: .62rem .8rem; font-size: .93rem;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.search-card .form-select:focus, .search-card .form-control:focus {
    border-color: var(--green-500); box-shadow: 0 0 0 .2rem rgba(21, 154, 108, .12);
}

.suggest-box {
    position: absolute; z-index: 30; top: 100%; left: 0; right: 0;
    background: #fff; border: 1px solid var(--ink-200); border-radius: 12px;
    box-shadow: var(--shadow-lg); overflow: hidden; margin-top: 6px;
}
.suggest-box a { display: block; padding: .6rem .9rem; font-size: .9rem; color: var(--ink-700); }
.suggest-box a:hover { background: var(--green-50); color: var(--green-800); }

/* ------------------------------- Sections ------------------------------- */

.section { padding: 4.5rem 0; }
.section-soft { background: var(--bg); }

.section-eyebrow {
    color: var(--green-600); font-weight: 700; letter-spacing: 2.5px;
    text-transform: uppercase; font-size: .74rem;
}
.section-title { font-weight: 800; letter-spacing: -.8px; font-size: clamp(1.5rem, 2.6vw, 2.15rem); }
.section-sub { color: var(--ink-600); max-width: 640px; }

/* ------------------------------- Map cards ------------------------------- */

.map-card {
    background: #fff; border: 1px solid rgba(13, 27, 22, .07);
    border-radius: var(--radius); overflow: hidden;
    transition: transform .25s cubic-bezier(.4, 0, .2, 1), box-shadow .25s ease, border-color .25s ease;
    height: 100%; display: flex; flex-direction: column;
}
.map-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--green-100); }

.map-card .thumb { position: relative; aspect-ratio: 4 / 2.9; overflow: hidden; background: var(--green-50); }
.map-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.map-card:hover .thumb img { transform: scale(1.05); }

.badge-survey {
    position: absolute; top: .7rem; left: .7rem;
    background: rgba(13, 27, 22, .82); color: #d9efe6;
    backdrop-filter: blur(4px);
    font-weight: 700; font-size: .72rem; letter-spacing: 1px;
    padding: .32rem .6rem; border-radius: 8px;
}
.badge-featured {
    position: absolute; top: .7rem; right: .7rem;
    background: var(--amber); color: #422006;
    font-weight: 700; font-size: .7rem; padding: .3rem .55rem; border-radius: 8px;
}

.map-card .body { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; flex: 1; }
.map-card h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: .2rem; letter-spacing: -.2px; }
.map-card h3 a { color: var(--ink-900); }
.map-card h3 a:hover { color: var(--green-700); }
.map-card .loc { color: var(--ink-600); font-size: .84rem; display: flex; align-items: center; gap: .35rem; }
.map-card .meta { display: flex; gap: .8rem; color: var(--ink-400); font-size: .78rem; margin-top: .5rem; }
.map-card .foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: .85rem; }
.map-card .price { font-weight: 800; color: var(--green-700); font-size: 1.12rem; letter-spacing: -.3px; }

/* ------------------------------ How it works ------------------------------ */

.step-card { text-align: center; padding: 1.8rem 1.3rem; position: relative; }
.step-card .icon {
    width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 19px;
    display: grid; place-items: center; font-size: 1.5rem; color: var(--green-700);
    background: linear-gradient(160deg, var(--green-50), var(--green-100));
    border: 1px solid var(--green-100);
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease;
}
.step-card:hover .icon { transform: translateY(-4px) scale(1.05); }
.step-card .num {
    position: absolute; top: 1.1rem; right: 1.4rem; font-weight: 800; font-size: 2rem;
    color: var(--green-100); line-height: 1;
}
.step-card h3 { font-size: 1.04rem; font-weight: 700; }
.step-card p { color: var(--ink-600); font-size: .9rem; margin: 0; }

/* ------------------------------ Pricing ------------------------------ */

.price-card {
    background: linear-gradient(165deg, #ffffff 0%, var(--green-50) 100%);
    border: 1.5px solid var(--green-100); border-radius: 22px;
    padding: 2.4rem 2.2rem; box-shadow: var(--shadow-md);
    position: relative; overflow: hidden;
}
.price-card .amount { font-size: 3.2rem; font-weight: 800; letter-spacing: -2px; color: var(--green-700); }
.price-card .amount small { font-size: 1rem; color: var(--ink-600); font-weight: 550; letter-spacing: 0; }
.price-card ul { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.price-card ul li { padding: .42rem 0; color: var(--ink-700); font-size: .94rem; }
.price-card ul li i { color: var(--green-500); margin-right: .55rem; }

/* ------------------------------ FAQ ------------------------------ */

.faq-accordion .accordion-item {
    border: 1px solid rgba(13, 27, 22, .08); border-radius: 14px !important;
    margin-bottom: .8rem; overflow: hidden; background: #fff;
}
.faq-accordion .accordion-button {
    font-weight: 650; color: var(--ink-900); background: #fff;
    padding: 1.05rem 1.25rem; font-size: .97rem;
}
.faq-accordion .accordion-button:not(.collapsed) { color: var(--green-700); background: var(--green-50); box-shadow: none; }
.faq-accordion .accordion-button:focus { box-shadow: none; border: none; }
.faq-accordion .accordion-body { color: var(--ink-600); font-size: .93rem; }

/* ------------------------------ Testimonials ------------------------------ */

.t-card {
    background: #fff; border: 1px solid rgba(13, 27, 22, .07); border-radius: var(--radius);
    padding: 1.5rem; height: 100%; box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}
.t-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.t-card .stars { color: var(--amber); font-size: .85rem; }
.t-card p { color: var(--ink-700); font-size: .93rem; margin: .8rem 0 1rem; }
.t-card .who { display: flex; align-items: center; gap: .75rem; }
.t-card .who .avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, var(--green-500), var(--green-700));
    display: grid; place-items: center; color: #fff; font-weight: 700;
}
.t-card .who b { font-size: .92rem; }
.t-card .who span { display: block; font-size: .78rem; color: var(--ink-400); }

/* ------------------------------ Product page ------------------------------ */

.preview-frame {
    border-radius: var(--radius); overflow: hidden;
    border: 1px solid rgba(13, 27, 22, .09); box-shadow: var(--shadow-md);
    background: #fff; position: relative;
}
.preview-frame img { width: 100%; display: block; }
.preview-frame .preview-note {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(13, 27, 22, .78));
    color: #fff; padding: 2rem 1.2rem .85rem; font-size: .82rem; text-align: center;
}

.spec-table { width: 100%; font-size: .93rem; }
.spec-table td { padding: .68rem .35rem; border-bottom: 1px dashed var(--ink-200); }
.spec-table td:first-child { color: var(--ink-600); width: 42%; }
.spec-table td:last-child { font-weight: 650; color: var(--ink-900); }
.spec-table tr:last-child td { border-bottom: none; }

.buy-box {
    background: #fff; border: 1.5px solid var(--green-100); border-radius: 18px;
    box-shadow: var(--shadow-md); padding: 1.6rem;
    position: sticky; top: 96px;
}
.buy-box .price { font-size: 2.2rem; font-weight: 800; color: var(--green-700); letter-spacing: -1px; }

/* ------------------------------ Breadcrumb ------------------------------ */

.crumbs { font-size: .84rem; color: var(--ink-400); }
.crumbs a { color: var(--ink-600); }
.crumbs a:hover { color: var(--green-700); }
.crumbs .sep { margin: 0 .45rem; opacity: .6; }

/* ------------------------------ Checkout ------------------------------ */

.gateway-option {
    border: 1.5px solid var(--ink-200); border-radius: 13px; padding: .9rem 1.05rem;
    display: flex; align-items: center; gap: .8rem; cursor: pointer;
    transition: all .18s ease; background: #fff;
}
.gateway-option:hover { border-color: var(--green-400); }
.gateway-option.selected { border-color: var(--green-600); background: var(--green-50); box-shadow: 0 0 0 .18rem rgba(21, 154, 108, .12); }
.gateway-option .glogo {
    width: 46px; height: 34px; border-radius: 8px; display: grid; place-items: center;
    font-weight: 800; font-size: .68rem; color: #fff; letter-spacing: .3px;
}
.g-bkash { background: #d12053; } .g-nagad { background: #ef7b10; } .g-rocket { background: #8c3494; }
.g-sslcommerz { background: #1a4b8b; } .g-stripe { background: #635bff; } .g-demo { background: var(--ink-600); }

/* ------------------------------ Footer ------------------------------ */

.footer { background: #0c1a14; color: #b7c9c0; padding: 4rem 0 0; margin-top: 0; }
.footer h5 { color: #fff; font-size: .95rem; font-weight: 700; letter-spacing: .4px; margin-bottom: 1.1rem; }
.footer a { color: #b7c9c0; font-size: .9rem; display: inline-block; padding: .22rem 0; }
.footer a:hover { color: var(--green-400); }
.footer .brand { color: #fff; font-weight: 800; font-size: 1.2rem; display: flex; gap: .55rem; align-items: center; }
.footer .fine { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 2.6rem; padding: 1.2rem 0; font-size: .82rem; color: #7d938a; }
.footer .social a {
    width: 38px; height: 38px; display: inline-grid; place-items: center;
    background: rgba(255, 255, 255, .06); border-radius: 10px; margin-right: .5rem;
}
.footer .social a:hover { background: var(--green-600); color: #fff; transform: translateY(-2px); }

/* ------------------------------ User dashboard ------------------------------ */

.dash-nav .list-group-item {
    border: none; border-radius: 11px !important; margin-bottom: .25rem;
    color: var(--ink-700); font-weight: 550; padding: .7rem 1rem; font-size: .93rem;
    background: transparent;
}
.dash-nav .list-group-item:hover { background: var(--green-50); color: var(--green-800); }
.dash-nav .list-group-item.active { background: var(--green-600); color: #fff; }

.stat-tile {
    background: #fff; border: 1px solid rgba(13, 27, 22, .07); border-radius: var(--radius);
    padding: 1.25rem 1.35rem; box-shadow: var(--shadow-sm); height: 100%;
}
.stat-tile .ico {
    width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
    font-size: 1.15rem; margin-bottom: .8rem;
}
.stat-tile b { font-size: 1.45rem; font-weight: 800; letter-spacing: -.6px; display: block; }
.stat-tile span { color: var(--ink-600); font-size: .84rem; }

/* ------------------------------ Misc ------------------------------ */

.table-clean { font-size: .92rem; }
.table-clean thead th {
    background: var(--bg); color: var(--ink-600); font-size: .76rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; border: none; padding: .8rem 1rem;
}
.table-clean tbody td { padding: .85rem 1rem; vertical-align: middle; border-color: #eef3f0; }

.badge-soft-success { background: var(--green-100); color: var(--green-800); }
.badge-soft-warning { background: #fef3c7; color: #92400e; }
.badge-soft-danger { background: #fee2e2; color: #991b1b; }
.badge-soft-info { background: #dbeafe; color: #1e40af; }
.badge-soft-secondary { background: #e2e8f0; color: #334155; }

.pagination .page-link { color: var(--green-700); border-radius: 9px; margin: 0 3px; border-color: var(--ink-200); }
.pagination .page-item.active .page-link { background: var(--green-600); border-color: var(--green-600); }

.empty-state { text-align: center; padding: 4rem 1rem; color: var(--ink-400); }
.empty-state i { font-size: 3rem; color: var(--ink-200); margin-bottom: 1rem; display: block; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.4, 0, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* District chips */
.district-chip {
    display: flex; justify-content: space-between; align-items: center;
    background: #fff; border: 1px solid rgba(13, 27, 22, .08); border-radius: 12px;
    padding: .78rem 1rem; color: var(--ink-900); font-weight: 600; font-size: .92rem;
    transition: all .18s ease;
}
.district-chip:hover { border-color: var(--green-400); background: var(--green-50); transform: translateX(3px); }
.district-chip .count { background: var(--green-100); color: var(--green-800); font-size: .74rem; font-weight: 700; padding: .2rem .55rem; border-radius: 99px; }

/* Blog */
.post-card { border: 1px solid rgba(13,27,22,.07); border-radius: var(--radius); overflow: hidden; background: #fff; height: 100%; transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card .thumb { aspect-ratio: 16/9; background: var(--green-50); overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 1.15rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.4; }
.post-card h3 a { color: var(--ink-900); }
.post-card h3 a:hover { color: var(--green-700); }

.article-body { font-size: 1.02rem; line-height: 1.85; color: var(--ink-700); }
.article-body h2, .article-body h3 { font-weight: 750; color: var(--ink-900); margin-top: 1.8rem; letter-spacing: -.4px; }
.article-body img { max-width: 100%; border-radius: 12px; }

/* Auth card */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(900px 460px at 80% -10%, rgba(34,181,127,.12), transparent 60%), var(--bg); padding: 2rem 1rem; }
.auth-card { width: 100%; max-width: 440px; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid rgba(13,27,22,.06); padding: 2.2rem; }

/* WhatsApp float */
.wa-float {
    position: fixed; bottom: 22px; right: 22px; z-index: 999;
    width: 54px; height: 54px; border-radius: 50%;
    background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.6rem;
    box-shadow: 0 8px 22px rgba(37, 211, 102, .45);
    transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }

@media (max-width: 767px) {
    .hero { padding: 3rem 0 3.6rem; }
    .section { padding: 3.2rem 0; }
    .buy-box { position: static; }
}

/* =============================================================
   Homepage v2 — deep green hero + centered search panel
   ============================================================= */

.hero-v2 {
    position: relative;
    background:
        radial-gradient(900px 420px at 80% -10%, rgba(74, 222, 157, .22), transparent 60%),
        radial-gradient(700px 400px at 5% 110%, rgba(34, 181, 127, .18), transparent 55%),
        linear-gradient(150deg, #06281a 0%, #0b4630 55%, #0f6a4b 100%);
    color: #eaf6f0;
    padding: 4.6rem 0 9.5rem;
    overflow: hidden;
    text-align: center;
}
.hero-v2::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(900px 520px at 50% 0%, #000 25%, transparent 78%);
    -webkit-mask-image: radial-gradient(900px 520px at 50% 0%, #000 25%, transparent 78%);
}
.hero-v2::after {
    content: ""; position: absolute; left: 50%; bottom: -140px; transform: translateX(-50%);
    width: 900px; height: 260px; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(74, 222, 157, .18), transparent);
    pointer-events: none;
}
.hero-v2 .eyebrow-v2 {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
    color: #b8f0d6; font-weight: 650; font-size: .82rem;
    padding: .42rem 1rem; border-radius: 999px; backdrop-filter: blur(6px);
}
.hero-v2 h1 {
    font-weight: 800; letter-spacing: -.5px; margin: 1.1rem auto .6rem;
    font-size: clamp(2rem, 5vw, 3.35rem); line-height: 1.22; max-width: 900px; color: #fff;
}
.hero-v2 h1 .grad-v2 {
    background: linear-gradient(120deg, #4ade9d 10%, #b8f0d6 90%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-v2 .lead-v2 { color: #b9d6c9; font-size: 1.04rem; max-width: 680px; margin: 0 auto; }

.hero-v2 .stats-v2 { display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; margin-top: 1.8rem; }
.hero-v2 .stats-v2 .pill {
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px; padding: .6rem 1.15rem; backdrop-filter: blur(6px);
}
.hero-v2 .stats-v2 .pill b { display: block; font-size: 1.18rem; font-weight: 800; color: #fff; letter-spacing: -.4px; }
.hero-v2 .stats-v2 .pill span { font-size: .74rem; color: #a7cbbb; }

/* Floating search panel */
.search-panel-wrap { margin-top: -7.2rem; position: relative; z-index: 5; }
.search-panel {
    background: #fff; border-radius: 24px; border: 1px solid rgba(13, 27, 22, .07);
    box-shadow: 0 30px 70px rgba(6, 40, 26, .28), 0 8px 24px rgba(6, 40, 26, .14);
    padding: 1.7rem 1.7rem 1.5rem;
}
.search-panel .panel-title {
    display: flex; align-items: center; justify-content: center; gap: .6rem;
    font-weight: 800; letter-spacing: -.3px; font-size: 1.08rem; margin-bottom: 1.2rem;
}
.search-panel .panel-title .dot {
    width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center;
    background: var(--green-50); color: var(--green-700); font-size: .95rem;
}
.search-panel .form-label { font-size: .78rem; font-weight: 700; color: var(--ink-600); margin-bottom: .3rem; }
.search-panel .form-select, .search-panel .form-control {
    border-radius: 11px; border: 1.5px solid var(--ink-200); padding: .66rem .8rem; font-size: .92rem;
    background-color: var(--bg);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.search-panel .form-select:focus, .search-panel .form-control:focus {
    border-color: var(--green-500); background: #fff;
    box-shadow: 0 0 0 .22rem rgba(21, 154, 108, .13);
}
.search-panel .btn-search {
    height: 100%; min-height: 46px; border-radius: 12px; font-weight: 750; font-size: .98rem;
}

/* Division quick strip */
.division-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.division-strip a {
    background: #fff; border: 1.5px solid var(--ink-200); color: var(--ink-700);
    border-radius: 999px; padding: .42rem 1.05rem; font-size: .85rem; font-weight: 650;
    transition: all .16s ease;
}
.division-strip a:hover { border-color: var(--green-500); color: var(--green-700); background: var(--green-50); transform: translateY(-2px); }

/* Trust row */
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.trust-row .t-item { display: flex; align-items: center; gap: .8rem; justify-content: center; color: var(--ink-700); font-size: .88rem; font-weight: 600; }
.trust-row .t-item i {
    width: 42px; height: 42px; flex-shrink: 0; border-radius: 13px; display: grid; place-items: center;
    background: var(--green-50); color: var(--green-600); font-size: 1.05rem;
}
@media (max-width: 991px) { .trust-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) {
    .hero-v2 { padding: 3.4rem 0 8.6rem; }
    .search-panel { padding: 1.25rem 1.1rem 1.1rem; }
}

/* =============================================================
   Interactive Bangladesh district map
   ============================================================= */
.bd-map-wrap { position: relative; max-width: 520px; margin: 0 auto; }
.bd-map-wrap svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 14px 30px rgba(11, 70, 48, .18)); }
.bd-district {
    fill: #d9efe6; stroke: #ffffff; stroke-width: 1.1;
    cursor: pointer; transition: fill .18s ease, transform .18s ease;
}
.bd-district:hover { fill: var(--green-500); }
.bd-map-tooltip {
    position: absolute; pointer-events: none; z-index: 20; opacity: 0;
    background: var(--ink-900); color: #d9efe6; font-size: .8rem; font-weight: 700;
    padding: .34rem .7rem; border-radius: 8px; white-space: nowrap;
    transition: opacity .12s ease; box-shadow: var(--shadow-md);
}
.map-side-list { display: flex; flex-direction: column; gap: .4rem; max-height: 560px; overflow: auto; padding-right: .3rem; }
.map-side-list::-webkit-scrollbar { width: 5px; }
.map-side-list::-webkit-scrollbar-thumb { background: var(--ink-200); border-radius: 3px; }

/* Settlement-style result cards */
.rcard {
    background: #fff; border: 1px solid rgba(13, 27, 22, .08); border-radius: 16px;
    overflow: hidden; height: 100%; display: flex; flex-direction: column;
    transition: transform .22s ease, box-shadow .22s ease;
}
.rcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.rcard .thumb { position: relative; aspect-ratio: 16/10; background: #f0ebe0; overflow: hidden; }
.rcard .thumb img { width: 100%; height: 100%; object-fit: cover; }
.rcard .badge-available {
    position: absolute; top: .7rem; left: .7rem;
    background: var(--green-600); color: #fff; font-weight: 700; font-size: .74rem;
    padding: .32rem .7rem; border-radius: 999px; display: inline-flex; gap: .3rem; align-items: center;
}
.rcard .pills { position: absolute; left: .7rem; bottom: .7rem; display: flex; gap: .4rem; }
.rcard .pill-jl { background: #1e3a8a; color: #fff; font-weight: 700; font-size: .72rem; padding: .3rem .6rem; border-radius: 999px; }
.rcard .pill-survey { background: #0d9488; color: #fff; font-weight: 700; font-size: .72rem; padding: .3rem .6rem; border-radius: 999px; }
.rcard .body { padding: .95rem 1rem 1.05rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.rcard h3 { font-size: 1.05rem; font-weight: 800; margin: 0; letter-spacing: 0; }
.rcard h3 a { color: var(--ink-900); }
.rcard .loc { color: var(--ink-600); font-size: .8rem; }
.rcard .loc .sep { opacity: .5; margin: 0 .25rem; }
.rcard .price-pill {
    background: var(--green-100); color: var(--green-800); font-weight: 800;
    padding: .3rem .75rem; border-radius: 999px; font-size: .92rem;
}
.rcard .actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: .5rem; margin-top: auto; }
.rcard .btn-preview { border: 1.5px solid var(--ink-200); background: #fff; color: var(--ink-700); border-radius: 11px; font-weight: 650; font-size: .88rem; padding: .55rem; }
.rcard .btn-preview:hover { border-color: var(--green-500); color: var(--green-700); }

/* Preview lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 2000; display: none;
    background: rgba(6, 26, 17, .88); backdrop-filter: blur(4px);
    align-items: center; justify-content: center; padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1000px, 94vw); max-height: 88vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox .close-x {
    position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border: none;
    border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 1.3rem; cursor: pointer;
}

/* =============================================================
   Hero v3 — white split hero with the colourful district map
   ============================================================= */
.hero-v3 {
    background: #ffffff;
    padding: 3.2rem 0 2.6rem;
    border-bottom: 1px solid #eef3f0;
    position: relative;
    overflow: hidden;
}
.hero-v3::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
    background-image:
        linear-gradient(rgba(18, 128, 92, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 128, 92, .045) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(700px 480px at 18% 30%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(700px 480px at 18% 30%, #000 20%, transparent 75%);
}
.hero-v3 .eyebrow-v3 {
    display: inline-flex; align-items: center; gap: .5rem;
    background: var(--green-50); border: 1px solid var(--green-100);
    color: var(--green-700); font-weight: 700; font-size: .8rem;
    padding: .4rem 1rem; border-radius: 999px;
}
.hero-v3 h1 {
    font-weight: 800; letter-spacing: -.5px; margin: 1rem 0 .7rem;
    font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.24; color: var(--ink-900);
}
.hero-v3 h1 .grad-v3 {
    background: linear-gradient(120deg, var(--green-600) 15%, var(--green-400) 85%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-v3 .lead-v3 { color: var(--ink-600); font-size: 1.02rem; max-width: 540px; }
.hero-v3 .stats-v3 { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.4rem; }
.hero-v3 .stats-v3 .pill {
    background: var(--bg); border: 1px solid var(--ink-200); border-radius: 13px;
    padding: .55rem 1.05rem;
}
.hero-v3 .stats-v3 .pill b { display: block; font-size: 1.12rem; font-weight: 800; color: var(--ink-900); letter-spacing: -.3px; }
.hero-v3 .stats-v3 .pill span { font-size: .72rem; color: var(--ink-600); }
.hero-v3 .cta-row { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.5rem; }

.hero-map-side { position: relative; }
.hero-map-side .bd-map-wrap { max-width: 470px; }
.hero-map-side .bd-map-wrap svg { filter: drop-shadow(0 16px 34px rgba(11, 70, 48, .16)); }
.hero-map-side .map-hint {
    text-align: center; color: var(--ink-600); font-size: .82rem; margin-top: .6rem; font-weight: 600;
}

/* Colourful map polish */
.bd-district { stroke: #ffffff; stroke-width: 1.4; cursor: pointer; transition: filter .18s ease, opacity .18s ease; }
.bd-district:hover { filter: brightness(.86) saturate(1.35); }
.bd-label {
    font-family: 'Noto Sans Bengali', sans-serif; font-weight: 700; fill: #23392e;
    text-anchor: middle; pointer-events: none;
    paint-order: stroke; stroke: rgba(255, 255, 255, .82); stroke-width: 2.4px;
}
@media (max-width: 991px) {
    .hero-v3 { padding: 2.4rem 0 2rem; text-align: center; }
    .hero-v3 .lead-v3, .hero-v3 .stats-v3, .hero-v3 .cta-row { margin-left: auto; margin-right: auto; justify-content: center; }
    .hero-map-side .bd-map-wrap { max-width: 380px; margin-top: 1.6rem; }
}

/* Search panel under white hero */
.search-panel-wrap-v3 { margin-top: 2rem; position: relative; z-index: 5; }

/* bKash option logo */
.gateway-option .glogo-img { height: 30px; width: auto; max-width: 74px; object-fit: contain; border-radius: 6px; }
.gateway-fee-note { font-size: .74rem; color: var(--ink-400); margin-left: auto; }
