/* প্রথম পাতা (লগইনের আগে) — সিস্টেম পরিচিতি */
:root { --g: #0b5d3b; --g2: #0f7a4d; --g3: #e8f3ee; --ink: #1d2a24; --mut: #5b6b63; --line: #dfe7e2; --red: #c8102e; --gold: #f2b705; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body.hm { background: #fff; color: var(--ink); font-family: 'Noto Sans Bengali','Nirmala UI','Kalpurush','SolaimanLipi',sans-serif; line-height: 1.75; }
.hm a { text-decoration: none; }
.hm img { max-width: 100%; }

/* উপরের বার */
.hm-nav { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.hm-nav .in { max-width: 1200px; margin: 0 auto; padding: .55rem 1rem; display: flex; align-items: center; gap: 1rem; }
.hm-brand { display: flex; align-items: center; gap: .6rem; color: var(--g); font-weight: 700; font-size: 1.12rem; line-height: 1.2; }
.hm-brand img { width: 40px; height: 40px; }
.hm-brand small { display: block; font-weight: 500; font-size: .74rem; color: var(--mut); }
.hm-links { margin-left: auto; display: flex; gap: 1.1rem; align-items: center; }
.hm-links a { color: var(--ink); font-size: .95rem; }
.hm-links a:hover { color: var(--g2); }
.hm-btn { display: inline-block; background: var(--g); color: #fff !important; padding: .5rem 1.15rem; border-radius: 8px; font-weight: 600; border: 2px solid var(--g); transition: .15s; }
.hm-btn:hover { background: var(--g2); border-color: var(--g2); }
.hm-btn.ghost { background: transparent; color: var(--g) !important; }
.hm-btn.ghost:hover { background: var(--g3); }
.hm-btn.lg { padding: .75rem 1.6rem; font-size: 1.05rem; }
@media (max-width: 900px) { .hm-links a:not(.hm-btn) { display: none; } }

/* হিরো */
.hm-hero { background: linear-gradient(135deg, #073d27 0%, var(--g) 55%, #127a50 100%); color: #fff; position: relative; overflow: hidden; }
.hm-hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 6px; background: var(--red); }
.hm-hero .in { max-width: 1200px; margin: 0 auto; padding: 3.5rem 1rem 4rem; display: grid; grid-template-columns: 1fr 1.15fr; gap: 2.5rem; align-items: center; }
.hm-tag { display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 30px; padding: .25rem .9rem; font-size: .88rem; }
.hm-hero h1 { font-size: 2.55rem; font-weight: 700; line-height: 1.35; margin: 1rem 0 .8rem; }
.hm-hero h1 span { color: var(--gold); }
.hm-hero p.lead { font-size: 1.12rem; opacity: .93; margin-bottom: 1.6rem; }
.hm-hero .cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hm-hero .cta .hm-btn { background: #fff; color: var(--g) !important; border-color: #fff; }
.hm-hero .cta .hm-btn.ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.7); }
.hm-shot { position: relative; }
.hm-shot .win { background: #fff; border-radius: 10px; box-shadow: 0 20px 50px rgba(0,0,0,.35); overflow: hidden; }
.hm-shot .win .bar { height: 26px; background: #eef1ef; display: flex; align-items: center; gap: 6px; padding: 0 10px; }
.hm-shot .win .bar i { width: 10px; height: 10px; border-radius: 50%; background: #d0d6d2; display: block; }
.hm-shot .win img { display: block; width: 100%; cursor: zoom-in; }
.hm-shot .phone { position: absolute; right: -18px; bottom: -36px; width: 30%; border: 7px solid #10251b; border-radius: 22px; overflow: hidden; box-shadow: 0 14px 34px rgba(0,0,0,.45); background: #10251b; }
.hm-shot .phone img { display: block; cursor: zoom-in; }
@media (max-width: 900px) {
  .hm-hero .in { grid-template-columns: 1fr; padding: 2.4rem 1rem 3.5rem; }
  .hm-hero h1 { font-size: 1.9rem; }
  .hm-shot .phone { right: 4px; width: 32%; }
}

/* সংখ্যা/বৈশিষ্ট্য ফিতা */
.hm-strip { max-width: 1100px; margin: -1.8rem auto 0; position: relative; z-index: 5; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(11,93,59,.12); border: 1px solid var(--line); }
.hm-strip div { padding: 1.1rem 1rem; text-align: center; border-right: 1px solid var(--line); }
.hm-strip div:last-child { border-right: 0; }
.hm-strip b { display: block; font-size: 1.55rem; color: var(--g); line-height: 1.3; }
.hm-strip span { font-size: .9rem; color: var(--mut); }
@media (max-width: 700px) { .hm-strip { grid-template-columns: repeat(2, 1fr); margin: -1.5rem 1rem 0; } .hm-strip div:nth-child(2) { border-right: 0; } .hm-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* অংশ */
.hm-sec { max-width: 1200px; margin: 0 auto; padding: 4.2rem 1rem; }
.hm-sec.alt { max-width: none; background: #f6faf8; }
.hm-sec.alt > .in { max-width: 1200px; margin: 0 auto; }
.hm-h { text-align: center; max-width: 760px; margin: 0 auto 2.6rem; }
.hm-h .k { color: var(--g2); font-weight: 600; font-size: .92rem; letter-spacing: .02em; }
.hm-h h2 { font-size: 1.95rem; font-weight: 700; margin: .3rem 0 .6rem; }
.hm-h p { color: var(--mut); font-size: 1.05rem; margin: 0; }

/* সমস্যা → সমাধান */
.hm-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.hm-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.35rem 1.3rem; height: 100%; transition: .15s; }
.hm-card:hover { box-shadow: 0 10px 26px rgba(11,93,59,.10); transform: translateY(-2px); }
.hm-card .ic { width: 46px; height: 46px; border-radius: 10px; background: var(--g3); display: flex; align-items: center; justify-content: center; font-size: 1.45rem; margin-bottom: .7rem; }
.hm-card h3 { font-size: 1.12rem; font-weight: 700; margin: 0 0 .35rem; }
.hm-card p { color: var(--mut); margin: 0; font-size: .97rem; }
@media (max-width: 900px) { .hm-why { grid-template-columns: 1fr; } }

/* কার্যপ্রবাহ */
.hm-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: st; }
.hm-step { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1rem 1rem; position: relative; }
.hm-step::before { counter-increment: st; content: counter(st, bengali); position: absolute; top: -14px; left: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--g); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: .95rem; box-shadow: 0 0 0 4px #f6faf8; }
.hm-step h4 { font-size: 1rem; font-weight: 700; margin: .45rem 0 .25rem; color: var(--g); }
.hm-step p { font-size: .9rem; color: var(--mut); margin: 0; line-height: 1.6; }
@media (max-width: 1000px) { .hm-flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .hm-flow { grid-template-columns: 1fr; } }

/* বৈশিষ্ট্য: ছবি + লেখা */
.hm-feat { display: grid; grid-template-columns: 1.25fr 1fr; gap: 2.6rem; align-items: center; margin-bottom: 4rem; }
.hm-feat:last-child { margin-bottom: 0; }
.hm-feat.rev { grid-template-columns: 1fr 1.25fr; }
.hm-feat.rev .pic { order: 2; }
.hm-feat .pic { position: relative; }
.hm-feat .pic img { display: block; width: 100%; border-radius: 10px; border: 1px solid var(--line); box-shadow: 0 12px 34px rgba(16,37,27,.13); cursor: zoom-in; background: #fff; }
.hm-feat .pic.paper img { max-height: 560px; object-fit: cover; object-position: top; }
.hm-feat .pic .duo { display: grid; grid-template-columns: 1fr .42fr; gap: 1rem; align-items: start; }
.hm-lbl, .hm-feat .lbl { display: inline-block; background: var(--g3); color: var(--g); font-weight: 600; font-size: .85rem; border-radius: 6px; padding: .15rem .6rem; }
.hm-feat h3 { font-size: 1.55rem; font-weight: 700; margin: .55rem 0 .6rem; }
.hm-feat p { color: var(--mut); }
.hm-feat ul { padding-left: 0; list-style: none; margin: 0; }
.hm-feat li { position: relative; padding-left: 1.6rem; margin-bottom: .4rem; }
.hm-feat li::before { content: '✔'; position: absolute; left: 0; color: var(--g2); font-weight: 700; }
.hm-sample { position: absolute; top: 10px; left: 10px; background: rgba(200,16,46,.92); color: #fff; font-size: .75rem; padding: .08rem .5rem; border-radius: 4px; pointer-events: none; }
@media (max-width: 900px) { .hm-feat, .hm-feat.rev { grid-template-columns: 1fr; gap: 1.4rem; } .hm-feat.rev .pic { order: 0; } }

/* আরও সুবিধা */
.hm-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 1000px) { .hm-mini { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .hm-mini { grid-template-columns: 1fr; } }

/* ভূমিকা */
.hm-roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.hm-role { border-radius: 12px; padding: 1.3rem; color: #fff; }
.hm-role h4 { font-size: 1.1rem; font-weight: 700; margin: .3rem 0 .5rem; }
.hm-role ul { margin: 0; padding-left: 1.1rem; font-size: .93rem; opacity: .95; }
.hm-role .ic { font-size: 1.8rem; }
.r1 { background: linear-gradient(140deg, #073d27, #0b5d3b); }
.r2 { background: linear-gradient(140deg, #0b5d3b, #138a5a); }
.r3 { background: linear-gradient(140deg, #1d6f62, #2a8f7d); }
.r4 { background: linear-gradient(140deg, #8a5a00, #c48a10); }
@media (max-width: 1000px) { .hm-roles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .hm-roles { grid-template-columns: 1fr; } }

/* নাগরিক যাচাই */
.hm-verify { display: grid; grid-template-columns: 1fr 300px; gap: 2.5rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 2rem; }
.hm-verify .ph { border: 7px solid #10251b; border-radius: 22px; overflow: hidden; background: #10251b; }
.hm-verify .ph img { display: block; cursor: zoom-in; }
.hm-verify ol { padding-left: 1.2rem; }
@media (max-width: 800px) { .hm-verify { grid-template-columns: 1fr; padding: 1.3rem; } .hm-verify .ph { max-width: 280px; margin: 0 auto; } }

/* নিরাপত্তা */
.hm-sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 900px) { .hm-sec-grid { grid-template-columns: 1fr; } }

/* শেষ আহ্বান ও ফুটার */
.hm-cta { background: linear-gradient(135deg, #073d27, var(--g)); color: #fff; border-radius: 16px; padding: 2.4rem 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.2rem; }
.hm-cta h3 { font-size: 1.6rem; font-weight: 700; margin: 0 0 .3rem; }
.hm-cta p { margin: 0; opacity: .9; }
.hm-cta .hm-btn { background: #fff; color: var(--g) !important; border-color: #fff; }
.hm-foot { background: #0a2a1c; color: #c9d8d0; font-size: .92rem; }
.hm-foot .in { max-width: 1200px; margin: 0 auto; padding: 2rem 1rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.hm-foot a { color: #fff; }
.hm-foot .note { max-width: 1200px; margin: 0 auto; padding: 0 1rem 1.6rem; font-size: .82rem; color: #8fa89b; }

/* ছবি বড় করে দেখা */
.hm-lb { position: fixed; inset: 0; background: rgba(5,20,13,.88); z-index: 100; display: none; align-items: flex-start; justify-content: center; overflow: auto; padding: 2.5rem 1rem; cursor: zoom-out; }
.hm-lb.on { display: flex; }
.hm-lb img { max-width: min(1400px, 100%); border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.5); background: #fff; }
.hm-lb .x { position: fixed; top: 12px; right: 18px; color: #fff; font-size: 2rem; line-height: 1; }

/* এক নজরে: ছোট পূর্বরূপ */
.hm-gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.hm-gal figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 8px 22px rgba(16,37,27,.08); }
.hm-gal img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); user-select: none; -webkit-user-drag: none; }
.hm-gal figcaption { padding: .6rem .8rem; font-weight: 600; color: var(--g); text-align: center; }
@media (max-width: 900px) { .hm-gal { grid-template-columns: repeat(2, 1fr); } }
.hm-hero img, .hm-verify img { user-select: none; -webkit-user-drag: none; cursor: default !important; }
