/* ==========================================================================
   দিশায়ন — মূল স্টাইলশিট (উন্নত সংস্করণ)
   ========================================================================== */

@font-face {
  font-family: 'Noto Sans Bengali';
  src: url('../fonts/NotoSansBengali-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Noto Sans Bengali';
  src: url('../fonts/NotoSansBengali-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  /* ---- ব্র্যান্ড কালার (লকড) ---- */
  --teal:        #0A6E63;
  --teal-deep:   #075950;
  --teal-dark:   #04413A;
  --amber:       #F2A524;
  --amber-soft:  #F5A623;
  --slate:       #2A3B44;
  --white:       #FFFFFF;
  --mist:        #E8F2F0;
  --paper:       #F7FAF9;
  --line:        #D5E3E0;
  --muted:       #63787F;

  --bn: 'Noto Sans Bengali', 'Nirmala UI', 'Kalpurush', sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, Consolas, monospace;

  --wrap: 1080px;
  --r: 14px;
  --shadow: 0 2px 4px rgba(4,65,58,.06), 0 12px 28px rgba(4,65,58,.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--bn);
  background: var(--paper);
  color: var(--slate);
  line-height: 1.72;
  font-size: 16px;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

/* ---------- হেডার (গভীর টিল) ---------- */
.site-head {
  background: var(--teal);
  color: var(--white);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 4px 16px rgba(4,65,58,.3);
}
.head-in { display: flex; align-items: center; gap: 12px; padding: 8px 20px; max-width: var(--wrap); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand img { width: 38px; height: 38px; display: block; }
.brand-text .name { font-size: 22px; font-weight: 700; color: var(--white); line-height: 1.1; letter-spacing: .2px; }
.brand-text .tag { font-size: 10px; color: var(--amber); letter-spacing: 1.4px; font-weight: 700; }

.nav { margin-left: auto; display: flex; gap: 4px; }
.nav a {
  color: var(--white); font-size: 15px; padding: 7px 13px; border-radius: 999px;
  opacity: .88; transition: background .18s, opacity .18s;
}
.nav a:hover, .nav a.on { background: rgba(255,255,255,.2); opacity: 1; text-decoration: none; }
@media (max-width: 700px) {
  .head-in { padding: 10px 16px; gap: 9px; }
  .brand img { width: 32px; height: 32px; }
  .brand-text .name { font-size: 19px; }
  .brand-text .tag { font-size: 8.5px; letter-spacing: 1px; }
  .nav { gap: 0; }
  .nav a { font-size: 13.5px; padding: 6px 9px; }
}

/* ---------- হিরো (টিল গ্র্যাডিয়েন্ট) ---------- */
.hero {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: var(--white);
  padding: 40px 0 52px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 -20px 40px rgba(0,0,0,.08);
}
.hero::after {
  content: ''; position: absolute; right: -140px; top: -90px;
  width: 380px; height: 380px; border-radius: 50%;
  border: 44px solid rgba(255,255,255,.045); pointer-events: none;
}
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .6px;
  color: var(--teal-dark); background: var(--amber);
  padding: 5px 14px; border-radius: 999px; margin-bottom: 16px;
}
.hero h1 { font-size: 38px; line-height: 1.32; font-weight: 700; letter-spacing: -.3px; margin-bottom: 14px; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero p.lead { font-size: 17.5px; color: #CFE6E2; max-width: 620px; margin-bottom: 26px; }
@media (max-width: 700px) {
  .hero { padding: 30px 0 40px; }
  .hero h1 { font-size: 28px; }
  .hero p.lead { font-size: 16px; }
  .hero::after { display: none; }
}

/* ---------- সিগনেচার: পদ-নির্বাচক ---------- */
.finder {
  background: var(--white);
  border-radius: var(--r);
  padding: 20px;
  box-shadow: var(--shadow);
  color: var(--slate);
  max-width: 660px;
  border: 1px solid rgba(10,110,99,.1);
}
.finder h2 { font-size: 17px; margin-bottom: 4px; color: var(--teal); }
.finder .hint { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.finder-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
@media (min-width: 620px) { .finder-grid { grid-template-columns: repeat(4, 1fr); } }
.fbtn {
  border: 1.5px solid var(--line); background: var(--paper); border-radius: 10px;
  padding: 11px 8px; text-align: center; cursor: pointer;
  font-family: var(--bn); font-size: 14.5px; font-weight: 700; color: var(--slate);
  transition: border-color .18s, background .18s, color .18s;
}
.fbtn:hover { border-color: var(--amber); }
.fbtn[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--white); }
.fbtn small { display: block; font-weight: 400; font-size: 11.5px; opacity: .72; font-family: var(--mono); letter-spacing: .3px; }

.finder-out {
  margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line);
  display: none;
}
.finder-out.show { display: block; }
.finder-out ul { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; }
.finder-out li {
  background: var(--mist); color: var(--teal); font-size: 13.5px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px;
}
.finder-out .note { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* ---------- সেকশন (বিভিন্ন ব্যাকগ্রাউন্ড) ---------- */
.sec { padding: 46px 0; }

.sec.hero-next {
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: inset 0 10px 20px rgba(10,110,99,.04);
}

.sec.alt {
  background: var(--mist);
  border-top: 1px solid rgba(10,110,99,.08);
  border-bottom: 1px solid rgba(10,110,99,.08);
}

.sec.pledge-sec {
  background: var(--white);
  border-top: 2px solid var(--teal);
}

.sec-head { margin-bottom: 22px; }
.sec-head .kicker { font-size: 12.5px; font-weight: 700; letter-spacing: 1.2px; color: var(--amber-soft); text-transform: uppercase; font-family: var(--mono); }
.sec-head h2 { font-size: 26px; color: var(--teal); line-height: 1.4; margin-top: 3px; }
.sec-head p { color: var(--muted); font-size: 15.5px; margin-top: 5px; max-width: 640px; }
@media (max-width: 700px) { .sec { padding: 34px 0; } .sec-head h2 { font-size: 22px; } }

/* ---------- MCQ কার্ড ---------- */
.mcq {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  box-shadow: 0 2px 8px rgba(10,110,99,.06);
  max-width: 720px;
}
.mcq .meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.chip {
  font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  background: var(--mist); color: var(--teal);
}
.chip.amber { background: #FDF0D5; color: #8A5B00; }
.mcq .q { font-size: 18.5px; font-weight: 700; line-height: 1.62; margin-bottom: 16px; color: var(--slate); }
.opts { list-style: none; display: grid; gap: 9px; }
.opt {
  display: flex; gap: 11px; align-items: flex-start; width: 100%; text-align: right;
  border: 1.5px solid var(--line); background: var(--paper); border-radius: 10px;
  padding: 12px 14px; cursor: pointer; font-family: var(--bn); font-size: 16px;
  color: var(--slate); transition: border-color .16s, background .16s;
  text-align: start;
}
.opt:hover:not(:disabled) { border-color: var(--teal); }
.opt .k {
  flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--mist); color: var(--teal);
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  display: grid; place-items: center;
}
.opt.right { border-color: #1E9E5A; background: #EAF8F0; }
.opt.right .k { background: #1E9E5A; color: #fff; }
.opt.wrong { border-color: #C0392B; background: #FDEDEB; }
.opt.wrong .k { background: #C0392B; color: #fff; }
.opt:disabled { cursor: default; }

.explain {
  margin-top: 15px; padding: 14px 16px; border-radius: 10px;
  background: var(--mist); border-inline-start: 4px solid var(--amber);
  font-size: 15.5px; display: none;
}
.explain.show { display: block; }
.explain b { color: var(--teal); }

.mcq-foot { display: flex; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.counter { font-family: var(--mono); font-size: 13px; color: var(--muted); margin-inline-start: auto; }

/* ---------- বাটন ---------- */
.btn {
  display: inline-block; font-family: var(--bn); font-size: 15.5px; font-weight: 700;
  padding: 11px 22px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-amber { background: var(--amber); color: #3A2A00; }
.btn-amber:hover { box-shadow: 0 6px 16px rgba(242,165,36,.4); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { box-shadow: 0 6px 16px rgba(10,110,99,.3); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--teal); }
.btn-ghost:hover { border-color: var(--teal); }
.btn:disabled { opacity: .45; cursor: default; transform: none; box-shadow: none; }

/* ---------- পদের গ্রিড ---------- */
.posts { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 15px 16px; transition: border-color .18s, transform .18s, box-shadow .18s;
  box-shadow: 0 1px 3px rgba(10,110,99,.05);
}
.post:hover { border-color: var(--amber); transform: translateY(-2px); box-shadow: 0 6px 12px rgba(10,110,99,.12); }
.post .org { font-family: var(--mono); font-size: 11.5px; letter-spacing: .5px; color: var(--amber-soft); font-weight: 700; }
.post h3 { font-size: 17px; color: var(--teal); margin: 2px 0 6px; line-height: 1.45; }
.post .row { display: flex; gap: 14px; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.post .row span b { color: var(--slate); font-weight: 700; }

/* ---------- প্রতিশ্রুতি কার্ড (স্টাইল আপডেটেড) ---------- */
.pledge { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .pledge { grid-template-columns: repeat(3, 1fr); } }
.pledge-item {
  background: var(--white); border-radius: 12px; padding: 20px; border: 1.5px solid var(--line);
  transition: border-color .2s, box-shadow .2s, transform .2s;
  box-shadow: 0 2px 6px rgba(10,110,99,.06);
}
.pledge-item:hover { border-color: var(--amber); box-shadow: 0 8px 16px rgba(10,110,99,.12); transform: translateY(-2px); }
.pledge-item .n { font-family: var(--mono); font-size: 12px; color: var(--amber-soft); font-weight: 700; letter-spacing: 1px; }
.pledge-item h3 { font-size: 18px; color: var(--teal); margin: 8px 0 8px; font-weight: 700; }
.pledge-item p { font-size: 14.5px; color: var(--slate); line-height: 1.7; }

/* ---------- CTA ব্যান্ড (ডার্ক টিল) ---------- */
.band {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal-deep) 100%);
  color: var(--white);
  padding: 40px 0;
  text-align: center;
  box-shadow: inset 0 2px 8px rgba(0,0,0,.1);
}
.band h2 { font-size: 25px; margin-bottom: 8px; }
.band p { color: #CFE6E2; font-size: 16px; margin-bottom: 20px; }
.band .btns { display: flex; gap: 11px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 700px) { .band h2 { font-size: 21px; } }

/* ---------- ফুটার (খুবই গভীর টিল) ---------- */
.site-foot {
  background: var(--teal);
  color: #CFE6E2;
  padding: 30px 0 22px;
  font-size: 14px;
  box-shadow: inset 0 2px 6px rgba(0,0,0,.15);
}
.foot-in { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.site-foot .f-brand { color: var(--white); font-size: 19px; font-weight: 700; }
.site-foot .f-tag { color: var(--amber); font-size: 11px; letter-spacing: 1.2px; font-weight: 700; }
.site-foot a { color: #CFE6E2; }
.foot-links { margin-inline-start: auto; display: flex; gap: 16px; flex-wrap: wrap; }
.foot-note { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12.5px; color: #86B4AD; }

/* ---------- ইউটিলিটি ---------- */
.note-box {
  background: #FDF6E4; border: 1px solid #F0DDA8; border-radius: 10px;
  padding: 13px 16px; font-size: 14.5px; color: #6B4E00;
}
.center { text-align: center; }
.mt-16 { margin-top: 16px; }
.skip {
  position: absolute; left: -9999px; background: var(--amber); color: #000;
  padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100;
}
.skip:focus { left: 0; top: 0; }


/* Mobile font size improvements */
@media (max-width: 700px) {
  body { font-size: 16px; line-height: 1.76; }
  .hero h1 { font-size: 32px; line-height: 1.4; }
  .hero p.lead { font-size: 17px; }
  .sec-head h2 { font-size: 24px; }
  .sec-head p { font-size: 15.5px; }
  .mcq .q { font-size: 17px; }
  .opt { font-size: 16px; }
  .post h3 { font-size: 17px; }
  .post .org { font-size: 12px; }
  .pledge-item h3 { font-size: 18px; }
  .pledge-item p { font-size: 15px; }
  .btn { font-size: 16px; padding: 12px 24px; }
  .finder h2 { font-size: 17px; }
  .finder .hint { font-size: 14px; }
  .fbtn { font-size: 15px; padding: 12px 9px; }
}

@media (max-width: 700px) {
  .post {
    padding: 16px 14px;
    min-height: 140px;
  }
  .post .org {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.6px;
    margin-bottom: 5px;
  }
  .post h3 {
    font-size: 18px;
    margin: 4px 0 8px;
    line-height: 1.5;
    font-weight: 700;
  }
  .post .row {
    font-size: 15px;
    gap: 12px;
    line-height: 1.7;
  }
  .post .row span {
    display: block;
    margin-bottom: 3px;
  }
  .post .row span b {
    font-weight: 700;
    font-size: 15px;
  }
}
@media (max-width: 700px) {
  .post {
    padding: 16px 14px;
    min-height: 140px;
    text-align: center;
  }
  .post .org {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.6px;
    margin-bottom: 5px;
  }
  .post h3 {
    font-size: 18px;
    margin: 4px 0 8px;
    line-height: 1.5;
    font-weight: 700;
  }
  .post .row {
    font-size: 15px;
    gap: 12px;
    line-height: 1.7;
  }
  .post .row span {
    display: block;
    margin-bottom: 3px;
  }
  .post .row span b {
    font-weight: 700;
    font-size: 15px;
  }
}

/* ---------- Hybrid brand lockup (inline SVG + text) ---------- */
.head-in { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 20px; max-width:var(--wrap); margin:0 auto; }
.brand { display:flex; align-items:center; gap:22px; text-decoration:none; }
.brand:hover { text-decoration:none; }
.brand-icon { height:136px; width:136px; display:block; flex:none; }
.brand-divider { width:3px; height:96px; background:var(--amber); border-radius:2px; flex:none; margin:0 4px; }
.brand-text { display:flex; flex-direction:column; justify-content:center; margin-left:12px; }
.brand-text .name { font-size:56px; font-weight:700; color:var(--white); line-height:1.05; letter-spacing:.5px; }
.brand-text .tag { font-size:16px; color:var(--amber); letter-spacing:2.5px; font-weight:700; margin-top:7px; }

/* Footer lockup */
.site-foot .foot-in { display:grid; grid-template-columns:auto 1fr; gap:40px; align-items:start; }
.site-foot .foot-brand { pointer-events:auto; }
.site-foot .brand-icon { height:60px; width:60px; }
.site-foot .brand-divider { height:84px; }
.site-foot .brand-text .name { font-size:27px; }
.site-foot .brand-text .tag { font-size:15px; }
.foot-contact { margin-top:9px; font-size:15px; padding-left:78px; color:#CFE6E2; }
.foot-contact a { color:#FFFFFF; text-decoration:none; font-weight:600; margin-left:4px; }
.site-foot .foot-links { text-align:right; display:flex; gap:18px; justify-content:flex-end; margin-inline-start:0; }

/* Mobile */
@media (max-width: 760px) {
  .brand-icon { height:76px; width:76px; }
  .brand-divider { height:56px; }
  .brand-text .name { font-size:34px; }
  .brand-text .tag { font-size:11px; letter-spacing:1.6px; }
  .head-in { flex-wrap:wrap; padding:10px 14px; gap:10px; }
  .site-foot .foot-in { grid-template-columns:1fr; gap:18px; }
  .site-foot .brand-icon { height:72px; width:72px; }
  .site-foot .brand-divider { height:54px; }
  .site-foot .brand-text .name { font-size:32px; }
  .foot-contact { padding-left:0; font-size:15px; }
  .site-foot .foot-links { text-align:left; justify-content:flex-start; flex-wrap:wrap; }
}

/* ---------- Logo lockup (icon SVG + text) ---------- */
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 20px; max-width: var(--wrap); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-icon { height: 60px; width: 60px; display: block; flex: none; }
.brand-divider { width: 2.5px; height: 42px; background: var(--amber); border-radius: 2px; flex: none; margin: 0 2px; }
.brand-text { display: flex; flex-direction: column; justify-content: center; margin-left: 5px; }
.brand-text .name { font-size: 27px; font-weight: 700; color: var(--white); line-height: 1.05; letter-spacing: .5px; }
.brand-text .tag { font-size: 10px; color: var(--amber); letter-spacing: 1.6px; font-weight: 700; margin-top: 7px; }

/* Footer lockup */
.site-foot .foot-in { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: start; }
.site-foot .foot-left .brand { pointer-events: auto; }
.site-foot .foot-contact { margin-top: 9px; font-size: 15px; padding-left: 78px; color: #CFE6E2; }
.site-foot .foot-contact a { color: #FFFFFF; text-decoration: none; font-weight: 600; margin-left: 4px; }
.site-foot .foot-links { text-align: right; display: flex; gap: 18px; justify-content: flex-end; }

/* Mobile */
@media (max-width: 700px) {
  .brand { gap: 12px; }
  .brand-icon { height: 76px; width: 76px; }
  .brand-divider { height: 54px; margin: 0 2px; }
  .brand-text { margin-left: 6px; }
  .brand-text .name { font-size: 32px; }
  .brand-text .tag { font-size: 10px; letter-spacing: 1.5px; }
  .head-in { flex-wrap: wrap; padding: 10px 14px; }
  .site-foot .foot-in { grid-template-columns: 1fr; gap: 16px; }
  .site-foot .foot-contact { padding-left: 0; font-size: 15px; }
  .site-foot .foot-links { justify-content: flex-start; text-align: left; }
}

/* ---------- Footer-only compact overrides ---------- */
.site-foot .brand { gap: 7px; }
.site-foot .brand-icon { height: 60px; width: 60px; }
.site-foot .brand-divider { height: 38px; margin: 0 2px; }
.site-foot .brand-text { margin-left: 4px; }
.site-foot .brand-text .name { font-size: 27px; }
.site-foot .brand-text .tag { font-size: 9px; letter-spacing: 1.3px; margin-top: 3px; }
.site-foot { padding: 16px 0 12px; }
.site-foot .foot-contact { margin-top: 9px; font-size: 15px; padding-left: 78px; }
@media (max-width: 700px){
  .site-foot .foot-contact { padding-left: 0; }
}
