:root {
  --brand-green: #146c43;
  --brand-green-dark: #0b4a2c;
  --brand-orange: #f4811f;
  --brand-cream: #fff8ef;
}

body {
  font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif;
  color: #222;
  background: #eef1ef;
}

a { text-decoration: none; }

/* ---------------- Header ---------------- */
/* Solid dark green bar — no transparency over hero or on scroll */
.site-header {
  background: linear-gradient(180deg, #062818 0%, #0b4a2c 100%) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.22);
  z-index: 1030;
  transition: box-shadow .35s ease;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header.header-transparent {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: linear-gradient(180deg, #062818 0%, #0b4a2c 100%) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.22);
}
.site-header.header-transparent.is-scrolled,
.site-header.header-transparent.is-solid {
  background: linear-gradient(180deg, #062818 0%, #0b4a2c 100%) !important;
  box-shadow: 0 2px 14px rgba(0,0,0,.25);
}
.header-spacer {
  height: 92px;
}
.site-header .container-fluid > .d-flex {
  padding-top: 0.85rem !important;
  padding-bottom: 0.85rem !important;
  min-height: 64px;
}
.logo {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.logo-mark {
  flex-shrink: 0;
  height: 40px;
  width: 40px;
  object-fit: contain;
  border-radius: 50%;
}
.logo-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  min-width: 0;
  line-height: 1;
}
.logo-brand {
  font-family: Poppins, "Noto Sans Devanagari", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.05;
  color: #fff;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.logo-text {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.62rem;
  line-height: 1.15;
  max-width: 260px;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-word;
}
@media (max-width: 575.98px) {
  .logo-brand { font-size: 0.95rem; }
  .logo-mark { height: 36px; width: 36px; }
  .logo-text {
    font-size: 0.55rem;
    max-width: 160px;
    -webkit-line-clamp: 2;
  }
}
.main-nav a {
  color: #fff !important;
  font-weight: 500;
  transition: color .25s ease;
}
.main-nav a:hover { color: var(--brand-orange) !important; }
.lang-toggle { font-weight: 600; }

@media (min-width: 992px) {
  .main-nav {
    margin-right: 1.25rem;
    gap: 0;
    padding: 4px 12px;
    background: rgba(255,255,255,.1);
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.18);
  }
}

/* Classic text menu: Home | Activity | Registration | Staff Login | Hn/En */
.nav-link-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 4px 6px;
  white-space: nowrap;
  font-size: .82rem;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.nav-sep {
  color: rgba(255,255,255,.55);
  font-weight: 400;
  font-size: .75rem;
  padding: 0 4px;
  user-select: none;
  line-height: 1;
}
.nav-link-item::after {
  content: '';
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-orange);
  transition: left .25s ease, right .25s ease;
}
.nav-link-item:hover::after { left: 6px; right: 6px; }

/* Mobile hamburger toggle for the main nav */
.mobile-nav-toggle {
  display: none;
  width: 42px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 8px;
  font-size: 1.4rem;
  color: #fff;
  flex-shrink: 0;
}

@media (max-width: 991.98px) {
  .mobile-nav-toggle { display: flex; }
  .header-spacer { height: 84px; }
  /* !important needed: Bootstrap's .d-flex utility on <nav> is itself !important
     and would otherwise always win over a plain "display:none" here. */
  .main-nav {
    display: none !important;
    width: 100%;
    flex-direction: column;
    align-items: stretch !important;
    gap: 0;
    margin-top: 12px;
    padding: 12px 4px 4px;
    border-top: 1px solid rgba(255,255,255,.2);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease;
  }
  .main-nav.show {
    display: flex !important;
    max-height: none;
    opacity: 1;
    transform: translateY(0);
    animation: navSlideDown .28s ease;
    background: rgba(6,40,24,.96);
    border-radius: 0 0 12px 12px;
    padding: 8px 16px 16px;
    margin-top: 8px;
  }
  .mobile-nav-toggle i { transition: transform .25s ease; }
  .mobile-nav-toggle.open i { transform: rotate(90deg); }

  /* Mobile dropdown: plain text links, hide | separators */
  .main-nav.show a {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-align: left !important;
    width: 100%;
    padding: .6rem .2rem !important;
    border-radius: 0 !important;
    font-weight: 500;
    color: #fff !important;
  }
  .main-nav.show .nav-sep { display: none; }
  .main-nav.show a + a { border-top: 1px solid rgba(255,255,255,.15); }
  .main-nav.show a:hover { color: var(--brand-orange) !important; }
  .main-nav.show .nav-link-item:hover::after { left: .2rem; right: auto; width: 28px; }
}
@keyframes navSlideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------------- Hero slider ---------------- */
.hero-wrap {
  position: relative;
  height: 92vh;
  min-height: 560px;
  margin-top: -1px;
  overflow: hidden;
}
.hero-wrap .hero-swiper {
  height: 100%;
  width: 100%;
}
.hero-slide {
  position: relative;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
/* Soft dark fade only behind title area — no green wash so uploaded photos stay clear */
.hero-slide::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,.45) 0%, transparent 42%),
    linear-gradient(100deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.2) 35%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 6vw;
  max-width: 720px;
}
.hero-badge {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 52px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(244,129,31,.18);
  border: 1px solid rgba(244,129,31,.5);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 7px 22px;
  border-radius: 30px;
  backdrop-filter: blur(4px);
  white-space: nowrap;
  max-width: calc(100% - 32px);
}
.hero-content h1 { font-weight: 700; font-size: clamp(1.8rem, 4vw, 3.2rem); text-shadow: 0 3px 18px rgba(0,0,0,.35); }
.hero-content p { font-size: 1.15rem; opacity: .95; text-shadow: 0 2px 10px rgba(0,0,0,.3); }
.hero-swiper .swiper-pagination-bullet-active { background: var(--brand-orange); }
.hero-swiper .swiper-pagination { bottom: 18px !important; }

@media (max-width: 767.98px) {
  .hero-wrap { height: 78vh; min-height: 440px; }
  .hero-content { padding: 0 8vw; max-width: 100%; }
  .hero-content h1 { font-size: clamp(1.35rem, 5.5vw, 1.85rem); }
  .hero-content p { font-size: 0.88rem; line-height: 1.45; }
  .hero-content .btn {
    font-size: 0.82rem;
    padding: 0.35rem 0.85rem;
    width: auto;
    display: inline-flex;
    align-items: center;
  }
  .hero-badge { font-size: .8rem; padding: 5px 14px; bottom: 48px; }
}
@media (max-width: 575.98px) {
  .hero-wrap { min-height: 400px; }
  .hero-content h1 { font-size: 1.3rem; }
  .hero-content p { font-size: 0.82rem; }
  .hero-content .btn {
    font-size: 0.78rem;
    padding: 0.32rem 0.75rem;
    width: auto;
  }
}

/* ---------------- Stats ---------------- */
.stats-section { background: var(--brand-green-dark); color: #fff; }
.stat-box { text-align: center; padding: 1.2rem 0; }
.stat-number { font-size: 2.6rem; font-weight: 700; color: var(--brand-orange); }
.stat-label { opacity: .9; }
@media (max-width: 575.98px) {
  .stats-section .stat-number { font-size: 1.85rem; }
  .stats-section .stat-label { font-size: 0.78rem; }
  .stats-section .stat-box { padding: 0.7rem 0; }
}

/* ---------------- Activity cards ---------------- */
.activity-card {
  border: 1px solid #e2e8e4;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  transition: transform .3s ease, box-shadow .3s ease;
  height: 100%;
  display: flex !important;
  flex-direction: column;
  background: #fff;
}
.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0,0,0,.12);
}
.activity-card .activity-photo {
  height: 190px;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform .45s ease;
  flex-shrink: 0;
  overflow: hidden;
}
.activity-card:hover .activity-photo { transform: scale(1.04); }
.activity-card .activity-photo .badge-closed {
  position: absolute; top: 10px; right: 10px;
  z-index: 1;
}
.activity-card .card-body {
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}
.activity-short-desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.4;
  min-height: 2.8em;
}
.activity-card .card-body > .btn {
  margin-top: auto !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  line-height: 1.25;
}
.activity-slot-row {
  text-align: left;
}
.activity-slot-label {
  color: var(--brand-green-dark);
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.row.g-4 > [class*="col-"].reveal {
  display: flex;
  flex-direction: column;
}
.row.g-4 > [class*="col-"].reveal > .activity-card {
  height: 100%;
  width: 100%;
}
.activity-fee { font-weight: 500; color: #333; }

/* Homepage activities: staggered fade on scroll */
.home-activities .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s ease, transform .65s ease;
}
.home-activities .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .home-activities .reveal,
  .activity-card,
  .activity-card .activity-photo {
    transition: none !important;
    transform: none !important;
  }
  .home-activities .reveal { opacity: 1; }
}

.section-heading { font-weight: 700; color: var(--brand-green-dark); }
.section-sub { color: #666; }

.btn-primary {
  background: var(--brand-green); border-color: var(--brand-green);
}
.btn-primary:hover { background: var(--brand-green-dark); border-color: var(--brand-green-dark); }
.btn-outline-primary { color: var(--brand-green); border-color: var(--brand-green); }
.btn-outline-primary:hover { background: var(--brand-green); }

/* ---------------- Footer ---------------- */
.site-footer {
  background: linear-gradient(160deg, var(--brand-green-dark) 0%, #06331e 100%);
  position: relative;
  overflow: hidden;
}
.site-footer::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,129,31,.18) 0%, transparent 70%);
  pointer-events: none;
}
.footer-wave {
  position: relative;
  margin-top: -1px;
  line-height: 0;
}
.footer-wave svg { width: 100%; height: 32px; display: block; }
.footer-wave path { fill: var(--brand-green-dark); }

.footer-heading {
  color: #fff;
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 8px;
}
.footer-heading::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 32px; height: 3px;
  background: var(--brand-orange);
  border-radius: 3px;
}
.footer-muted { color: #b9d4c3; }

.footer-links li { margin-bottom: .55rem; }
.footer-link {
  color: #d9ecdf;
  transition: color .2s ease, padding-left .2s ease;
  display: inline-block;
}
.footer-link i { font-size: .7rem; margin-right: 4px; transition: transform .2s ease; }
.footer-link:hover { color: var(--brand-orange); padding-left: 4px; }
.footer-link:hover i { transform: translateX(3px); }

.footer-contact li { display: flex; align-items: flex-start; gap: 10px; color: #d9ecdf; }
.footer-contact li i { color: var(--brand-orange); margin-top: 3px; }

.footer-social { margin-top: .5rem; }
.social-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  transition: all .25s ease;
}
.social-icon:hover {
  background: var(--brand-orange);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(244,129,31,.4);
}

/* ---------------- Back to top button ---------------- */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--brand-green);
  color: #fff;
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background .2s ease;
  z-index: 1050;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--brand-orange); }

/* ---------------- Scroll-reveal animation ---------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------------- Registration form ---------------- */
.reg-card { border: none; border-radius: 16px; box-shadow: 0 6px 26px rgba(0,0,0,.08); }
.reg-card .form-label {
  font-size: 0.82rem;
  margin-bottom: 0.3rem;
}
.reg-card .form-control,
.reg-card .form-select {
  font-size: 0.84rem;
  padding: 0.4rem 0.7rem;
}
.reg-card .form-text,
.reg-card .form-check-label,
.reg-card textarea.form-control {
  font-size: 0.78rem;
}
.reg-card .nav-pills .nav-link {
  font-size: 0.85rem;
  padding: 0.4rem 0.9rem;
}
.reg-card .btn-lg {
  font-size: 0.95rem;
  padding: 0.55rem 1.5rem;
}
.reg-card .terms-box,
.reg-card .terms-box li {
  font-size: 0.78rem;
}
.reg-card #lookupResult .form-label,
.reg-card #lookupResult .list-group-item {
  font-size: 0.84rem;
}
.reg-card #lookupResult .list-group-item .small {
  font-size: 0.72rem;
}

/* Selected member in renew lookup */
#lookupResult .select-member.active {
  background: #d8f3e3 !important;
  border-color: #a8dfc0 !important;
  color: #0b4a2c !important;
}
#lookupResult .select-member.active .text-muted {
  color: #3d7a5c !important;
}
#lookupResult .select-member.active:hover,
#lookupResult .select-member.active:focus {
  background: #c8ecd6 !important;
  color: #0b4a2c !important;
}
#lookupResult .lookup-not-found {
  background: #fdeaea;
  color: #8b1e1e;
  border: 1px solid #f3c6c6;
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  font-size: 0.84rem;
  line-height: 1.4;
  margin-top: 0.35rem;
}
.nav-pills .nav-link.active { background: var(--brand-green); }
.slot-full-note { color: #b3261e; font-size: .9rem; }
.slot-suggest-note { color: #146c43; font-size: .9rem; }

/* ---------------- Renewal photo preview + terms & conditions ---------------- */
.photo-upload-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.photo-upload-fields {
  flex: 1;
  min-width: 0;
}
.renew-photo-preview {
  width: 88px;
  height: 110px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--brand-green, #146c43);
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
  background: #f1f3f5;
  margin-left: auto;
}
.terms-block {
  margin-top: .5rem;
}
.terms-box {
  background: #f8f9fa;
  border: 1px solid #e2e5e9;
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 8px;
}
.terms-box h6 { color: var(--brand-green-dark, #0f4c2e); font-weight: 600; }
.terms-box ol { padding-left: 1.1rem; margin-bottom: 0; }
.terms-box ol li { margin-bottom: 4px; }

/* Shared search bar style (list filter + mobile lookup) */
.list-search-bar {
  max-width: 360px;
  width: 100%;
}
.list-search-bar.ms-auto {
  margin-left: auto;
}
.list-search-group {
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  border: 1px solid #dde3e8;
  background: #fff;
}
.list-search-group .input-group-text {
  background: #fff;
  border: none;
  font-size: .85rem;
  color: #6c757d;
  padding-right: 14px;
  padding-left: 8px;
}
.list-search-group .list-search-trigger {
  cursor: pointer;
}
.list-search-group .form-control {
  border: none;
  font-size: .82rem;
  padding: .45rem .35rem .45rem .9rem;
  box-shadow: none !important;
  background: #fff;
}
.list-search-group .form-control::placeholder {
  font-size: .8rem;
  color: #9aa3ab;
}

/* Keep submit footer always visible in renew popup (form acts as modal-content) */
#renewModal form.modal-content {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 1rem);
}
#renewModal .modal-body {
  overflow-y: auto;
}
#renewModal .modal-footer {
  border-top: 1px solid #dee2e6;
  background: #fff;
}

/* ---------------- Staff / Admin layout ---------------- */
.admin-sidebar {
  min-height: 100vh;
  background: var(--brand-green-dark);
  color: #fff;
  flex: 0 0 230px;
  width: 230px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 1045;
}
.admin-sidebar a {
  color: #d9ecdf;
  display: block;
  padding: .55rem 1rem;
  border-radius: 8px;
  margin: 2px 8px;
  font-weight: 500;
  font-size: 0.82rem;
  line-height: 1.3;
}
.admin-sidebar a i {
  font-size: 0.9rem;
  margin-right: 2px;
}
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(255,255,255,.12); color: #fff; }
.admin-topbar { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.06); position: sticky; top: 0; z-index: 1030; }
.admin-topbar h5 { font-size: 1.05rem; }

/* Staff / admin panel forms & tables — slightly smaller type */
.admin-main {
  font-size: 0.875rem;
}
.admin-main .form-label {
  font-size: 0.8rem;
  margin-bottom: 0.28rem;
}
.admin-main .form-control,
.admin-main .form-select {
  font-size: 0.82rem;
  padding: 0.38rem 0.65rem;
}
.admin-main .form-text,
.admin-main .form-check-label,
.admin-main .small {
  font-size: 0.75rem !important;
}
.admin-main .card h5,
.admin-main .card .h5 {
  font-size: 1rem;
}
.admin-main .btn:not(.btn-sm):not(.btn-lg) {
  font-size: 0.82rem;
  padding: 0.38rem 0.85rem;
}
.admin-main .btn-sm {
  font-size: 0.75rem;
}
.admin-main .table {
  font-size: 0.82rem;
}
.admin-main .modal-title,
.admin-main .modal-body,
.admin-main .modal-footer .btn {
  font-size: 0.85rem;
}
.stat-card {
  border-radius: 14px;
  border: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 132px;
}
.stat-card .stat-number {
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.25rem;
}
.stat-card-label {
  font-size: 0.84rem;
  line-height: 1.3;
  color: #444;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4em;
}
.stat-card-foot {
  min-height: 1.35rem;
  margin-top: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-card-foot a {
  font-size: 0.78rem;
}
.progress { height: 10px; border-radius: 6px; }

/* Sidebar hamburger toggle button (shown only on mobile/tablet) */
.sidebar-toggle {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 8px;
  font-size: 1.3rem;
  color: #222;
  flex-shrink: 0;
}

/* Off-canvas sidebar on mobile/tablet: hidden by default, slides in over content */
@media (max-width: 991.98px) {
  .sidebar-toggle { display: flex; }
  .admin-sidebar {
    position: fixed;
    top: 0;
    left: -260px;
    height: 100vh;
    transition: left .3s ease;
    box-shadow: none;
  }
  .admin-sidebar.show {
    left: 0;
    box-shadow: 6px 0 24px rgba(0,0,0,.35);
  }
  .sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
  }
  .sidebar-backdrop.show { opacity: 1; visibility: visible; }
}
@media (min-width: 992px) {
  .sidebar-backdrop { display: none; }
}

/* Data tables scroll horizontally on narrow screens instead of breaking layout */
@media (max-width: 767.98px) {
  .table-responsive table { font-size: .86rem; }
  .table-responsive th, .table-responsive td { white-space: nowrap; }
  .table-responsive {
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid rgba(0,0,0,.08);
  }
}

/* ---------------- Printable member ID card ---------------- */
.member-card {
  width: 3.375in;
  height: 2.125in;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
  color: #111;
  background: #ffffff;
  border: 1.5px solid #222;
  font-size: 11px;
  margin: 20px auto;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.member-card .card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.06;
}
.member-card .card-overlay {
  position: absolute;
  inset: 0;
  background: #ffffff;
  opacity: 0.88;
}
.member-card .card-inner {
  position: relative;
  z-index: 2;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.member-card .card-header-bar {
  background: #c8e6d0;
  padding: 3px 8px;
  min-height: 0;
  line-height: 1.15;
  text-align: center;
  border-bottom: 1px solid #9cccaf;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.member-card .card-org {
  font-size: 7.5px;
  line-height: 1.15;
  font-weight: 700;
  color: #0b4a2c;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.member-card .card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border-bottom: 1.5px solid #222;
  padding: 5px 9px 5px;
  margin: 0;
}
.member-card .card-activity {
  flex: 1;
  min-width: 0;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #111;
  text-align: center;
}
.member-card .card-photo {
  width: 58px;
  height: 70px;
  flex-shrink: 0;
  border-radius: 4px;
  object-fit: cover;
  border: 1.5px solid #222;
  background: #f5f5f5;
}
.member-card .card-photo-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #777;
  background: #f0f0f0;
}
.member-card .card-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 1px;
  min-height: 0;
  padding: 4px 9px 6px;
}
.member-card .card-line {
  display: flex;
  gap: 6px;
  align-items: baseline;
  line-height: 1.25;
  font-size: 10.5px;
}
.member-card .card-k {
  flex: 0 0 42px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #444;
}
.member-card .card-v {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.member-card .card-v strong {
  font-weight: 800;
  font-size: 12px;
  color: #000;
}
@media print {
  .no-print { display: none !important; }
  body { background: #fff !important; }
  .member-card {
    margin: 0;
    box-shadow: none;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/* ---------------- About Us + Our Team ---------------- */
.about-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 1rem;
}
.about-content p:last-child { margin-bottom: 0; }
.about-contact li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin-bottom: 0.55rem;
  font-size: 0.9rem;
  color: #444;
}
.about-contact li i {
  color: var(--brand-green);
  margin-top: 0.15rem;
}
.about-contact a { color: inherit; }
.about-map {
  width: 100%;
  height: 260px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8e4;
  background: #eef2f0;
}
.about-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@media (max-width: 767.98px) {
  .about-map { height: 220px; }
}

.team-sections {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.team-section {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  padding: 1.25rem 1.35rem 1.5rem;
}
.team-section-title {
  position: relative;
  z-index: 1;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0b4a2c;
  margin-bottom: 1.15rem;
  padding: 0.2rem 0.2rem 0.4rem;
  display: inline-block;
  border-bottom: 3px solid transparent;
  transition: border-color .25s ease;
  cursor: default;
}
.team-section-title:hover {
  border-bottom-color: var(--brand-orange);
}
.team-section-title::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: -0.15rem;
  top: 50%;
  transform: translateY(-58%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(244, 129, 31, 0.18);
  pointer-events: none;
}
.team-staff-table-wrap {
  background: #fff;
  border-radius: 0.375rem;
  border: 1px solid #dee2e6;
  box-shadow: none;
  overflow: hidden;
}
@media (max-width: 575.98px) {
  .team-section { padding: 1rem 0.85rem 1.15rem; }
}
.team-staff-table {
  margin: 0;
  font-size: 0.95rem;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  --bs-table-bg: #fff;
}
.team-staff-table thead th {
  background: #e8f5ee;
  color: #0b4a2c;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  border-bottom: 1px solid #d4e8dc;
  padding: 0.85rem 1rem;
  white-space: nowrap;
  text-align: left;
  vertical-align: middle;
}
.team-staff-table tbody td {
  padding: 0.9rem 1rem;
  border: none;
  border-bottom: 1px solid #dee2e6;
  vertical-align: middle;
  background: #fff;
  color: #212529;
  text-align: left;
}
.team-staff-table tbody tr:last-child td {
  border-bottom: none;
}
.team-staff-table tbody tr:hover td {
  background: #f8f9fa;
}
.team-staff-name {
  font-weight: 700;
  color: #212529;
}
.team-staff-table a {
  color: #146c43;
  text-decoration: none;
  font-weight: 500;
}
.team-staff-table a:hover {
  text-decoration: underline;
  color: #0b4a2c;
}
@media (max-width: 575.98px) {
  .team-staff-table { font-size: 0.82rem; }
  .team-staff-table thead th,
  .team-staff-table tbody td { padding: 0.65rem 0.75rem; }
}
.team-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.25rem 1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  border: 1px solid #eef2f0;
}
.team-photo-wrap {
  width: 110px;
  height: 110px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #d8f0e2;
  background: #f4f7f5;
}
.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-name {
  font-size: 1rem;
  font-weight: 700;
  color: #0b4a2c;
  margin-bottom: 0.25rem;
}
.team-role {
  font-size: 0.82rem;
  color: #5a6b62;
  line-height: 1.35;
  margin-bottom: 0.55rem;
  min-height: 1.35em;
}
.team-meta {
  font-size: 0.78rem;
  color: #444;
  line-height: 1.45;
}
.team-meta li {
  margin-bottom: 0.2rem;
  min-height: 1.2em;
}
.team-meta i {
  color: var(--brand-green);
  margin-right: 0.2rem;
}
.team-meta a {
  color: inherit;
  text-decoration: none;
}
.team-meta a:hover {
  color: var(--brand-green-dark);
  text-decoration: underline;
}
@media (max-width: 575.98px) {
  .team-photo-wrap { width: 88px; height: 88px; }
  .team-name { font-size: 0.9rem; }
}
