:root {
  --green: #0f5b3f;
  --green-2: #0a3f2c;
  --green-light: #e8f5ef;
  --gold: #d8ad45;
  --gold-hover: #c99d34;
  --ink: #1a2e24;
  --muted: #f4f7f1;
  --line: #dce6d9;
  --soft-shadow: 0 8px 28px rgba(15, 91, 63, 0.08);
  --radius: 12px;
  --radius-sm: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, "Noto Sans Bengali", "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fafbf9;
  line-height: 1.6;
  padding-bottom: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

/* ========== Navbar ========== */
.site-nav {
  background: linear-gradient(90deg, var(--green-2), var(--green));
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  padding: 0.55rem 0;
}

.navbar-brand {
  gap: 0.65rem !important;
}

.navbar-brand img {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  padding: 2px;
}

.navbar-brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.navbar-brand small {
  font-size: 0.72rem;
  font-weight: 400;
  opacity: 0.9;
}

.brand-title-link,
.brand-slogan-link {
  color: inherit;
  text-decoration: none;
}

.brand-title-link:hover,
.brand-slogan-link:hover {
  color: var(--gold);
}

.site-nav .nav-link {
  font-weight: 500;
  padding: 0.45rem 0.85rem !important;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.92) !important;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
}

/* ========== Hero ========== */
.hero {
  background: linear-gradient(135deg, var(--green-2) 0%, var(--green) 55%, #14704c 100%);
  color: #fff;
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(216, 173, 69, 0.18), transparent 55%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(1.9rem, 4.2vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.eyebrow {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.hero .lead {
  font-size: 1.1rem;
  opacity: 0.95;
  max-width: 36rem;
  margin-bottom: 1.5rem;
}

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #15251f;
  font-weight: 700;
  border-radius: 8px;
  padding: 0.65rem 1.35rem;
  box-shadow: 0 4px 14px rgba(216, 173, 69, 0.35);
}

.btn-gold:hover,
.btn-gold:focus {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: #15251f;
  box-shadow: 0 6px 18px rgba(216, 173, 69, 0.45);
}

.btn-outline-light {
  border-radius: 8px;
  font-weight: 600;
  padding: 0.65rem 1.35rem;
}

/* ========== Cards / Panels ========== */
.notice-panel,
.receipt,
.form-shell,
.status-card,
.committee-card {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--soft-shadow);
}

.section {
  padding: 3.75rem 0;
}

.section.muted {
  background: var(--muted);
}

.section-heading {
  margin-bottom: 1.75rem;
}

.section-heading h1,
.section-heading h2 {
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Info grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.info-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: #fff;
  box-shadow: var(--soft-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-grid article:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15, 91, 63, 0.12);
}

.info-grid i {
  font-size: 1.85rem;
  color: var(--green);
  margin-bottom: 0.65rem;
  display: block;
}

.info-grid h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.clean-list {
  padding-left: 1.15rem;
}

.clean-list li {
  margin-bottom: 0.55rem;
}

/* Committee cards */
.committee-list {
  display: grid;
  gap: 1.15rem;
}

.committee-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.committee-card:hover {
  border-color: #b8d4c4;
  box-shadow: 0 10px 30px rgba(15, 91, 63, 0.1);
}

.committee-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0.35rem 0 0.5rem;
}

.committee-card span {
  display: inline-block;
  background: var(--green-light);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
}

.committee-card .btn {
  white-space: nowrap;
  border-radius: 8px;
  font-weight: 600;
}

/* Forms */
.form-shell {
  max-width: 920px;
  margin: 0 auto;
}

.form-section {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.5rem;
  margin-bottom: 1.35rem;
  background: #fcfdfb;
}

.form-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--green-light);
}

.form-label {
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}

.form-control,
.form-select {
  border-radius: 8px;
  border-color: #c9d6c6;
  padding: 0.55rem 0.85rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 0.2rem rgba(15, 91, 63, 0.15);
}

.form-check-input:checked {
  background-color: var(--green);
  border-color: var(--green);
}

.btn-primary {
  background: var(--green);
  border-color: var(--green);
  font-weight: 600;
  border-radius: 8px;
  padding: 0.6rem 1.4rem;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--green-2);
  border-color: var(--green-2);
}

/* Status / success */
.status-card,
.receipt {
  max-width: 640px;
  margin: 2rem auto;
  text-align: center;
}

.status-card .badge,
.receipt .badge {
  font-size: 0.9rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}

/* Footer */
.site-footer {
  background: var(--green-2);
  color: rgba(255, 255, 255, 0.88);
  padding: 1.35rem 0;
  margin-top: auto;
  font-size: 0.95rem;
}

.footer-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
}

.footer-link:hover {
  color: #e8c56a;
  text-decoration: underline;
}

/* Flash */
.alert {
  border-radius: var(--radius-sm);
  border: none;
  box-shadow: var(--soft-shadow);
}

/* Responsive */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .hero {
    padding: 3.25rem 0 2.75rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .committee-card {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .btn-lg {
    width: 100%;
  }

  .form-section {
    padding: 1.1rem;
  }
}