/* ═══════════════════════════════════════════════════════════════
   Chaliha Bongshawali — Heritage-Rich Design System
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Design System */
  --green-deep:    #0D3B1A;
  --green-mid:     #1A6B2E;
  --green-bright:  #2E9142;
  --green-light:   #E8F5EC;
  --gold:          #C9A84C;
  --gold-light:    #F5EDD5;
  --brown-dark:    #2C1A0E;
  --brown-darker:  #1A0F07;
  --teal:          #0D6E6E;
  --saffron:       #E07B39;
  --cream:         #FDFAF4;
  --text-dark:     #1A2412;
  --text-muted:    #5A6B52;

  /* Legacy compatibility */
  --color-bg:       var(--cream);
  --color-surface:  #ffffff;
  --color-border:   #e0e0e0;
  --color-primary:  var(--green-mid);
  --color-teal:     var(--teal);
  --color-text:     var(--text-dark);
  --color-muted:    var(--text-muted);
  --color-gold:     var(--gold);
  --color-gold-light: #E8C97A;
  --radius:         8px;
  --shadow:         0 1px 3px rgba(0,0,0,0.08);
  --shadow-lg:      0 4px 12px rgba(0,0,0,0.1);

  /* Typography */
  --font-heading:   'Noto Serif Bengali', 'Tiro Devanagari Hindi', Georgia, serif;
  --font-title:     'Cinzel', Georgia, serif;
  --font-body:      'Crimson Pro', Georgia, serif;
  --font-ui:        'Crimson Pro', -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.8;
  background: var(--cream);
  color: var(--text-dark);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--green-mid); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Assamese language font override */
body.lang-as {
  font-family: 'Noto Serif Bengali', serif !important;
}
body.lang-as h1,
body.lang-as h2,
body.lang-as h3,
body.lang-as h4,
body.lang-as p,
body.lang-as span,
body.lang-as a,
body.lang-as button,
body.lang-as label {
  font-family: 'Noto Serif Bengali', serif !important;
}

/* ═══════════════════════════════════════════════════════════════
   UTILITY BAR
   ═══════════════════════════════════════════════════════════════ */
.utility-bar {
  background: var(--brown-dark);
  color: rgba(255,255,255,0.9);
  padding: 0.4rem 1.5rem;
  font-size: 0.85rem;
}
.utility-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.utility-text { font-family: var(--font-heading); }
.lang-switcher,
.lang-toggle-group { display: flex; gap: 4px; align-items: center; }
.lang-toggle-group .lang-btn {
  font-family: 'Noto Serif Bengali', serif;
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(201,168,76,0.3);
  background: transparent;
  color: rgba(245,237,213,0.6);
  cursor: pointer;
  transition: all 0.25s ease;
}
.lang-toggle-group .lang-btn:hover {
  background: rgba(201,168,76,0.15);
  color: rgba(245,237,213,0.9);
}
.lang-toggle-group .lang-btn.lang-active {
  background: #C9A84C;
  color: #2C1A0E;
  border-color: #C9A84C;
  font-weight: 700;
}
.lang-btn {
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  transition: all 0.2s;
}
.lang-btn:hover { background: rgba(255,255,255,0.1); color: #fff; text-decoration: none; }
.lang-btn.active,
.lang-btn.lang-active {
  background: var(--gold);
  color: var(--brown-dark);
}
.lang-btn.active:hover,
.lang-btn.lang-active:hover { background: var(--gold-light); color: var(--brown-dark); text-decoration: none; }

/* ═══════════════════════════════════════════════════════════════
   MAIN NAVBAR
   ═══════════════════════════════════════════════════════════════ */
.main-navbar {
  background: var(--cream);
  border-bottom: 3px solid var(--gold);
  padding: 0 1rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: backdrop-filter 0.3s, box-shadow 0.3s;
}
.main-navbar.scrolled {
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.navbar-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 64px;
  gap: 1rem;
  position: relative;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--green-deep);
}
.navbar-logo:hover { text-decoration: none; color: var(--green-mid); }
.logo-img { width: 40px; height: 40px; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; color: inherit; }
.logo-sub { font-size: 0.75rem; color: var(--gold); font-weight: 500; }
.navbar-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.2s;
  position: relative;
}
.nav-link:hover { color: var(--green-mid); text-decoration: none; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: var(--green-mid);
  transition: all 0.3s;
  transform: translateX(-50%);
}
.nav-link:hover::after { width: 80%; }
.nav-link i { margin-right: 0.35rem; font-size: 0.9rem; opacity: 0.8; }
.nav-cta {
  background: var(--teal);
  color: white !important;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(13,110,110,0.4); text-decoration: none; color: white !important; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-dark); }

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */
.hero-section {
  background: var(--cream);
  padding: 4rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
}
/* Full-width hero */
.hero-section.hero-fullwidth {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}
.hero-section.hero-fullwidth .hero-inner {
  max-width: 1600px;
  padding: 0 2rem;
  grid-template-columns: 45% 55%;
  gap: 4rem;
}
.hero-section.hero-fullwidth .hero-image-wrap .hero-slider {
  min-height: 360px;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='%231A6B2E' fill-opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--brown-dark);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 1rem;
  line-height: 1.3;
}
.hero-subtext {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.hero-buttons { display: flex; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  background: linear-gradient(135deg, var(--green-mid), var(--green-bright));
  color: white !important;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 10px;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(26,107,46,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,107,46,0.45); text-decoration: none; color: white !important; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.75rem;
  border: 2px solid var(--green-mid);
  color: var(--green-mid);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 10px;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--green-light); text-decoration: none; color: var(--green-mid); }
.hero-fullwidth .btn-outline { border-color: rgba(255,255,255,0.9); color: #fff; }
.hero-fullwidth .btn-outline:hover { background: rgba(255,255,255,0.2); color: #fff; text-decoration: none; }
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--brown-dark) !important;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 10px;
  border: 2px solid var(--gold);
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(201,168,76,0.35);
}
.btn-hero-secondary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,168,76,0.45); text-decoration: none; color: var(--brown-dark) !important; }
.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.hero-stats span { display: flex; align-items: center; gap: 0.5rem; }
.hero-stats i { color: var(--green-mid); }
.hero-right { position: relative; }
.hero-image-ring {
  position: absolute;
  inset: -15px;
  border: 3px solid var(--gold);
  border-radius: 24px;
  opacity: 0.6;
}
.hero-image-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.hero-image-wrap .hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.hero-image-wrap .hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-image-wrap .hero-slide.active {
  opacity: 1;
  z-index: 1;
}
.hero-float-card {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: white;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-mid);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ═══════════════════════════════════════════════════════════════
   QUICK SEARCH SECTION
   ═══════════════════════════════════════════════════════════════ */
.search-section {
  background: white;
  padding: 4rem 1.5rem;
}
.search-inner {
  max-width: 1000px;
  margin: 0 auto;
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  border: 1px solid rgba(26,107,46,0.1);
}
.search-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 0.5rem;
  text-align: center;
}
.search-subtext {
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}
.search-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}
.search-input {
  flex: 1;
  min-width: 140px;
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-input:focus {
  outline: none;
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(26,107,46,0.15);
}
.search-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--green-mid), var(--green-bright));
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}
.search-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(26,107,46,0.4); }

/* ═══════════════════════════════════════════════════════════════
   HISTORICAL DATA SECTION
   ═══════════════════════════════════════════════════════════════ */
.historical-section {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 100%);
  padding: 4rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.historical-pattern {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23ffffff' stroke-opacity='0.06' stroke-width='0.5'/%3E%3C/svg%3E");
  pointer-events: none;
}
.historical-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.section-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.section-badge.gold { background: var(--gold); color: var(--brown-dark); }
.section-badge.green { background: var(--green-bright); color: white; }
.section-badge.brown { background: var(--brown-dark); color: var(--gold-light); }
.historical-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: white;
  margin: 0 0 1rem;
  line-height: 1.3;
}
.historical-body {
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
}
.btn-gold-outline {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--gold);
  color: white;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.2s;
}
.btn-gold-outline:hover { background: var(--gold); color: var(--brown-dark); text-decoration: none; }
.member-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.member-card {
  background: white;
  padding: 1.25rem;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.member-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); text-decoration: none; color: var(--text-dark); }
.member-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 0.75rem;
}
.member-avatar img { width: 100%; height: 100%; object-fit: cover; }
.member-name { display: block; font-weight: 600; font-family: var(--font-heading); margin-bottom: 0.25rem; }
.member-role { font-size: 0.85rem; color: var(--text-muted); }
.member-card.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-border);
}

/* ═══════════════════════════════════════════════════════════════
   FAMILY TREE PREVIEW SECTION
   ═══════════════════════════════════════════════════════════════ */
.tree-section {
  background: var(--cream);
  padding: 4rem 1.5rem;
}
.tree-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.mini-tree {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid rgba(26,107,46,0.1);
}
.tree-node {
  text-align: center;
  margin-bottom: 0.75rem;
}
.tree-node.root { margin-bottom: 1rem; }
.tree-node.small { margin-bottom: 0.5rem; }
.node-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 0.35rem;
  border: 2px solid var(--gold);
}
.node-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tree-node.small .node-avatar { width: 32px; height: 32px; }
.tree-node span { font-size: 0.85rem; color: var(--text-dark); }
.tree-branch {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 0.5rem;
  position: relative;
}
.tree-branch::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 12px;
  background: var(--gold);
}
.tree-branch.sub { gap: 1rem; margin-top: 0.5rem; }
.btn-outline-green {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.65rem 1.25rem;
  border: 2px solid var(--green-mid);
  color: var(--green-mid);
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.2s;
}
.btn-outline-green:hover { background: var(--green-light); text-decoration: none; color: var(--green-mid); }
.tree-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 0.75rem;
}
.tree-body { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.7; }
.tree-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   JOIN FREE SECTION
   ═══════════════════════════════════════════════════════════════ */
.join-section {
  background: linear-gradient(135deg, var(--gold-light) 0%, #E8D5A0 100%);
  padding: 4rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.join-watermark {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 5v20m0 50v20M5 50h20m50 0h20' stroke='%23C9A84C' stroke-opacity='0.15' stroke-width='2'/%3E%3Cpath d='M50 25c-15 0-25 10-25 25s10 25 25 25 25-10 25-25-10-25-25-25z' fill='none' stroke='%23C9A84C' stroke-opacity='0.1' stroke-width='1'/%3E%3C/svg%3E") no-repeat;
  opacity: 0.5;
}
.join-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.join-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--brown-dark);
  margin: 0 0 0.75rem;
}
.join-body { color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.7; }
.join-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.join-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}
.join-features i { color: var(--gold); font-size: 1.1rem; }
.btn-brown {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  background: var(--brown-dark);
  color: var(--gold-light) !important;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 10px;
  transition: all 0.2s;
}
.btn-brown:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(44,26,14,0.3); text-decoration: none; color: var(--gold-light) !important; }
.join-image-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.join-image-wrap img { width: 100%; height: 320px; object-fit: cover; display: block; }

/* ═══════════════════════════════════════════════════════════════
   GUIDE CARDS SECTION
   ═══════════════════════════════════════════════════════════════ */
.guide-section {
  background: white;
  padding: 4rem 1.5rem;
}
.guide-inner { max-width: 1200px; margin: 0 auto; }
.guide-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin: 0 0 0.5rem;
}
.guide-subtext {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.guide-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.guide-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.guide-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(201,168,76,0.15);
  transform: translateY(-4px);
  text-decoration: none;
  color: var(--text-dark);
}
.guide-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.guide-icon.green { background: var(--green-light); color: var(--green-mid); }
.guide-icon.gold { background: var(--gold-light); color: var(--gold); }
.guide-icon.teal { background: rgba(13,110,110,0.15); color: var(--teal); }
.guide-icon.saffron { background: rgba(224,123,57,0.15); color: var(--saffron); }
.guide-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}
.guide-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  line-height: 1.6;
  flex-grow: 1;
}
.guide-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-mid);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.guide-card:hover .guide-link { color: var(--green-bright); }

/* ═══════════════════════════════════════════════════════════════
   FINAL CTA SECTION
   ═══════════════════════════════════════════════════════════════ */
.cta-section {
  background: var(--green-deep);
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.cta-pattern {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='2' fill='%23C9A84C' fill-opacity='0.2'/%3E%3Ccircle cx='10' cy='10' r='1' fill='%23C9A84C' fill-opacity='0.15'/%3E%3Ccircle cx='50' cy='40' r='1' fill='%23C9A84C' fill-opacity='0.15'/%3E%3C/svg%3E");
  pointer-events: none;
}
.cta-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: white;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}
.cta-subtext {
  color: var(--cream);
  opacity: 0.9;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}
.btn-cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--brown-dark) !important;
  font-weight: 700;
  font-size: 1.15rem;
  border-radius: 14px;
  transition: all 0.2s;
  box-shadow: 0 6px 24px rgba(201,168,76,0.4);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,168,76,0.5); text-decoration: none; color: var(--brown-dark) !important; }
.cta-signin { margin-top: 1.5rem; }
.cta-signin a { color: rgba(255,255,255,0.9); }
.cta-signin a:hover { color: white; text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--brown-darker);
  color: rgba(255,255,255,0.85);
  padding: 4rem 1.5rem 2rem;
}
.footer-inner { max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 1rem; }
.footer-columns {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}
.footer-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.footer-tagline { font-size: 0.9rem; color: var(--gold); margin-bottom: 0.75rem; }
.footer-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  max-width: 320px;
}
.footer-col h4 {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  color: white;
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); text-decoration: none; }
.footer-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
  margin-bottom: 1.5rem;
}
.footer-copy {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   GENERIC SECTION (timeline, search, apply, etc.)
   ═══════════════════════════════════════════════════════════════ */
.section {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.section h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 1.5rem;
}
.member-profile-header {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: flex-start;
}
@media (max-width: 640px) {
  .member-profile-header {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .member-profile-header img {
    width: 120px !important;
    height: 120px !important;
  }
}
/* Timeline styles moved to timeline.css */
.btn { padding: 0.75rem 1.5rem; border-radius: var(--radius); font-weight: 600; cursor: pointer; border: none; transition: all 0.2s; }
.btn-primary { background: var(--green-mid); color: white; }
.btn-primary:hover { background: var(--green-deep); transform: translateY(-2px); }

/* ═══════════════════════════════════════════════════════════════
   APPLY PAGE — Professional, polished styling
   ═══════════════════════════════════════════════════════════════ */
.apply-page {
  min-height: 70vh;
  background: linear-gradient(180deg, var(--cream) 0%, rgba(232,245,236,0.4) 50%, var(--cream) 100%);
  background-attachment: fixed;
}
.apply-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 0L80 40L40 80L0 40Z' fill='%231A6B2E' fill-opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}
.apply-hero {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 50%, var(--green-bright) 100%);
  padding: 3.5rem 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(13,59,26,0.25);
}
.apply-hero-pattern {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='%23ffffff' fill-opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
}
.apply-hero-inner { max-width: 700px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.apply-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--gold), #E8C97A);
  color: var(--brown-dark);
  padding: 0.5rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  box-shadow: 0 2px 12px rgba(201,168,76,0.4);
  letter-spacing: 0.02em;
}
.apply-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: white;
  margin: 0 0 0.75rem;
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.apply-desc {
  color: rgba(255,255,255,0.95);
  font-size: 1.1rem;
  line-height: 1.75;
  margin: 0;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.apply-content {
  max-width: 740px;
  margin: -2.5rem auto 4rem;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}
.apply-alert {
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.apply-alert.success {
  background: linear-gradient(135deg, rgba(46,145,66,0.12) 0%, rgba(232,245,236,0.95) 100%);
  border: 2px solid var(--green-bright);
  color: var(--green-deep);
}
.apply-alert.danger {
  background: linear-gradient(135deg, rgba(220,38,38,0.08) 0%, rgba(254,226,226,0.95) 100%);
  border: 2px solid #dc2626;
  color: #991b1b;
}
.apply-alert i { font-size: 1.5rem; flex-shrink: 0; }
.apply-alert ul { margin: 0; padding-left: 1.25rem; }
.apply-alert li { margin-bottom: 0.25rem; }
.apply-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.1), 0 4px 16px rgba(26,107,46,0.08);
  border: 1px solid rgba(26,107,46,0.15);
  overflow: hidden;
  position: relative;
}
.apply-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-deep), var(--green-mid), var(--gold));
  opacity: 0.9;
}
.apply-form { padding: 2.5rem; }
.form-section {
  margin-bottom: 2.25rem;
  padding-bottom: 2.25rem;
  border-bottom: 2px solid var(--green-light);
}
.form-section:last-of-type { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.form-section-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-deep);
  margin: 0 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(201,168,76,0.4);
}
.form-section-title i {
  color: var(--gold);
  font-size: 1.1rem;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(201,168,76,0.2), rgba(201,168,76,0.05));
  border-radius: 10px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: 1 / -1; }
.apply-form label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.01em;
}
.apply-form input,
.apply-form select,
.apply-form textarea {
  padding: 0.9rem 1.15rem;
  border: 2px solid #d4e5d8;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  background: #ffffff;
  color: var(--text-dark);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.apply-form input:hover,
.apply-form select:hover,
.apply-form textarea:hover {
  border-color: rgba(26,107,46,0.35);
}
.apply-form input::placeholder,
.apply-form textarea::placeholder { color: var(--text-muted); opacity: 0.75; }
.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
  outline: none;
  border-color: var(--green-mid);
  box-shadow: 0 0 0 4px rgba(26,107,46,0.15);
  background: #ffffff;
}
.apply-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A6B52' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem;
}
.apply-form textarea { resize: vertical; min-height: 110px; }
.form-actions {
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 2px solid var(--green-light);
  text-align: center;
}
.apply-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.1rem 2.75rem;
  background: linear-gradient(135deg, var(--green-mid) 0%, var(--green-bright) 100%);
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 1.15rem;
  font-weight: 700;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(26,107,46,0.4);
  letter-spacing: 0.02em;
}
.apply-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(26,107,46,0.5);
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 100%);
}
.apply-submit-btn:active {
  transform: translateY(-1px);
}
.apply-submit-btn i { font-size: 1.15rem; }
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
  .apply-form { padding: 1.5rem; }
  .apply-card::before { height: 3px; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — Mobile, Tablet, Desktop
   ═══════════════════════════════════════════════════════════════ */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
  .hero-section { padding: 3rem 1rem 4rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-right { order: -1; max-width: 400px; margin: 0 auto; }
  .hero-section.hero-fullwidth .hero-right { max-width: 560px; }
  .hero-section.hero-fullwidth .hero-inner { max-width: 100%; padding: 0 1rem; }
  .hero-right { order: -1; }
  .hero-left { order: 2; }
  .historical-section,
  .search-section,
  .tree-section,
  .join-section,
  .guide-section { padding: 3rem 1rem; }
  .historical-inner,
  .tree-inner,
  .join-inner { grid-template-columns: 1fr; gap: 2rem; }
  .tree-left { order: 1; }
  .tree-right { order: 2; }
  .guide-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-columns { grid-template-columns: 1fr 1fr; }
  .search-inner { padding: 1.5rem; }
  .member-cards { grid-template-columns: repeat(2, 1fr); }
  .join-watermark { display: none; }
}

/* Mobile landscape / small tablet */
@media (max-width: 768px) {
  .main-navbar { padding: 0 1rem; }
  .navbar-inner { min-height: 56px; }
  .navbar-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-bottom: 2px solid var(--gold);
    z-index: 999;
    max-height: 70vh;
    overflow-y: auto;
  }
  .navbar-links.open { display: flex; }
  .navbar-inner > .nav-cta { display: none; }
  .navbar-links .nav-cta { display: inline-flex !important; margin-top: 0.5rem; justify-content: center; }
  .nav-toggle { display: block; }
  .nav-link { padding: 0.75rem 1rem; display: block; width: 100%; }
  .search-form { flex-direction: column; }
  .search-input { min-width: 100%; }
  .member-cards { grid-template-columns: 1fr; }
  .guide-cards { grid-template-columns: 1fr; }
  .footer-columns { grid-template-columns: 1fr; }
  .hero-section { padding: 2rem 1rem 3rem; }
  .hero-section.hero-fullwidth .hero-right { max-width: 100%; }
  .hero-stats { gap: 1rem; flex-wrap: wrap; }
  .cta-section { padding: 3rem 1rem; }
  .site-footer { padding: 3rem 1rem 2rem; }
  .logo-text { font-size: 0.9rem; }
  .logo-main { font-size: 1.1rem; }
}

/* Mobile portrait */
@media (max-width: 480px) {
  .utility-bar { padding: 0.5rem 1rem; font-size: 0.8rem; }
  .utility-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
  .hero-buttons { flex-direction: column; }
  .btn-primary, .btn-outline, .btn-hero-secondary { width: 100%; justify-content: center; }
  .search-inner { padding: 1rem; }
  .historical-inner, .tree-inner, .join-inner { gap: 1.5rem; }
  .section { padding: 2rem 1rem; }
  .apply-hero { padding: 2.5rem 1rem; }
  .apply-content { margin: -1.5rem auto 3rem; padding: 0 1rem; }
}

/* ═══════════════════════════════════════════════════════════════
   BIOGRAPHY SEARCH & READ
   ═══════════════════════════════════════════════════════════════ */
.bio-hero {
  background: linear-gradient(135deg, #0D3B1A, #1A6B2E);
  padding: 4rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
}
.bio-hero-pattern {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 20L20 0l20 20-20 20z' fill='%23fff' fill-opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}
.bio-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.bio-hero-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.25rem;
}
.bio-hero-assamese {
  font-family: 'Noto Serif Bengali', serif;
  font-size: 1.5rem;
  color: rgba(255,255,255,0.9);
  margin: 0 0 0.5rem;
}
.bio-hero-subtitle {
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}
.bio-search-wrap { margin-bottom: 1.5rem; }
.bio-search-box {
  position: relative;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  background: #fff;
  border-radius: 999px;
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  border: 2px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
@media (max-width: 640px) {
  .bio-search-box { height: 48px; padding: 0 1rem; }
  .bio-hero-title { font-size: 1.5rem; }
  .bio-hero-assamese { font-size: 1.25rem; }
}
.bio-search-box:focus-within {
  border-color: var(--green-mid);
  box-shadow: 0 4px 24px rgba(26,107,46,0.2);
}
.bio-search-box i { color: var(--text-muted); margin-right: 1rem; }
.bio-search-box input {
  flex: 1;
  border: none;
  font-size: 1rem;
  outline: none;
}
.bio-search-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  max-height: 400px;
  overflow-y: auto;
  z-index: 100;
}
.bio-search-dropdown.show { display: block; }
.bio-drop-section {
  padding: 1rem;
  border-bottom: 1px solid #eee;
}
.bio-drop-section:last-child { border-bottom: none; }
.bio-drop-section strong { display: block; margin-bottom: 0.5rem; font-size: 0.85rem; color: var(--text-muted); }
.bio-drop-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  transition: background 0.2s;
}
.bio-drop-item:hover { background: var(--green-light); text-decoration: none; color: inherit; }
.bio-drop-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green-mid);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.bio-drop-item div { flex: 1; }
.bio-drop-item small { color: var(--text-muted); }
.bio-drop-go { font-size: 0.85rem; color: var(--green-mid); }
.bio-drop-empty { padding: 1.5rem; text-align: center; color: var(--text-muted); }
.bio-hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
}
.bio-hero-stats span { display: flex; align-items: center; gap: 0.5rem; }
.bio-hero-stats i { opacity: 0.9; }

.bio-tabs-wrap { background: #fff; border-bottom: 1px solid #eee; padding: 0 1.5rem; }
.bio-tabs-inner { max-width: 1200px; margin: 0 auto; }
.bio-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 1rem 0;
  -webkit-overflow-scrolling: touch;
}
.bio-tab {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  white-space: nowrap;
}
.bio-tab:hover { color: var(--green-mid); text-decoration: none; }
.bio-tab.active {
  background: #fff;
  color: var(--green-mid);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.bio-section { padding: 3rem 1.5rem; }
.bio-section-inner { max-width: 1200px; margin: 0 auto; }
.bio-section-heading {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 1.5rem;
}
.bio-featured-grid { display: flex; flex-direction: column; gap: 1.5rem; }
.bio-card-featured {
  display: flex;
  gap: 1.5rem;
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  border-left: 4px solid #C9A84C;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}
@media (max-width: 640px) {
  .bio-card-featured {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .bio-card-featured-left { flex-shrink: 0; }
  .bio-card-featured-right { text-align: center; }
}
.bio-card-featured:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.2);
  text-decoration: none;
  color: inherit;
}
.bio-card-featured-left { flex-shrink: 0; }
.bio-card-featured-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}
.bio-card-featured-right { flex: 1; min-width: 0; }
.bio-badge-featured {
  font-size: 0.75rem;
  font-weight: 700;
  color: #C9A84C;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.bio-card-name { font-size: 1.25rem; font-weight: 700; color: var(--text-dark); margin: 0 0 0.25rem; }
.bio-card-role { color: var(--text-muted); margin: 0 0 0.5rem; font-size: 0.95rem; }
.bio-card-meta { font-size: 0.85rem; color: var(--text-muted); margin: 0 0 0.5rem; }
.bio-card-excerpt { font-size: 0.95rem; color: var(--text-dark); margin: 0 0 0.75rem; line-height: 1.5; }
.bio-card-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.5rem; }
.tag-pill {
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}
.tag-politician { background: #E8F4E8; color: #1A6B2E; }
.tag-sports { background: #FFF3E0; color: #E07B39; }
.tag-doctor { background: #E3F2FD; color: #1565C0; }
.tag-award { background: #FFF8E1; color: #C9A84C; }
.tag-military { background: #F3E5F5; color: #6A1B9A; }
.tag-education { background: #E8EAF6; color: #3F51B5; }
.tag-artist { background: #FCE4EC; color: #C2185B; }
.tag-other { background: #F5F5F5; color: #616161; }
.bio-card-stats { font-size: 0.85rem; color: var(--text-muted); margin: 0 0 0.5rem; }
.bio-card-stats i { margin-right: 0.25rem; }
.bio-card-link { font-weight: 600; color: var(--green-mid); font-size: 0.95rem; }
.bio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 992px) { .bio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .bio-grid { grid-template-columns: 1fr; } }
.bio-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 8px rgba(0,0,0,0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  border-top: 3px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.bio-card:hover {
  transform: scale(1.02);
  border-top-color: var(--green-mid);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  text-decoration: none;
  color: inherit;
}
.bio-card-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
}
.bio-card-avatar img { width: 100%; height: 100%; object-fit: cover; }
.bio-card-btn {
  display: inline-block;
  margin-top: auto;
  padding: 0.5rem 1rem;
  border: 2px solid var(--green-mid);
  color: var(--green-mid);
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.bio-card:hover .bio-card-btn {
  background: var(--green-mid);
  color: #fff;
}
.bio-empty { grid-column: 1 / -1; text-align: center; padding: 3rem; color: var(--text-muted); }
.bio-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.bio-pag-btn {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #ddd;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}
.bio-pag-btn:hover { border-color: var(--green-mid); color: var(--green-mid); text-decoration: none; }
.bio-pag-btn.active { background: var(--green-mid); color: #fff; border-color: var(--green-mid); }

/* Search page */
.bio-search-page { padding: 3rem 1.5rem; }
.bio-search-page-inner { max-width: 1200px; margin: 0 auto; }
.bio-search-form-inline {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}
.bio-search-box-inline {
  flex: 1;
  max-width: 500px;
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 12px;
  padding: 0 1rem;
  height: 48px;
}
.bio-search-box-inline:focus-within { border-color: var(--green-mid); }
.bio-search-box-inline i { color: var(--text-muted); margin-right: 0.75rem; }
.bio-search-box-inline input { flex: 1; border: none; outline: none; font-size: 1rem; }
.bio-search-clear {
  font-size: 1.5rem;
  color: var(--text-muted);
  text-decoration: none;
  line-height: 1;
  padding: 0 0.25rem;
}
.bio-search-clear:hover { color: var(--green-mid); }
.bio-search-results-text { color: var(--text-muted); margin-bottom: 1.5rem; }
.bio-search-layout { display: grid; grid-template-columns: 1fr 300px; gap: 2rem; }
@media (max-width: 992px) { .bio-search-layout { grid-template-columns: 1fr; } }
.bio-search-main { min-width: 0; }
.bio-sidebar-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  margin-bottom: 1.5rem;
}
.bio-sidebar-card h3 { font-size: 1rem; margin: 0 0 1rem; color: var(--text-dark); }
.bio-filter-link {
  display: block;
  padding: 0.5rem 0;
  color: var(--green-mid);
  text-decoration: none;
}
.bio-filter-link:hover { text-decoration: underline; }
.bio-no-results {
  text-align: center;
  padding: 4rem 2rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.bio-no-results-icon { font-size: 4rem; margin-bottom: 1rem; }
.bio-no-results h3 { margin-bottom: 0.5rem; }
.bio-no-results-cats { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; margin: 1.5rem 0; }
.bio-no-results-cats .tag-pill { text-decoration: none; }

/* Read page */
.bio-read-page { padding: 2rem 1.5rem 4rem; }
.bio-read-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
}
@media (max-width: 992px) { .bio-read-inner { grid-template-columns: 1fr; } }
.bio-read-main { min-width: 0; }
.bio-breadcrumb {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.bio-breadcrumb a { color: var(--green-mid); }
.bio-cat-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--green-light);
  color: var(--green-mid);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.bio-read-title {
  font-family: 'Noto Serif Bengali', serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #0D3B1A;
  margin: 0 0 0.5rem;
}
.bio-read-assamese { font-size: 1.25rem; color: var(--gold); margin: 0 0 0.5rem; }
.bio-read-tagline { font-size: 1rem; color: var(--text-muted); margin: 0 0 1rem; }
.bio-read-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 1rem 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin-bottom: 1rem;
}
.bio-read-contributor { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.bio-read-hero {
  margin: 0 0 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.bio-read-hero img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.bio-read-hero figcaption { padding: 0.75rem; font-style: italic; color: var(--text-muted); font-size: 0.9rem; }
.bio-photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
.bio-gallery-img { border-radius: 12px; overflow: hidden; display: block; }
.bio-gallery-img img { width: 100%; height: 120px; object-fit: cover; display: block; }
.bio-article-footer { margin-top: 2rem; padding-top: 1.5rem; }
.bio-article-footer hr { margin-bottom: 1rem; border-color: #eee; }
.bio-footer-actions { margin-top: 1rem; }
.bio-sidebar-card.sticky { position: sticky; top: 100px; }
.bio-sidebar-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 1rem;
}
.bio-related-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: inherit;
}
.bio-related-item:last-of-type { border-bottom: none; }
.bio-related-item:hover { background: var(--green-light); text-decoration: none; color: inherit; }
.bio-related-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green-mid);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.bio-related-item div { flex: 1; min-width: 0; }
.bio-related-item small { color: var(--text-muted); }
.bio-toc-link {
  display: block;
  padding: 0.35rem 0;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}
.bio-toc-link:hover { color: var(--green-mid); }
.bio-related-section { padding: 2rem 1.5rem; background: #f8f9fa; }
.bio-related-section h2 { font-size: 1.25rem; margin-bottom: 1rem; }
.bio-related-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}
.bio-card-mini {
  flex-shrink: 0;
  width: 140px;
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s;
}
.bio-card-mini:hover { transform: translateY(-2px); text-decoration: none; color: inherit; }
.bio-card-mini img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.5rem;
  display: block;
}
.bio-card-mini span { display: block; font-weight: 600; font-size: 0.9rem; }
.bio-card-mini small { font-size: 0.8rem; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════════
   JOURNEY PAGE — User Journey Flow
   ═══════════════════════════════════════════════════════════════ */
:root {
  --journey-rose:   #C2185B;
  --journey-blue:   #1565C0;
  --journey-orange: #E07B39;
  --journey-muted:  #6B6B5A;
  --journey-purple: #6A1B9A;
  --journey-purple-light: #F3E5F5;
}

.journey-hero {
  background: linear-gradient(135deg, var(--green-deep) 0%, #0a2d14 50%, var(--green-mid) 100%);
  padding: 4rem 1.5rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.journey-hero-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='1.5' fill='%23fff' fill-opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}
.journey-hero-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.journey-hero-badge {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(201,168,76,0.2);
  border: 1px solid var(--gold);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.journey-hero-h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.25rem;
}
.journey-hero-assamese {
  font-family: 'Noto Serif Bengali', serif;
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  margin: 0 0 1rem;
}
.journey-hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.85);
  margin: 0 0 2rem;
}
.journey-hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.journey-stat-pill {
  font-family: var(--font-title);
  font-size: 0.85rem;
  color: var(--gold-light);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(201,168,76,0.5);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.journey-stat-pill i { opacity: 0.9; }

/* Role Selector */
.journey-roles-section {
  background: #fff;
  padding: 3rem 1.5rem 4rem;
}
.journey-roles-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.journey-roles-heading {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--green-deep);
  margin: 0 0 0.25rem;
}
.journey-roles-assamese {
  font-family: 'Noto Serif Bengali', serif;
  font-size: 1.1rem;
  color: var(--journey-muted);
  margin: 0 0 0.5rem;
}
.journey-roles-subtext {
  font-family: var(--font-body);
  color: var(--journey-muted);
  margin: 0 0 2rem;
  font-size: 1rem;
}
.journey-role-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.journey-role-card {
  flex: 1 1 160px;
  min-width: 140px;
  max-width: 200px;
  background: var(--cream);
  border: 1px solid #ddd;
  border-radius: 16px;
  padding: 1.5rem 1rem;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  font-family: inherit;
  color: var(--journey-muted);
}
.journey-role-card:hover {
  transform: translateY(-6px);
  border-color: var(--green-mid);
  background: var(--green-light);
  box-shadow: 0 8px 24px rgba(26,107,46,0.2);
  color: var(--green-deep);
}
.journey-role-card.active {
  border: 2px solid var(--green-mid);
  background: var(--green-light);
  color: var(--green-deep);
  box-shadow: 0 4px 16px rgba(26,107,46,0.15);
  border-bottom: 3px solid var(--gold);
}
.journey-role-card.active .journey-role-check {
  opacity: 1;
  visibility: visible;
}
.journey-role-emoji { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.journey-role-title {
  font-family: var(--font-title);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
}
.journey-role-desc { font-size: 0.85rem; opacity: 0.9; }
.journey-role-check {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 24px;
  height: 24px;
  background: var(--green-mid);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}

/* Journey Panels */
.journey-panels-wrapper { background: var(--cream); }
.journey-panel {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, max-height 0.6s ease;
}
.journey-panel.active {
  opacity: 1;
  max-height: 9999px;
  overflow: visible;
  pointer-events: auto;
}

/* Panel Banners */
.journey-panel-banner {
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 4px solid;
}
.journey-banner-visitor {
  background: var(--green-light);
  border-color: var(--green-mid);
}
.journey-banner-member {
  background: var(--gold-light);
  border-color: var(--gold);
}
.journey-banner-contributor {
  background: #E3F2FD;
  border-color: var(--journey-blue);
}
.journey-banner-researcher {
  background: #E0F2F1;
  border-color: var(--teal);
}
.journey-banner-admin {
  background: var(--journey-purple-light);
  border-color: var(--journey-purple);
}
.journey-banner-emoji { font-size: 2.5rem; display: block; margin-bottom: 0.5rem; }
.journey-panel-banner h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
  color: var(--text-dark);
}
.journey-panel-banner p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--journey-muted);
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Timeline */
.journey-timeline {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  position: relative;
}
.journey-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--green-mid));
  transform: translateX(-50%);
  z-index: 0;
}
@media (max-width: 768px) {
  .journey-timeline::before { left: 24px; transform: none; }
}
.journey-step-row {
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.journey-step-row.journey-step-visible {
  opacity: 1;
  transform: translateY(0);
}
.journey-step-row.step-left {
  flex-direction: row;
}
.journey-step-row.step-left .journey-step-card { order: 1; margin-right: auto; padding-right: 2rem; }
.journey-step-row.step-left .journey-step-node { order: 2; }
.journey-step-row.step-left .journey-step-spacer { order: 3; flex: 1; min-width: 0; }
.journey-step-row.step-right {
  flex-direction: row;
}
.journey-step-row.step-right .journey-step-card { order: 3; margin-left: auto; padding-left: 2rem; text-align: right; }
.journey-step-row.step-right .journey-step-node { order: 2; }
.journey-step-row.step-right .journey-step-spacer { order: 1; flex: 1; min-width: 0; }
.journey-step-row.step-right .journey-step-tags { justify-content: flex-end; }
.journey-step-row.step-right .journey-step-tip { margin-left: auto; margin-right: 0; }
.journey-step-row.step-right .journey-url-mock { margin-left: auto; margin-right: 0; }
@media (max-width: 768px) {
  .journey-step-row { flex-direction: column !important; align-items: center; }
  .journey-step-row .journey-step-card { order: 1 !important; margin: 0 !important; padding: 0 !important; text-align: left !important; }
  .journey-step-row .journey-step-node { order: 2 !important; }
  .journey-step-row .journey-step-spacer { order: 3 !important; display: none; }
  .journey-step-row.step-right .journey-step-tags { justify-content: flex-start; }
  .journey-step-row.step-right .journey-step-tip { margin-left: 0; }
  .journey-step-row.step-right .journey-url-mock { margin-left: 0; }
}
.journey-step-card {
  min-width: 0;
  flex: 1;
  max-width: 420px;
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.journey-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.journey-step-emoji { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.journey-step-meta {
  font-family: var(--font-title);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--journey-muted);
  margin: 0 0 0.5rem;
}
.journey-step-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 0.75rem;
}
.journey-step-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-dark);
  margin: 0 0 1rem;
}
.journey-step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.journey-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-weight: 500;
}
.tag-green { background: var(--green-light); color: var(--green-deep); }
.tag-gold { background: var(--gold-light); color: var(--brown-dark); }
.tag-blue { background: #E3F2FD; color: var(--journey-blue); }
.tag-teal { background: #E0F2F1; color: var(--teal); }
.tag-rose { background: #FCE4EC; color: var(--journey-rose); }
.tag-orange { background: #FFF3E0; color: var(--journey-orange); }
.journey-step-tip {
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border-left: 4px solid var(--gold);
  background: var(--gold-light);
  border-radius: 0 8px 8px 0;
  margin-bottom: 1rem;
}
.journey-tip-icon { margin-right: 0.25rem; }
.journey-url-mock {
  font-size: 0.8rem;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.journey-url-path { font-family: monospace; color: var(--journey-muted); }
.journey-url-item { color: var(--text-dark); }
.journey-step-node {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-mid);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 0 0 4px var(--gold-light);
}
.journey-node-num { line-height: 1; }

/* End Card */
.journey-end-card {
  max-width: 600px;
  margin: 0 auto 3rem;
  padding: 2rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  text-align: center;
  border: 2px solid var(--green-light);
}
.journey-end-emoji { font-size: 3rem; display: block; margin-bottom: 0.5rem; }
.journey-end-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
  color: var(--green-deep);
}
.journey-end-card p {
  font-family: var(--font-body);
  color: var(--journey-muted);
  margin: 0 0 1.5rem;
}
.journey-end-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.journey-switch-btn {
  font-family: var(--font-title);
  font-size: 0.9rem;
  padding: 0.6rem 1.25rem;
  background: var(--green-mid);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.journey-switch-btn:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
}
.journey-switch-btn.journey-btn-gold {
  background: var(--gold);
  color: var(--brown-dark);
}
.journey-switch-btn.journey-btn-gold:hover {
  background: var(--gold-light);
  color: var(--brown-dark);
}
.journey-end-link {
  font-family: var(--font-title);
  font-size: 0.9rem;
  padding: 0.6rem 1.25rem;
  background: var(--gold);
  color: var(--brown-dark);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}
.journey-end-link:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--brown-dark);
}

/* ═══════════════════════════════════════════════════════════════
   BOARD MEMBERS / COMMITTEE
   ═══════════════════════════════════════════════════════════════ */

/* Hero */
.board-hero {
  background: linear-gradient(135deg, #0D3B1A 0%, #1A6B2E 50%, #0D6E6E 100%);
  padding: 3rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
  min-height: 220px;
}
.board-hero-pattern {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30 30 60 0 30z' fill='%23fff' fill-opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}
.board-hero-watermark {
  position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
  width: 200px; height: 200px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 5 L55 45 L95 50 L55 55 L50 95 L45 55 L5 50 L45 45 Z' fill='%23fff' fill-opacity='0.08'/%3E%3C/svg%3E") no-repeat center;
  pointer-events: none;
}
.board-hero-inner { max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
.board-breadcrumb { font-size: 0.85rem; margin-bottom: 0.75rem; }
.board-breadcrumb a { color: rgba(255,255,255,0.8); text-decoration: none; }
.board-breadcrumb a:hover { color: #fff; text-decoration: underline; }
.board-breadcrumb .sep { color: rgba(255,255,255,0.5); margin: 0 0.35rem; }
.board-hero-badge {
  display: inline-block; padding: 0.35rem 1rem; background: var(--gold); color: var(--brown-dark);
  border-radius: 20px; font-size: 0.85rem; font-weight: 700; margin-bottom: 0.75rem;
}
.board-hero-title { font-family: var(--font-heading); font-size: 2.25rem; color: #fff; margin: 0 0 0.25rem; }
.board-hero-assamese { font-family: 'Noto Serif Bengali', serif; font-size: 1.35rem; color: var(--gold-light); margin: 0 0 0.5rem; }
.board-hero-subtitle { color: rgba(255,255,255,0.9); margin: 0; font-size: 1rem; }
.board-hero-divider { height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 0 1.5rem; }
.board-hero-stats {
  display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; padding: 1rem 1.5rem;
  font-size: 0.9rem; color: rgba(255,255,255,0.9);
}
.board-hero-stats span { display: flex; align-items: center; gap: 0.4rem; }
.board-hero-teal { background: linear-gradient(135deg, #0D6E6E, #1A6B2E); }
.board-hero-archive { background: linear-gradient(135deg, #0D6E6E, #065555); }
.board-archive-badge {
  position: absolute; top: 1rem; right: 1.5rem; padding: 0.25rem 0.75rem;
  background: rgba(0,0,0,0.3); color: rgba(255,255,255,0.9); font-size: 0.75rem; font-weight: 700; letter-spacing: 1px;
}
.board-hero-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.board-hero-links a { color: rgba(255,255,255,0.95); text-decoration: none; }
.board-hero-links a:hover { color: #fff; text-decoration: underline; }

/* Tabs */
.board-tabs-wrap { background: #fff; border-bottom: 1px solid #eee; padding: 0 1.5rem; position: sticky; top: 0; z-index: 100; }
.board-tabs-inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 0; }
.board-tab {
  padding: 1rem 1.5rem; text-decoration: none; color: var(--text-muted); font-weight: 600;
  border-bottom: 3px solid transparent; transition: all 0.2s;
}
.board-tab:hover { color: var(--green-mid); background: rgba(26,107,46,0.05); }
.board-tab.active { color: var(--green-mid); background: rgba(26,107,46,0.08); border-bottom-color: var(--gold); }

/* Section */
.board-section { padding: 3rem 1.5rem; }
.board-section-inner { max-width: 1200px; margin: 0 auto; }
.board-section-archive .board-card { opacity: 0.95; }
.board-empty { text-align: center; color: var(--text-muted); padding: 3rem; }

/* Group heading */
.group-heading { display: flex; align-items: center; gap: 16px; margin: 48px 0 24px; }
.group-heading:first-of-type { margin-top: 0; }
.group-heading h3 {
  font-family: 'Noto Serif Bengali', serif; font-size: 20px; font-weight: 700; color: #0D3B1A; white-space: nowrap;
}
.group-heading::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, #C9A84C, transparent); }

/* Cards grid */
.board-cards-grid { display: grid; gap: 1.5rem; }
.board-cards-featured { grid-template-columns: 1fr; }
.board-cards-standard { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.board-cards-compact { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

/* Card types */
.board-card { background: white; border-radius: 16px; padding: 24px; transition: all 0.3s; }
.board-card-featured {
  display: flex; gap: 28px; align-items: flex-start; text-align: left;
  border-left: 4px solid #C9A84C; box-shadow: 0 8px 40px rgba(0,0,0,0.09);
}
.board-card-featured:hover { transform: translateY(-4px); box-shadow: 0 16px 56px rgba(0,0,0,0.13); }
.board-card-standard {
  text-align: center; box-shadow: 0 4px 24px rgba(0,0,0,0.07); border: 1px solid rgba(0,0,0,0.05);
  position: relative; overflow: hidden;
}
.board-card-standard::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, #C9A84C, transparent); opacity: 0; transition: opacity 0.3s;
}
.board-card-standard:hover::before { opacity: 1; }
.board-card-standard:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); }
.board-card-compact {
  padding: 20px 16px; text-align: center; box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.board-card-compact:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.1); border-color: #C9A84C; }
.board-card-muted { opacity: 0.9; }

/* Photo */
.board-card-photo-wrap { flex-shrink: 0; }
.board-card-featured .board-card-photo-wrap { margin-right: 0; }
.board-card-standard .board-card-photo-wrap,
.board-card-compact .board-card-photo-wrap { margin: 0 auto 1rem; }
.board-photo { border-radius: 50%; object-fit: cover; border: 3px solid #C9A84C; box-shadow: 0 0 0 4px rgba(201,168,76,0.15); }
.board-photo-150 { width: 150px; height: 150px; }
.board-photo-100 { width: 100px; height: 100px; }
.board-photo-80 { width: 80px; height: 80px; }
.board-avatar {
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'Cinzel', serif; font-weight: 700; color: white; letter-spacing: 1px; flex-shrink: 0;
}
.board-avatar-150 { width: 150px; height: 150px; font-size: 2rem; }
.board-avatar-100 { width: 100px; height: 100px; font-size: 1.5rem; }
.board-avatar-80 { width: 80px; height: 80px; font-size: 1.1rem; }
.avatar-president { background: linear-gradient(135deg, #C9A84C, #8B6B20); }
.avatar-secretary { background: linear-gradient(135deg, #1A6B2E, #0D3B1A); }
.avatar-executive { background: linear-gradient(135deg, #0D6E6E, #065555); }
.avatar-other { background: linear-gradient(135deg, #5A5A5A, #3A3A3A); }

/* Badge */
.designation-badge, .board-designation-badge {
  display: inline-block; padding: 4px 14px; border-radius: 20px;
  font-family: 'Cinzel', serif; font-size: 11px; letter-spacing: 1px; font-weight: 600; text-transform: uppercase;
}
.badge-president { background: #FFF8E1; color: #8B6B20; border: 1px solid #D4B870; }
.badge-secretary { background: #E8F5EC; color: #1A6B2E; border: 1px solid #A8D5B5; }
.badge-executive { background: #E0F2F1; color: #0D6E6E; border: 1px solid #80CBC4; }
.badge-patron { background: #F3E5F5; color: #6A1B9A; border: 1px solid #CE93D8; }
.badge-advisory { background: #E3F2FD; color: #1565C0; border: 1px solid #90CAF9; }

/* Card body */
.board-card-name { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; color: #0D3B1A; margin: 0 0 0.25rem; }
.board-card-name-as { font-size: 0.9rem; color: var(--gold); margin: 0 0 0.5rem; }
.board-card-meta { font-size: 0.85rem; color: var(--text-muted); margin: 0.25rem 0; }
.board-card-bio { font-style: italic; color: var(--text-muted); margin: 1rem 0; font-size: 0.95rem; }
.board-card-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1rem; }
.board-btn-contact, .board-btn-profile {
  padding: 0.4rem 0.9rem; font-size: 0.85rem; border-radius: 8px; text-decoration: none;
  border: 1px solid var(--green-mid); color: var(--green-mid); background: transparent; cursor: pointer;
  transition: all 0.2s;
}
.board-btn-contact:hover, .board-btn-profile:hover { background: var(--green-mid); color: #fff; text-decoration: none; }
.board-btn-profile { display: inline-flex; align-items: center; gap: 0.35rem; }

/* Contact reveal */
.board-contact-wrap { position: relative; }
.contact-reveal { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.contact-reveal.open { max-height: 150px; padding-top: 8px; }
.contact-reveal-inner { background: #f8f9fa; padding: 1rem; border-radius: 8px; }
.contact-reveal-btns { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.board-copy-btn, .board-whatsapp-btn { padding: 0.35rem 0.75rem; font-size: 0.8rem; border-radius: 6px; }
.board-whatsapp-btn { background: #25D366; color: #fff; text-decoration: none; }

/* Archive year cards */
.archive-year-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1.25rem; }
.archive-year-card {
  background: white; border-radius: 14px; padding: 24px; text-align: center;
  border: 2px solid transparent; box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: all 0.3s; cursor: pointer; text-decoration: none; display: block; color: inherit;
}
.archive-year-card:hover {
  border-color: #C9A84C; transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.2); text-decoration: none; color: inherit;
}
.archive-year-card .year-label { font-family: 'Cinzel', serif; font-size: 22px; font-weight: 700; color: #1A6B2E; margin-bottom: 8px; display: block; }
.archive-year-card .member-count { font-size: 13px; color: #6B6B5A; display: block; margin-bottom: 0.5rem; }
.archive-year-card .archive-link { font-size: 0.9rem; color: var(--green-mid); font-weight: 600; }

/* Year nav */
.board-year-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #eee; flex-wrap: wrap; gap: 1rem; }
.board-year-nav a { color: var(--green-mid); text-decoration: none; }
.board-year-nav a:hover { text-decoration: underline; }

/* Homepage committee section */
.committee-section { padding: 3rem 1.5rem; background: var(--cream); }
.committee-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.committee-heading { font-family: var(--font-heading); font-size: 1.75rem; color: #0D3B1A; margin: 0 0 0.5rem; }
.committee-subtext { color: var(--text-muted); margin-bottom: 1.5rem; }
.committee-scroll {
  display: flex; gap: 1.25rem; overflow-x: auto; padding-bottom: 1rem; justify-content: center; flex-wrap: wrap;
  -webkit-overflow-scrolling: touch;
}
.committee-mini-card {
  flex: 0 0 auto; width: 140px; padding: 1rem; background: white; border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06); text-decoration: none; color: inherit;
  transition: all 0.25s; text-align: center;
}
.committee-mini-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); text-decoration: none; color: inherit; }
.committee-mini-photo { width: 70px; height: 70px; margin: 0 auto 0.75rem; border-radius: 50%; overflow: hidden; border: 2px solid #C9A84C; }
.committee-mini-photo img { width: 100%; height: 100%; object-fit: cover; }
.committee-mini-avatar {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1A6B2E, #0D3B1A); color: white; font-weight: 700; font-size: 1.25rem;
}
.committee-mini-name { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.25rem; }
.committee-mini-badge { font-size: 0.75rem; color: var(--green-mid); }
