@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* Brand Colors from Logo */
  --color-primary: #127A59;       /* Deep Pine Green */
  --color-primary-hover: #0f664a;
  --color-secondary: #F5B81C;     /* Mustard Yellow */
  --color-secondary-hover: #dc9f12;
  --color-accent: #FF7E93;        /* Logo Badge Pink */
  --color-accent-hover: #e56b80;
  --color-background: #FBF9F4;    /* Warm Cream Off-white */
  --color-foreground: #1C2E24;    /* Deep Forest Charcoal */
  --color-muted: #E2EBE7;         /* Soft Gray-Green */
  --color-border: #C6D8D0;        /* Light Border */
  --color-white: #FFFFFF;
  --color-card-bg: #FFFFFF;

  /* Typography */
  --font-headings: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing Scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(28, 46, 36, 0.05);
  --shadow-md: 0 4px 6px rgba(28, 46, 36, 0.08);
  --shadow-lg: 0 10px 15px rgba(28, 46, 36, 0.1);
  --shadow-xl: 0 20px 25px rgba(28, 46, 36, 0.15);

  /* Borders & Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Core Layout Bounds */
  --max-width: 1200px;
  --nav-height: 80px;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  color: var(--color-foreground);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-foreground);
}

h1 { font-size: 2.75rem; font-weight: 800; }
h2 { font-size: 2.25rem; margin-bottom: var(--space-md); }
h3 { font-size: 1.5rem; }
p { line-height: 1.6; font-size: 1rem; color: #405449; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 200ms ease;
}

/* Global Layout & Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-3xl) 0;
}

.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-accent { color: var(--color-accent); }

/* Navigation Bar */
.navbar {
  height: var(--nav-height);
  background: rgba(251, 249, 244, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  transition: background-color 300ms ease;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo-img {
  height: 50px;
  width: 50px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-primary);
  object-fit: cover;
}

.logo-text {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
}

.logo-sub {
  font-size: 0.7rem;
  color: var(--color-foreground);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.nav-link {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 250ms ease;
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--color-primary);
}

.nav-link.active::after {
  width: 100%;
}

/* Hamburger mobile menu button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  padding: var(--space-xs);
}

.menu-toggle svg {
  width: 28px;
  height: 28px;
}

/* Reusable Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px var(--space-lg);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.btn-accent:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 520px;
  background-color: #1C2E24;
  color: var(--color-white);
  display: flex;
  align-items: center;
  padding: var(--space-3xl) 0;
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1200ms ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-lg);
  max-width: 800px;
}

.hero-tag {
  background-color: var(--color-secondary);
  color: var(--color-foreground);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 3.25rem;
  color: var(--color-white);
  font-weight: 800;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.9);
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(251, 249, 244, 0.95);
  max-width: 600px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7), 0 1px 2px rgba(0, 0, 0, 0.9);
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.hero-badge-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-badge-circle {
  width: 260px;
  height: 260px;
  background: var(--color-white);
  border-radius: var(--radius-full);
  border: 8px solid var(--color-secondary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--space-lg);
  box-shadow: var(--shadow-xl);
  text-align: center;
  animation: float 6s ease-in-out infinite;
}

.hero-badge-logo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
  border: 1px solid var(--color-border);
}

.hero-badge-title {
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
}

.hero-badge-year {
  background-color: var(--color-accent);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-top: var(--space-xs);
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

/* Image Scroll Bar (Infinite Marquee) */
.marquee-container {
  background-color: var(--color-muted);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-xl) 0;
  overflow: hidden;
  position: relative;
}

.marquee-title {
  text-align: center;
  margin-bottom: var(--space-md);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--color-primary);
}

.marquee-content {
  display: flex;
  width: max-content;
  gap: var(--space-xl);
  animation: scrollMarquee 45s linear infinite;
}

.marquee-content:hover {
  animation-play-state: paused;
}

.marquee-item {
  width: 320px;
  height: 210px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 4px solid var(--color-white);
  transition: transform 300ms ease, box-shadow 300ms ease;
  position: relative;
}

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

.marquee-item:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-secondary);
}

.marquee-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(18, 46, 36, 0.9) 0%, rgba(18, 46, 36, 0) 100%);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-md);
  font-size: 0.85rem;
  font-weight: 600;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - var(--space-xl)/2)); }
}

/* Feature Cards Grid (Home Page Focus Areas) */
.features-section {
  background-color: var(--color-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.feature-card {
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.feature-icon-wrapper {
  width: 70px;
  height: 70px;
  background-color: var(--color-muted);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-primary);
  border: 2px solid var(--color-border);
  transition: all 300ms ease;
}

.feature-icon-wrapper svg {
  width: 32px;
  height: 32px;
  stroke-width: 2;
}

.feature-card h3 {
  font-size: 1.35rem;
  color: var(--color-primary);
  font-weight: 700;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary);
}

.feature-card:hover .feature-icon-wrapper {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  transform: scale(1.05) rotate(5deg);
}

/* Info Dashboard Section (Metrics) */
.metrics-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, rgba(18, 122, 89, 0.95) 100%);
  color: var(--color-white);
  text-align: center;
  border-top: 5px solid var(--color-secondary);
  border-bottom: 5px solid var(--color-secondary);
}

.metrics-section h2 {
  color: var(--color-white);
}

.metrics-section p {
  color: rgba(251, 249, 244, 0.85);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.metric-card {
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  transition: transform 300ms ease;
}

.metric-card:hover {
  transform: scale(1.03);
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--color-secondary);
}

.metric-num {
  font-family: var(--font-headings);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-secondary);
  line-height: 1;
}

.metric-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.metric-desc {
  font-size: 0.85rem;
  color: rgba(251, 249, 244, 0.8);
}

/* Call to Action Banner */
.cta-banner {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.cta-box {
  background: linear-gradient(135deg, var(--color-background) 0%, #f4eee2 100%);
  border: 4px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xl);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-box::before {
  content: '★';
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 100px;
  color: rgba(245, 184, 28, 0.1);
  transform: rotate(15deg);
}

.cta-box-content {
  flex: 1;
}

.cta-box h2 {
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.cta-box p {
  font-size: 1.1rem;
  max-width: 650px;
}

.cta-box-buttons {
  display: flex;
  gap: var(--space-md);
  flex-shrink: 0;
}

/* About Us Layout styling */
.about-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, rgba(28, 46, 36, 0.95) 100%);
  color: var(--color-white);
  padding: var(--space-3xl) 0 var(--space-2xl) 0;
  text-align: center;
}

.about-hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.about-hero p {
  color: rgba(251, 249, 244, 0.9);
  max-width: 600px;
  margin: 0 auto;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-text-content h3 {
  color: var(--color-primary);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-xs);
}

.about-text-content h2 {
  margin-bottom: var(--space-lg);
}

.about-text-content p {
  margin-bottom: var(--space-md);
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 6px solid var(--color-white);
  aspect-ratio: 4/3;
}

.about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: var(--color-secondary);
  color: var(--color-foreground);
  font-family: var(--font-headings);
  font-weight: 800;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--color-white);
}

/* Mission & Vision Cards */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.value-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  border-top: 6px solid var(--color-primary);
  box-shadow: var(--shadow-md);
  transition: transform 250ms ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.value-card.highlight {
  border-top-color: var(--color-accent);
}

.value-card.yellow-tint {
  border-top-color: var(--color-secondary);
}

.value-card h3 {
  font-size: 1.35rem;
  margin-bottom: var(--space-md);
  color: var(--color-foreground);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.value-card h3 svg {
  color: var(--color-primary);
  width: 24px;
  height: 24px;
}

.value-card.highlight h3 svg {
  color: var(--color-accent);
}

.value-card.yellow-tint h3 svg {
  color: var(--color-secondary);
}

/* Donate Page Styling */
.donate-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.donate-info {
  background-color: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 100px;
}

.donate-info h2 {
  color: var(--color-primary);
}

.info-list {
  list-style: none;
  margin: var(--space-lg) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.info-icon {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.info-icon svg {
  width: 22px;
  height: 22px;
}

.info-text strong {
  display: block;
  font-size: 1.05rem;
  color: var(--color-foreground);
  margin-bottom: 2px;
}

.info-text span {
  font-size: 0.95rem;
  color: #556c60;
}

/* Payment Methods Grid */
.payment-details {
  border-top: 1px dashed var(--color-border);
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
}

.bank-info-box {
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-lg);
  font-family: monospace;
  font-size: 0.95rem;
  color: var(--color-foreground);
  line-height: 1.6;
}

.qr-code-mock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  max-width: 250px;
  margin: 0 auto;
}

.qr-box {
  width: 160px;
  height: 160px;
  background-color: var(--color-white);
  border: 4px solid var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.qr-logo-center {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 2px solid var(--color-primary);
  display: flex;
  justify-content: center;
  align-items: center;
}

.qr-logo-center img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* Custom SVG QR Code pattern mock */
.qr-pattern {
  width: 140px;
  height: 140px;
  opacity: 0.85;
}

.qr-code-mock span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* Pledge Form Styling */
.pledge-form-container {
  background-color: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}

.pledge-form-container h2 {
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.pledge-form-container p {
  margin-bottom: var(--space-xl);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-foreground);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-foreground);
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all 200ms ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(18, 122, 89, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.radio-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xs);
}

.radio-btn {
  position: relative;
}

.radio-btn input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.radio-label {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-foreground);
  background-color: var(--color-background);
  transition: all 200ms ease;
  text-align: center;
}

.radio-btn input:checked ~ .radio-label {
  border-color: var(--color-primary);
  background-color: var(--color-muted);
  color: var(--color-primary);
}

.form-submit-btn {
  width: 100%;
  padding: 14px;
  font-size: 1.1rem;
  margin-top: var(--space-md);
}

/* Gallery Filter and Grid */
.gallery-filter {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  list-style: none;
  flex-wrap: wrap;
}

.filter-btn {
  background: none;
  border: 1px solid var(--color-border);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 250ms ease;
  background-color: var(--color-white);
  color: var(--color-foreground);
}

.filter-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-1px);
}

.filter-btn.active {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.gallery-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.gallery-img-wrapper {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: var(--color-muted);
}

.gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary);
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-overlay-icon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(18, 122, 89, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 300ms ease;
  color: var(--color-white);
}

.gallery-overlay-icon svg {
  width: 36px;
  height: 36px;
}

.gallery-card:hover .gallery-overlay-icon {
  opacity: 1;
}

.gallery-info-box {
  padding: var(--space-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.gallery-category {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gallery-card-title {
  font-size: 1.2rem;
  color: var(--color-foreground);
  font-weight: 700;
}

.gallery-card-desc {
  font-size: 0.9rem;
  color: #556c60;
  line-height: 1.4;
  margin-top: var(--space-xs);
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 46, 36, 0.95);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  padding: var(--space-xl);
}

.lightbox-content-container {
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  animation: modalIn 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalIn {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.lightbox-img-box {
  width: 100%;
  aspect-ratio: 16/10;
  background-color: #000;
}

.lightbox-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-caption-box {
  padding: var(--space-lg);
  background-color: var(--color-white);
}

.lightbox-category {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-xs);
}

.lightbox-title {
  font-size: 1.4rem;
  color: var(--color-foreground);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.lightbox-desc {
  font-size: 0.95rem;
  color: #405449;
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: rgba(255, 255, 255, 0.85);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: var(--color-foreground);
  transition: all 200ms ease;
  box-shadow: var(--shadow-md);
  z-index: 10;
}

.lightbox-close:hover {
  background-color: var(--color-white);
  color: var(--color-destructive);
  transform: scale(1.05);
}

/* Pledge Success Modal Popup */
.success-modal {
  display: none;
  position: fixed;
  z-index: 1001;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 46, 36, 0.6);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
  padding: var(--space-lg);
}

.success-modal-content {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--color-secondary);
  animation: successModalIn 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

@keyframes successModalIn {
  0% { transform: translateY(40px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.success-icon-wrapper {
  width: 80px;
  height: 80px;
  background-color: var(--color-muted);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-primary);
  border: 3px solid var(--color-primary);
  margin-bottom: var(--space-sm);
}

.success-icon-wrapper svg {
  width: 44px;
  height: 44px;
}

.success-modal-content h3 {
  font-size: 1.75rem;
  color: var(--color-primary);
}

.success-modal-content p {
  margin-bottom: var(--space-sm);
}

/* Footer */
.footer {
  background-color: #15221B;
  color: #B2C2B9;
  padding: var(--space-3xl) 0 var(--space-xl) 0;
  margin-top: auto;
  border-top: 4px solid var(--color-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-2xl);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 1.2rem;
  position: relative;
  padding-bottom: var(--space-sm);
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--color-secondary);
  border-radius: var(--radius-full);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-logo-box {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-secondary);
}

.footer-title {
  color: var(--color-white);
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 800;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a:hover {
  color: var(--color-secondary);
  padding-left: 4px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  font-size: 0.9rem;
}

.contact-detail {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.contact-icon {
  color: var(--color-secondary);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: 0.85rem;
}

.footer-social-links {
  display: flex;
  gap: var(--space-md);
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #B2C2B9;
  transition: all 200ms ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-link:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

/* Mobile Nav Styles (switched via Javascript) */
@media (max-width: 991px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.85rem; }
  .section { padding: var(--space-2xl) 0; }

  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-badge-container {
    order: -1;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

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

  .cta-box {
    flex-direction: column;
    text-align: center;
    padding: var(--space-xl);
    gap: var(--space-lg);
  }

  .cta-box-buttons {
    width: 100%;
    justify-content: center;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about-image-wrapper {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .donate-layout {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .donate-info {
    position: static;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background-color: var(--color-background);
    flex-direction: column;
    align-items: center;
    padding: var(--space-2xl) 0;
    gap: var(--space-xl);
    transition: left 300ms ease;
    border-top: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    left: 0;
  }

  .nav-link {
    font-size: 1.25rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .radio-group {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   Activities Section Styles
   ========================================================================== */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.activity-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 300ms ease, box-shadow 300ms ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.activity-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.activity-img-wrapper {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.activity-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
  display: block;
}

.activity-card:hover .activity-img-wrapper img {
  transform: scale(1.05);
}

.activity-content {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex-grow: 1;
}

.activity-tag {
  align-self: flex-start;
  background-color: rgba(18, 122, 89, 0.1);
  color: var(--color-primary);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.activity-card h3 {
  font-size: 1.35rem;
  color: var(--color-foreground);
  font-weight: 700;
  margin-top: var(--space-xs);
  margin-bottom: 0;
}

.activity-card p {
  color: var(--color-foreground-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.activity-link {
  margin-top: auto;
  color: var(--color-primary);
  font-weight: 700;
  font-family: var(--font-headings);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  text-decoration: none;
  font-size: 0.9rem;
  padding-top: var(--space-md);
  transition: color 200ms ease;
}

.activity-card:hover .activity-link {
  color: var(--color-secondary);
}

/* ==========================================================================
   Video Gallery Styles
   ========================================================================== */
.video-thumbnail-wrapper {
  cursor: pointer;
  background-color: #132219 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.video-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(18, 122, 89, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: background-color 200ms ease, transform 200ms ease;
  z-index: 2;
}

.video-play-overlay svg {
  width: 26px;
  height: 26px;
  color: var(--color-white);
  margin-left: 4px;
}

.gallery-card:hover .video-play-overlay {
  background-color: var(--color-secondary);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
  position: absolute;
  bottom: var(--space-sm);
  right: var(--space-sm);
  background-color: rgba(0, 0, 0, 0.75);
  color: var(--color-white);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  z-index: 2;
}

/* ==========================================================================
   WhatsApp Floating Button
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 300ms ease, box-shadow 300ms ease;
  text-decoration: none;
  cursor: pointer;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #25D366;
  opacity: 0.45;
  z-index: -1;
  animation: whatsapp-pulse 2s infinite ease-out;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
    opacity: 0.45;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

/* YouTube Integration Hovers */
.youtube-card-link {
  transition: color 200ms ease, transform 200ms ease !important;
}
.youtube-card-link:hover {
  color: #cc0000 !important;
  transform: translateX(3px);
}
#youtube-channel-callout a {
  transition: background-color 200ms ease, border-color 200ms ease, transform 200ms ease !important;
}
#youtube-channel-callout a:hover {
  background-color: #cc0000 !important;
  border-color: #cc0000 !important;
  transform: translateY(-2px);
}

/* Nav Account/Admin Button style */
.nav-account-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(18, 122, 89, 0.08);
  color: var(--color-primary);
  transition: all 200ms ease;
  margin-left: var(--space-xs);
  cursor: pointer;
  border: 1px solid var(--color-border);
}
.nav-account-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.nav-account-btn svg {
  width: 18px;
  height: 18px;
}

/* Contact Page Phone List Layout */
.contact-phone-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 4px;
}
.contact-phone-link {
  color: var(--color-foreground-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 200ms ease;
  font-size: 0.95rem;
  font-weight: 500;
}
.contact-phone-link:hover {
  color: var(--color-primary);
}
.contact-phone-sep {
  color: var(--color-border);
  font-size: 0.8rem;
  user-select: none;
}
@media (max-width: 480px) {
  .contact-phone-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px 0;
  }
  .contact-phone-sep {
    display: none;
  }
}


