/*
 * Shared professional presentation layer
 * --------------------------------------
 * This file intentionally changes presentation only. Page content, data,
 * links and existing feature behaviour remain in their original documents.
 */

:root {
  --site-ink: #18251f;
  --site-muted: #5f6d66;
  --site-surface: #ffffff;
  --site-canvas: #f4f7f5;
  --site-green: #075a3b;
  --site-green-deep: #063f2c;
  --site-red: #bd252f;
  --site-gold: #f2bd49;
  --site-border: rgba(7, 90, 59, 0.13);
  --site-shadow-sm: 0 8px 24px rgba(8, 47, 33, 0.08);
  --site-shadow-md: 0 18px 48px rgba(8, 47, 33, 0.12);
  --site-radius: 16px;
}

html {
  scroll-padding-top: 90px;
}

body {
  color: var(--site-ink);
  background-color: var(--site-canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body:not(.campaign-plan-page) {
  font-family: "Poppins", "Roboto", "Noto Sans Bengali", Arial, sans-serif;
}

/* Shared site header */
.site-header {
  position: sticky !important;
  top: 0;
  z-index: 2000 !important;
  padding: 0 !important;
  color: #fff;
  background: rgba(6, 63, 44, 0.98) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: 0 10px 32px rgba(5, 40, 28, 0.18) !important;
  overflow: visible !important;
  text-align: left !important;
  isolation: isolate;
}

.site-header::before {
  content: none !important;
  display: none !important;
}

.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--site-red) 0 44%, var(--site-gold) 44% 56%, #0b8558 56% 100%);
  z-index: -1;
}

.site-header .header-inner {
  width: 100%;
  max-width: 1440px !important;
  min-height: 78px;
  margin: 0 auto;
  padding: 10px 28px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.site-header .brand,
.site-header .brand-link {
  min-width: 0;
}

.site-header .brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff !important;
  text-decoration: none;
  white-space: nowrap;
}

.site-header .brand-logo {
  width: 48px !important;
  height: 48px !important;
  object-fit: contain;
  flex: 0 0 48px;
  filter: drop-shadow(0 4px 9px rgba(0, 0, 0, 0.18));
}

.site-header .brand-name {
  margin: 0 !important;
  font-size: 1.02rem !important;
  line-height: 1.2;
  font-weight: 650 !important;
  letter-spacing: 0.01em;
}

.site-header .site-nav {
  margin-left: auto;
}

.site-header .site-nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px !important;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header .site-nav a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 10px !important;
  border-radius: 9px;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.82rem;
  line-height: 1.2;
  font-weight: 550 !important;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.site-header .site-nav a::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 5px;
  left: 10px;
  width: auto !important;
  height: 2px;
  border-radius: 2px;
  background: var(--site-gold);
  opacity: 0;
  transform: scaleX(0.45) !important;
  transform-origin: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-header .site-nav a:hover,
.site-header .site-nav a:focus-visible,
.site-header .site-nav a.active {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.12) !important;
  outline: none;
}

.site-header .site-nav a:hover::after,
.site-header .site-nav a:focus-visible::after,
.site-header .site-nav a.active::after {
  opacity: 1;
  transform: scaleX(1) !important;
}

.site-header .site-nav a[href="/gono-vote"] {
  color: #fff7da !important;
  border: 1px solid rgba(242, 189, 73, 0.55);
}

.site-header .nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.34) !important;
  border-radius: 10px;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.09) !important;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem !important;
  line-height: 1;
  cursor: pointer;
}

.site-header .nav-toggle:hover,
.site-header .nav-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.17) !important;
  outline: 2px solid var(--site-gold);
  outline-offset: 2px;
}

/* Shared page rhythm and surface treatment */
main {
  overflow: hidden;
}

body:not(.campaign-plan-page) main .container,
.strategy-hero .hero-content,
.hero-healthcare .hero-healthcare-inner {
  width: 100% !important;
  max-width: 1200px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding-right: 20px !important;
  padding-left: 20px !important;
}

.section {
  padding-top: clamp(3.5rem, 6vw, 5.75rem) !important;
  padding-bottom: clamp(3.5rem, 6vw, 5.75rem) !important;
}

.section-alt,
.section-light {
  background: #eef4f0 !important;
}

.section-intro,
.section-subtitle {
  color: var(--site-muted) !important;
  line-height: 1.8 !important;
}

.hero .hero-description,
.hero-healthcare .hero-lead,
.hero-healthcare h2,
.hero-healthcare p,
.hero-healthcare li {
  color: rgba(255, 255, 255, 0.94) !important;
}

.card,
.info-card,
.impact-card,
.reform-card,
.plan-card,
.challenge-card,
.action-card,
.pillar-card,
.stop-card,
.faq-item {
  border-radius: var(--site-radius) !important;
  box-shadow: var(--site-shadow-sm) !important;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease !important;
}

.card:hover,
.info-card:hover,
.impact-card:hover,
.reform-card:hover,
.plan-card:hover,
.challenge-card:hover,
.action-card:hover,
.pillar-card:hover,
.stop-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--site-shadow-md) !important;
}

.btn {
  min-height: 46px;
  padding: 0.78rem 1.2rem !important;
  border-radius: 10px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 650 !important;
  letter-spacing: 0.005em;
  box-shadow: 0 7px 18px rgba(8, 47, 33, 0.12);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 11px 26px rgba(8, 47, 33, 0.18);
}

.btn:focus-visible,
main a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(242, 189, 73, 0.8);
  outline-offset: 3px;
}

input,
select,
textarea {
  border-radius: 10px !important;
  border-color: rgba(7, 90, 59, 0.22) !important;
}

.responsive-img,
.hero-image img,
.road-image img,
.gallery-item,
.gallery-item img {
  border-radius: var(--site-radius) !important;
}

.responsive-img,
.hero-image img,
.road-image img {
  box-shadow: var(--site-shadow-md);
}

/* Shared footer */
.site-footer {
  background: var(--site-green-deep) !important;
  border-top: 3px solid var(--site-gold);
  color: rgba(255, 255, 255, 0.9);
}

.site-footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 32px !important;
  padding-bottom: 32px !important;
}

.site-footer a {
  color: #fff !important;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--site-gold) !important;
}

/* Internal campaign plan: keep all copy, use the same site chrome. */
.campaign-plan-page {
  margin: 0;
  min-width: 0;
}

.campaign-plan-page > .container {
  margin-top: 32px;
  margin-bottom: 32px;
  border-radius: 20px;
  box-shadow: var(--site-shadow-md);
}

.campaign-plan-page > .container > footer {
  border-radius: 0 0 20px 20px;
}

@media (max-width: 1180px) {
  .site-header .header-inner {
    min-height: 72px;
    padding: 10px 20px !important;
  }

  .site-header .nav-toggle {
    display: inline-flex !important;
    flex: 0 0 44px;
  }

  .site-header .site-nav {
    position: absolute !important;
    top: calc(100% + 1px) !important;
    right: 16px !important;
    left: auto !important;
    width: min(380px, calc(100vw - 32px)) !important;
    max-height: calc(100vh - 96px);
    margin: 0 !important;
    padding: 10px !important;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0 0 15px 15px;
    background: rgba(6, 63, 44, 0.995) !important;
    box-shadow: 0 20px 44px rgba(3, 29, 19, 0.28) !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) !important;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    z-index: 2100 !important;
  }

  .site-header .site-nav.open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
    transform: translateY(0) !important;
  }

  .site-header .site-nav ul {
    flex-direction: column !important;
    align-items: stretch;
    gap: 3px !important;
  }

  .site-header .site-nav li {
    width: 100%;
  }

  .site-header .site-nav a {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px !important;
    border-bottom: 0 !important;
    font-size: 0.92rem;
  }

  .site-header .site-nav a::after {
    right: auto;
    bottom: 8px;
    left: 14px;
    width: 28px !important;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 78px;
  }

  .site-header .header-inner {
    padding-right: 14px !important;
    padding-left: 14px !important;
  }

  .site-header .brand-logo {
    width: 42px !important;
    height: 42px !important;
    flex-basis: 42px;
  }

  .site-header .brand-name {
    font-size: 0.92rem !important;
  }

  .section {
    padding-top: 3.25rem !important;
    padding-bottom: 3.25rem !important;
  }

  .campaign-plan-page > .container {
    width: calc(100% - 20px);
    margin-top: 16px;
    margin-bottom: 16px;
    border-radius: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
