/* ===========================
   Give Page (Mobile)
   =========================== */

.page-section.give-intro {
  min-height: 100vh;              /* fill full viewport height */
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;    /* keep content top-aligned but fill height */
  text-align: center;
}

/* Headings and intro text */
.give-intro h2,
.give-intro h3,
.give-intro p {
  text-align: center;             /* ensure centered alignment */
}

.give-intro h2 {
  font-family: 'Goudos', var(--font-sans-primary), sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-green);
}

.give-intro h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-green);
}

.give-intro p {
  font-size: 2.3rem;
  line-height: 1.8;
  margin: 0 auto 2rem auto;
  max-width: 90%;
  color: var(--text-dark, #333);
}

/* Logo */
.give-logo img {
  max-width: 200px;
  height: auto;
  margin: 0 auto 2rem auto;
  display: block;
}

/* QR code — hidden on mobile */
.give-qr {
  display: none;
}

/* Funds grid */
.give-funds {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 1x3 grid */
  gap: 1.5rem;
  padding: 2rem 1rem;
  text-align: center;
  flex-grow: 1;                   /* allow grid to expand to fill height */
}

.fund-item {
  background: radial-gradient(circle at center,
    rgba(255,255,255,0.6) 0%,
    rgba(245,245,245,1) 40%,
    rgba(224,224,224,1) 100%);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow:
    6px 6px 12px rgba(0,0,0,0.15),
    -6px -6px 12px rgba(255,255,255,0.7),
    inset 2px 2px 4px rgba(0,0,0,0.1),
    inset -2px -2px 4px rgba(255,255,255,0.6);
}

.fund-item h3,
.fund-item h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--primary-green);
}

.fund-item p {
  font-size: 2.3rem;
  line-height: 1.6;
  margin: 0;
  color: var(--text-dark, #333);
}

/* Large, attractive action button */
.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2.5rem 4rem;           /* very large tap target */
  border-radius: 24px;
  font-size: 2rem;                /* bigger text */
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--primary-green);
  margin: 3rem auto;
  background: radial-gradient(circle at center,
    rgba(255,255,255,0.9) 0%,
    rgba(245,245,245,1) 40%,
    rgba(224,224,224,1) 100%);
  box-shadow:
    12px 12px 24px rgba(0,0,0,0.25),
    -12px -12px 24px rgba(255,255,255,0.8),
    inset 5px 5px 10px rgba(0,0,0,0.1),
    inset -5px -5px 10px rgba(255,255,255,0.6);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.action-button:active {
  transform: scale(0.95);
  box-shadow:
    inset 6px 6px 12px rgba(0,0,0,0.25),
    inset -6px -6px 12px rgba(255,255,255,0.7);
}

.action-button .button-icon {
  width: 64px;                    /* large complementary icon */
  height: 64px;
  flex-shrink: 0;
}

/* Ensure <a> inside looks like button text */
.action-button a { all: unset; /* reset default link styles */ font-family: var(--font-serif-primary); /* inherit button font */ color: inherit; /* inherit button color */ text-decoration: none; /* no underline */ display: inline-flex; align-items: center; gap: 1rem; font-size: 60px; line-height: 0; letter-spacing: -0.032em; font-weight: 300; font-style: italic; }
/* Responsive fallback: stack funds vertically on narrow screens */
@media (max-width: 600px) {
  .give-funds {
    grid-template-columns: 1fr;
  }
}
