/* =========================================================
   ABOUT FOUNDATION PAGE ONLY
   File: aboutfoundation-page.css
   Page: aboutfoundation.html

   FUTURE CHANGE NOTE:
   Keep styles.css as the shared site stylesheet.
   This file should only style the About Foundation page body.
   Navbar, footer, global colors, and shared page wrapper should
   remain controlled by styles.css.
========================================================= */

/* PAGE-SPECIFIC BOX SIZING */
.aboutfoundation-body .aboutfoundation-main,
.aboutfoundation-body .aboutfoundation-main * {
  box-sizing: border-box;
}

/* MAIN PAGE TEXT COLOR */
.aboutfoundation-main {
  color: #ffffff;
}

/* =========================================================
   FOUNDATION BANNER
========================================================= */
.aboutfoundation-banner-shell {
  padding: 1rem 0 0.7rem;
}

.aboutfoundation-foundation-banner {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================================
   HERO SECTION
========================================================= */
.aboutfoundation-hero-section {
  padding: 0.5rem 0 1.5rem;
}

.aboutfoundation-hero-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(255, 204, 0, 0.18), transparent 36%),
    linear-gradient(135deg, #610081 0%, #4f0068 52%, #2f003f 100%);
  border-radius: 24px;
  padding: 38px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.aboutfoundation-kicker {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 900;
  color: #ffcc00;
  margin-bottom: 10px;
}

.aboutfoundation-hero-copy h1,
.aboutfoundation-feature-inner h2,
.aboutfoundation-side-box h2,
.aboutfoundation-possibility-copy h2,
.aboutfoundation-team-heading h2 {
  font-family: Byington, Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.aboutfoundation-hero-copy h1 {
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  line-height: 0.95;
  margin-bottom: 18px;
}

.aboutfoundation-hero-copy p {
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.6;
}

.aboutfoundation-hero-visual {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aboutfoundation-hero-visual img {
  width: min(100%, 430px);
  margin: 0 auto;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.32));
}

/* PAGE BUTTONS */
.aboutfoundation-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.15rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.aboutfoundation-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.aboutfoundation-btn-gold {
  background: #ffcc00;
  color: #111111;
}

.aboutfoundation-btn-outline {
  border: 1px solid #ffcc00;
  color: #ffcc00;
  background: transparent;
}

.aboutfoundation-btn-outline:hover {
  background: #ffcc00;
  color: #111111;
}

.aboutfoundation-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.4rem;
}

/* =========================================================
   MESSAGE SECTION
========================================================= */
.aboutfoundation-message-section {
  padding: 0 0 1.2rem;
}

.aboutfoundation-feature-box {
  background: linear-gradient(180deg, #cb00ff 0%, #9900ce 100%);
  padding: 28px;
  border-radius: 20px;
  margin-bottom: 22px;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.aboutfoundation-feature-inner {
  background: #610081;
  border: 3px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 40px 42px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.aboutfoundation-feature-inner h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  text-align: center;
}

.aboutfoundation-feature-inner p {
  margin: 0 0 16px;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  text-align: center;
  line-height: 1.65;
}

.aboutfoundation-lower-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.aboutfoundation-side-box {
  background: linear-gradient(180deg, #cb00ff 0%, #9700c8 100%);
  border-radius: 16px;
  padding: 30px;
  min-height: 285px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.aboutfoundation-side-box h2 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 2.4vw, 2.4rem);
}

.aboutfoundation-side-box p {
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.58;
}

.aboutfoundation-impact-card {
  background: #ffcc00;
  color: #1d1d1d;
  border-radius: 16px;
  padding: 30px;
  min-height: 285px;
}

.aboutfoundation-impact-card h3 {
  margin: 0 0 16px;
  color: #610081;
  font-weight: 900;
  font-size: 1.7rem;
}

.aboutfoundation-impact-card ul {
  margin: 0;
  padding-left: 20px;
}

.aboutfoundation-impact-card li {
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.4;
}

/* =========================================================
   POSSIBILITY / HOPE SECTION
========================================================= */
.aboutfoundation-possibility-section {
  padding: 0.5rem 0 1.5rem;
}

.aboutfoundation-possibility-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: #ffffff;
  color: #1d1d1d;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.aboutfoundation-possibility-image {
  min-height: 420px;
  position: relative;
  overflow: hidden;
}

.aboutfoundation-possibility-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.aboutfoundation-possibility-copy {
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.aboutfoundation-possibility-copy h2 {
  color: #540070;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 0.98;
  margin-bottom: 1rem;
}

.aboutfoundation-possibility-copy p {
  font-size: 1.05rem;
  line-height: 1.65;
}

/* =========================================================
   TEAM SECTION
========================================================= */
.aboutfoundation-team-section {
  padding: 0.5rem 0 1.5rem;
}

.aboutfoundation-team-heading {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 24px;
}

.aboutfoundation-team-heading h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 10px;
}

.aboutfoundation-team-heading p {
  line-height: 1.6;
}

.aboutfoundation-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.aboutfoundation-team-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.aboutfoundation-team-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.aboutfoundation-team-card h3 {
  margin: 16px 12px 4px;
  color: #ffcc00;
  font-size: 1.2rem;
  font-weight: 900;
}

.aboutfoundation-team-card p {
  margin: 0 12px 18px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.82rem;
  font-weight: 800;
}

/* =========================================================
   CTA SECTION
========================================================= */
.aboutfoundation-cta-section {
  padding: 0 0 1.2rem;
}

.aboutfoundation-cta-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.aboutfoundation-cta {
  min-width: 280px;
  min-height: 92px;
  padding: 16px 22px;
  border-radius: 12px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.aboutfoundation-cta-contact {
  background: linear-gradient(180deg, #cb00ff 0%, #9100c2 100%);
  color: #ffffff;
  gap: 14px;
}

.aboutfoundation-cta-contact img {
  width: 72px;
  height: auto;
  display: block;
}

.aboutfoundation-cta-contact span {
  font-size: 1.35rem;
  line-height: 1.1;
}

.aboutfoundation-cta-donate {
  background: #ffcc00;
  color: #111111;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 2rem;
  letter-spacing: 1px;
}

/* =========================================================
   RESPONSIVE DESIGN
========================================================= */
@media (max-width: 991.98px) {
  .aboutfoundation-hero-card,
  .aboutfoundation-lower-grid,
  .aboutfoundation-possibility-card {
    grid-template-columns: 1fr;
  }

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

  .aboutfoundation-hero-card,
  .aboutfoundation-feature-inner,
  .aboutfoundation-side-box,
  .aboutfoundation-impact-card,
  .aboutfoundation-possibility-copy {
    padding: 28px 22px;
  }

  .aboutfoundation-possibility-image {
    min-height: 280px;
  }
}

@media (max-width: 767.98px) {
  .aboutfoundation-team-grid {
    grid-template-columns: 1fr;
  }

  .aboutfoundation-team-card img {
    height: 380px;
  }

  .aboutfoundation-cta {
    width: 100%;
    max-width: 420px;
  }

  .aboutfoundation-cta-contact span {
    font-size: 1.15rem;
  }

  .aboutfoundation-cta-donate {
    font-size: 1.8rem;
  }
}
