:root {
  --maroon: #7a1c2e;
  --maroon-dark: #5a1220;
  --teal: #0e5f63;
  --teal-dark: #0a4548;
  --gold: #c9a227;
  --gold-soft: #e8d48b;
  --cream: #f7f3ea;
  --ink: #1c1c1c;
  --muted: #5a5a5a;
  --line: #e6dfd0;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(28, 20, 16, 0.12);
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Source Sans 3", "Noto Sans Bengali", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

/* Topbar */
.topbar {
  background: linear-gradient(90deg, var(--maroon-dark), var(--teal-dark));
  color: #fff;
  font-size: 13.5px;
}
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 8px 0; flex-wrap: wrap;
}
.topbar-left, .topbar-right { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.topbar a:hover { color: var(--gold-soft); }
.lang-toggle {
  display: flex; background: rgba(255,255,255,.12); border-radius: 999px; overflow: hidden;
}
.lang-toggle button {
  border: 0; background: transparent; color: #fff; padding: 4px 12px; cursor: pointer; font-weight: 600;
}
.lang-toggle button.active { background: var(--gold); color: var(--maroon-dark); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 56px; height: 56px; object-fit: contain; border-radius: 50%;
  flex-shrink: 0; background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
@media (max-width: 600px) {
  .brand-logo { width: 44px; height: 44px; }
}
.brand-mark {
  width: 52px; height: 52px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #f3d77a, var(--gold) 40%, var(--maroon));
  display: grid; place-items: center;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--gold);
  color: #fff; font-weight: 800; font-size: 14px; letter-spacing: .5px;
}
.brand h1 { font-size: 17px; line-height: 1.15; color: var(--maroon); font-family: "Playfair Display", serif; }
.brand p { font-size: 11px; color: var(--teal); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }

nav { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
nav a {
  padding: 8px 12px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--ink);
}
nav a:hover, nav a.active { background: var(--cream); color: var(--maroon); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; font-weight: 700; border: 0; cursor: pointer;
  transition: .2s transform, .2s box-shadow;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--maroon-dark); }
.btn-maroon { background: var(--maroon); color: #fff; }
.btn-outline { background: transparent; border: 1.5px solid rgba(255,255,255,.7); color: #fff; }
.btn-ghost { background: #fff; border: 1.5px solid var(--line); color: var(--ink); }

.menu-btn { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--maroon); }

/* Hero */
.hero {
  position: relative; min-height: 78vh;
  background:
    linear-gradient(105deg, rgba(90,18,32,.88), rgba(14,95,99,.55)),
    url("../images/1wUbr.jpg") center/cover no-repeat;
  color: #fff; display: grid; align-items: center;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: center;
  padding: 72px 0 80px;
}
.kicker {
  display: inline-block; background: rgba(201,162,39,.2); border: 1px solid var(--gold);
  color: var(--gold-soft); padding: 5px 14px; border-radius: 999px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
}
.hero h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(36px, 5vw, 62px); line-height: 1.08; margin: 16px 0 14px;
}
.hero p.lead { font-size: 18px; max-width: 540px; color: #f4eee3; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-card {
  background: rgba(255,255,255,.12); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.2); border-radius: 22px; padding: 22px;
}
.hero-card h3 { font-size: 20px; margin-bottom: 8px; }
.hero-card li { list-style: none; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.15); font-size: 14.5px; }
.hero-card li:last-child { border: 0; }

/* Sections */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.section-head .eyebrow { color: var(--teal); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }
.section-head h2 { font-family: "Playfair Display", serif; font-size: clamp(28px, 3.4vw, 40px); color: var(--maroon-dark); margin: 8px 0 10px; }
.section-head p { color: var(--muted); }

.stats {
  background: var(--white);
  margin-top: -42px; position: relative; z-index: 2;
  border-radius: var(--radius); box-shadow: var(--shadow);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat { padding: 28px 18px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border: 0; }
.stat b { display: block; font-size: 32px; color: var(--maroon); font-family: "Playfair Display", serif; }
.stat span { color: var(--muted); font-size: 14px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 8px 24px rgba(28,20,16,.07); border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.card .thumb { height: 160px; background-size: cover; background-position: center; }
.card .body { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.card h3 { font-size: 18px; margin-bottom: 6px; color: var(--maroon-dark); }
.year { font-size: 12px; color: var(--teal); font-weight: 700; }
.card p { color: var(--muted); font-size: 14.5px; flex: 1; }
.card .more { margin-top: 12px; color: var(--maroon); font-weight: 700; font-size: 14px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split img { border-radius: 20px; height: 360px; width: 100%; object-fit: cover; }
.split img.portrait { object-fit: cover; object-position: center top; height: 420px; }
.portrait-thumb { background-position: center top !important; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 24px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.value strong { display: block; color: var(--maroon); }

.notice-list { display: grid; gap: 12px; }
.notice {
  background: #fff; border-left: 4px solid var(--gold);
  padding: 16px 18px; border-radius: 10px; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.notice time { color: var(--teal); font-weight: 700; font-size: 13px; white-space: nowrap; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; }
.contact-card, form {
  background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line);
}
form { display: grid; gap: 12px; }
input, textarea, select {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  font: inherit; background: var(--cream);
}
textarea { min-height: 120px; resize: vertical; }

/* Page hero */
.page-hero {
  background:
    linear-gradient(100deg, rgba(90,18,32,.9), rgba(14,95,99,.7)),
    url("../images/GmdCO.jpg") center/cover no-repeat;
  color: #fff; padding: 70px 0 54px;
}
.page-hero h2 { font-family: "Playfair Display", serif; font-size: clamp(32px, 4vw, 48px); }
.breadcrumb { opacity: .8; font-size: 14px; margin-bottom: 8px; }

footer {
  background: #1a1012; color: #efe7d8; padding: 48px 0 20px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
footer h4 { color: var(--gold-soft); margin-bottom: 12px; font-size: 15px; }
footer a { display: block; padding: 4px 0; opacity: .85; }
footer a:hover { color: var(--gold-soft); opacity: 1; }
.copy { border-top: 1px solid rgba(255,255,255,.1); margin-top: 28px; padding-top: 16px; font-size: 13px; opacity: .7; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.bn { display: none; }
html[lang="bn"] .en { display: none; }
html[lang="bn"] .bn { display: inline; }
html[lang="bn"] p.bn, html[lang="bn"] h2.bn, html[lang="bn"] li.bn, html[lang="bn"] span.bn { display: unset; }
html[lang="bn"] .block-bn { display: block; }
html[lang="bn"] .block-en { display: none; }
.block-bn { display: none; }

@media (max-width: 920px) {
  .menu-btn { display: block; }
  nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 12px; border-bottom: 1px solid var(--line);
  }
  nav.open { display: flex; }
  .hero-grid, .cards, .split, .stats, .values, .contact-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .stats { margin-inline: 20px; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero { min-height: auto; }
}

.announce {
  background: var(--gold);
  color: var(--maroon-dark);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 0;
  text-align: center;
}
.adm-body { background: #f3eee6; }
.adm-wrap { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.adm-side { background: #1a1012; color: #efe7d8; padding: 22px 16px; }
.adm-side h1 { font-size: 15px; color: var(--gold-soft); margin-bottom: 18px; font-family: "Playfair Display", serif; }
.adm-side a { display: block; padding: 9px 12px; border-radius: 10px; margin-bottom: 4px; opacity: .9; }
.adm-side a:hover, .adm-side a.on { background: rgba(201,162,39,.18); color: var(--gold-soft); }
.adm-main { padding: 24px; }
.adm-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 12px; flex-wrap: wrap; }
.adm-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; margin-bottom: 16px; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.adm-table th, .adm-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.adm-table th { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.adm-login { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(135deg, #5a1220, #0a4548); }
.adm-login form { width: min(420px, calc(100% - 32px)); background: #fff; padding: 28px; border-radius: 18px; }
.flash-ok { background: #e8f6ee; color: #14532d; padding: 10px 12px; border-radius: 8px; margin-bottom: 12px; }
.flash-err { background: #fde8e8; color: #7f1d1d; padding: 10px 12px; border-radius: 8px; margin-bottom: 12px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.badge { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: #eee; }
.badge.on { background: #dcfce7; color: #166534; }
.badge.off { background: #fee2e8; color: #991b1b; }
.danger { background: #7a1c2e; color: #fff; border: 0; padding: 6px 10px; border-radius: 8px; cursor: pointer; }
.job-list { display: grid; gap: 14px; }
.job-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 18px; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.job-card h3 { font-size: 18px; margin: 6px 0; color: var(--maroon-dark); }
.job-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
@media (max-width: 720px) {
  .job-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 860px) {
  .adm-wrap, .row2 { grid-template-columns: 1fr; }
}

.lead-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.lead-card .thumb { height: 220px; }
.lead-placeholder {
  background: linear-gradient(145deg, #e8dfd0, #d4c4a8);
  display: grid; place-items: center;
}
.lead-placeholder::after {
  content: "Photo";
  color: #7a6a50; font-weight: 700; font-size: 13px; letter-spacing: .08em;
}

.chairman-split { align-items: start; }
.chairman-photo { max-width: 360px; margin: 0 auto; }
.chairman-photo img.portrait {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  display: block;
  box-shadow: 0 12px 32px rgba(80, 30, 20, 0.18);
}
@media (max-width: 800px) {
  .chairman-photo { max-width: 280px; }
}
