/* ===========================
   RESET & BASE
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #eef4fb;
  color: #2c3e50;
  overflow-x: hidden;
}
/* Force all page sections above sky-bg */
main {
  position: relative;
  z-index: 1;
}

main section,
main .section {
  position: relative;
  z-index: 1;
}

/* ===========================
   SKY BACKGROUND
=========================== */
.sky-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse at 10% 30%, rgba(180,210,255,0.5) 0%, transparent 60%),
    radial-gradient(ellipse at 90% 60%, rgba(200,230,200,0.3) 0%, transparent 50%),
    linear-gradient(180deg, #dceeff 0%, #eef4fb 40%, #e4f0e8 100%);
}

.sparkle {
  position: absolute;
  color: #a8c8e8;
  font-size: 1rem;
  animation: twinkle 3s infinite alternate;
  opacity: 0.5;
}

.sparkle:nth-child(even) {
  animation-delay: 1.5s;
  font-size: 0.75rem;
  color: #b8d4c0;
}

@keyframes twinkle {
  0%   { opacity: 0.15; transform: scale(0.8); }
  100% { opacity: 0.7;  transform: scale(1.2); }
}

/* ===========================
   NAVBAR
=========================== */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 2.5rem;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

.nav-logo a { display: flex; align-items: center; }
.nav-logo .logo-img {
  height: 62px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 0.2rem;
  align-items: center;
}

.nav-links li a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #2c3e50;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  transition: all 0.2s;
}

.nav-links li a i {
  font-size: 0.8rem;
  opacity: 0.7;
}

.nav-links li a:hover {
  color: #2e7d47;
  background: #f0f8f4;
}

.nav-links .nav-join-item a {
  background: #2e7d47;
  color: white;
  border-radius: 20px;
  padding: 0.45rem 1rem;
}

.nav-links .nav-join-item a:hover {
  background: #245f38;
  color: white;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.btn-login {
  background: #2e7d47;
  color: white;
  border: none;
  padding: 0.5rem 1.3rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.2s;
  text-decoration: none;
}

.btn-login:hover { background: #245f38; }

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: white;
  border: 1.5px solid #e8f0f8;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
}

.hamburger:hover {
  background: #f0f8f4;
  border-color: #2e7d47;
}

.ham-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: #1a3c5e;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animate to X when active */
.hamburger.active .ham-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active .ham-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active .ham-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile overlay ── */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(3px);
  z-index: 1998;
  transition: opacity 0.3s;
}

.mobile-menu-overlay.open { display: block; }

/* ── Mobile Drawer ── */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: white;
  z-index: 1999;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.15);
  overflow-y: auto;
}

.mobile-drawer.open { right: 0; }

/* Drawer header */
/* ── Mobile overlay ── */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,30,60,0.45);
  backdrop-filter: blur(4px);
  z-index: 1998;
}
.mobile-menu-overlay.open { display: block; }

/* ── Mobile Drawer ── */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  height: 100vh;
  background: #e8eaed;
  z-index: 1999;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.18);
  overflow: hidden;
}
.mobile-drawer.open { right: 0; }

.mobile-drawer-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
  background: #e8eaed;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.mobile-drawer-brand { color: #1a3c5e; }
.mobile-drawer-sub   { color: #888; }

.mobile-drawer-close {
  margin-left: auto;
  background: white;
  border: 1px solid #ddd;
  color: #555;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: all 0.2s;
}

.mobile-drawer-close:hover {
  background: #fdecea;
  color: #c0392b;
  border-color: #f5c6cb;
}

.mobile-drawer-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.mobile-drawer-brand {
  font-size: 0.95rem;
  font-weight: 800;
  color: #1a3c5e;
  margin: 0;
  line-height: 1.2;
}

.mobile-drawer-sub {
  font-size: 0.68rem;
  color: #888;
  margin: 0;
}

.mobile-drawer-close {
  margin-left: auto;
  background: white;
  border: 1px solid #e0e4eb;
  color: #1a3c5e;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
  flex-shrink: 0;
}
.mobile-drawer-close:hover {
  background: #fdecea;
  border-color: #c0392b;
  color: #c0392b;
}

/* Nav items */
.mobile-drawer-nav {
  flex: 1;
  overflow-y: auto;
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: #2c3e50;
  font-size: 1rem;
  font-weight: 500;
  background: white;
  border-radius: 50px;           /* full pill shape */
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  transition: all 0.18s;
  border: none;
}

.mobile-nav-link:hover {
  background: #2e7d47;
  color: white;
  transform: scale(1.01);
  box-shadow: 0 4px 14px rgba(46,125,71,0.25);
}

.mobile-nav-link:hover {
  background: #2e7d47;
  color: white;
  transform: scale(1.01);
  box-shadow: 0 4px 14px rgba(46,125,71,0.25);
}

.mobile-nav-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eaecf0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #2c3e50;
  flex-shrink: 0;
  transition: all 0.18s;
}

.mobile-nav-link:hover .mobile-nav-icon {
  background: rgba(255,255,255,0.25);
  color: white;
}

.mobile-nav-arrow {
  margin-left: auto;
  font-size: 0.65rem;
  color: #bbb;
  transition: all 0.18s;
}

.mobile-nav-link:hover .mobile-nav-arrow {
  color: rgba(255,255,255,0.7);
  transform: translateX(2px);
}

/* Footer */
.mobile-drawer-footer {
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #f0f2f5;
  border-top: 1px solid rgba(0,0,0,0.06);
  flex-shrink: 0;
}

.mobile-login-btn {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  background: white;
  color: #1a3c5e;
  border-radius: 16px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  transition: all 0.2s;
  border: 2px solid #2e7d47;
}

.mobile-login-btn i:first-child {
  width: 36px;
  height: 36px;
  background: #e8f5ee;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2e7d47;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.mobile-login-btn:hover {
  background: #2e7d47;
  color: white;
  box-shadow: 0 4px 14px rgba(46,125,71,0.3);
}

.mobile-footer-sub-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.mobile-sub-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 0.5rem;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

/* Nav user pill (logged in member/volunteer) */
.nav-user-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  border: 1.5px solid #e8f0f8;
  border-radius: 25px;
  padding: 0.3rem 0.8rem 0.3rem 0.3rem;
  cursor: pointer;
  position: relative;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a3c5e;
  transition: all 0.2s;
  text-decoration: none;
}

.nav-user-pill:hover {
  border-color: #2e7d47;
  box-shadow: 0 2px 10px rgba(46,125,71,0.15);
}

.nav-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e8f4ec;
  display: block;
}

.nav-user-avatar-placeholder {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c8e6d4, #a8d4f0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #2e7d47;
  flex-shrink: 0;
}

.nav-user-avatar-placeholder {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c8e6d4, #a8d4f0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #2e7d47;
}

.nav-user-name {
  max-width: 100px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Dropdown */
.nav-user-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  min-width: 180px;
  z-index: 2000;
  overflow: hidden;
  border: 1px solid #eef2f8;
}

.nav-user-pill:hover .nav-user-dropdown { display: block; }

.nav-user-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1a3c5e;
  text-decoration: none;
  transition: background 0.15s;
}

.nav-user-dropdown a:hover { background: #f0f8f4; }
.nav-user-dropdown a i { width: 16px; color: #2e7d47; }

.nav-dropdown-divider {
  height: 1px;
  background: #f0f4f8;
  margin: 0.2rem 0;
}

.green-sub  { background: white; color: #2e7d47; border: 1.5px solid #c3e6cb; }
.green-sub:hover  { background: #2e7d47; color: white; border-color: #2e7d47; }
.orange-sub { background: white; color: #e07b2a; border: 1.5px solid #fdd3a8; }
.orange-sub:hover { background: #e07b2a; color: white; border-color: #e07b2a; }

@media (max-width: 768px) {
  .navbar { padding: 0.5rem 1.2rem; }
  .nav-links { display: none !important; }
  .nav-right .btn-login { display: flex; }
  .hamburger { display: flex; }
}

@media (max-width: 480px) {
  .mobile-drawer { width: 290px; right: -310px; }
}
/* ===========================
   HERO SECTION
=========================== */
.hero-section {
  position: relative;
  background: linear-gradient(155deg, #1a4a6e 0%, #2e7d47 55%, #4aaa68 100%);
  overflow: hidden;
  z-index: 1;
}

.wave-top {
  position: absolute;
  top: -1px; left: 0;
  width: 100%;
  line-height: 0;
  z-index: 2;
}

.wave-top svg {
  display: block;
  width: 100%;
  height: 70px;
}

.wave-bottom {
  position: absolute;
  bottom: -1px; left: 0;
  width: 100%;
  line-height: 0;
  z-index: 2;
}

.wave-bottom svg {
  display: block;
  width: 100%;
  height: 70px;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 5rem 4rem 2rem;
   max-width: 700px;
  color: white;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.hero-content p {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.87);
  margin-bottom: 1.8rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Green primary button */
.btn-primary {
  background: #2e7d47;
  color: white;
  padding: 0.72rem 1.8rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-primary:hover {
  background: #245f38;
  transform: translateY(-2px);
}

/* Blue outline button (Learn More) */
.btn-outline-blue {
  background: transparent;
  color: white;
  padding: 0.72rem 1.8rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid #5b9bd5;
  color: #a8d4ff;
  transition: all 0.2s;
  display: inline-block;
}

.btn-outline-blue:hover {
  background: rgba(91,155,213,0.2);
  color: white;
}

/* Hero video */

.services-hero {
  position: relative;
  min-height: 540px;
  border-radius: 28px;
  overflow: hidden;
  margin-bottom: 2rem;
  background: none; /* ❌ removes green */
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 50, 38, 0.45);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 9rem 4rem 9rem;
  max-width: 700px;
  color: white;
}

/* ===========================
   TWO COLUMN: BOARD + ACHIEVE
=========================== */
.two-col-section {
  display: grid;
   grid-template-columns: 70% 30%;
    gap: 0;
   padding: 3rem 0 5rem 6%;
  position: relative;
  z-index: 1;
  align-items: start;
}


.col-left h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: #1a3c5e;
  margin-bottom: 1.8rem;
  text-align: center;
}

.col-right h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: #1a3c5e;
  margin-bottom: 1.8rem;
  text-align: left;
}

/* Board grid inside left col */
.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  justify-items: center;

}

.board-card {
  text-align: center;
}

.board-photo-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 0.7rem;
  border: 3px solid white;
  box-shadow: 0 4px 16px rgba(46,125,71,0.2);
  background: linear-gradient(135deg, #c8e6d4, #a8d4f0);
  display: flex;
  align-items: center;
  justify-content: center;
}

.board-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.board-photo-placeholder {
  font-size: 2.2rem;
  opacity: 0.45;
}

.board-card h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1a3c5e;
  margin-bottom: 0.15rem;
}

.board-card p {
  font-size: 0.78rem;
  color: #777;
}


/* ===========================
   BOARD MEMBERS PUBLIC CARDS
=========================== */
.bm-public-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.bm-public-header h2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: #1a3c5e;
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}

.bm-public-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.bm-public-divider::before,
.bm-public-divider::after {
  content: '';
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c9a227, transparent);
  border-radius: 2px;
}

.bm-divider-gem {
  color: #c9a227;
  font-size: 1rem;
}

/* Grid */
.bm-public-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
  position: relative;
  padding-right: 2.5rem;
  z-index: 1;
}

/* Card */
.bm-public-card {
  background: white;
  border-radius: 24px;
  padding: 2rem 1.5rem 1.2rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(26,60,94,0.10);
  border: 1.5px solid rgba(200,220,240,0.6);
  position: relative;
  z-index: 1;
  transition: transform 0.2s, box-shadow 0.2s;
}

.bm-public-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(26,60,94,0.15);
}

/* Star badge */
.bm-star-badge {
  position: absolute;
  top: -10px;
  right: 18px;
  background: #c9a227;
  color: white;
  width: 36px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
  border-radius: 4px 4px 0 0;
}

/* Photo */
.bm-public-photo-wrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  overflow: hidden;
  border: 4px solid white;
  box-shadow: 0 0 0 3px #2e7d47, 0 4px 16px rgba(46,125,71,0.2);
  background: linear-gradient(135deg, #a8d8ea, #8ec5fc);
}

.bm-public-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bm-public-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.8);
  background: linear-gradient(135deg, #a8d8ea, #8ec5fc);
}

/* Name & title */
.bm-public-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1a3c5e;
  margin-bottom: 0.25rem;
}

.bm-public-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #c9a227;
  margin-bottom: 0;
}

/* Divider rule */
.bm-public-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0;
}

.bm-public-rule::before,
.bm-public-rule::after {
  content: '';
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, #c9a227, transparent);
  border-radius: 2px;
}

.bm-rule-gem {
  color: #c9a227;
  font-size: 0.75rem;
}

/* About badge */
.bm-about-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #deeeff;
  color: #1a3c5e;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  margin-bottom: 0.8rem;
}

.bm-public-bio {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.65;
  margin-bottom: 1rem;
}

/* Contact rows */
.bm-public-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.bm-contact-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #f0f6ff;
  border-radius: 25px;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  color: #1a3c5e;
  font-weight: 500;
}

.bm-contact-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1a73e8;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  flex-shrink: 0;
}

/* Bottom ornament */
.bm-card-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
  padding-top: 0.8rem;
  border-top: 1px dashed rgba(201,162,39,0.3);
}

.bm-card-bottom::before,
.bm-card-bottom::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,162,39,0.4), transparent);
}

.bm-bottom-gem {
  color: #c9a227;
  font-size: 0.7rem;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
  .bm-public-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .bm-public-grid {
    grid-template-columns: 1fr;
  }
}


/* Bio short + more button */
.bm-public-bio-short {
  font-size: 0.83rem;
  color: #666;
  line-height: 1.55;
  margin-bottom: 0.8rem;
  text-align: center;
}

.bm-more-btn {
  background: none;
  border: none;
  color: #2e7d47;
  font-size: 0.83rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.bm-more-btn:hover { color: #1a5c30; }

/* Social buttons on card */
.bm-social-row {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.bm-social-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 0.82rem;
  transition: transform 0.2s, opacity 0.2s;
}

.bm-social-btn:hover {
  transform: scale(1.12);
  opacity: 0.85;
}

.facebook-btn { background: #1877f2; }
.linkedin-btn { background: #0a66c2; }

/* Board member detail modal */
/* Board member detail modal */
.bm-detail-modal {
  max-width: 480px;
  padding: 0;
  overflow: hidden;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

@media (max-width: 600px) {
  .bm-detail-modal {
    max-width: 100%;
    width: calc(100% - 2rem);
    max-height: 85vh;
    border-radius: 20px;
  }
}

.bm-modal-photo-wrap {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  margin: 1.5rem auto 1rem;
  border: 4px solid white;
  box-shadow: 0 0 0 3px #2e7d47, 0 4px 20px rgba(46,125,71,0.2);
  background: linear-gradient(135deg, #a8d8ea, #8ec5fc);
  flex-shrink: 0;
}

.bm-modal-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 50%;
}

.bm-modal-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Achievement cards */
.achieve-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 0.6rem;
  background: white;
  border-radius: 10px;
  padding: 0.5rem 0.7rem;
  margin: 0 0 0.5rem 0;          /* no left/right margin at all */
  width: 100%;                    /* full width of parent */
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s;
}

.achieve-card h3 {
  font-size: 0.72rem;
  font-weight: 700;
  color: #1a3c5e;
  margin-bottom: 0.2rem;
}

.achieve-card p {
  font-size: 0.84rem;
  color: #666;
  line-height: 1.5;
}

.achieve-card:hover {
  transform: translateY(-3px);
}

.achieve-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.achieve-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* Show emoji if image fails to load */
.achieve-icon img::after {
  content: attr(alt);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.achieve-card h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1a3c5e;
  margin-bottom: 0.1rem;
  line-height: 1.2;
}

.achieve-card p {
  font-size: 0.76rem;
  color: #666;
  line-height: 1.3;
}

/* ===========================
   GET INVOLVED
=========================== */
.col-right {
  border-left: 2px solid rgba(26, 60, 94, 0.12);
  padding-left: 2.5rem;

  /* 3D floating panel effect */
  background: linear-gradient(160deg, #f0f8ff 0%, #e8f4fb 50%, #edf6f0 100%);
  border-radius: 24px 0 0 0;   /* only top-left rounded, top-right flush */
  padding: 2rem 2.5rem 2rem 2.5rem;
  margin-top: -3rem;  
  box-shadow:
    0 2px 0px #c8daf0,
    0 4px 0px #bdd0ec,
    0 6px 0px #b2c6e8,
    0 8px 0px #a7bce4,
    0 12px 30px rgba(26, 60, 94, 0.18),
    0 24px 50px rgba(26, 60, 94, 0.10);

  transform: perspective(800px) rotateX(1.5deg) translateY(-4px);
  transform-origin: top center;
  transform-style: preserve-3d;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  border-top: 1px solid rgba(255,255,255,0.95);
  border-left: 1px solid rgba(255,255,255,0.8);

  position: relative;
}

/* Subtle gloss shine on top */
.col-right::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 45%;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.col-right > * {
  position: relative;
  z-index: 1;
}

.col-right:hover {
  transform: perspective(800px) rotateX(0deg) translateY(-8px);
  box-shadow:
    0 2px 0px #c8daf0,
    0 4px 0px #bdd0ec,
    0 6px 0px #b2c6e8,
    0 16px 40px rgba(26, 60, 94, 0.22),
    0 32px 60px rgba(26, 60, 94, 0.12);
}

.get-involved {
  margin-top: 2rem;
  text-align: left;
}

.get-involved h2 {
  font-size: 1.5rem;
  color: #1a3c5e;
  margin-bottom: 1rem;
}

.btn-member {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #2e7d47;
  color: white;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.97rem;
  margin-bottom: 0.8rem;
  transition: background 0.2s, transform 0.15s;
}

.btn-member:hover {
  background: #245f38;
  transform: translateY(-2px);
}

.btn-volunteer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #e07b2a;
  color: white;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.97rem;
  margin-bottom: 1.5rem;
  transition: background 0.2s, transform 0.15s;
}

.btn-volunteer:hover {
  background: #c0661e;
  transform: translateY(-2px);
}

/* Social icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  transition: transform 0.2s, opacity 0.2s;
}

.social-icon:hover {
  transform: scale(1.1);
  opacity: 0.85;
}

.facebook { background: #1877f2; }
.twitter  { background: #1da1f2; }
.email    { background: #2e7d47; }

/* ===========================
   CONTACT SECTION
=========================== */
.contact-section {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  padding: 4rem 8%;
  position: relative;
  z-index: 1;
  text-align: center;
}

.contact-section h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: #1a3c5e;
  margin-bottom: 0.7rem;
}

.contact-section > p {
  color: #555;
  font-size: 0.97rem;
  margin-bottom: 2rem;
}

.contact-rows {
  display: inline-flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  color: #2c3e50;
}

.contact-icon {
  font-size: 1.3rem;
}

.contact-row a {
  color: #2e7d47;
  text-decoration: none;
  font-weight: 500;
}

.contact-row a:hover {
  text-decoration: underline;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: #1a3c5e;
  color: #aac8e8;
  text-align: center;
  padding: 2.5rem;
  position: relative;
  z-index: 1;
  margin-top: 3rem;
}

.footer p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.footer a {
  color: #cce0f5;
  text-decoration: none;
  margin: 0 0.4rem;
}

.footer a:hover { color: white; }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
  .two-col-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 5%;
  }

  .board-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .col-right {
    margin-top: 2rem;  
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    padding: 1rem 2rem 1.5rem;
    gap: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 1000;
    border-top: 1px solid #eef4fb;
  }

  .nav-links.open { display: flex; }
  .hamburger { display: flex; align-items: center; justify-content: center; }

  .hero-content {
    padding: 3rem 1.5rem 2rem;
  }

  .hero-content h1 {
    font-size: 1.85rem;
  }

  .board-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .board-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }
}



/* ===========================
   AUTH PAGES
=========================== */
.auth-wrapper {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  position: relative;
  z-index: 1;
}

.auth-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 8px 40px rgba(26,60,94,0.12);
  text-align: center;
}

.wide-card {
  max-width: 580px;
}

.auth-logo img {
  height: 70px;
  margin-bottom: 1rem;
}

.auth-card h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: #1a3c5e;
  margin-bottom: 0.3rem;
}

.auth-sub {
  color: #777;
  font-size: 0.92rem;
  margin-bottom: 1.8rem;
}

.auth-form {
  text-align: left;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.35rem;
}

.form-group input {
  width: 100%;
  padding: 0.65rem 1rem;
  border: 1.5px solid #d0dde8;
  border-radius: 10px;
  font-size: 0.92rem;
  color: #2c3e50;
  transition: border 0.2s;
  outline: none;
}

.form-group input:focus {
  border-color: #2e7d47;
}

.checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1rem;
  margin-top: 0.4rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 400;
  color: #2c3e50;
  background: #f8fafc;
  border: 1.5px solid #d0dde8;
  border-radius: 8px;
  padding: 0.5rem 0.8rem;
  transition: border-color 0.2s, background 0.2s;
}

.checkbox-item:hover {
  border-color: #2e7d47;
  background: #f0f8f4;
}

.checkbox-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #2e7d47;
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-item input[type="checkbox"]:checked + span {
  color: #2e7d47;
  font-weight: 600;
}

.checkbox-item:has(input:checked) {
  border-color: #2e7d47;
  background: #e8f5ee;
}

.hint {
  font-weight: 400;
  color: #999;
  font-size: 0.8rem;
}

.btn-auth {
  width: 100%;
  padding: 0.8rem;
  background: #2e7d47;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s, transform 0.1s;
}

.btn-auth:hover {
  background: #245f38;
  transform: translateY(-1px);
}

.auth-links {
  margin-top: 1.5rem;
  font-size: 0.88rem;
  color: #666;
}

.auth-links a {
  color: #2e7d47;
  font-weight: 600;
  text-decoration: none;
}

.auth-links a:hover {
  text-decoration: underline;
}

/* Alerts */
.alert {
  padding: 0.8rem 1rem;
  border-radius: 10px;
  margin-bottom: 1.2rem;
  font-size: 0.88rem;
  text-align: left;
}

.alert-error {
  background: #fdecea;
  color: #c0392b;
  border: 1px solid #f5c6cb;
}

.alert-success {
  background: #e8f5e9;
  color: #2e7d47;
  border: 1px solid #c3e6cb;
}

/* Dashboard */
.dashboard-wrapper {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

a.btn-login {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-subscribe {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #5b9bd5;
  color: white;
  border: none;
  padding: 0.85rem 1.5rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.97rem;
  margin-bottom: 1.5rem;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s, transform 0.15s;
}

.btn-subscribe:hover {
  background: #3a7abf;
  transform: translateY(-2px);
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.modal-overlay.open {
  display: flex;
}

.modal-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  margin: 1rem;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  animation: modalIn 0.25s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(-20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

.modal-close {
  position: absolute;
  top: 1rem; right: 1.2rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #aaa;
  cursor: pointer;
  line-height: 1;
  z-index: 10;
}

.modal-close:hover { color: #333; }

/* Tap-friendly close area at bottom of modal for mobile */
.modal-tap-close {
  display: none;
  width: 100%;
  padding: 1rem;
  background: none;
  border: none;
  border-top: 1px solid #f0f4f8;
  color: #c0392b;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .modal-tap-close { display: block; }

  /* Make overlay easier to tap to dismiss */
  .modal-overlay {
    padding: 1rem;
    align-items: flex-end;
  }

  .modal-card {
    margin: 0;
    border-radius: 20px 20px 16px 16px;
  }
}

.modal-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.modal-header h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1a3c5e;
  margin: 0.5rem 0 0.3rem;
}

.modal-header p {
  font-size: 0.88rem;
  color: #777;
}

/* ===========================
   SERVICES PAGE
=========================== */
.services-hero-section {
  min-height: 520px;
  position: relative;
  overflow: hidden;
  background: none !important;
}

/* Image fills the entire green area */
.services-hero-bg-img-wrap {
  position: absolute;
  top: -10px;      /* extends behind top wave */
  bottom: -10px;   /* extends behind bottom wave */
  left: 0;
  right: 0;
  z-index: 1;
}

.services-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dark overlay so text stays readable */
.services-hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 60, 40, 0.45);
}

.services-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1rem;
}

.services-breadcrumb a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}

.services-breadcrumb a:hover { color: white; }

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.service-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.service-card-image-wrap {
  height: 180px;
  overflow: hidden;
}

.service-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8f4ec, #a8d4f0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #2e7d47;
}

.service-card-body {
  padding: 1.3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  z-index: 10;              /* higher than sky-bg */
  background: white;
  isolation: isolate;       /* creates new stacking context */
}

.service-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a3c5e;
}

.service-card-body p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.5;
  flex: 1;
}

.service-card-btn {
  background: #2e7d47;
  color: white;
  border: none;
  padding: 0.55rem 1.2rem;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.2s;
}

.contact-row .contact-icon {
  font-size: 1.1rem;
  color: #2e7d47;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.service-card-btn:hover { background: #245f38; }

/* Category color accents */
.service-card-transportation .service-card-image-wrap { background: #e3f2fd; }
.service-card-education      .service-card-image-wrap { background: #e8f5e9; }
.service-card-emergency      .service-card-image-wrap { background: #fff3e0; }
.service-card-cultural       .service-card-image-wrap { background: #f3e5f5; }
.service-card-administrative .service-card-image-wrap { background: #e0f7fa; }

/* Pagination */
.services-pagination {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2.5rem;
}

.pagination-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #d0dde8;
  background: white;
  color: #1a3c5e;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
}

.pagination-btn:hover  { border-color: #2e7d47; color: #2e7d47; }
.pagination-btn.active { background: #2e7d47; border-color: #2e7d47; color: white; }

.empty-services {
  text-align: center;
  color: #aaa;
  font-size: 1rem;
  padding: 3rem;
}

/* Service detail modal */
.service-modal-card {
  max-width: 560px;
  padding: 0;
  overflow: hidden;
}

.service-modal-body {
  padding: 1.5rem 2rem 1rem;
}

.service-modal-badge {
  display: inline-block;
  background: #e8f4ec;
  color: #2e7d47;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  text-transform: capitalize;
  margin-bottom: 0.6rem;
}

.service-modal-body h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1a3c5e;
  margin-bottom: 0.8rem;
}

.service-modal-body p {
  font-size: 0.93rem;
  color: #555;
  line-height: 1.7;
}

.service-modal-footer {
  padding: 1rem 2rem 1.5rem;
  border-top: 1px solid #f0f4f8;
}

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}

.service-card-top h3 {
  margin-bottom: 0;
  flex: 1;
}

.service-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.service-status-badge i {
  font-size: 0.5rem;
}

.service-status-active {
  background: #e8f5e9;
  color: #2e7d47;
  border: 1px solid #c3e6cb;
}

.service-status-inactive {
  background: #fdecea;
  color: #c0392b;
  border: 1px solid #f5c6cb;
}


.service-card-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: auto;
  position: relative;
  z-index: 10;
}

.service-share-btn {
  background: #f0f6ff;
  color: #1a3c5e;
  border: 1.5px solid #d0dde8;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}

.service-share-btn:hover {
  background: #2e7d47;
  color: white;
  border-color: #2e7d47;
  transform: scale(1.1);
}

/* Share toast notification */
.share-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1a3c5e;
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 99999;
  pointer-events: none;
  white-space: nowrap;
}

.share-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.section.alt-section {
  margin-bottom: 2rem;
}
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-hero-image-below img {
    margin: 0 auto;
  }
}

@media (max-width: 700px) {
  .services-shell {
    padding: 1.2rem;
  }

  .services-hero-text h1 {
    font-size: 2.3rem;
  }

  .services-hero-text h2 {
    font-size: 1.4rem;
  }

  .services-hero-text p {
    font-size: 1rem;
  }

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

  .service-card-image-wrap {
    height: 200px;
  }

  .services-cta h2 {
    font-size: 1.4rem;
  }
}



/* ===========================
   EVENTS PAGE
=========================== */
.events-hero-section {
  min-height: 420px;
}

.events-page-body {
  display: grid;
  grid-template-columns: 62fr 38fr;
  gap: 0;
  padding: 3rem 0 5rem 4%;
  position: relative;
  z-index: 1;
  align-items: start;
}

/* ── Left column ── */
.events-left {
  padding-right: 2rem;
  position: relative;
  z-index: 1;
}

/* Search bar */
.events-search-bar {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 30px;
  padding: 0.5rem 0.5rem 0.5rem 1.2rem;
  box-shadow: 0 3px 14px rgba(0,0,0,0.08);
  margin-bottom: 1rem;
  gap: 0.6rem;
}

.events-search-bar i {
  color: #aaa;
  font-size: 1rem;
}

.events-search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.92rem;
  color: #2c3e50;
  background: transparent;
}

.events-search-bar button {
  background: #2e7d47;
  color: white;
  border: none;
  padding: 0.55rem 1.3rem;
  border-radius: 25px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.2s;
}

.events-search-bar button:hover { background: #245f38; }

/* Filter row */
.events-filter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.events-filter-select {
  background: white;
  border: 1.5px solid #d0dde8;
  border-radius: 25px;
  padding: 0.5rem 1.2rem;
  font-size: 0.88rem;
  color: #2c3e50;
  cursor: pointer;
  outline: none;
}

/* Event list card */
.event-list-card {
  background: white;
  border-radius: 16px;
  margin-bottom: 1.2rem;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
  position: relative;
  z-index: 1;
}

.event-list-card:hover { transform: translateY(-3px); }

.event-list-img {
  height: 200px;
  overflow: hidden;
}

.event-list-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-list-body {
  padding: 1.3rem 1.5rem;
  position: relative;
  z-index: 1;
  background: white;
}

.event-category-badge {
  display: inline-block;
  background: #2e7d47;
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  text-transform: capitalize;
  margin-bottom: 0.6rem;
}

.event-list-body h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1a3c5e;
  margin-bottom: 0.7rem;
  line-height: 1.3;
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 0.4rem;
}

.event-meta i { color: #2e7d47; width: 16px; }

.event-list-desc {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.6;
  margin: 0.8rem 0;
}

.event-list-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid #f0f4f8;
}

.event-posted-date {
  font-size: 0.75rem;
  color: #aaa;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.event-learn-btn {
  background: #2e7d47;
  color: white;
  border: none;
  padding: 0.55rem 1.4rem;
  border-radius: 25px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.event-learn-btn:hover { background: #245f38; }

.empty-events {
  text-align: center;
  padding: 3rem;
  color: #aaa;
}

.empty-events i { font-size: 2.5rem; margin-bottom: 1rem; display: block; }

/* Contact bar */
.events-contact-bar {
  background: white;
  border-radius: 16px;
  padding: 1.5rem 2rem;
  box-shadow: 0 3px 14px rgba(0,0,0,0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.events-contact-bar h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a3c5e;
  margin-bottom: 0.3rem;
}

.events-contact-bar p {
  font-size: 0.83rem;
  color: #777;
}

.events-contact-bar-btns {
  display: flex;
  gap: 0.8rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.event-contact-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.3rem;
  border-radius: 25px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.green-btn  { background: #2e7d47; color: white; }
.green-btn:hover  { background: #245f38; }
.orange-btn { background: #e07b2a; color: white; }
.orange-btn:hover { background: #c0661e; }

/* ── Right sidebar ── */
.events-right {
  position: relative;
  z-index: 1;
}

/* Sidebar upcoming events */
.events-sidebar-upcoming {
  margin-top: 1.5rem;
}

.events-sidebar-upcoming h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1a3c5e;
  margin-bottom: 0.8rem;
}

.sidebar-event-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  background: white;
  border-radius: 12px;
  padding: 0.8rem 1rem;
  margin-bottom: 0.6rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.sidebar-event-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-event-info { flex: 1; }

.sidebar-event-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a3c5e;
  display: block;
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.sidebar-event-date {
  font-size: 0.72rem;
  color: #aaa;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Plans sidebar */
.events-sidebar-plans {
  margin-top: 1.5rem;
}

.events-sidebar-plans h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1a3c5e;
  margin-bottom: 0.8rem;
}

.sidebar-plan-item {
  background: white;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.sidebar-plan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.3rem;
  gap: 0.5rem;
}

.sidebar-plan-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1a3c5e;
  flex: 1;
  line-height: 1.3;
}

.sidebar-plan-type {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.plan-short { background: #e8f5e9; color: #2e7d47; }
.plan-long  { background: #e8f0fe; color: #1a73e8; }

.sidebar-plan-date {
  font-size: 0.72rem;
  color: #aaa;
  display: block;
  margin-bottom: 0.5rem;
}

/* Progress bar */
.plan-progress-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.plan-progress-bar {
  flex: 1;
  height: 7px;
  background: #e8f0f8;
  border-radius: 10px;
  overflow: hidden;
}

.plan-progress-fill {
  height: 100%;
  border-radius: 10px;
  transition: width 0.5s ease;
}

.plan-progress-label {
  font-size: 0.7rem;
  color: #888;
  font-weight: 600;
  white-space: nowrap;
}

/* Event modal meta */
.event-modal-meta {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* Responsive */
@media (max-width: 900px) {
  .events-page-body {
    grid-template-columns: 1fr;
    padding: 2rem 4%;
  }

  .events-right {
    margin-top: 2rem;
    border-radius: 24px;
  }

  .events-contact-bar {
    flex-direction: column;
    text-align: center;
  }
}


/* ===========================
   ABOUT US PAGE
=========================== */
.about-hero-section {
  min-height: 520px;
}

/* Mission / Vision / Values */
.about-mvv-section {
  padding: 4rem 6%;
  position: relative;
  z-index: 1;
}

.about-mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.about-mvv-card {
  background: white;
  border-radius: 20px;
  padding: 2rem 1.8rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  position: relative;
  z-index: 1;
  transition: transform 0.2s;
}

.about-mvv-card:hover {
  transform: translateY(-5px);
}

.about-mvv-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.about-mvv-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1a3c5e;
  margin-bottom: 0.8rem;
}

.about-mvv-card p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.7;
}

.about-values-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.about-values-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #2c3e50;
}

/* Community Impact */
.about-impact-section {
  padding: 2rem 6% 4rem;
  position: relative;
  z-index: 1;
}

.about-impact-inner {
  max-width: 1100px;
  margin: 0 auto;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 6px 30px rgba(0,0,0,0.08);
  display: grid;
  grid-template-columns: 42% 58%;
}

.about-impact-image {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f8f4;
}

.about-impact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* shows full image, no cropping */
  object-position: center center;
  display: block;
}

.about-impact-text {
  padding: 2.5rem 2.8rem;
  position: relative;
  z-index: 1;
}

.about-impact-text h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a3c5e;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.about-impact-sub {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.about-impact-text p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.75;
}

/* Stats row */
.about-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f0f4f8;
}

.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #2e7d47;
}

.about-stat-label {
  font-size: 0.75rem;
  color: #888;
  font-weight: 600;
  margin-top: 0.2rem;
}

/* CTA section */
.about-cta-section {
  text-align: center;
  padding: 3rem 6%;
  position: relative;
  z-index: 1;
}

.about-cta-section h2 {
  font-size: 1.7rem;
  color: #1a3c5e;
  margin-bottom: 1.5rem;
}

.about-cta-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 900px) {
  .about-mvv-grid {
    grid-template-columns: 1fr;
  }

  .about-impact-inner {
    grid-template-columns: 1fr;
  }

  .about-impact-image {
    min-height: 250px;
  }

  .about-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}




/* Form section titles */
.form-section-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a3c5e;
  border-bottom: 1.5px solid #e8f0f8;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Availability grid */
.availability-grid {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.avail-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #f8fafc;
  border: 1.5px solid #e8f0f8;
  border-radius: 10px;
  padding: 0.55rem 1rem;
  flex-wrap: wrap;
}

.avail-day-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a3c5e;
  min-width: 60px;
  cursor: pointer;
}

.avail-day-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #2e7d47;
  cursor: pointer;
}

.avail-times {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.avail-time-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: #555;
}

/* ===========================
   VOLUNTEER DASHBOARD
=========================== */
.vol-dash-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: white;
  border-radius: 20px;
  padding: 1.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  margin-bottom: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.vol-dash-photo-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #e8f4ec;
  box-shadow: 0 0 0 3px #2e7d47;
  flex-shrink: 0;
  background: linear-gradient(135deg, #c8e6d4, #a8d4f0);
}

.vol-dash-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}
.vol-dash-photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #c8e6d4, #a8d4f0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255,255,255,0.8);
}

.vol-dash-header-info h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1a3c5e;
  margin-bottom: 0.2rem;
}

.vol-dash-header-info p {
  font-size: 0.88rem;
  color: #666;
}

.vol-dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.vol-dash-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.vol-dash-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: #1a3c5e;
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1.5px solid #f0f4f8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vol-dash-card-title i { color: #2e7d47; }

.vol-info-rows {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.vol-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: #444;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f5f7fa;
}

.vol-info-label {
  color: #888;
  font-weight: 600;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.vol-info-label i { color: #2e7d47; width: 14px; }

@media (max-width: 900px) {
  .vol-dash-grid {
    grid-template-columns: 1fr;
  }
}

/* Volunteer dashboard avatar fix */
.vol-dash-photo-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid #e8f4ec;
  box-shadow: 0 0 0 3px #2e7d47;
  background: linear-gradient(135deg, #c8e6d4, #a8d4f0);
}

.vol-dash-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.vol-dash-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255,255,255,0.8);
}



/* ===========================
   PUBLIC DOCUMENTS PAGE
=========================== */
.doc-public-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.doc-pub-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  overflow: visible;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1.5px solid #eef2f8;
  transition: transform 0.2s, box-shadow 0.2s;
}

.doc-pub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.11);
}

/* Access badge */
.doc-pub-badge {
  position: absolute;
  top: -12px;
  left: 1.2rem;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.doc-badge-public  { background: #2e7d47; color: white; }
.doc-badge-member  { background: #1a73e8; color: white; }
.doc-badge-board   { background: #e07b2a; color: white; }

/* Body */
.doc-pub-body {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 2rem 1.4rem 1rem;
  flex: 1;
}

.doc-pub-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1.5px solid #eef2f8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.doc-pub-info { flex: 1; }

.doc-pub-info h3 {
  font-size: 1rem;
  font-weight: 800;
  color: #1a3c5e;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.doc-pub-info p {
  font-size: 0.82rem;
  color: #666;
  line-height: 1.55;
}

/* Footer */
.doc-pub-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.4rem;
  border-top: 1px solid #f0f4f8;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.doc-pub-date {
  font-size: 0.75rem;
  color: #aaa;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.doc-pub-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.doc-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #2e7d47;
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}

.doc-view-btn:hover { background: #245f38; }

.doc-dl-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f0f8f4;
  color: #2e7d47;
  border: 1.5px solid #c3e6cb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  text-decoration: none;
  transition: all 0.2s;
}

.doc-dl-btn:hover {
  background: #2e7d47;
  color: white;
  border-color: #2e7d47;
}

/* Help banner */
.doc-help-banner {
  background: white;
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 6px 30px rgba(0,0,0,0.07);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.doc-help-banner h2 {
  font-size: 1.7rem;
  color: #1a3c5e;
  margin-bottom: 0.8rem;
}

.doc-help-banner p {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .doc-public-grid {
    grid-template-columns: 1fr;
  }
}


@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@400;500;600;700&display=swap');

/* ===========================
   DONATION PAGE
=========================== */
.donate-page { font-family: 'DM Sans', sans-serif; }

    /* ── Hero ── */
    .donate-hero {
      position: relative;
      min-height: 320px;
      background: linear-gradient(135deg, #0a2540 0%, #1a4a2e 60%, #2e7d47 100%);
      overflow: hidden;
      display: flex;
      align-items: center;
    }

    .donate-hero-bg {
      position: absolute;
      inset: 0;
      opacity: 0.12;
      background-image:
        radial-gradient(circle at 20% 50%, #4aaa68 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, #5b9bd5 0%, transparent 40%),
        repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(255,255,255,0.02) 40px, rgba(255,255,255,0.02) 41px);
    }

    .donate-hero-content {
      position: relative;
      z-index: 2;
      padding: 4rem 8% 3rem;
      max-width: 700px;
    }

    .donate-hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: rgba(255,255,255,0.12);
      border: 1px solid rgba(255,255,255,0.2);
      color: rgba(255,255,255,0.85);
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 0.35rem 0.9rem;
      border-radius: 20px;
      margin-bottom: 1.2rem;
    }

    .donate-hero h1 {
      font-family: 'DM Serif Display', serif;
      font-size: 3rem;
      font-weight: 400;
      color: white;
      line-height: 1.15;
      margin-bottom: 1rem;
    }

    .donate-hero h1 em {
      font-style: italic;
      color: #7dd4a0;
    }

    .donate-hero p {
      color: rgba(255,255,255,0.72);
      font-size: 1rem;
      line-height: 1.7;
      max-width: 480px;
    }

    .donate-hero-wave {
      position: absolute;
      bottom: -1px; left: 0;
      width: 100%; line-height: 0; z-index: 2;
    }

    /* Floating stats */
    .donate-hero-stats {
      position: absolute;
      right: 8%;
      top: 50%;
      transform: translateY(-50%);
      display: flex;
      flex-direction: column;
      gap: 1rem;
      z-index: 2;
    }

    .donate-stat-pill {
      background: rgba(255,255,255,0.1);
      border: 1px solid rgba(255,255,255,0.18);
      backdrop-filter: blur(10px);
      border-radius: 14px;
      padding: 0.8rem 1.2rem;
      text-align: center;
      min-width: 110px;
    }

    .donate-stat-pill .num {
      font-family: 'DM Serif Display', serif;
      font-size: 1.6rem;
      color: #7dd4a0;
      line-height: 1;
      margin-bottom: 0.2rem;
    }

    .donate-stat-pill .lbl {
      font-size: 0.7rem;
      color: rgba(255,255,255,0.6);
      font-weight: 600;
      letter-spacing: 0.05em;
      text-transform: uppercase;
    }

    /* ── Main Grid ── */
    .donate-body {
      max-width: 1140px;
      margin: 0 auto;
      padding: 3rem 4%;
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 2rem;
      align-items: start;
    }

    /* ── Payment Card ── */
    .payment-card {
      background: white;
      border-radius: 24px;
      box-shadow: 0 8px 48px rgba(10,37,64,0.12);
      overflow: hidden;
    }

    .payment-card-header {
      background: linear-gradient(135deg, #f0f8f4, #e8f4fb);
      padding: 1.6rem 2rem;
      border-bottom: 1px solid #e8f0f8;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .payment-card-header h2 {
      font-family: 'DM Serif Display', serif;
      font-size: 1.5rem;
      color: #0a2540;
      font-weight: 400;
    }

    .secure-badge {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      font-size: 0.72rem;
      color: #2e7d47;
      font-weight: 600;
      background: #e8f5ee;
      padding: 0.3rem 0.8rem;
      border-radius: 20px;
      border: 1px solid #c3e6cb;
    }

    .payment-card-body { padding: 1.8rem 2rem 2rem; }

    /* Amount selector */
    .amount-selector {
      margin-bottom: 1.5rem;
    }

    .amount-label {
      font-size: 0.78rem;
      font-weight: 700;
      color: #888;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-bottom: 0.7rem;
      display: block;
    }

    .amount-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 0.5rem;
      margin-bottom: 0.8rem;
    }

    .amt-btn {
      padding: 0.7rem 0.5rem;
      border-radius: 12px;
      border: 2px solid #e8f0f8;
      background: #f8fafc;
      color: #1a3c5e;
      font-weight: 700;
      font-size: 0.9rem;
      font-family: 'DM Sans', sans-serif;
      cursor: pointer;
      transition: all 0.18s;
      text-align: center;
    }

    .amt-btn:hover { border-color: #2e7d47; background: #f0f8f4; color: #2e7d47; }
    .amt-btn.active {
      background: linear-gradient(135deg, #1a4a2e, #2e7d47);
      border-color: transparent;
      color: white;
      box-shadow: 0 4px 14px rgba(46,125,71,0.35);
      transform: translateY(-1px);
    }

    .custom-amount-wrap {
      position: relative;
    }

    .custom-amount-prefix {
      position: absolute;
      left: 1rem;
      top: 50%;
      transform: translateY(-50%);
      color: #888;
      font-weight: 700;
      font-size: 1rem;
      pointer-events: none;
    }

    .custom-amount-input {
      width: 100%;
      padding: 0.75rem 1rem 0.75rem 2rem;
      border: 2px solid #e8f0f8;
      border-radius: 12px;
      font-size: 1rem;
      font-weight: 700;
      color: #1a3c5e;
      font-family: 'DM Sans', sans-serif;
      outline: none;
      transition: border 0.2s;
      background: #f8fafc;
    }

    .custom-amount-input:focus { border-color: #2e7d47; background: white; }

    /* Donor fields */
    .donor-fields {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.8rem;
      margin-bottom: 0.8rem;
    }

    .donate-field label {
      display: block;
      font-size: 0.78rem;
      font-weight: 700;
      color: #888;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      margin-bottom: 0.4rem;
    }

    .donate-field input,
    .donate-field textarea {
      width: 100%;
      padding: 0.7rem 1rem;
      border: 2px solid #e8f0f8;
      border-radius: 12px;
      font-size: 0.92rem;
      color: #1a3c5e;
      font-family: 'DM Sans', sans-serif;
      outline: none;
      transition: border 0.2s;
      background: #f8fafc;
    }

    .donate-field input:focus,
    .donate-field textarea:focus { border-color: #2e7d47; background: white; }

    .recurring-toggle {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      padding: 0.7rem 1rem;
      background: #f0f8f4;
      border: 1.5px solid #c3e6cb;
      border-radius: 12px;
      cursor: pointer;
      margin-bottom: 1rem;
      font-size: 0.88rem;
      font-weight: 600;
      color: #1a4a2e;
    }

    .recurring-toggle input { accent-color: #2e7d47; }

    /* Payment method tabs */
    .method-tabs {
      display: flex;
      gap: 0.5rem;
      margin-bottom: 1.2rem;
      background: #f0f4f8;
      border-radius: 14px;
      padding: 0.35rem;
    }

    .method-tab {
      flex: 1;
      padding: 0.6rem;
      border-radius: 10px;
      border: none;
      background: none;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.82rem;
      font-weight: 600;
      color: #888;
      cursor: pointer;
      transition: all 0.18s;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.4rem;
    }

    .method-tab.active {
      background: white;
      color: #1a3c5e;
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

    .method-panel { display: none; }
    .method-panel.active { display: block; }

    /* Stripe card element */
    .stripe-element-wrap {
      padding: 0.8rem 1rem;
      border: 2px solid #e8f0f8;
      border-radius: 12px;
      background: #f8fafc;
      margin-bottom: 0.6rem;
      transition: border 0.2s;
    }

    .stripe-element-wrap:focus-within { border-color: #2e7d47; background: white; }

    .card-logos {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      margin-bottom: 1rem;
      font-size: 0.75rem;
      color: #aaa;
    }

    /* Donate button */
    .donate-submit-btn {
      width: 100%;
      padding: 1rem;
      background: linear-gradient(135deg, #1a4a2e 0%, #2e7d47 100%);
      color: white;
      border: none;
      border-radius: 14px;
      font-family: 'DM Sans', sans-serif;
      font-size: 1rem;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.2s;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.6rem;
      box-shadow: 0 4px 20px rgba(46,125,71,0.3);
      letter-spacing: 0.02em;
    }

    .donate-submit-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 28px rgba(46,125,71,0.4);
    }

    .donate-submit-btn:disabled {
      opacity: 0.7;
      transform: none;
      cursor: not-allowed;
    }

    /* Amount display bar */
    .amount-display-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: linear-gradient(135deg, #f0f8f4, #e8f4fb);
      border-radius: 14px;
      padding: 1rem 1.3rem;
      margin-bottom: 1.2rem;
      border: 1.5px solid #c3e6cb;
    }

    .amount-display-bar .big-amount {
      font-family: 'DM Serif Display', serif;
      font-size: 2rem;
      color: #1a4a2e;
    }

    .amount-display-bar .change-link {
      font-size: 0.8rem;
      color: #2e7d47;
      cursor: pointer;
      text-decoration: underline;
      background: none;
      border: none;
      font-family: 'DM Sans', sans-serif;
    }

    /* Success step */
    .success-panel {
      text-align: center;
      padding: 2rem 1rem;
    }

    .success-icon {
      width: 80px;
      height: 80px;
      background: linear-gradient(135deg, #1a4a2e, #2e7d47);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 1.5rem;
      font-size: 2rem;
      animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    @keyframes popIn {
      from { transform: scale(0); opacity: 0; }
      to   { transform: scale(1); opacity: 1; }
    }

    /* Zelle panel */
    .zelle-panel {
      text-align: center;
      padding: 1rem 0;
    }

    .zelle-qr-box {
      width: 130px;
      height: 130px;
      background: white;
      border-radius: 16px;
      margin: 0 auto 1rem;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 20px rgba(0,0,0,0.1);
      border: 1.5px solid #e8f0f8;
    }

    .zelle-email-box {
      background: #f8fafc;
      border: 1.5px solid #e8f0f8;
      border-radius: 10px;
      padding: 0.6rem 1.2rem;
      display: inline-block;
      font-weight: 700;
      color: #1a3c5e;
      font-size: 0.9rem;
      margin-bottom: 1rem;
    }

    .zelle-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: #6d4c9e;
      color: white;
      padding: 0.65rem 1.5rem;
      border-radius: 25px;
      text-decoration: none;
      font-size: 0.88rem;
      font-weight: 700;
      transition: all 0.2s;
    }

    .zelle-btn:hover { background: #5a3d87; transform: translateY(-1px); }

    /* Check panel */
    .check-info-row {
      display: flex;
      align-items: flex-start;
      gap: 0.9rem;
      padding: 0.9rem 0;
      border-bottom: 1px solid #f0f4f8;
    }

    .check-info-row:last-of-type { border-bottom: none; }

    .check-icon-wrap {
      width: 36px;
      height: 36px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.85rem;
      flex-shrink: 0;
    }

    .check-info-label {
      font-size: 0.72rem;
      font-weight: 700;
      color: #aaa;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      margin-bottom: 0.2rem;
    }

    .check-info-value {
      font-size: 0.9rem;
      font-weight: 600;
      color: #1a3c5e;
      line-height: 1.5;
    }

    .check-steps {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      margin: 1rem 0;
    }

    .check-step {
      display: flex;
      align-items: center;
      gap: 0.7rem;
      font-size: 0.84rem;
      color: #555;
    }

    .step-num {
      width: 22px;
      height: 22px;
      background: linear-gradient(135deg, #1a4a2e, #2e7d47);
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.7rem;
      font-weight: 700;
      flex-shrink: 0;
    }

    .notify-check-btn {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      background: #0a2540;
      color: white;
      padding: 0.75rem;
      border-radius: 12px;
      text-decoration: none;
      font-size: 0.88rem;
      font-weight: 700;
      transition: all 0.2s;
      margin-top: 0.8rem;
    }

    .notify-check-btn:hover { background: #142e4a; }

    /* ── Right Column ── */
    .right-col { display: flex; flex-direction: column; gap: 1.5rem; }

    .info-card {
      background: white;
      border-radius: 20px;
      padding: 1.5rem;
      box-shadow: 0 4px 20px rgba(10,37,64,0.07);
    }

    .info-card-title {
      font-family: 'DM Serif Display', serif;
      font-size: 1.15rem;
      color: #0a2540;
      margin-bottom: 1.1rem;
      font-weight: 400;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .info-card-title i { color: #2e7d47; font-size: 0.95rem; }

    /* Impact items */
    .impact-item {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 0.75rem 0;
      border-bottom: 1px solid #f5f7fa;
      cursor: pointer;
      border-radius: 10px;
      transition: background 0.15s;
      padding: 0.75rem 0.5rem;
      margin: 0 -0.5rem;
    }

    .impact-item:last-child { border-bottom: none; }
    .impact-item:hover { background: #f8fafc; }

    .impact-icon {
      width: 42px;
      height: 42px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
      flex-shrink: 0;
    }

    .impact-amount {
      font-family: 'DM Serif Display', serif;
      font-size: 1.2rem;
      color: #0a2540;
      margin: 0;
    }

    .impact-desc {
      font-size: 0.78rem;
      color: #888;
      margin: 0;
      line-height: 1.4;
    }

    .impact-select-btn {
      margin-left: auto;
      background: none;
      border: 1.5px solid #d0dde8;
      border-radius: 20px;
      padding: 0.25rem 0.7rem;
      font-size: 0.72rem;
      font-weight: 700;
      color: #2e7d47;
      cursor: pointer;
      font-family: 'DM Sans', sans-serif;
      transition: all 0.15s;
      white-space: nowrap;
    }

    .impact-select-btn:hover {
      background: #2e7d47;
      color: white;
      border-color: #2e7d47;
    }

    /* Trust badges */
    .trust-row {
      display: flex;
      gap: 0.5rem;
      flex-wrap: wrap;
    }

    .trust-badge {
      display: flex;
      align-items: center;
      gap: 0.35rem;
      background: #f0f4f8;
      border-radius: 20px;
      padding: 0.35rem 0.8rem;
      font-size: 0.72rem;
      font-weight: 600;
      color: #555;
    }

    .trust-badge i { color: #2e7d47; font-size: 0.75rem; }

    /* Alert */
    #donateAlert {
      display: none;
      padding: 0.8rem 1rem;
      border-radius: 10px;
      margin-bottom: 1rem;
      font-size: 0.88rem;
    }

    /* Responsive */
    @media (max-width: 900px) {
      .donate-hero-stats { display: none; }
      .donate-hero h1 { font-size: 2.2rem; }
      .donate-body { grid-template-columns: 1fr; }
      .donor-fields { grid-template-columns: 1fr; }
      .amount-grid { grid-template-columns: repeat(5, 1fr); }
    }

    @media (max-width: 480px) {
      .donate-hero-content { padding: 3rem 5% 2.5rem; }
      .payment-card-body { padding: 1.3rem; }
      .amount-grid { grid-template-columns: repeat(3, 1fr); }
    }


/* ===========================
   ANNOUNCEMENTS PAGE
=========================== */
.ann-page-body {
  display: grid;
  grid-template-columns: 62fr 38fr;
  gap: 0;
  padding: 3rem 0 5rem 4%;
  position: relative;
  z-index: 1;
  align-items: start;
}

.ann-left { padding-right: 2rem; }

/* Announcement card — horizontal layout */
.ann-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  margin-bottom: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  min-height: 200px;
}

.ann-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* Image — left side */
.ann-card-img {
  width: 280px;
  min-height: 200px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.ann-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder when no image */
.ann-card-img-placeholder {
  width: 280px;
  min-height: 200px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.ann-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

.ann-badge-highlight { background: #2e7d47; color: white; }
.ann-badge-new       { background: #e07b2a; color: white; }

/* Content — right side */
.ann-card-body {
  padding: 1.6rem 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ann-card-body h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1a3c5e;
  margin-bottom: 0.7rem;
  line-height: 1.35;
}

.ann-card-body p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 0;
  flex: 1;
}

.ann-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid #f0f4f8;
}

.ann-date {
  font-size: 0.75rem;
  color: #aaa;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
}

.ann-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #2e7d47;
  color: white;
  border: none;
  padding: 0.55rem 1.3rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}

.ann-read-btn:hover { background: #245f38; }

/* Sidebar */
.ann-right { position: relative; z-index: 1; }

.ann-sidebar-card {
  background: white;
  border-radius: 16px;
  padding: 1.3rem;
  box-shadow: 0 3px 14px rgba(0,0,0,0.07);
  margin-bottom: 1.2rem;
}

.ann-sidebar-title {
  font-size: 1rem;
  font-weight: 800;
  color: #1a3c5e;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1.5px solid #f0f4f8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ann-sidebar-title i { color: #2e7d47; }

.ann-sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0.8rem;
  background: #f8fafc;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a3c5e;
  transition: background 0.15s;
  margin-bottom: 0.5rem;
}

.ann-sidebar-link:hover { background: #f0f8f4; color: #2e7d47; }

.ann-sidebar-link-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.ann-recent-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid #f5f7fa;
}

.ann-recent-item:last-child { border-bottom: none; }

.ann-recent-badge-new {
  background: #e07b2a;
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.ann-recent-title {
  font-size: 0.83rem;
  font-weight: 600;
  color: #1a3c5e;
  margin: 0 0 0.2rem;
  line-height: 1.3;
}

.ann-recent-date {
  font-size: 0.7rem;
  color: #aaa;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.03em;
}

.ann-fundraiser-item {
  padding: 0.8rem 0;
  border-bottom: 1px solid #f5f7fa;
}

.ann-fundraiser-item:last-child { border-bottom: none; }

@media (max-width: 900px) {
  .ann-page-body {
    grid-template-columns: 1fr;
    padding: 2rem 4%;
  }
  .ann-left { padding-right: 0; }
}

@media (max-width: 600px) {
  .ann-card { flex-direction: column; }
  .ann-card-img,
  .ann-card-img-placeholder { width: 100%; min-height: 180px; }
}

