/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  /* Hide the scrollbar visually but keep the page scrollable
     (mouse wheel, touch, keyboard, programmatic scroll all still work). */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* old Edge / IE */
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none; /* Chrome, Safari, modern Edge */
}

/* When the page is deep-linked via ?section=NAME, leave a little room above
   the target so its heading isn't flush against the top of the viewport
   (or hidden behind a sticky host-page header when embedded). */
section[id] {
  scroll-margin-top: 24px;
}

body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto,
    sans-serif;
  background-color: #6ad2f3;
  color: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.4;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.page {
  width: 100%;
  max-width: 2560px;
  margin: 0 auto;
}

/* ---------- Hero ---------- */
.hero {
  background-color: #6ad2f3;
  padding: 0 40px;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  max-width: 2560px;
  margin: 0 auto;
  /* Fixed height (not 100vh) so the hero behaves predictably when this
     page is loaded inside an iframe — viewport-relative units cause a
     feedback loop with the embed-resize handshake. Approximates the
     full-screen feel of the original Divi page on a typical desktop. */
  min-height: 720px;
}

.hero__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
}

.hero__image {
  /* Image renders at ~120% of its column width and shifts left so it
     overflows the viewport edge, matching the original Divi layout. */
  width: 120%;
  max-width: 1100px;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  transform: translate(-12%, 0);
}

.hero__content {
  padding: 50px 40px 150px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero__title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 80px;
  line-height: 0.95;
  letter-spacing: -2px;
  color: #ffffff;
  margin: 0 0 24px 0;
  text-transform: lowercase;
  max-width: 90%;
}

.hero__lead {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.45;
  color: #ffffff;
  margin: 24px auto 0;
  max-width: 90%;
}

/* ---------- Weekend promo ---------- */
.weekend {
  background-color: #6ad2f3;
  padding: 60px 5% 80px;
}

.weekend__date {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: #ffffff;
  text-align: center;
  margin: 0 auto 40px;
  max-width: 1200px;
}

.weekend__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.weekend__image {
  width: 100%;
  height: auto;
  border-radius: 24px;
  display: block;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.weekend__text {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.5;
  color: #ffffff;
  margin: 0;
}

/* ---------- Section title ---------- */
.section--title {
  padding: 0 40px 30px;
  text-align: center;
  margin-top: 0;
  position: relative;
  z-index: 2;
}

.section__title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 70px;
  line-height: 1.1;
  letter-spacing: -2px;
  color: #ffffff;
  margin: 0;
  text-transform: lowercase;
}

/* ---------- Cards ---------- */
.cards {
  padding: 20px 5% 60px;
}

.cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.card {
  background-color: #ffffff;
  border-radius: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-bottom: 40px;
}

.card__image {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.card__body {
  padding: 28px 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.card__title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -2px;
  color: #000;
  margin: 0;
  text-align: center;
  text-transform: lowercase;
}

.card__subtitle,
.card__text {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  color: #000;
  margin: 0;
  text-align: center;
}

.card__subtitle {
  font-weight: 600;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-transform: lowercase;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn--outline {
  color: #000;
  background-color: transparent;
  border: 3px solid #000;
  border-radius: 50px;
  padding: 10px 24px;
}

.btn--outline:hover {
  background-color: #6ad2f3;
  color: #ffffff;
  border-color: #6ad2f3;
}

/* Match the width of stacked buttons in the "meet a need" card so the
   shorter "volunteer" button is the same width as "serve at Kid's Night
   Out" beneath it. */
.card--equal-buttons .btn--outline {
  width: 260px;
  padding-left: 0;
  padding-right: 0;
}

.btn--pill {
  color: #00b5ef;
  background-color: #ffffff;
  border: 0;
  border-radius: 33px;
  padding: 15px 50px;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -1.42px;
  text-transform: none;
}

.btn--pill:hover {
  color: #ffffff;
  background-color: #000000;
}

.btn__arrow {
  display: inline-block;
  font-weight: 700;
  transform: translateY(-1px);
}

/* ---------- FAQ ---------- */
.faq {
  text-align: center;
  padding: 30px 5% 80px;
  max-width: 1000px;
  margin: 0 auto;
}

.faq__icon {
  width: 24%;
  margin: 0 auto 20px;
  height: auto;
}

.faq__text {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
  color: #000;
  margin: 0 0 30px 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1158px) and (min-width: 980px) {
  .card__title {
    font-size: 40px;
  }
}

@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 60% 40%;
    gap: 16px;
    min-height: auto;
  }

  .hero__image {
    width: 110%;
    transform: translate(-8%, 0);
  }

  .hero__content {
    padding: 50px 20px 80px;
  }

  .hero__title {
    font-size: 70px;
  }

  .section__title {
    font-size: 56px;
  }

  .weekend__date {
    font-size: 36px;
    margin-bottom: 28px;
  }

  .weekend__inner {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .weekend__text {
    font-size: 19px;
  }

  .cards__grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }

  .card__title {
    font-size: 50px;
  }

  .faq__icon {
    width: 24%;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 0 20px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
  }

  .hero__media {
    padding: 30px 0 0;
    justify-content: center;
  }

  .hero__image {
    width: 80%;
    max-width: 480px;
    margin: 0 auto;
    transform: none;
  }

  .section--title {
    margin-top: 0;
  }

  .hero__content {
    padding: 30px 0 50px;
  }

  .hero__title {
    font-size: 56px;
  }

  .hero__lead {
    font-size: 17px;
    max-width: 100%;
  }

  .section--title {
    padding: 10px 20px 20px;
  }

  .section__title {
    font-size: 38px;
  }

  .cards {
    padding: 10px 5% 40px;
  }

  .card__title {
    font-size: 38px;
  }

  .faq__icon {
    width: 70%;
  }

  .faq__text {
    font-size: 17px;
  }

  .btn--pill {
    font-size: 17px;
    padding: 14px 36px;
  }
}
