/* ========== Page banner (inner pages) ========== */
.page-banner {
  position: relative;
  background: linear-gradient(135deg, #b21f1f 0%, #8a1414 60%, #5a0d0d 100%);
  color: #fff;
  text-align: center;
  padding: 70px 16px 60px;
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 20% 20%,
      rgba(253, 187, 45, 0.15),
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 255, 255, 0.08),
      transparent 40%
    );
  pointer-events: none;
}
.page-banner-overlay {
  position: relative;
  z-index: 1;
}
.page-banner h1 {
  font-family: "Fjalla One", sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.page-banner p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
}
.page-banner p a {
  color: #fdbb2d;
  font-weight: 600;
}
.page-banner p span {
  margin: 0 8px;
  opacity: 0.6;
}

/* ========== Intro lead text ========== */
.intro-lead {
  max-width: 880px;
  margin: 0 auto 30px;
  text-align: center;
  color: #444;
  font-size: 16px;
  line-height: 1.7;
}

/* ========== Inline primary button ========== */
.btn-primary {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 26px;
  background: #b21f1f;
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.btn-primary:hover {
  background: #8a1414;
  transform: translateY(-2px);
}

/* ========== Base ========== */
:root {
  --primary: #b21f1f;
  --primary-dark: #8a1414;
  --accent: #fdbb2d;
  --dark: #222;
  --muted: #6b7280;
  --light: #fffdf8;
  --bg: #f7f6f2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans", Arial, sans-serif;
  color: var(--dark);
  background: #fff;
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.container_heading {
  text-align: center;
  padding: 40px 16px 18px;
}
.container_heading h2 {
  font-family: "Fjalla One", sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--dark);
}
.container_heading h2 span {
  color: var(--primary);
}

/* ========== Top utility bar ========== */
.top-bar {
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 13px;
}
.container-top.top-nav {
  width: min(1180px, 92vw);
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  padding: 8px 0;
}
.top-nav a {
  color: #fff;
}
.top-nav p {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.top-nav a:hover {
  color: var(--accent);
}

/* ========== Top Btn ========== */
.top-btn {
  position: fixed;
  right: 18px;
  bottom: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  z-index: 999;
}
.top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}
.top-btn:hover {
  transform: translateY(-3px);
  background: var(--primary-dark);
}

/* ========== Header ========== */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 5vw;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .logo {
  width: 245px;
  /* height: 70px; */
  object-fit: contain;
}

.primary-nav .navbar-list {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.navbar-link {
  display: inline-block;
  padding: 8px 14px;
  font-weight: 600;
  color: var(--dark);
  border-radius: 4px;
  position: relative;
  transition: color 0.2s;
  text-transform: uppercase;
  font-size: 14px;
}
.navbar-link:hover {
  color: var(--primary);
}
.navbar-link.active {
  color: var(--primary);
}
.navbar-link.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--primary);
}
.navbar-link.btn {
  background: var(--primary);
  color: #fff;
  padding: 8px 18px;
  border-radius: 30px;
}
.navbar-link.btn:hover {
  background: var(--primary-dark);
  color: #fff;
}
/* Heartbeat animation for donate buttons */
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14%       { transform: scale(1.12); }
  28%       { transform: scale(1); }
  42%       { transform: scale(1.08); }
  56%       { transform: scale(1); }
}
/* Shimmer sweep */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
/* Pulse ring */
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(253,187,45,.55); }
  70%  { box-shadow: 0 0 0 10px rgba(253,187,45,0); }
  100% { box-shadow: 0 0 0 0 rgba(253,187,45,0); }
}

.navbar-link.donate-btn {
  position: relative;
  overflow: hidden;
  background: linear-gradient(270deg, #fdbb2d, #f59e0b, #fdbb2d);
  background-size: 200% auto;
  color: #1a1a1a;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 700;
  letter-spacing: 0.4px;
  animation:
    shimmer 3s linear infinite,
    pulse-ring 2s ease-out infinite;
  transition: transform 0.2s, box-shadow 0.2s;
}
.navbar-link.donate-btn:hover {
  background: linear-gradient(270deg, #f59e0b, #fdbb2d, #f59e0b);
  background-size: 200% auto;
  color: #111;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 20px rgba(253,187,45,.5);
  animation: shimmer 1.2s linear infinite;
}
/* Beating heart icon inside the button */
.navbar-link.donate-btn svg,
.navbar-link.donate-btn .heart-char {
  display: inline-block;
  animation: heartbeat 1.6s ease-in-out infinite;
}

.top-nav a.donate-link {
  position: relative;
  overflow: hidden;
  background: #fff;
  color: var(--primary) !important;
  font-weight: 700;
  padding: 3px 13px;
  border-radius: 20px;
  font-size: 12px;
  letter-spacing: 0.3px;
  animation: pulse-ring 2s ease-out infinite;
  transition: background 0.25s, color 0.25s, transform 0.2s;
}
.top-nav a.donate-link:hover {
  background: var(--accent);
  color: #111 !important;
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(253,187,45,.45);
  animation: none;
}
/* Ripple pseudo-element on top-bar donate */
.top-nav a.donate-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  background-size: 200% 100%;
  background-position: -200% center;
  transition: background-position 0.5s;
}
.top-nav a.donate-link:hover::after {
  background-position: 200% center;
}

.mobile-navbar-btn {
  display: none;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
}
.mobile-navbar-btn .icon-close {
  display: none;
}
.mobile-navbar-btn.active .icon-open {
  display: none;
}
.mobile-navbar-btn.active .icon-close {
  display: inline-block;
}

@media (max-width: 900px) {
  .mobile-navbar-btn {
    display: inline-flex;
  }
  .primary-nav .navbar-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .primary-nav .navbar-list.open {
    max-height: 600px;
    padding: 8px 0;
  }
  .navbar-link {
    padding: 12px 20px;
    border-radius: 0;
  }
  .navbar-link.btn {
    margin: 8px 20px;
    text-align: center;
  }
  .navbar-link.donate-btn {
    margin: 8px 20px;
    text-align: center;
  }
}

/* ========== Hero / Carousel ========== */
.hero-section {
  background: #000;
}
.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.slides {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  transition: transform 0.6s ease;
}
.slide {
  min-width: 100%;
  position: relative;
}
.slide img {
  width: 100%;
  height: clamp(260px, 55vw, 560px);
  object-fit: cover;
  display: block;
}

.control-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 64px;
  background: rgba(0, 0, 0, 0.35);
  border: none;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
}
.control-arrow:hover {
  background: rgba(0, 0, 0, 0.6);
}
.control-arrow::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  margin: 0 auto;
}
.control-prev {
  left: 0;
}
.control-prev::before {
  transform: rotate(-135deg);
}
.control-next {
  right: 0;
}
.control-next::before {
  transform: rotate(45deg);
}

.control-dots {
  position: absolute;
  bottom: 18px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 2;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}
.dot.selected {
  background: var(--accent);
  transform: scale(1.2);
}

.carousel-status {
  position: absolute;
  top: 12px;
  right: 14px;
  color: #fff;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.4);
  padding: 3px 8px;
  border-radius: 4px;
  margin: 0;
  z-index: 2;
}

/* ========== Welcome / Help boxes ========== */
.welcome-section {
  background: var(--bg);
  padding-bottom: 50px;
}

.grid {
  display: grid;
  gap: 24px;
}
.grid-three-column {
  grid-template-columns: repeat(3, 1fr);
}
.grid-two-column {
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
}

@media (max-width: 900px) {
  .grid-three-column,
  .grid-two-column {
    grid-template-columns: 1fr;
  }
}

.help-girl-box {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.help-girl-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}
.help-girl-box img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.help-girl-data {
  padding: 18px 20px 22px;
  text-align: center;
}
.help-girl-data h3 {
  margin: 0 0 8px;
  font-family: "Fjalla One", sans-serif;
  color: var(--primary);
  font-size: 20px;
  letter-spacing: 0.5px;
}
.help-girl-data p {
  margin: 0 0 14px;
  color: var(--muted);
}
.help-girl-data a {
  display: inline-block;
  padding: 8px 20px;
  background: var(--primary);
  color: #fff;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}
.help-girl-data a:hover {
  background: var(--primary-dark);
}

/* ========== About section ========== */
.about-marriage-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 70px 0;
}
.about-marriage-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
}
.about-marriage-bg .container {
  position: relative;
  z-index: 1;
}
.about-marriage-bg .left h2 {
  font-family: "Fjalla One", sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  margin-top: 0;
  text-transform: uppercase;
}
.about-marriage-bg .left h2 span {
  color: var(--primary);
}
.about-marriage-bg .left p {
  color: #333;
  text-align: justify;
}
.about-marriage-bg .right img {
  margin: 0 auto;
  max-height: 360px;
  object-fit: contain;
}

/* ========== Latest events ========== */
.announs-wrap {
  background: var(--primary);
  color: #fff;
}
.announs_section {
  padding: 22px 0;
}
.announs_right {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.announs_right h2 {
  font-family: "Fjalla One", sans-serif;
  margin: 0;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 18px;
  text-transform: uppercase;
  white-space: nowrap;
}
.scroll-container {
  flex: 1;
  overflow: hidden;
  position: relative;
  min-width: 0;
  height: 110px;
}
.scroll-text {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  animation: marquee-vertical 25s linear infinite;
}
.scroll-container:hover .scroll-text {
  animation-play-state: paused;
}
.scroll-text > div {
  padding: 6px 0 14px;
}
.scroll-text h3 {
  margin: 0 0 4px;
  font-family: "Fjalla One", sans-serif;
  color: var(--accent);
}
.scroll-text p {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.5;
}

@keyframes marquee-vertical {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-200%);
  }
}

/* ========== Business Partner ========== */
.business-partner {
  background: var(--bg);
  padding-bottom: 50px;
}
.business-partner-bg .container_heading {
  padding-top: 50px;
}
.marquee {
  overflow: hidden;
  width: 100%;
  padding: 20px 0;
}
.marquee__content {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scroll 30s linear infinite;
}
.marquee__content img {
  height: 90px;
  width: auto;
  object-fit: contain;
  background: #fff;
  border: 1px solid #eee;
  padding: 8px 14px;
  border-radius: 6px;
  filter: grayscale(20%);
  transition: filter 0.3s;
}
.marquee__content img:hover {
  filter: grayscale(0%);
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ========== Footer ========== */
.site-footer {
  background: #1a1a1a;
  color: #ddd;
  padding: 50px 0 30px;
}
.site-footer h2 {
  font-family: "Fjalla One", sans-serif;
  color: #fff;
  font-size: 18px;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
  text-transform: uppercase;
}
.site-footer h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: var(--accent);
}
.footer-two a {
  display: block;
  color: #ccc;
  padding: 4px 0;
  transition:
    color 0.2s,
    transform 0.2s;
}
.footer-two a:hover {
  color: var(--accent);
  transform: translateX(4px);
}
.footer-two p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-two .chev {
  color: var(--accent);
  font-weight: 700;
}

.address-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.address-box .addr-icon {
  margin: 0;
  width: 30px;
  height: 30px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}
.address-box p:last-child {
  margin: 0;
  font-size: 14px;
  color: #ccc;
}

.social-media {
  margin-top: 22px;
}
.social-media-icons {
  display: flex;
  gap: 10px;
}
.social-media-icons a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    transform 0.2s;
}
.social-media-icons a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* ========== Sub Footer ========== */
.subfooter-wrap {
  background: #0d0d0d;
  color: #aaa;
}
.subfooter {
  text-align: center;
  padding: 14px 16px;
  font-size: 13px;
}
.subfooter a {
  color: var(--accent);
}
.subfooter a:hover {
  text-decoration: underline;
}

/* ========== Stats section (about page) ========== */
.stats-section {
  background: linear-gradient(135deg, #1fb29b 0%, #f0e7e7 100%);
  color: #fff;
  padding: 50px 16px;
}
.stats-section .grid-four-column {
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
@media (max-width: 700px) {
  .stats-section .grid-four-column { grid-template-columns: repeat(2, 1fr); }
}
.stat-box h3 {
  font-family: "Fjalla One", sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 6px;
  color: var(--accent);
}
.stat-box p { margin: 0; font-size: 14px; letter-spacing: 0.5px; text-transform: uppercase; }

/* ========== Gallery grid (gallery page) ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.gallery-item {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,.1);
  position: relative;
  aspect-ratio: 4 / 3;
  background: #eee;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease, filter .4s ease;
}
.gallery-item:hover img { transform: scale(1.08); filter: brightness(1.05); }
.gallery-item::after {
  content: "??";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  background: rgba(178,31,31,.6);
  opacity: 0;
  transition: opacity .3s;
}
.gallery-item:hover::after { opacity: 1; }

/* ========== Member cards (members page) ========== */
.member-card {
  background: #fff;
  border-radius: 12px;
  text-align: center;
  padding: 28px 18px 22px;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  transition: transform .3s, box-shadow .3s;
  border-top: 4px solid var(--primary);
}
.member-card:hover { transform: translateY(-6px); box-shadow: 0 14px 28px rgba(0,0,0,.15); }
.member-avatar {
  width: 110px;
  height: 110px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--accent);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.member-avatar img { width: 100%; height: 100%; object-fit: cover; }
.member-card h3 {
  margin: 4px 0 2px;
  font-family: "Fjalla One", sans-serif;
  color: var(--primary);
  font-size: 20px;
}
.member-card .role {
  display: inline-block;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.member-card p { margin: 4px 0; color: var(--muted); font-size: 14px; }

/* ========== Contact page ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  margin-top: 20px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-info-box {
  display: flex;
  gap: 14px;
  background: #fff;
  padding: 18px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,.07);
  border-left: 4px solid var(--primary);
  transition: transform .25s;
}
.contact-info-box:hover { transform: translateX(4px); }
.contact-info-box .ci-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.contact-info-box h3 {
  margin: 0 0 4px;
  font-family: "Fjalla One", sans-serif;
  color: var(--primary);
  font-size: 17px;
}
.contact-info-box p { margin: 0; color: #444; font-size: 14px; line-height: 1.5; }

.contact-form {
  background: #fff;
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
}
.contact-form h3 {
  margin: 0 0 18px;
  font-family: "Fjalla One", sans-serif;
  color: var(--primary);
  font-size: 22px;
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
@media (max-width: 600px) { .contact-form .form-row { grid-template-columns: 1fr; } }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  background: #fafafa;
  transition: border-color .2s, background .2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}
.contact-form textarea { resize: vertical; margin-bottom: 14px; }
.contact-form .btn-primary { border: none; cursor: pointer; }

/* ========== Map ========== */
.map-section { line-height: 0; }
.map-section iframe { display: block; }

/* ========== Search page ========== */
.search-form {
  max-width: 760px;
  margin: 24px auto 0;
  background: #fff;
  padding: 22px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
}
.search-row {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 10px;
}
@media (max-width: 700px) { .search-row { grid-template-columns: 1fr; } }
.search-form select,
.search-form input {
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  background: #fafafa;
}
.search-form select:focus,
.search-form input:focus { outline: none; border-color: var(--primary); background: #fff; }
.search-form .btn-primary { border: none; cursor: pointer; white-space: nowrap; }
.search-result { max-width: 760px; margin: 24px auto 0; }
.result-card {
  background: #fff;
  padding: 22px;
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,.07);
}
.result-card h3 { margin: 0 0 8px; color: var(--primary); font-family: "Fjalla One", sans-serif; }
.result-card p { margin: 4px 0; color: #444; }
.search-help {
  max-width: 760px;
  margin: 30px auto 0;
  text-align: center;
  background: #fff8e1;
  padding: 18px;
  border-radius: 8px;
  border: 1px dashed var(--accent);
}
.search-help h3 { margin: 0 0 6px; color: var(--primary); font-family: "Fjalla One", sans-serif; }
.search-help a { color: var(--primary); font-weight: 600; }

/* ========== Join us page extras ========== */
.contact-form select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  background: #fafafa;
  transition: border-color .2s, background .2s;
}
.contact-form select:focus { outline: none; border-color: var(--primary); background: #fff; }
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 8px 0 14px;
  font-size: 14px;
  color: #444;
}
.checkbox-row input[type="checkbox"] { margin-top: 3px; accent-color: var(--primary); }

/* ========== AJAX Member result cards ========== */
.result-count {
  max-width: 760px;
  margin: 18px auto 10px;
  font-size: 14px;
  color: #444;
}
.result-card.loading { background: #fffaf0; border-left-color: var(--accent); }
.result-card.error { border-left-color: #b91c1c; background: #fef2f2; }
.member-result-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  max-width: 760px;
  margin: 14px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  overflow: hidden;
  border-top: 4px solid var(--primary);
}
@media (max-width: 600px) {
  .member-result-card { grid-template-columns: 1fr; }
}
.mr-photo {
  background: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}
.mr-photo img { width: 100%; height: 100%; object-fit: cover; }
.mr-photo .no-photo {
  color: #999;
  font-size: 13px;
  font-style: italic;
}
.mr-body { padding: 18px 18px 18px 0; }
@media (max-width: 600px) { .mr-body { padding: 0 18px 18px; } }
.mr-body h3 {
  margin: 0 0 4px;
  color: var(--primary);
  font-family: "Fjalla One", sans-serif;
  font-size: 22px;
}
.mr-body .role { margin-bottom: 12px; }
.mr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
  margin-bottom: 14px;
}
@media (max-width: 700px) { .mr-grid { grid-template-columns: 1fr; } }
.mr-grid p { margin: 4px 0; font-size: 14px; color: #444; }
.mr-grid strong { color: var(--primary-dark); }
.mr-btn {
  display: inline-block;
  font-size: 13px;
  padding: 8px 16px;
}
