@import url("reset.css");

@import url("https://fonts.googleapis.com/css?family=Inter:regular,500,600,700&display=swap");

/* Import a script font for the title */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');

/* Add these new font imports at the top of your CSS file */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Birthstone&display=swap');

/* Add one of these new font imports */
@import url('https://fonts.googleapis.com/css2?family=Carattere&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Euphoria+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tangerine:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rouge+Script&display=swap');

/* Add one of these more ornate font imports */
@import url('https://fonts.googleapis.com/css2?family=Lovers+Quarrel&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mr+De+Haviland&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ruthie&display=swap');

/* Add these new elegant font imports */
@import url('https://fonts.googleapis.com/css2?family=Petit+Formal+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Allura&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Passions+Conflict&display=swap');

/* Add this import at the top of your CSS file */
@import url('https://fonts.googleapis.com/css2?family=Parisienne&display=swap');

/* Add the font import at the top of your CSS file */
@font-face {
    font-family: 'Brock Script';
    src: url('../fonts/BrockScript-Regular.woff2') format('woff2'),
         url('../fonts/BrockScript-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Add Chopin Script font import */
@font-face {
    font-family: 'Chopin Script';
    src: url('../fonts/ChopinScript.woff2') format('woff2'),
         url('../fonts/ChopinScript.woff') format('woff'),
         url('../fonts/ChopinScript.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Alternative similar Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playball&display=swap');

/* ************COMMON************ */

.logo {
  font-weight: 700;
  font-size: 2.25rem;
}

body {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  color: #303a4d;
}

[class*="__container"] {
  max-width: 72.624rem;
  margin: 0 auto;
  padding: 0 0.938rem;
}

/* Base button styles */
.button {
    font-weight: 600;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    transition: all 0.3s;
    color: #fff;
    background-color: #303a4d;
}

/* Specific styling for Join Our Mission buttons */
.page__outro.outro_about .outro__buttons {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1.5rem !important;
    width: 100% !important;
    margin: 2rem auto !important;
    flex-wrap: wrap !important;
}

.page__outro.outro_about .outro__button.button,
.page__outro.outro_about a.outro__button.button {
    position: static !important;
    transform: none !important;
    left: auto !important;
    margin: 0 !important;
    width: 350px !important;  /* Set fixed width instead of min-width */
    display: inline-block !important;
    padding: 12px 30px !important;
    white-space: nowrap !important;
    max-width: none !important;  /* Remove max-width constraint */
}

/* Override any overly wide buttons */
.page__outro .outro__button.button,
.outro__button.button,
section.page__outro.outro_home .outro__button.button,
body .wrapper main.page section.page__outro.outro_home .outro__button.button,
.page__outro a.outro__button.button,
a.outro__button.button {
    min-width: 160px !important;
    max-width: 180px !important;
    padding: 12px 24px !important;
    white-space: nowrap !important;
    display: inline-block !important;
    text-align: center !important;
    margin: 0 !important;
    position: static !important;
    transform: none !important;
    left: auto !important;
}

.title {
  font-size: 3.5rem;
  font-weight: 600;
}

.wrapper {
  min-height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
}

/* ************HEADER************ */

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 1000;
}

.header__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 5.25rem;
  flex-wrap: wrap;
  max-width: 74.624rem;
  padding-bottom: 5px;
}

.header__logo {
  position: relative;
  z-index: 2;
  margin-bottom: 1rem;  /* Add space between logo and menu */
}

.header__navigation {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  width: 100%;  /* Take full width */
  justify-content: center;  /* Center the navigation items */
}

.menu__body {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.menu__link {
  font-weight: 600;
  position: relative;
}

.actions-header {
  display: flex;
  align-items: center;
  gap: 0.624rem;
}

.icon-menu {
  display: none;
}

.actions-header__button {
  font-weight: 600;
  display: inline-block;
  padding: 0.5rem 1.2rem;  /* Reduce padding to make button smaller */
  border: 2px solid #303a4d;
  border-radius: 30px;
  transition: all 0.3s;
  position: relative;
  z-index: 2;
  margin-bottom: 10px;  /* Add space below button */
  font-size: 0.9rem;  /* Slightly reduce font size */
}

/* ****************PAGES**************** */
.page__main {
  padding-bottom: 0;
}

/* *****************HOME**************** */

.main_home {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.main_home .main__container {
  position: relative;
  text-align: left;
  padding: 160px 0 20px;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  z-index: 1;
  margin-bottom: 0;
  padding-left: 50px;
}

.main_home .main__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  margin-left: calc(-50vw + 50%);
}

.main_home .main__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.main_home .main__content {
  position: relative;
  transform: translateX(-150px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  z-index: 2;
  margin-top: 0;
  width: 100%;
  margin-bottom: 50px;
}

.main_home .main__caption {
  margin-top: 0;  /* Reset margin to ensure proper spacing */
  font-size: 1.8rem;
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  margin-bottom: 60px;
}

.main_home .main__title {
  font-family: 'Parisienne', cursive;
  font-size: 6rem;
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  line-height: 1.2;
  margin-bottom: 3rem;  /* Add more space below the title */
}

.main_home .line:nth-child(2) {
  margin-left: 100px;
}

.main_home .line:nth-child(3) {
  margin-left: 200px;
}

.main_home .main__text {
  position: relative;
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  max-width: 600px;
  margin-top: 1rem;
  margin-bottom: 2rem;  /* Increased space below text */
  margin-left: 0;
  display: block;  /* Ensure block display */
}

.main_home .main__button {
  position: relative;
  padding: 12px 24px;
  background-color: #ffffff;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  display: block;  /* Make button block level */
  width: fit-content;  /* Make button width fit its content */
  margin: 0 auto;  /* Center the button */
  margin-left: 0;  /* Align with text above */
}

.main_home .main__button:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.outro_home {
  background: url("../img/home/praying-hands-2.jpg") center / cover no-repeat;
}

/* ************ABOUT**************** */

.main_about {
  background: url("../img/about/IMG_4504.JPG") center / cover no-repeat;
  position: relative;
  min-height: 100vh;
}

.main_about .main__container {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 125px 0;
  
}

.main_about .main__caption {
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  font-size: 1.8rem;
  margin-top: 40px;
  margin-bottom: 2rem;
  text-align: center;
}

.main_about .main__title {
  font-size: 4.5rem;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 2rem;
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-top: 60px;
}

.main_about .main__text {
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 600px;
  text-align: center;
  margin-top: 60px;
}

.about__container {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 2rem;
}

@media (max-width: 992px) {
  .about__container {
    flex-direction: column;
    align-items: center;
  }
}

.about__container > * {
  margin-top: 0 !important;
}

.about__image {
  flex: 1 1 45%;
  max-width: 700px;
  min-width: 350px;
  height: auto;
  align-self: stretch;
}

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

.about__content {
  flex: 1 1 55%;
  min-width: 300px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about__title {
  margin-bottom: 1.5rem;
}

.about__text {
  line-height: 1.7;
}

.about__button {
  margin-top: 2rem;
  width: fit-content;
  min-width: unset;
  max-width: unset;
  padding: 0.75rem 1.5rem;
  display: inline-block;
}

.about__text p:not(:last-child) {
  margin-bottom: 2.5rem;
}

.outro_about {
  background: url("../img/home/praying-hands-2.jpg") center / cover no-repeat;
  position: relative;
}

.outro_about::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.outro_about .outro__title,
.outro_about .outro__text {
  color: #ffffff;
  position: relative;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.outro__buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;  /* Center horizontally */
  align-items: center;     /* Center vertically */
  width: 100%;            /* Take full width of container */
  margin-top: 2rem;       /* Add some space above buttons */
  flex-wrap: wrap;        /* Allow buttons to wrap on smaller screens */
}

.outro__button.button {
  min-width: 200px;      /* Ensure buttons have consistent width */
  text-align: center;    /* Center text within buttons */
  margin: 0;             /* Remove any margin that might cause spacing issues */
  flex-shrink: 0;        /* Prevent buttons from shrinking */
}

/* **************SERVICES**************** */

.main_resources {
  background: url("../img/home/preach my gospel.jpg") center / cover no-repeat;
  position: relative;
  min-height: 100vh;
  height: 100vh;  /* Added fixed height */
}

.main_resources .main__container {
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100vh;
  padding: 200px 0;  /* Increased padding */
  padding-left: 0;
}

.main_resources h3.main__caption {
  color: #ffffff !important;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8) !important;
  font-size: 2rem !important;
  margin-top: -20px !important;
  text-align: left !important;
  width: 100% !important;
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  padding-left: 20px !important;
}

.main_resources .main__subtitle {
  color: #ffffff !important;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8) !important;
  font-size: 3.5rem !important;
  line-height: 1.2 !important;
  text-align: left !important;
  max-width: 800px !important;
  margin-top: 115px !important;  /* Changed from 100px to 120px to move it down more */
  padding: 0 !important;
  white-space: normal !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  padding-left: 20px !important;
  margin-left: 0 !important;
  gap: 5px !important;
}

.main_resources .main__subtitle span {
  display: block !important;
  margin-right: 0 !important;
  font-size: 3.5rem !important;  /* Changed from 3rem to 3.5rem to match parent */
}

.main_resources .main__text {
  color: rgb(255, 255, 255) !important;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.95) !important;
  font-size: 1.2rem !important;
  line-height: 1.5 !important;
  text-align: left !important;
  max-width: 95vw !important;
  width: calc(100% - 40px) !important;
  white-space: pre-line !important;
  position: absolute !important;
  bottom: 30px !important;
  left: 20px !important;
  transform: none !important;
  padding: 0 20px !important;
  margin: 0 !important;
}

.resources {
  background-color: #f5f5f5;  /* or whatever your gray color is */
  margin-top: 0;  /* ensure it stays connected to hero section */
}

.resources__container {
  padding-top: 70px;  /* Add padding at the top of the container */
  padding-bottom: 8.75rem;
  width: 100%;
}

.resources__img {
  width: 100%;
  max-width: 360px;
  height: 360px;  /* Make it square like home page */
  margin-bottom: 32px;
  overflow: hidden;  /* Add overflow hidden */
}

.resources__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;  /* Center the image */
  border-radius: 12px;
}

.resources__title {
  text-align: center;
  font-size: 3.5rem;
  font-weight: 600;
  margin-top: 0;  /* Remove top margin since we're using container padding */
  margin-bottom: 2rem;
  width: 100%;
}

.resources__text {
  letter-spacing: 2%;
  line-height: 150%;
  max-width: 243px;
  margin-bottom: 32px;
}

.resources__button {
  background-color: #fff;
  color: #303a4d;
  font-weight: 600;
  letter-spacing: 2%;
  border: 2px solid #303a4d;
  border-radius: 64px;
}

/* ****************ADAPTIVE**************** */

@media (max-width: 992px) {
  .resources__row {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .item-resources {
    max-width: 600px;
    margin: 0 auto;
  }

  .item-resources__image {
    aspect-ratio: 16/9;  /* Slightly wider ratio for mobile */
  }
}

@media (min-width: 47.999rem) {
  .menu__list {
  display: flex;
  align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 995px) {
  .item-pricing__button {
    font-size: 19px;
  }
}

@media (max-width: 62.6875rem) {
  .resources__container {
    padding-top: 70px;
    padding-bottom: 70px;
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__paggination {
    gap: 27px;
  }

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

  .team__row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }

  .director__container {
    flex-direction: column;
    padding-top: 70px;
    padding-bottom: 70px;
    gap: 10px;
  text-align: center;
  }

  .item-pricing {
    padding: 20px;
    padding-bottom: 30px;
  }

  .pricing__title {
    font-size: 39px;
  }

  .pricing__text {
    margin-bottom: 25px;
  }

  .item-pricing__button {
    padding: 16px 42px;
  }

  .footer__container {
    display: flex;
  flex-direction: column;
    align-items: center;
    padding: 2rem;
  }

  .footer__policy,
  .footer__copyright {
    justify-self: center;
    text-align: center;
    margin: 0.5rem 0;
  }

  .footer__logo {
    margin-bottom: 1rem;
  }

  .services-page__column {
    gap: 30px;
    font-size: 15px;
  }

  .services-page__title {
    font-size: 29px;
  }

  .reviews__row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
    column-gap: 10px;
  }

  .reviews__item {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-top: 20px;
    display: inline-block;
  }

  .item-reviews__text {
    font-size: 16px;
  }

  .item-reviews__author {
    font-size: 16px;
  }
}

@media (max-width: 47.999rem) {
  .spollers-faq__item.active .spollers-faq__button img {
    transform: translate(-10px, -10px) rotate(180deg);
  }

  .spollers-faq__button span {
    padding-top: 15px;
    padding-left: 10px;
    padding-bottom: 15px;
  font-weight: 600;
    font-size: 14px;
  }

  .spollers-faq__button img {
    padding-right: 10px;
  }

  .spollers-faq__inner {
    font-size: 16px;
    padding-left: 10px;
    line-height: 130%;
  }

  .pricing__container {
    text-align: center;
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .pricing__row {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .item-pricing__button {
    font-size: 17px;
    padding: 15px 32px;
  }

  .reviews__container {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .icon-menu {
    display: block;
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 1.875rem;
    flex: 0 0 1.875rem;
    width: 1.875rem;
    height: 1.125rem;
    cursor: pointer;
    z-index: 5;
  }

  .icon-menu span,
  .icon-menu::before,
  .icon-menu::after {
    content: "";
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    right: 0;
    position: absolute;
    width: 100%;
    height: 0.125rem;
    background-color: #000;
  }

  .icon-menu::before {
    top: 0;
  }

  .icon-menu::after {
    bottom: 0;
  }

  .menu__body {
    background-color: #fff;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    padding: 9.375rem 0.938rem 1.875rem 0.938rem;
    overflow: auto;
    flex-direction: column;
    row-gap: 5rem;
  }

  .menu__body::before {
    content: "";
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    min-height: 5.75rem;
    background-color: #fff;
    border-bottom: 1px solid #000;
    z-index: 2;
  }

  .menu-open .icon-menu span {
    width: 0;
  }

  .menu-open .icon-menu::before {
    top: calc(50% - 0.0625rem);
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .menu-open .icon-menu::after {
    bottom: calc(50% - 0.0625rem);
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .menu__item {
    text-align: center;
  }

  .menu__item:not(:last-child) {
    margin-bottom: 1.563rem;
  }

  .menu__link {
    font-size: 2rem;
  }

  .actions-header__button {
    padding: 0.75rem;
  }

  .main__container {
    padding-top: 12.5rem;
  }

  .main__container_pages {
    padding-top: 290px;
  }

  .main__title {
    font-size: 3rem;
  }

  .title {
    font-size: 2rem;
  }

  .about__content h3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .about__container {
    flex-direction: column;
    padding-top: 4.375rem;
    padding-bottom: 4.375rem;
    gap: 4rem;
  }

  .services__container {
    padding-top: 4.375rem;
    padding-bottom: 4.375rem;
}
.testiomonial__caption {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

.outro__container {
    padding-top: 4.375rem;
    padding-bottom: 4.375rem;
  }

  .logo {
    font-size: 1rem;
  }

  .services-page__column {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 20px;
    gap: 4rem;
  }
}

@media (max-width: 61.936rem) {
  .footer__container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    row-gap: 0.938rem;
  }

  .logo {
  font-size: 2rem;
  }
}

@media (max-width: 530px) {
  .reviews__row {
    grid-template-columns: 1fr;
  }

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

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

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

/* Apply services background color to testimonials */
.testimonial {
  background-color: #e1e4eb;  /* blue-gray */
}

/* Add background color to mission prep section */
.about {
  background-color: #ffffff;  /* white */
}

/* Keep services section background */
.resources {
  background-color: #e1e4eb;
}

/* Add styles for mission section */
.mission__content {
    text-align: center;  /* Center the content */
    width: 100%;
}

.section__title {
    text-align: center;  /* Center all section titles */
    margin-bottom: 2rem;
}

.mission__text {
    max-width: 800px;  /* Limit text width for readability */
    margin: 0 auto 3rem;  /* Reduced bottom margin */
    text-align: center;  /* Center the paragraph */
    font-size: 1.2rem;  /* Slightly larger text */
    line-height: 1.6;
}

.mission__subtitle {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 600;
    margin: 2rem 0 4rem;  /* Adjusted spacing */
}

.about-section__container {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.about-section.impact .about-section__container {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.mission .section__title {
    font-size: 3.5rem;  /* Match other main headlines */
    font-weight: 600;
    margin-bottom: 2rem;  /* Reduced space below title */
}

/* Use existing resources__row styles for the grid layout */

/* Update image sizing for the Platform Connects section */
.mission .item-resources__image {
    width: 100%;
    height: 400px;  /* Set fixed height for all images */
    margin-bottom: 2rem;
}

.mission .item-resources__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* Maintain aspect ratio while filling container */
    object-position: center;  /* Center the image within container */
    border-radius: 16px;
}

/* Ensure consistent container sizing */
.mission .resources__column {
    display: flex;
    justify-content: center;
}

.mission .item-resources {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 360px;
    text-align: center; /* Ensure all text is centered */
}

.item-resources h3 {
    font-weight: bold;
    text-align: center;
    margin-bottom: 1.5rem;
    width: 100%; /* Ensure full width */
}

.item-resources p {
    text-align: center;
    margin-bottom: 2rem;
    width: 100%; /* Ensure full width */
}

/* Add this to ensure any other text elements are also centered */
.item-resources * {
    text-align: center;
    width: 100%;
}

.item-resources .button {
    margin-top: 1rem;  /* Additional space above buttons if needed */
}

/* For button groups if they exist */
.item-resources .button-group {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Style the Impact section */
.impact {
    background-color: #e1e4eb;  /* blue-gray background */
    padding-top: 0;
    padding-bottom: 0;
    margin-top: -30px;
    margin-bottom: -30px;
}

.impact__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    margin-top: 25px !important;
    padding-top: 0;
    padding-bottom: 2rem;
    margin-bottom: 0;
}

.impact__column {
    width: 100%;
    display: flex;
    justify-content: center;
}

.impact__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 360px;
    text-align: center;
}

.impact__image {
    width: 100%;
    height: 400px;  /* Match height from previous section */
    margin-bottom: 2rem;
}

.impact__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
    object-position: center;
    border-radius: 16px;
}

.impact__number {
    font-size: 2.5rem;
  font-weight: 600;
    margin-bottom: 1rem;
    color: #303a4d;
}

.impact__item p {
  line-height: 1.65;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .impact__grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .impact__item {
        max-width: 600px;
        margin: 0 auto;
    }
}

/* Update Impact section title styling */
.impact .section__title {
    font-size: 3.5rem;  /* Match other main headlines */
    font-weight: 600;
    margin-bottom: 3rem;
    margin-top: 0;
}

/* Style for the YouTube button */
.impact__button {
    margin-top: 1.5rem;
    background-color: #FF0000;  /* YouTube red */
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
}

.impact__button:hover {
    background-color: #CC0000;  /* Darker red on hover */
}

/* Add styles for Featured Stories section */
.stories {
    background-color: #ffffff;  /* white background */
    margin-top: 0;
    margin-bottom: 0;
}

.stories .section__title {
    font-size: 3.5rem;  /* Match other main headlines */
    font-weight: 600;
    margin-bottom: 3rem;
}

.stories__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;  /* Increase gap between columns */
    width: 100%;
}

.story__column {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.story__item {
    width: 100%;
    max-width: 360px;  /* Maintain consistent width */
  text-align: center;
}

.story__image {
    margin-bottom: 2rem;
    width: 100%;
    height: 400px;  /* Consistent height */
}

.story__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.story__item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #303a4d;
}

.story__item p {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* Center the text content */
.stories .story__text {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .stories__grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .story__item {
        max-width: 600px;
        margin: 0 auto;
    }
}

/* Add styles for How We Help section */
.help {
    background-color: #e1e4eb;  /* blue-gray background */
    margin-top: 0;
    margin-bottom: 0;
}

.help__columns {
  display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
}

.help__column {
    width: 100%;
    display: flex;
    flex-direction: column;
  align-items: center;
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.help__image {
    width: 100%;
    height: 400px;  /* Match height from previous sections */
    margin-bottom: 2rem;
}

.help__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
}

.help__column h3 {
    font-size: 1.5rem;
  font-weight: 600;
    margin-bottom: 1rem;
    color: #303a4d;
}

.help__column p {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    max-width: 400px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .help__columns {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .help__column {
        max-width: 600px;
    }
}

.help .section__title {
    font-size: 3.5rem;  /* Match other main headlines */
  font-weight: 600;
    margin-bottom: 3rem;
}

/* Adjust Sister Lee's image positioning */
.story__image img[src*="mission photo.jpg"] {
    object-position: center 25%;  /* Move focal point up */
}
/* ************FUTURE MISSIONARIES**************** */

.main_future {
  background: url("../img/home/14.jpg") center / cover no-repeat;
  position: relative;
  min-height: 100vh;
  height: 100vh;  /* Added fixed height */
}

.main_future .main__container {
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100vh;
  padding: 200px 0;  /* Increased padding */
  padding-left: 0;
}

.main_future .main__caption {
  color: rgb(255, 255, 255);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.95);
  font-size: 2rem;
  margin-top: 10px;
  text-align: left;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 0;
}

.main_future .main__subtitle {
  color: rgb(255, 255, 255);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.95);
  font-size: 4rem;
  line-height: 1.2;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 100px;
  padding-left: 0;
}

.main_future .main__text {
  color: rgb(255, 255, 255);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.95);
  font-size: 1.2rem;
  line-height: 1.5;
  text-align: left;
  max-width: 800px;  /* Increased from 540px */
  white-space: pre-line;
  position: absolute;
  bottom: 120px;
  left: 0;
  padding: 0;
  margin: 0;
  transform: none;
  margin-bottom: 60px;  /* Added margin */
}

/* ************RESOURCES**************** */

.main_resources {
  background: url("../img/home/preach my gospel.jpg") center / cover no-repeat;
  position: relative;
  min-height: 100vh;
  height: 100vh;  /* Added fixed height */
}

.main_resources .main__container {
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100vh;
  padding: 200px 0;  /* Increased padding */
  padding-left: 0;
}

.main_future h3.main__caption {
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  font-size: 2rem;
  margin-top: -20px;
  text-align: left;  /* Changed from center to left */
  width: 100%;
  display: flex;
  justify-content: flex-start;  /* Changed from center to flex-start */
  align-items: center;
  padding-left: 20px;  /* Added padding to align with other text */
}

.main_future .main__title {
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  font-size: 3rem;
  line-height: 1.2;
  text-align: left;  /* Changed from center to left */
  max-width: 800px;
  margin-top: -30px;
  padding: 0;
  white-space: nowrap;
  display: flex;
  justify-content: flex-start;  /* Changed from center to flex-start */
  align-items: center;
  padding-left: 20px;  /* Added padding to align with other text */
}

.main_future .main__text {
  color: rgb(255, 255, 255);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.95);
  font-size: 1.2rem;
  line-height: 1.5;
  text-align: left;  /* Changed from center to left */
  max-width: 95vw;
  width: calc(100% - 40px);
  white-space: pre-line;
  position: absolute;
  bottom: 30px;
  left: 20px;  /* Changed from 50% to 20px */
  transform: none;  /* Removed transform */
  padding: 0 20px;
  margin: 0;
}

/* ************CONTACT**************** */

.contact-hero {
  background: url("../img/contact/contact hero.jpg") center / cover no-repeat;
  position: relative;
  min-height: 100vh;
}

.contact-hero__container {
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100vh;
  padding: 140px 0;
  padding-left: 0;
}

.contact-hero__caption {
  color: rgb(255, 255, 255);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.95);
  font-size: 2rem;
  margin-top: 10px;
  text-align: left;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 0;
}

.contact-hero__title {
  color: rgb(255, 255, 255);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.95);
  font-size: 3.5rem;
  line-height: 1.2;
  text-align: left;
  max-width: 800px;
  margin: 40px 0;
  padding: 0;
  white-space: nowrap;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.contact-hero__text {
  color: rgb(255, 255, 255);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.95);
  font-size: 1.2rem;
  line-height: 1.5;
  text-align: left;
  max-width: 540px;
  white-space: pre-line;
  position: absolute;
  bottom: 120px;
  left: 0;
  padding: 0;
  margin: 0;
  transform: none;
}

.contact__container {
  display: flex;
  justify-content: space-between;
  gap: 109px;
  padding-top: 140px;
  padding-bottom: 140px;
}

.contact__title {
  margin-bottom: 48px;
  font-weight: 600;
  line-height: 110%;
  font-size: 40px;
  text-align: left !important;
}

.connect-contact {
  display: flex;
  flex-direction: column;
  align-items: start;
  row-gap: 32px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e1e4eb;
}

.connect-contact__item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
}

.connect-contant__type {
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 110%;
  text-transform: uppercase;
}

.connect-contact__label {
  font-size: 22px;
  line-height: 150%;
  letter-spacing: 0.02em;
}

.contact__links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact__text {
  text-align: left !important;
  max-width: 545px;
  font-size: 18px;
  line-height: 150%;
}

.contact__text p:not(:last-child) {
  margin-bottom: 15px;
}

iframe {
  width: 100vw;
  height: 482px;
  filter: grayscale(100%);
}

/* **************REVIEWS PAGE**************** */
.reviews__container {
  padding-top: 160px;
  padding-bottom: 160px;
}

.reviews__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 96px;
}

.reviews__column {
  border: 1px solid #e1e4eb;
  border-radius: 8px;
}

.reviews__item {
  padding-top: 48px;
  padding-bottom: 56px;
  padding-right: 32px;
  padding-left: 32px;
}

.item-reviews {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.item-reviews__img {
  max-width: 46px;
  height: 36px;
  margin: 0 auto;
  margin-bottom: 46px;
}

.item-reviews__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-reviews__text {
  margin-bottom: 40px;
  font-size: 18px;
  letter-spacing: 0.02em;
  line-height: 150%;
}

.item-reviews__author {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}

.item-reviews__geo {
  font-size: 14px;
  letter-spacing: 0.002em;
}

/* ******************PRICING PAGE******************** */
.pricing__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.pricing__caption {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 4%;
}

.pricing__title {
  font-weight: 600;
  font-size: 72px;
  margin-bottom: 24px;
}

.pricing__text {
  font-size: 22px;
  letter-spacing: 2%;
  margin-bottom: 88px;
}

.pricing__row {
  display: flex;
  align-items: start;
  gap: 24px;
}

.pricing__column {
  border: 2px solid #e1e4eb;
  border-radius: 8px;
}

.pricing__item {
  padding: 40px;
  padding-bottom: 48px;
}

.item-pricing__info {
  padding-bottom: 32px;
  border-bottom: 1px solid #e1e4eb;
  margin-bottom: 32px;
}

.item-pricing__label {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 1%;
  margin-bottom: 16px;
}

.item-pricing__cost {
  font-size: 72px;
  font-weight: 600;
  margin-bottom: 16px;
}

.item-pricing__list {
  margin-bottom: 64px;
}

.item-pricing__item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.item-pricing__item::before {
  content: "";
  background: url("../img/pricing/check.svg") 0 0 no-repeat;
  width: 16px;
  height: 18px;
}

.item-pricing__item:not(:last-child) {
  margin-bottom: 12px;
}

.item-pricing__button {
  display: inline-block;
  font-size: 22px;
  letter-spacing: 2%;
  font-weight: 600;
  color: #fff;
  padding: 20px 82px;
  background-color: #303a4d;
  border-radius: 64px;
}

.team {
  background-color: #e1e4eb;
}

.team__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.team__title {
  text-align: center;
  margin-bottom: 96px;
  max-width: 483px;
}

.team__row {
  display: grid;
  column-gap: 24px;
  row-gap: 96px;
  grid-template-columns: repeat(3, 1fr);
}

.team__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.item-team__img {
  max-width: 360px;
  height: 363px;
  margin-bottom: 40px;
}

.item-team__img img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.item-team__name {
  max-width: 186px;
  font-size: 32px;
  font-weight: 600;
  line-height: 120%;
  text-align: center;
  margin-bottom: 12px;
}

.item-team__role {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 26px;
  letter-spacing: 2%;
}

.item-team__role span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.item-team__role span::after {
  content: "";
  background: url("../img/team/icons/star.svg") 0 0 no-repeat;
  width: 12px;
  height: 12px;
}

.item-team__text {
  font-size: 16px;
  text-align: center;
  letter-spacing: 2%;
  line-height: 150%;
  max-width: 328px;
  margin-bottom: 20px;
}

.item-team__icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* *************FAQ PAGE************** */
.faqs__container {
  padding-top: 140px;
  padding-bottom: 140px;
}

.faqs__title {
  text-align: center;
  margin-bottom: 80px;
}

.spollers-faq__item {
  width: 100%;
}

.spollers-faq__item:not(:last-child) {
  margin-bottom: 24px;
}

.spollers-faq__button {
  display: inline-block;
  border: 2px solid #e1e4eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-radius: 8px;
}

.spollers-faq__button span {
  padding-left: 40px;
  padding-top: 32px;
  padding-bottom: 32px;
  font-weight: 600;
}

.spollers-faq__button img {
  padding-right: 34.5px;
}

.spollers-faq__text {
  max-height: 0;
  overflow: hidden;
  width: 100%;
  display: block;
}

.spollers-faq__item.active .spollers-faq__text {
  max-height: 1000px;
  max-height: calc(1000px + 16px);
}

.spollers-faq__item.active .spollers-faq__button {
  border-bottom: none;
  border-radius: 8px 8px 0px 0px;
}

.spollers-faq__item.active .spollers-faq__button span {
  padding-bottom: 32px;
}

.spollers-faq__item.active .spollers-faq__button img {
  transform: translate(-34px, 0px) rotate(180deg);
}

.spollers-faq__inner {
  padding-top: 20px;
  padding-left: 40px;
  border: 2px solid #e1e4eb;
  border-radius: 0px 0px 8px 8px;
  line-height: 150%;
  padding-bottom: 20px;
  border-top: none;
  padding-right: 100px;
}

/* ****************TEAM PAGE**************** */
.director__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: flex;
  align-items: center;
  gap: 96px;
}

.director__title {
  margin-bottom: 16px;
}

.director__role {
    flex-direction: column;
    gap: 10px;
    margin-top: 100px;
    padding-left: 0;
}

/* Common hero section text color update */
.main_home .main__caption,
.main_home .main__title,
.main_home .main__text,
.main_about .main__caption,
.main_about .main__title,
.main_about .main__text,
.main_parents .main__caption,
.main_parents .main__title,
.main_parents .main__text,
.main_future .main__caption,
.main_future .main__title,
.main_future .main__subtitle,
.main_future .main__text,
.main_resources .main__caption,
.main_resources .main__title,
.main_resources .main__subtitle,
.main_resources .main__text {
    color: rgb(255, 255, 255);  /* Pure white */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.95);
}

.page__resources {
    margin-top: 0;  /* Remove space above next section */
    position: relative;  /* Ensure proper stacking */
    z-index: 1;  /* Keep above hero image */
}

.main_parents {
  background: url("../img/services/father angel.jpg") center / cover no-repeat;
  position: relative;
  min-height: 100vh;
  height: 100vh;  /* Added fixed height */
}

.main_parents .main__container {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 200px 0;  /* Increased padding */
}

/* Fix image sizing in second section */
.resources__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.resources__column {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0;
}

.item-resources {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 360px;
  text-align: center; /* Ensure all text is centered */
}

.item-resources__image {
  margin-bottom: 2rem;
  width: 100%;
  max-width: 360px;
  height: 360px;  /* Fixed height */
  overflow: hidden;
}

.item-resources__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.item-resources h3 {
  font-weight: bold;
  text-align: center;
  margin-bottom: 1.5rem;
  width: 100%; /* Ensure full width */
}

.item-resources p {
  text-align: center;
  margin-bottom: 2rem;
  width: 100%; /* Ensure full width */
}

/* Add this to ensure any other text elements are also centered */
.item-resources * {
  text-align: center;
  width: 100%;
}

/* Fix bottom section image */
.outro_parents {
  background: url("../img/home/man-7702303_1280.jpg") center / cover no-repeat;
  position: relative;
}

.outro_parents::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.55);
  z-index: 1;
  pointer-events: none;
}

.outro_parents .outro__container {
  position: relative;
  z-index: 2;
}

.outro_parents .outro__buttons {
  margin-bottom: 2.5rem;
}

.outro_future {
  background: url("../img/home/man-7702303_1280.jpg") center / cover no-repeat;
  position: relative;
}

.outro_future::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

/* Back to Top Button */
.return-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #303a4d;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.return-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.return-to-top:hover {
  background-color: #1a1f2a;
  transform: translateY(-3px);
}

.return-to-top svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Add arrow icon for the return-to-top button */
.return-to-top::before {
  content: "↑";
  font-size: 24px;
  line-height: 1;
  color: #ffffff;
}

.main_parents .main__title {
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  font-size: 3rem;  /* Changed from 4.5rem to 3rem to make it smaller */
  line-height: 1.2;
    text-align: center;
  max-width: 800px;
  margin: 5px 0;
  padding: 0;
  white-space: nowrap;
  display: flex;
  justify-content: center;
    align-items: center;
  }
.main_parents h3.main__caption {
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  font-size: 2rem;
  margin-top: -60px;  /* Very small negative value to move it up slightly */
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.main_parents h3 {
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  font-size: 0.8rem;
  margin-top: 10px;
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main_parents .main__caption {
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  font-size: 0.8rem;
  margin-top: 10px;
  text-align: center;
  width: 100%;
    display: flex;
  justify-content: center;
    align-items: center;
}
.main_parents .main__subtitle {
  font-size: 2rem;  /* Slightly larger than "Find essential resources" */
  line-height: 1.2;
  margin-top: 20px;  /* Reduced to move text up */
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-align: left;
  max-width: 800px;
  margin-left: 0;
  margin-right: auto;
}

.main_parents .main__text {
  color: rgb(255, 255, 255);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.95);
  font-size: 1.2rem;  /* Changed from 1.5rem to 1.2rem to make it smaller */
  line-height: 1.5;
  text-align: center;
  max-width: 95vw;
  width: calc(100% - 40px);
  white-space: pre-line;
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 20px;
  margin: 0;
}

.early-prep__image {
    width: 100%;
    max-width: 360px;
    height: 360px !important;
    max-height: 360px !important;
    min-height: 360px !important;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 8px;
}

.early-prep__image img {
    width: 100%;
    height: 360px !important;
    max-height: 360px !important;
    min-height: 360px !important;
    object-fit: cover;
}

.main_parents .main__caption {
  font-size: 4.5rem;  /* Match "Our Mission" size from About page */
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  margin-top: 50px;
  padding-left: 0;
  color: rgb(255, 255, 255);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.95);
}
/* Contact Church Section Layout */
.page__contact-church.contact-church {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 40px 0 !important;
  text-align: center !important;
}

.page__contact-church.contact-church .contact-church__container {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  display: flex !important;
  justify-content: center !important;
}

.page__contact-church.contact-church .contact-church__content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 800px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.page__contact-church.contact-church .contact-church__content p {
  font-size: 1.2rem !important;
  line-height: 1.5 !important;
  margin-bottom: 40px !important;
  color: #333 !important;
  width: 100% !important;
  text-align: center !important;
  max-width: 600px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.page__contact-church.contact-church .contact-church__buttons {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 15px !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 1000px !important;
  margin: 0 auto !important;
}

.contact__text {
  display: block;
  margin-bottom: 20px;
  text-align: center;
  width: 100%;
}

.contact__buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-church__text {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin-bottom: 30px !important;
    font-size: 1.2rem !important;
    color: #333 !important;
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.contact-church__buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
}

.contact-church__button {
    padding: 12px 24px;
    font-size: 1rem;
    min-width: auto;
    height: auto;
}

.item-resources p {
    margin-bottom: 20px;  /* Add space between text and buttons */
}

.button-group {
    margin-top: 20px;  /* Add space above button groups */
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.item-resources .button {
    margin-top: 20px;  /* Add space above single buttons */
    display: inline-block;
    padding: 12px 24px;
}

.resource__item p {
    margin-bottom: 30px;  /* Add space between text and buttons */
}

.resource__item h4 {
    margin-top: 20px;  /* Add space above title */
    margin-bottom: 15px;  /* Add space below title */
}

.resource__item .button-group {
    margin-top: 30px;  /* Add space above button groups */
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.resource__item .button {
    margin-top: 30px;  /* Add space above single buttons */
    display: inline-block;
    padding: 12px 24px;
}

/* For resource__item structure */
.resource__item {
    display: flex;
    flex-direction: column;
    gap: 30px;  /* Add space between all elements */
}

.resource__item p {
    margin-bottom: 30px !important;  /* Force space after paragraphs */
}

/* For item-resources structure */
.item-resources {
    display: flex;
    flex-direction: column;
    gap: 30px;  /* Add space between all elements */
}

.item-resources p {
    margin-bottom: 30px !important;  /* Force space after paragraphs */
}

/* Target buttons specifically */
.button-group, 
.resource__item .button,
.item-resources .button {
    margin-top: 30px !important;  /* Force space above buttons */
}

.resource__item h4 {
    margin-top: 20px;
    margin-bottom: 15px;
    font-weight: bold;  /* Make headings bold */
    font-size: inherit;  /* Keep same size */
}

.resource__item p {
    margin-bottom: 15px !important;  /* Reduce space between text and buttons */
    text-align: center;  /* Center the text */
    max-width: none;
    width: 100%;
  }

.resource__item .button-group {
    margin-top: 15px;  /* Reduce space above button groups */
  }

.resource__item .button {
    margin-top: 15px !important;  /* Reduce space above single buttons */
  }

.resource__item {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;  /* Reduce spacing between elements */
    text-align: center;  /* Return to centered text */
}

.resource__item p {
    margin-bottom: 15px !important;
    text-align: center !important;  /* Center the text */
    max-width: none;
    width: 100%;
}

.resource__item h4 {
    margin-top: 20px;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center !important;  /* Center the headings */
}

.resource__item {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center !important;  /* Ensure all content is centered */
}

.testimonial__row .resource__item p {
    text-align: center !important;
    margin: 0 auto 15px auto;
    max-width: 600px;
}

.testimonial__row .resource__item h4 {
    text-align: center !important;
    margin-bottom: 15px;
    font-weight: bold;
}

.testimonial__row .resource__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

.testimonial__row .resource__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

.testimonial__row .resource__item p {
    text-align: center !important;
    margin: 0 auto 15px auto;
    max-width: 600px;
}

.testimonial__row .resource__item h4 {
    text-align: center !important;
    margin-bottom: 15px;
    font-weight: bold;
}

/* Add specific styling for Mission Funding Options section */
.testimonial__container .resource__item {
    text-align: center !important;
}

.testimonial__container .resource__item p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 600px !important;
}

.testimonial__container .resource__item h4 {
    text-align: center !important;
    width: 100% !important;
}

.early-prep__item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.early-prep__item h3 {
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
}

.early-prep__item p {
    text-align: center;
    margin-bottom: 1.5rem;
}

.early-prep__item .button {
    display: inline-block;
    padding: 12px 24px;
    margin: 0 auto;
}
/* Override testimonial styles */
.page__testimonial .testimonial__title.title {
  font-size: 1.1rem !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  text-align: center !important;
  margin-bottom: 1.5rem !important;
}

.page__testimonial .testiomonial__caption {
  font-size: 3rem !important;
  font-weight: 700 !important;
  text-align: center !important;
  margin-bottom: 2rem !important;
}

/* Style testimonial section to match Get Connected */
.testimonial {
    background-color: #e1e4eb;
    margin-top: 0;
}

.testimonial__container {
    max-width: 72.624rem;
    margin: 0 auto;
    padding: 0 0.938rem;
    padding-top: 70px;  /* Match Get Connected spacing */
    padding-bottom: 6rem !important;  /* Reduce from 8.75rem */
}

.testimonial__row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);  /* Two columns */
    gap: 2rem;  /* Space between cards */
    margin-top: 2rem;
}

.testimonial__column {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page__testimonial .testiomonial__caption {
    font-size: 3rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    margin-bottom: 2rem !important;
    margin-top: 0 !important;  /* Reset top margin */
}

.page__testimonial .testimonial__title.title {
    font-size: 1.1rem !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    text-align: center !important;
    margin-bottom: 1.5rem !important;
}

/* Rest of the testimonial styles */
.item-testimonial {
    margin-top: 2rem;
    text-align: center;
}

.item-testimonial__image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
}

.item-testimonial__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-testimonial__title {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.item-testimonial__caption {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonial__row {
        grid-template-columns: 1fr;  /* Stack cards on mobile */
    }
    
    .testimonial {
        padding: 60px 0;
    }
    .testimonial__container {
        padding-bottom: 6rem !important;
    }
}/* Center and lower the Share Your Mission Story title */
.page__outro .outro__title.title {
  text-align: center;
  margin-top: 40px;      /* Moves the title down from the top */
  margin-bottom: 2rem;
  width: 100%;
  display: block;
}

/* Center the button */
.page__outro .outro__button.button {
  display: block;          /* Change to block */
  margin: 2rem auto;      /* Keep vertical margin, auto for horizontal centering */
  text-align: center;
  max-width: 250px;       /* Keep the width constraint */
  width: auto;
  position: relative;     /* Ensure proper positioning */
  left: 50%;             /* Move to center */
  transform: translateX(-50%); /* Offset by half its width */
}

/* Optional: Make the section taller if the image is a background */
.page__outro.outro_home {
  min-height: 400px; /* Adjust as needed for your image */
}/* Remove extra space between sections */
.page__outro,
.page__outro .outro__container {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Center and lower the Share Your Mission Story title */
.page__outro .outro__title.title {
  text-align: center;
  margin-top: 20px;      /* Move title down by 20px */
  margin-bottom: 2rem;
  width: 100%;
  display: block;
}

/* Center the button */
.page__outro .outro__button.button {
  display: block;          /* Change to block */
  margin: 2rem auto;      /* Keep vertical margin, auto for horizontal centering */
  text-align: center;
  max-width: 250px;       /* Keep the width constraint */
  width: auto;
  position: relative;     /* Ensure proper positioning */
  left: 50%;             /* Move to center */
  transform: translateX(-50%); /* Offset by half its width */
}

/* Make the outro section (with the image) taller */
.page__outro.outro_home {
  min-height: 550px; /* Increase as needed for a taller image */
  background-size: cover;
  background-position: center;
}
/* Remove margin-bottom from the last child in the testimonial section */
.page__testimonial .testimonial__container > *:last-child {
  margin-bottom: 0 !important;
}

/* Remove margin-top from the first child in the outro section */
.page__outro .outro__container > *:first-child {
  margin-top: 0 !important;
}

/* Remove border or background on the wrapper if present */
.wrapper {
  border: none !important;
  background: none !important;
}
.page__outro .outro__container {
  padding-top: 30px !important;
}
.page__outro .outro__title.title,
.page__outro .outro__text {
  max-width: 600px;      /* Adjust as needed for your design */
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.page__outro .outro__text {
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.page__outro.outro_home {
  position: relative;
  overflow: hidden;
}

/* The overlay */
.page__outro.outro_home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);  /* Make the white overlay more transparent */
  z-index: 1;  /* Place it between the background image and the content */
}

.page__outro .outro__container {
  position: relative;
  z-index: 2;  /* Place the content above the overlay */
}

/* Make sure the content is above the overlay */
.page__outro.outro_home::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.15); /* 15% white, very transparent */
  z-index: 1;
  pointer-events: none;
}

/* Remove the duplicate ::before and fix the overlay */
.page__outro.outro_home {
    position: relative;
    overflow: hidden;
}

.page__outro.outro_home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.4);  /* 40% white overlay */
    z-index: 1;
    pointer-events: none;
}

.page__outro .outro__container {
    position: relative;
    z-index: 2;
}

/* Add a subtle text shadow to help with readability */
.page__outro .outro__title,
.page__outro .outro__text {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/* Center the button in the outro section */
.page__outro .outro__container {
    display: flex;          /* Make container a flex container */
    flex-direction: column; /* Stack items vertically */
    align-items: center;    /* Center items horizontally */
}

.page__outro .outro__button.button {
    display: block;          /* Make it a block element */
    width: fit-content;     /* Make width fit the content */
    margin-left: auto;      /* Auto margins on both sides will center it */
    margin-right: auto;
    margin-top: 2rem;       /* Keep the top margin */
    margin-bottom: 2rem;    /* Keep the bottom margin */
    text-align: center;
}

/* Center the button in the outro section */
.page__outro .outro__container {
    text-align: center;  /* Center all text content */
}

.page__outro .outro__button.button {
    display: inline-block !important;  /* Force inline-block */
    width: 250px !important;          /* Set fixed width */
    margin: 2rem auto !important;     /* Force auto margins */
    text-align: center !important;    /* Center text */
    float: none !important;           /* Remove any floating */
    position: static !important;      /* Remove any positioning */
}

/* Center the button in the outro section */
.page__outro .outro__container {
    text-align: center !important;  /* Center all text content */
    display: flex !important;       /* Make it a flex container */
    flex-direction: column !important; /* Stack items vertically */
    align-items: center !important; /* Center items horizontally */
}

.page__outro .outro__button.button {
    display: inline-block !important;  /* Force inline-block */
    width: 250px !important;          /* Set fixed width */
    margin: 2rem 0 !important;        /* Remove horizontal margins */
    text-align: center !important;     /* Center text */
    position: static !important;       /* Remove any positioning */
}

/* Center the button in the outro section */
.page__outro .outro__container {
    text-align: center !important;  /* Center all text content */
    display: flex !important;       /* Make it a flex container */
    flex-direction: column !important; /* Stack items vertically */
    align-items: center !important; /* Center items horizontally */
}

.page__outro .outro__button.button {
    display: inline-block !important;  /* Force inline-block */
    width: 250px !important;          /* Set fixed width */
    margin: 2rem 0 !important;        /* Remove horizontal margins */
    text-align: center !important;     /* Center text */
    position: static !important;       /* Remove any positioning */
}

/* Center the button in the outro section */
section.page__outro.outro_home .outro__button.button {
    display: block !important;           /* Make it a block element */
    width: 250px !important;            /* Set fixed width */
    margin-left: auto !important;       /* Center horizontally */
    margin-right: auto !important;      /* Center horizontally */
    margin-top: 2rem !important;        /* Keep vertical spacing */
    margin-bottom: 2rem !important;     /* Keep vertical spacing */
    text-align: center !important;      /* Center text inside button */
    float: none !important;             /* Remove any floating */
    position: relative !important;       /* Use relative positioning */
    left: 0 !important;                 /* Reset any left positioning */
    transform: none !important;         /* Remove any transforms */
}

/* Make footer taller and adjust layout */
.footer {
    padding: 40px 0 !important;  /* Increase vertical padding to make it taller */
    background-color: #fff;      /* Ensure background is white */
}

.footer__container {
    display: flex !important;
    justify-content: space-between !important;  /* Space items evenly */
    align-items: center !important;
    max-width: 72.624rem !important;
    margin: 0 auto !important;
    padding: 0 0.938rem !important;
    position: relative !important;  /* For positioning children */
}

/* Move logo down slightly */
.footer__logo {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;  /* Center horizontally */
    margin-top: 10px !important;  /* Move down slightly */
}

/* Position copyright to the right */
.footer__copyright {
    margin-left: auto !important;  /* Push to the right */
    text-align: right !important;
}

/* Adjust privacy policy position */
.footer__policy {
    margin-right: auto !important;  /* Push to the left */
}

/* Reduce bottom spacing in Get Connected section */
body .wrapper main.page section.page__resources.resources > .resources__container {
    padding-bottom: 6rem !important;
}

/* Also target any media query versions */
@media (max-width: 62.6875rem) {
    body .wrapper main.page section.page__resources.resources > .resources__container {
        padding-bottom: 6rem !important;
    }
}

/* Adjust spacing in Mission Prep section */
body .wrapper main.page section.page__about.about > .about__container {
    padding-top: 3.5rem !important;
    padding-bottom: 5rem !important;
}

/* Also ensure it works in responsive views */
@media (max-width: 62.6875rem) {
    body .wrapper main.page section.page__about.about > .about__container {
        padding-top: 3.5rem !important;
        padding-bottom: 5rem !important;
    }
}

/* Ensure it works in all media queries */
@media (max-width: 62.6875rem) {
    .about__container {
        padding-top: 6rem !important;
        padding-bottom: 6rem !important;
    }
}

/* Adjust Share Your Mission Story section */
.page__outro .outro__title.title,
.page__outro .outro__text {
    max-width: none !important;      /* Remove the width constraint */
    margin-left: 0 !important;       /* Remove left margin */
    margin-right: 0 !important;      /* Remove right margin */
    text-align: center !important;   /* Keep text centered */
}

/* Keep the section height as is */
.page__outro.outro_home {
    min-height: 550px !important;    /* Maintain current height */
    position: relative !important;
    overflow: hidden !important;
}

/* Remove width constraints while keeping other styles */
.page__outro .outro__title.title,
.page__outro .outro__text {
    max-width: 100% !important;      /* Allow full width */
    margin-left: 1rem !important;    /* Keep some minimal margin for readability */
    margin-right: 1rem !important;   /* Keep some minimal margin for readability */
    text-align: center !important;   /* Keep text centered */
    position: relative !important;    /* Ensure text stays above overlay */
    z-index: 2 !important;           /* Keep text above the overlay */
}

/* Maintain current section height */
.page__outro.outro_home {
    min-height: 550px !important;    /* Keep current height */
    position: relative !important;
    overflow: hidden !important;
}

/* Adjust description spacing */
.page__outro .outro__text {
    margin-top: 40px !important;     /* Add space below the title */
    position: relative !important;    /* Keep text above overlay */
    z-index: 2 !important;           /* Ensure text stays above overlay */
}

/* Move the button down */
.page__outro .outro__button.button {
    margin-top: 40px !important;     /* Add space above the button */
    display: block !important;        /* Keep existing button display */
    width: 250px !important;         /* Keep existing width */
    margin-left: auto !important;    /* Keep horizontal centering */
    margin-right: auto !important;   /* Keep horizontal centering */
    position: relative !important;    /* Keep button above overlay */
    z-index: 2 !important;           /* Ensure button stays above overlay */
}

/* Move the button down with a more specific selector */
section.page__outro.outro_home .outro__button.button {
    margin-top: 40px !important;     /* Add space above the button */
    display: block !important;        /* Keep existing button display */
    width: 250px !important;         /* Keep existing width */
    margin-left: auto !important;    /* Keep horizontal centering */
    margin-right: auto !important;   /* Keep horizontal centering */
    position: relative !important;    /* Keep button above overlay */
    z-index: 2 !important;           /* Ensure button stays above overlay */
}

/* Also target the button container if it exists */
.page__outro .outro__container {
    display: flex !important;
    flex-direction: column !important;
    gap: 40px !important;            /* Add space between elements */
}

/* Move all elements down by adjusting container padding */
.page__outro .outro__container {
    padding-top: 50px !important;     /* Increase top padding to move everything down */
    display: flex !important;
    flex-direction: column !important;
    gap: 40px !important;             /* Maintain spacing between elements */
}

/* Keep existing title styles */
.page__outro .outro__title.title {
    position: relative !important;
    z-index: 2 !important;
}

/* Keep existing text styles */
.page__outro .outro__text {
    margin-top: 40px !important;
    position: relative !important;
    z-index: 2 !important;
}

/* Keep existing button styles */
section.page__outro.outro_home .outro__button.button {
    margin-top: 40px !important;
    position: relative !important;
    z-index: 2 !important;
}

/* Move just the title down */
.page__outro .outro__title.title {
    margin-top: 20px !important;     /* Add space above the title */
    position: relative !important;    /* Keep title above overlay */
    z-index: 2 !important;           /* Ensure title stays above overlay */
}

/* Increase button width */
section.page__outro.outro_home .outro__button.button {
    width: 350px !important;         /* Increase width from 250px to 350px */
    margin-top: 40px !important;     /* Keep existing top margin */
    display: block !important;        /* Keep existing display */
    margin-left: auto !important;    /* Keep horizontal centering */
    margin-right: auto !important;   /* Keep horizontal centering */
    position: relative !important;    /* Keep button above overlay */
    z-index: 2 !important;           /* Ensure button stays above overlay */
}

/* Increase button width with more specific selector */
body .wrapper main.page section.page__outro.outro_home .outro__button.button {
    width: 400px !important;         /* Try an even wider width */
    min-width: 400px !important;     /* Ensure minimum width */
    display: block !important;
    margin-top: 40px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    position: relative !important;
    z-index: 2 !important;
    white-space: nowrap !important;  /* Prevent text wrapping */
}

/* Target button with maximum specificity and larger width */
body .wrapper main.page section.page__outro.outro_home .outro__container .outro__button.button,
.page__outro .outro__button.button,
section.page__outro.outro_home .outro__button.button {
    width: 500px !important;         /* Much wider width */
    min-width: 500px !important;     /* Ensure minimum width */
    max-width: none !important;      /* Remove any max-width constraints */
    display: inline-block !important;
    margin-top: 40px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    position: relative !important;
    z-index: 2 !important;
    white-space: nowrap !important;  /* Prevent text wrapping */
    text-align: center !important;
}

/* Target the button with exact structure */
.page__outro a.outro__button.button,
a.outro__button.button {
    width: 500px !important;         /* Much wider width */
    min-width: 500px !important;     /* Ensure minimum width */
    max-width: none !important;      /* Remove any max-width constraints */
    display: inline-block !important;
    padding-left: 40px !important;   /* Add horizontal padding */
    padding-right: 40px !important;  /* Add horizontal padding */
    margin-top: 40px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    position: relative !important;
    z-index: 2 !important;
    white-space: nowrap !important;  /* Prevent text wrapping */
    text-align: center !important;
}
.outro__container {
  text-align: center;
}

/* Center the buttons in the outro section */
.page__outro.outro_about .outro__buttons {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1.5rem !important;
    width: 100% !important;
    margin: 2rem auto !important;
    flex-wrap: wrap !important;
}

.page__outro.outro_about .outro__button.button {
    position: static !important;
    transform: none !important;
    left: auto !important;
    margin: 0 !important;
    min-width: 180px !important;  /* Increased from 160px */
    max-width: 220px !important;  /* Increased from 180px */
    display: inline-block !important;
    padding: 12px 24px !important;
    white-space: nowrap !important;
    width: auto !important;  /* Allow button to fit content */
}

.about-section.impact {
    margin-top: 0;
    margin-bottom: 0;
}

.about-section__container:first-child {
    margin-top: 0;
}

.stories .about-section__container,
.help .about-section__container {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.about-section.impact .impact__item .impact__button,
.about-section.impact .impact__item .button-group {
    margin-top: 30px;
}

.about__column {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.about-section.mission .about-section__container {
  padding-top: 2.75rem !important;
}

.about-section.mission .section__title {
  margin-bottom: 2rem !important;
}

.about-section.mission .mission__text {
  margin-bottom: 1.75rem !important;
}

.about-section.mission .mission__subtitle {
  margin-bottom: 2rem !important;
}

.about-section.mission .item-resources__image {
  margin-bottom: 0.25rem !important;
}

.about-section.mission .item-resources__title {
  margin-bottom: 0.25rem !important;
}

.about-section.mission .resources__row {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.about-section.mission .resources__column {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.about-section.mission .item-resources {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 360px;
  text-align: center; /* Ensure all text is centered */
}

.item-resources h3 {
  font-weight: bold;
  text-align: center;
  margin-bottom: 1.5rem;
  width: 100%; /* Ensure full width */
}

.item-resources p {
  text-align: center;
  margin-bottom: 2rem;
  width: 100%; /* Ensure full width */
}

/* Add this to ensure any other text elements are also centered */
.item-resources * {
  text-align: center;
  width: 100%;
}

.item-resources .button {
  margin-top: 1rem;  /* Additional space above buttons if needed */
}

/* For button groups if they exist */
.item-resources .button-group {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Style the Impact section */
.impact {
    background-color: #e1e4eb;  /* blue-gray background */
    padding-top: 0;
    padding-bottom: 0;
    margin-top: -30px;
    margin-bottom: -30px;
}

.impact__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    margin-top: 25px !important;
    padding-top: 0;
    padding-bottom: 2rem;
    margin-bottom: 0;
}

.impact__column {
    width: 100%;
    display: flex;
    justify-content: center;
}

.impact__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 360px;
    text-align: center;
}

.impact__image {
    width: 100%;
    height: 400px;  /* Match height from previous section */
    margin-bottom: 2rem;
}

.impact__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
    object-position: center;
    border-radius: 16px;
}

.impact__number {
    font-size: 2.5rem;
  font-weight: 600;
    margin-bottom: 1rem;
    color: #303a4d;
}

.impact__item p {
  line-height: 1.65;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .impact__grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .impact__item {
        max-width: 600px;
        margin: 0 auto;
    }
}

/* Update Impact section title styling */
.impact .section__title {
    font-size: 3.5rem;  /* Match other main headlines */
    font-weight: 600;
    margin-bottom: 3rem;
    margin-top: 0;
}

/* Style for the YouTube button */
.impact__button {
    margin-top: 1.5rem;
    background-color: #FF0000;  /* YouTube red */
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
}

.impact__button:hover {
    background-color: #CC0000;  /* Darker red on hover */
}

/* Add styles for Featured Stories section */
.stories {
    background-color: #ffffff;  /* white background */
    margin-top: 0;
    margin-bottom: 0;
}

.stories .section__title {
    font-size: 3.5rem;  /* Match other main headlines */
    font-weight: 600;
    margin-bottom: 3rem;
}

.stories__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;  /* Increase gap between columns */
    width: 100%;
}

.story__column {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.story__item {
    width: 100%;
    max-width: 360px;  /* Maintain consistent width */
  text-align: center;
}

.story__image {
    margin-bottom: 2rem;
    width: 100%;
    height: 400px;  /* Consistent height */
}

.story__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.story__item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #303a4d;
}

.story__item p {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* Center the text content */
.stories .story__text {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .stories__grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .story__item {
        max-width: 600px;
        margin: 0 auto;
    }
}

/* Add styles for How We Help section */
.help {
    background-color: #e1e4eb;  /* blue-gray background */
    margin-top: 0;
    margin-bottom: 0;
}

.help__columns {
  display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
}

.help__column {
    width: 100%;
    display: flex;
    flex-direction: column;
  align-items: center;
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.help__image {
    width: 100%;
    height: 400px;  /* Match height from previous sections */
    margin-bottom: 2rem;
}

.help__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
}

.help__column h3 {
    font-size: 1.5rem;
  font-weight: 600;
    margin-bottom: 1rem;
    color: #303a4d;
}

.help__column p {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    max-width: 400px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .help__columns {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .help__column {
        max-width: 600px;
    }
}

.help .section__title {
    font-size: 3.5rem;  /* Match other main headlines */
  font-weight: 600;
    margin-bottom: 3rem;
}

/* Adjust Sister Lee's image positioning */
.story__image img[src*="mission photo.jpg"] {
    object-position: center 25%;  /* Move focal point up */
}
/* ************FUTURE MISSIONARIES**************** */

.main_future {
  background: url("../img/home/14.jpg") center / cover no-repeat;
  position: relative;
  min-height: 100vh;
  height: 100vh;  /* Added fixed height */
}

.main_future .main__container {
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100vh;
  padding: 200px 0;  /* Increased padding */
  padding-left: 0;
}

.main_future .main__caption {
  color: rgb(255, 255, 255);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.95);
  font-size: 2rem;
  margin-top: 10px;
  text-align: left;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 0;
}

.main_future .main__subtitle {
  color: rgb(255, 255, 255);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.95);
  font-size: 4rem;
  line-height: 1.2;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 100px;
  padding-left: 0;
}

.main_future .main__text {
  color: rgb(255, 255, 255);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.95);
  font-size: 1.2rem;
  line-height: 1.5;
  text-align: left;
  max-width: 800px;  /* Increased from 540px */
  white-space: pre-line;
  position: absolute;
  bottom: 120px;
  left: 0;
  padding: 0;
  margin: 0;
  transform: none;
  margin-bottom: 60px;  /* Added margin */
}

/* ************RESOURCES**************** */

.main_resources {
  background: url("../img/home/preach my gospel.jpg") center / cover no-repeat;
  position: relative;
  min-height: 100vh;
  height: 100vh;  /* Added fixed height */
}

.main_resources .main__container {
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100vh;
  padding: 200px 0;  /* Increased padding */
  padding-left: 0;
}

.main_future h3.main__caption {
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  font-size: 2rem;
  margin-top: -20px;
  text-align: left;  /* Changed from center to left */
  width: 100%;
  display: flex;
  justify-content: flex-start;  /* Changed from center to flex-start */
  align-items: center;
  padding-left: 20px;  /* Added padding to align with other text */
}

.main_future .main__title {
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  font-size: 3rem;
  line-height: 1.2;
  text-align: left;  /* Changed from center to left */
  max-width: 800px;
  margin-top: -30px;
  padding: 0;
  white-space: nowrap;
  display: flex;
  justify-content: flex-start;  /* Changed from center to flex-start */
  align-items: center;
  padding-left: 20px;  /* Added padding to align with other text */
}

.main_future .main__text {
  color: rgb(255, 255, 255);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.95);
  font-size: 1.2rem;
  line-height: 1.5;
  text-align: left;  /* Changed from center to left */
  max-width: 95vw;
  width: calc(100% - 40px);
  white-space: pre-line;
  position: absolute;
  bottom: 30px;
  left: 20px;  /* Changed from 50% to 20px */
  transform: none;  /* Removed transform */
  padding: 0 20px;
  margin: 0;
}

/* ************CONTACT**************** */

.contact-hero {
  background: url("../img/contact/contact hero.jpg") center / cover no-repeat;
  position: relative;
  min-height: 100vh;
}

.contact-hero__container {
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100vh;
  padding: 140px 0;
  padding-left: 0;
}

.contact-hero__caption {
  color: rgb(255, 255, 255);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.95);
  font-size: 2rem;
  margin-top: 10px;
  text-align: left;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 0;
}

.contact-hero__title {
  color: rgb(255, 255, 255);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.95);
  font-size: 3.5rem;
  line-height: 1.2;
  text-align: left;
  max-width: 800px;
  margin: 40px 0;
  padding: 0;
  white-space: nowrap;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.contact-hero__text {
  color: rgb(255, 255, 255);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.95);
  font-size: 1.2rem;
  line-height: 1.5;
  text-align: left;
  max-width: 540px;
  white-space: pre-line;
  position: absolute;
  bottom: 120px;
  left: 0;
  padding: 0;
  margin: 0;
  transform: none;
}

.contact__container {
  display: flex;
  justify-content: space-between;
  gap: 109px;
  padding-top: 140px;
  padding-bottom: 140px;
}

.contact__title {
  margin-bottom: 48px;
  font-weight: 600;
  line-height: 110%;
  font-size: 40px;
  text-align: left !important;
}

.connect-contact {
  display: flex;
  flex-direction: column;
  align-items: start;
  row-gap: 32px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e1e4eb;
}

.connect-contact__item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
}

.connect-contant__type {
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 110%;
  text-transform: uppercase;
}

.connect-contact__label {
  font-size: 22px;
  line-height: 150%;
  letter-spacing: 0.02em;
}

.contact__links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact__text {
  text-align: left !important;
  max-width: 545px;
  font-size: 18px;
  line-height: 150%;
}

.contact__text p:not(:last-child) {
  margin-bottom: 15px;
}

iframe {
  width: 100vw;
  height: 482px;
  filter: grayscale(100%);
}

/* **************REVIEWS PAGE**************** */
.reviews__container {
  padding-top: 160px;
  padding-bottom: 160px;
}

.reviews__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 96px;
}

.reviews__column {
  border: 1px solid #e1e4eb;
  border-radius: 8px;
}

.reviews__item {
  padding-top: 48px;
  padding-bottom: 56px;
  padding-right: 32px;
  padding-left: 32px;
}

.item-reviews {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.item-reviews__img {
  max-width: 46px;
  height: 36px;
  margin: 0 auto;
  margin-bottom: 46px;
}

.item-reviews__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-reviews__text {
  margin-bottom: 40px;
  font-size: 18px;
  letter-spacing: 0.02em;
  line-height: 150%;
}

.item-reviews__author {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}

.item-reviews__geo {
  font-size: 14px;
  letter-spacing: 0.002em;
}

/* ******************PRICING PAGE******************** */
.pricing__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.pricing__caption {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 4%;
}

.pricing__title {
  font-weight: 600;
  font-size: 72px;
  margin-bottom: 24px;
}

.pricing__text {
  font-size: 22px;
  letter-spacing: 2%;
  margin-bottom: 88px;
}

.pricing__row {
  display: flex;
  align-items: start;
  gap: 24px;
}

.pricing__column {
  border: 2px solid #e1e4eb;
  border-radius: 8px;
}

.pricing__item {
  padding: 40px;
  padding-bottom: 48px;
}

.item-pricing__info {
  padding-bottom: 32px;
  border-bottom: 1px solid #e1e4eb;
  margin-bottom: 32px;
}

.item-pricing__label {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 1%;
  margin-bottom: 16px;
}

.item-pricing__cost {
  font-size: 72px;
  font-weight: 600;
  margin-bottom: 16px;
}

.item-pricing__list {
  margin-bottom: 64px;
}

.item-pricing__item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.item-pricing__item::before {
  content: "";
  background: url("../img/pricing/check.svg") 0 0 no-repeat;
  width: 16px;
  height: 18px;
}

.item-pricing__item:not(:last-child) {
  margin-bottom: 12px;
}

.item-pricing__button {
  display: inline-block;
  font-size: 22px;
  letter-spacing: 2%;
  font-weight: 600;
  color: #fff;
  padding: 20px 82px;
  background-color: #303a4d;
  border-radius: 64px;
}

.team {
  background-color: #e1e4eb;
}

.team__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.team__title {
  text-align: center;
  margin-bottom: 96px;
  max-width: 483px;
}

.team__row {
  display: grid;
  column-gap: 24px;
  row-gap: 96px;
  grid-template-columns: repeat(3, 1fr);
}

.team__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.item-team__img {
  max-width: 360px;
  height: 363px;
  margin-bottom: 40px;
}

.item-team__img img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.item-team__name {
  max-width: 186px;
  font-size: 32px;
  font-weight: 600;
  line-height: 120%;
  text-align: center;
  margin-bottom: 12px;
}

.item-team__role {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 26px;
  letter-spacing: 2%;
}

.item-team__role span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.item-team__role span::after {
  content: "";
  background: url("../img/team/icons/star.svg") 0 0 no-repeat;
  width: 12px;
  height: 12px;
}

.item-team__text {
  font-size: 16px;
  text-align: center;
  letter-spacing: 2%;
  line-height: 150%;
  max-width: 328px;
  margin-bottom: 20px;
}

.item-team__icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* *************FAQ PAGE************** */
.faqs__container {
  padding-top: 140px;
  padding-bottom: 140px;
}

.faqs__title {
  text-align: center;
  margin-bottom: 80px;
}

.spollers-faq__item {
  width: 100%;
}

.spollers-faq__item:not(:last-child) {
  margin-bottom: 24px;
}

.spollers-faq__button {
  display: inline-block;
  border: 2px solid #e1e4eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-radius: 8px;
}

.spollers-faq__button span {
  padding-left: 40px;
  padding-top: 32px;
  padding-bottom: 32px;
  font-weight: 600;
}

.spollers-faq__button img {
  padding-right: 34.5px;
}

.spollers-faq__text {
  max-height: 0;
  overflow: hidden;
  width: 100%;
  display: block;
}

.spollers-faq__item.active .spollers-faq__text {
  max-height: 1000px;
  max-height: calc(1000px + 16px);
}

.spollers-faq__item.active .spollers-faq__button {
  border-bottom: none;
  border-radius: 8px 8px 0px 0px;
}

.spollers-faq__item.active .spollers-faq__button span {
  padding-bottom: 32px;
}

.spollers-faq__item.active .spollers-faq__button img {
  transform: translate(-34px, 0px) rotate(180deg);
}

.spollers-faq__inner {
  padding-top: 20px;
  padding-left: 40px;
  border: 2px solid #e1e4eb;
  border-radius: 0px 0px 8px 8px;
  line-height: 150%;
  padding-bottom: 20px;
  border-top: none;
  padding-right: 100px;
}

/* ****************TEAM PAGE**************** */
.director__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: flex;
  align-items: center;
  gap: 96px;
}

.director__title {
  margin-bottom: 16px;
}

.director__role {
    flex-direction: column;
    gap: 10px;
    margin-top: 100px;
    padding-left: 0;
}

/* Common hero section text color update */
.main_home .main__caption,
.main_home .main__title,
.main_home .main__text,
.main_about .main__caption,
.main_about .main__title,
.main_about .main__text,
.main_parents .main__caption,
.main_parents .main__title,
.main_parents .main__text,
.main_future .main__caption,
.main_future .main__title,
.main_future .main__subtitle,
.main_future .main__text,
.main_resources .main__caption,
.main_resources .main__title,
.main_resources .main__subtitle,
.main_resources .main__text {
    color: rgb(255, 255, 255);  /* Pure white */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.95);
}

.page__resources {
    margin-top: 0;  /* Remove space above next section */
    position: relative;  /* Ensure proper stacking */
    z-index: 1;  /* Keep above hero image */
}

.main_parents {
  background: url("../img/services/father angel.jpg") center / cover no-repeat;
  position: relative;
  min-height: 100vh;
  height: 100vh;  /* Added fixed height */
}

.main_parents .main__container {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 200px 0;  /* Increased padding */
}

/* Fix image sizing in second section */
.resources__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.resources__column {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0;
}

.item-resources {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 360px;
  text-align: center; /* Ensure all text is centered */
}

.item-resources__image {
  margin-bottom: 2rem;
  width: 100%;
  max-width: 360px;
  height: 360px;  /* Fixed height */
  overflow: hidden;
}

.item-resources__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.item-resources h3 {
  font-weight: bold;
  text-align: center;
  margin-bottom: 1.5rem;
  width: 100%; /* Ensure full width */
}

.item-resources p {
  text-align: center;
  margin-bottom: 2rem;
  width: 100%; /* Ensure full width */
}

/* Add this to ensure any other text elements are also centered */
.item-resources * {
  text-align: center;
  width: 100%;
}

/* Fix bottom section image */
.outro_parents {
  background: url("../img/home/man-7702303_1280.jpg") center / cover no-repeat;
  position: relative;
}

.outro_parents::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.55);
  z-index: 1;
  pointer-events: none;
}

.outro_parents .outro__container {
  position: relative;
  z-index: 2;
}

.outro_parents .outro__buttons {
  margin-bottom: 2.5rem;
}

.outro_future {
  background: url("../img/home/man-7702303_1280.jpg") center / cover no-repeat;
  position: relative;
}

.outro_future::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

/* Back to Top Button */
.return-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #303a4d;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.return-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.return-to-top:hover {
  background-color: #1a1f2a;
  transform: translateY(-3px);
}

.return-to-top svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Add arrow icon for the return-to-top button */
.return-to-top::before {
  content: "↑";
  font-size: 24px;
  line-height: 1;
  color: #ffffff;
}

.main_parents .main__title {
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  font-size: 3rem;  /* Changed from 4.5rem to 3rem to make it smaller */
  line-height: 1.2;
    text-align: center;
  max-width: 800px;
  margin: 5px 0;
  padding: 0;
  white-space: nowrap;
  display: flex;
  justify-content: center;
    align-items: center;
  }
.main_parents h3.main__caption {
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  font-size: 2rem;
  margin-top: -60px;  /* Very small negative value to move it up slightly */
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.main_parents h3 {
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  font-size: 0.8rem;
  margin-top: 10px;
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main_parents .main__caption {
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  font-size: 0.8rem;
  margin-top: 10px;
  text-align: center;
  width: 100%;
    display: flex;
  justify-content: center;
    align-items: center;
}
.main_parents .main__subtitle {
  font-size: 2rem;  /* Slightly larger than "Find essential resources" */
  line-height: 1.2;
  margin-top: 20px;  /* Reduced to move text up */
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-align: left;
  max-width: 800px;
  margin-left: 0;
  margin-right: auto;
}

.main_parents .main__text {
  color: rgb(255, 255, 255);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.95);
  font-size: 1.2rem;  /* Changed from 1.5rem to 1.2rem to make it smaller */
  line-height: 1.5;
  text-align: center;
  max-width: 95vw;
  width: calc(100% - 40px);
  white-space: pre-line;
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 20px;
  margin: 0;
}

.early-prep__image {
    width: 100%;
    max-width: 360px;
    height: 360px !important;
    max-height: 360px !important;
    min-height: 360px !important;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 8px;
}

.early-prep__image img {
    width: 100%;
    height: 360px !important;
    max-height: 360px !important;
    min-height: 360px !important;
    object-fit: cover;
}

.main_parents .main__caption {
  font-size: 4.5rem;  /* Match "Our Mission" size from About page */
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  margin-top: 50px;
  padding-left: 0;
  color: rgb(255, 255, 255);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.95);
}
/* Contact Church Section Layout */
.page__contact-church.contact-church {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 40px 0 !important;
  text-align: center !important;
}

.page__contact-church.contact-church .contact-church__container {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  display: flex !important;
  justify-content: center !important;
}

.page__contact-church.contact-church .contact-church__content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 800px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.page__contact-church.contact-church .contact-church__content p {
  font-size: 1.2rem !important;
  line-height: 1.5 !important;
  margin-bottom: 40px !important;
  color: #333 !important;
  width: 100% !important;
  text-align: center !important;
  max-width: 600px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.page__contact-church.contact-church .contact-church__buttons {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 15px !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 1000px !important;
  margin: 0 auto !important;
}

.contact__text {
  display: block;
  margin-bottom: 20px;
  text-align: center;
  width: 100%;
}

.contact__buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-church__text {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin-bottom: 30px !important;
    font-size: 1.2rem !important;
    color: #333 !important;
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.contact-church__buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
}

.contact-church__button {
    padding: 12px 24px;
    font-size: 1rem;
    min-width: auto;
    height: auto;
}

.item-resources p {
    margin-bottom: 20px;  /* Add space between text and buttons */
}

.button-group {
    margin-top: 20px;  /* Add space above button groups */
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.item-resources .button {
    margin-top: 20px;  /* Add space above single buttons */
    display: inline-block;
    padding: 12px 24px;
}

.resource__item p {
    margin-bottom: 30px;  /* Add space between text and buttons */
}

.resource__item h4 {
    margin-top: 20px;  /* Add space above title */
    margin-bottom: 15px;  /* Add space below title */
}

.resource__item .button-group {
    margin-top: 30px;  /* Add space above button groups */
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.resource__item .button {
    margin-top: 30px;  /* Add space above single buttons */
    display: inline-block;
    padding: 12px 24px;
}

/* For resource__item structure */
.resource__item {
    display: flex;
    flex-direction: column;
    gap: 30px;  /* Add space between all elements */
}

.resource__item p {
    margin-bottom: 30px !important;  /* Force space after paragraphs */
}

/* For item-resources structure */
.item-resources {
    display: flex;
    flex-direction: column;
    gap: 30px;  /* Add space between all elements */
}

.item-resources p {
    margin-bottom: 30px !important;  /* Force space after paragraphs */
}

/* Target buttons specifically */
.button-group, 
.resource__item .button,
.item-resources .button {
    margin-top: 30px !important;  /* Force space above buttons */
}

.resource__item h4 {
    margin-top: 20px;
    margin-bottom: 15px;
    font-weight: bold;  /* Make headings bold */
    font-size: inherit;  /* Keep same size */
}

.resource__item p {
    margin-bottom: 15px !important;  /* Reduce space between text and buttons */
    text-align: center;  /* Center the text */
    max-width: none;
    width: 100%;
  }

.resource__item .button-group {
    margin-top: 15px;  /* Reduce space above button groups */
  }

.resource__item .button {
    margin-top: 15px !important;  /* Reduce space above single buttons */
  }

.resource__item {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;  /* Reduce spacing between elements */
    text-align: center;  /* Return to centered text */
}

.resource__item p {
    margin-bottom: 15px !important;
    text-align: center !important;  /* Center the text */
    max-width: none;
    width: 100%;
}

.resource__item h4 {
    margin-top: 20px;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center !important;  /* Center the headings */
}

.resource__item {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center !important;  /* Ensure all content is centered */
}

.testimonial__row .resource__item p {
    text-align: center !important;
    margin: 0 auto 15px auto;
    max-width: 600px;
}

.testimonial__row .resource__item h4 {
    text-align: center !important;
    margin-bottom: 15px;
    font-weight: bold;
}

.testimonial__row .resource__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

.testimonial__row .resource__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

.testimonial__row .resource__item p {
    text-align: center !important;
    margin: 0 auto 15px auto;
    max-width: 600px;
}

.testimonial__row .resource__item h4 {
    text-align: center !important;
    margin-bottom: 15px;
    font-weight: bold;
}

/* Add specific styling for Mission Funding Options section */
.testimonial__container .resource__item {
    text-align: center !important;
}

.testimonial__container .resource__item p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 600px !important;
}

.testimonial__container .resource__item h4 {
    text-align: center !important;
    width: 100% !important;
}

.early-prep__item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.early-prep__item h3 {
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
}

.early-prep__item p {
    text-align: center;
    margin-bottom: 1.5rem;
}

.early-prep__item .button {
    display: inline-block;
    padding: 12px 24px;
    margin: 0 auto;
}
/* Override testimonial styles */
.page__testimonial .testimonial__title.title {
  font-size: 1.1rem !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  text-align: center !important;
  margin-bottom: 1.5rem !important;
}

.page__testimonial .testiomonial__caption {
  font-size: 3rem !important;
  font-weight: 700 !important;
  text-align: center !important;
  margin-bottom: 2rem !important;
}

/* Style testimonial section to match Get Connected */
.testimonial {
    background-color: #e1e4eb;
    margin-top: 0;
}

.testimonial__container {
    max-width: 72.624rem;
    margin: 0 auto;
    padding: 0 0.938rem;
    padding-top: 70px;  /* Match Get Connected spacing */
    padding-bottom: 6rem !important;  /* Reduce from 8.75rem */
}

.testimonial__row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);  /* Two columns */
    gap: 2rem;  /* Space between cards */
    margin-top: 2rem;
}

.testimonial__column {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page__testimonial .testiomonial__caption {
    font-size: 3rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    margin-bottom: 2rem !important;
    margin-top: 0 !important;  /* Reset top margin */
}

.page__testimonial .testimonial__title.title {
    font-size: 1.1rem !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    text-align: center !important;
    margin-bottom: 1.5rem !important;
}

/* Rest of the testimonial styles */
.item-testimonial {
    margin-top: 2rem;
    text-align: center;
}

.item-testimonial__image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
}

.item-testimonial__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-testimonial__title {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.item-testimonial__caption {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonial__row {
        grid-template-columns: 1fr;  /* Stack cards on mobile */
    }
    
    .testimonial {
        padding: 60px 0;
    }
    .testimonial__container {
        padding-bottom: 6rem !important;
    }
}/* Center and lower the Share Your Mission Story title */
.page__outro .outro__title.title {
  text-align: center;
  margin-top: 40px;      /* Moves the title down from the top */
  margin-bottom: 2rem;
  width: 100%;
  display: block;
}

/* Center the button */
.page__outro .outro__button.button {
  display: block;          /* Change to block */
  margin: 2rem auto;      /* Keep vertical margin, auto for horizontal centering */
  text-align: center;
  max-width: 250px;       /* Keep the width constraint */
  width: auto;
  position: relative;     /* Ensure proper positioning */
  left: 50%;             /* Move to center */
  transform: translateX(-50%); /* Offset by half its width */
}

/* Optional: Make the section taller if the image is a background */
.page__outro.outro_home {
  min-height: 400px; /* Adjust as needed for your image */
}/* Remove extra space between sections */
.page__outro,
.page__outro .outro__container {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Center and lower the Share Your Mission Story title */
.page__outro .outro__title.title {
  text-align: center;
  margin-top: 20px;      /* Move title down by 20px */
  margin-bottom: 2rem;
  width: 100%;
  display: block;
}

/* Center the button */
.page__outro .outro__button.button {
  display: block;          /* Change to block */
  margin: 2rem auto;      /* Keep vertical margin, auto for horizontal centering */
  text-align: center;
  max-width: 250px;       /* Keep the width constraint */
  width: auto;
  position: relative;     /* Ensure proper positioning */
  left: 50%;             /* Move to center */
  transform: translateX(-50%); /* Offset by half its width */
}

/* Make the outro section (with the image) taller */
.page__outro.outro_home {
  min-height: 550px; /* Increase as needed for a taller image */
  background-size: cover;
  background-position: center;
}
/* Remove margin-bottom from the last child in the testimonial section */
.page__testimonial .testimonial__container > *:last-child {
  margin-bottom: 0 !important;
}

/* Remove margin-top from the first child in the outro section */
.page__outro .outro__container > *:first-child {
  margin-top: 0 !important;
}

/* Remove border or background on the wrapper if present */
.wrapper {
  border: none !important;
  background: none !important;
}
.page__outro .outro__container {
  padding-top: 30px !important;
}
.page__outro .outro__title.title,
.page__outro .outro__text {
  max-width: 600px;      /* Adjust as needed for your design */
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.page__outro .outro__text {
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.page__outro.outro_home {
  position: relative;
  overflow: hidden;
}

/* The overlay */
.page__outro.outro_home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);  /* Make the white overlay more transparent */
  z-index: 1;  /* Place it between the background image and the content */
}

.page__outro .outro__container {
  position: relative;
  z-index: 2;  /* Place the content above the overlay */
}

/* Make sure the content is above the overlay */
.page__outro.outro_home::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.15); /* 15% white, very transparent */
  z-index: 1;
  pointer-events: none;
}

/* Remove the duplicate ::before and fix the overlay */
.page__outro.outro_home {
    position: relative;
    overflow: hidden;
}

.page__outro.outro_home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.4);  /* 40% white overlay */
    z-index: 1;
    pointer-events: none;
}

.page__outro .outro__container {
    position: relative;
    z-index: 2;
}

/* Add a subtle text shadow to help with readability */
.page__outro .outro__title,
.page__outro .outro__text {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/* Center the button in the outro section */
.page__outro .outro__container {
    display: flex;          /* Make container a flex container */
    flex-direction: column; /* Stack items vertically */
    align-items: center;    /* Center items horizontally */
}

.page__outro .outro__button.button {
    display: block;          /* Make it a block element */
    width: fit-content;     /* Make width fit the content */
    margin-left: auto;      /* Auto margins on both sides will center it */
    margin-right: auto;
    margin-top: 2rem;       /* Keep the top margin */
    margin-bottom: 2rem;    /* Keep the bottom margin */
    text-align: center;
}

/* Center the button in the outro section */
.page__outro .outro__container {
    text-align: center;  /* Center all text content */
}

.page__outro .outro__button.button {
    display: inline-block !important;  /* Force inline-block */
    width: 250px !important;          /* Set fixed width */
    margin: 2rem auto !important;     /* Force auto margins */
    text-align: center !important;    /* Center text */
    float: none !important;           /* Remove any floating */
    position: static !important;      /* Remove any positioning */
}

/* Center the button in the outro section */
.page__outro .outro__container {
    text-align: center !important;  /* Center all text content */
    display: flex !important;       /* Make it a flex container */
    flex-direction: column !important; /* Stack items vertically */
    align-items: center !important; /* Center items horizontally */
}

.page__outro .outro__button.button {
    display: inline-block !important;  /* Force inline-block */
    width: 250px !important;          /* Set fixed width */
    margin: 2rem 0 !important;        /* Remove horizontal margins */
    text-align: center !important;     /* Center text */
    position: static !important;       /* Remove any positioning */
}

/* Center the button in the outro section */
.page__outro .outro__container {
    text-align: center !important;  /* Center all text content */
    display: flex !important;       /* Make it a flex container */
    flex-direction: column !important; /* Stack items vertically */
    align-items: center !important; /* Center items horizontally */
}

.page__outro .outro__button.button {
    display: inline-block !important;  /* Force inline-block */
    width: 250px !important;          /* Set fixed width */
    margin: 2rem 0 !important;        /* Remove horizontal margins */
    text-align: center !important;     /* Center text */
    position: static !important;       /* Remove any positioning */
}

/* Center the button in the outro section */
section.page__outro.outro_home .outro__button.button {
    display: block !important;           /* Make it a block element */
    width: 250px !important;            /* Set fixed width */
    margin-left: auto !important;       /* Center horizontally */
    margin-right: auto !important;      /* Center horizontally */
    margin-top: 2rem !important;        /* Keep vertical spacing */
    margin-bottom: 2rem !important;     /* Keep vertical spacing */
    text-align: center !important;      /* Center text inside button */
    float: none !important;             /* Remove any floating */
    position: relative !important;       /* Use relative positioning */
    left: 0 !important;                 /* Reset any left positioning */
    transform: none !important;         /* Remove any transforms */
}

/* Make footer taller and adjust layout */
.footer {
    padding: 40px 0 !important;  /* Increase vertical padding to make it taller */
    background-color: #fff;      /* Ensure background is white */
}

.footer__container {
    display: flex !important;
    justify-content: space-between !important;  /* Space items evenly */
    align-items: center !important;
    max-width: 72.624rem !important;
    margin: 0 auto !important;
    padding: 0 0.938rem !important;
    position: relative !important;  /* For positioning children */
}

/* Move logo down slightly */
.footer__logo {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;  /* Center horizontally */
    margin-top: 10px !important;  /* Move down slightly */
}

/* Position copyright to the right */
.footer__copyright {
    margin-left: auto !important;  /* Push to the right */
    text-align: right !important;
}

/* Adjust privacy policy position */
.footer__policy {
    margin-right: auto !important;  /* Push to the left */
}

/* Reduce bottom spacing in Get Connected section */
body .wrapper main.page section.page__resources.resources > .resources__container {
    padding-bottom: 6rem !important;
}

/* Also target any media query versions */
@media (max-width: 62.6875rem) {
    body .wrapper main.page section.page__resources.resources > .resources__container {
        padding-bottom: 6rem !important;
    }
}

/* Adjust spacing in Mission Prep section */
body .wrapper main.page section.page__about.about > .about__container {
    padding-top: 3.5rem !important;
    padding-bottom: 5rem !important;
}

/* Also ensure it works in responsive views */
@media (max-width: 62.6875rem) {
    body .wrapper main.page section.page__about.about > .about__container {
        padding-top: 3.5rem !important;
        padding-bottom: 5rem !important;
    }
}

/* Ensure it works in all media queries */
@media (max-width: 62.6875rem) {
    .about__container {
        padding-top: 6rem !important;
        padding-bottom: 6rem !important;
    }
}

/* Adjust Share Your Mission Story section */
.page__outro .outro__title.title,
.page__outro .outro__text {
    max-width: none !important;      /* Remove the width constraint */
    margin-left: 0 !important;       /* Remove left margin */
    margin-right: 0 !important;      /* Remove right margin */
    text-align: center !important;   /* Keep text centered */
}

/* Keep the section height as is */
.page__outro.outro_home {
    min-height: 550px !important;    /* Maintain current height */
    position: relative !important;
    overflow: hidden !important;
}

/* Remove width constraints while keeping other styles */
.page__outro .outro__title.title,
.page__outro .outro__text {
    max-width: 100% !important;      /* Allow full width */
    margin-left: 1rem !important;    /* Keep some minimal margin for readability */
    margin-right: 1rem !important;   /* Keep some minimal margin for readability */
    text-align: center !important;   /* Keep text centered */
    position: relative !important;    /* Ensure text stays above overlay */
    z-index: 2 !important;           /* Keep text above the overlay */
}

/* Maintain current section height */
.page__outro.outro_home {
    min-height: 550px !important;    /* Keep current height */
    position: relative !important;
    overflow: hidden !important;
}

/* Adjust description spacing */
.page__outro .outro__text {
    margin-top: 40px !important;     /* Add space below the title */
    position: relative !important;    /* Keep text above overlay */
    z-index: 2 !important;           /* Ensure text stays above overlay */
}

/* Move the button down */
.page__outro .outro__button.button {
    margin-top: 40px !important;     /* Add space above the button */
    display: block !important;        /* Keep existing button display */
    width: 250px !important;         /* Keep existing width */
    margin-left: auto !important;    /* Keep horizontal centering */
    margin-right: auto !important;   /* Keep horizontal centering */
    position: relative !important;    /* Keep button above overlay */
    z-index: 2 !important;           /* Ensure button stays above overlay */
}

/* Move the button down with a more specific selector */
section.page__outro.outro_home .outro__button.button {
    margin-top: 40px !important;     /* Add space above the button */
    display: block !important;        /* Keep existing button display */
    width: 250px !important;         /* Keep existing width */
    margin-left: auto !important;    /* Keep horizontal centering */
    margin-right: auto !important;   /* Keep horizontal centering */
    position: relative !important;    /* Keep button above overlay */
    z-index: 2 !important;           /* Ensure button stays above overlay */
}

/* Also target the button container if it exists */
.page__outro .outro__container {
    display: flex !important;
    flex-direction: column !important;
    gap: 40px !important;            /* Add space between elements */
}

/* Move all elements down by adjusting container padding */
.page__outro .outro__container {
    padding-top: 50px !important;     /* Increase top padding to move everything down */
    display: flex !important;
    flex-direction: column !important;
    gap: 40px !important;             /* Maintain spacing between elements */
}

/* Keep existing title styles */
.page__outro .outro__title.title {
    position: relative !important;
    z-index: 2 !important;
}

/* Keep existing text styles */
.page__outro .outro__text {
    margin-top: 40px !important;
    position: relative !important;
    z-index: 2 !important;
}

/* Keep existing button styles */
section.page__outro.outro_home .outro__button.button {
    margin-top: 40px !important;
    position: relative !important;
    z-index: 2 !important;
}

/* Move just the title down */
.page__outro .outro__title.title {
    margin-top: 20px !important;     /* Add space above the title */
    position: relative !important;    /* Keep title above overlay */
    z-index: 2 !important;           /* Ensure title stays above overlay */
}

/* Increase button width */
section.page__outro.outro_home .outro__button.button {
    width: 350px !important;         /* Increase width from 250px to 350px */
    margin-top: 40px !important;     /* Keep existing top margin */
    display: block !important;        /* Keep existing display */
    margin-left: auto !important;    /* Keep horizontal centering */
    margin-right: auto !important;   /* Keep horizontal centering */
    position: relative !important;    /* Keep button above overlay */
    z-index: 2 !important;           /* Ensure button stays above overlay */
}

/* Increase button width with more specific selector */
body .wrapper main.page section.page__outro.outro_home .outro__button.button {
    width: 400px !important;         /* Try an even wider width */
    min-width: 400px !important;     /* Ensure minimum width */
    display: block !important;
    margin-top: 40px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    position: relative !important;
    z-index: 2 !important;
    white-space: nowrap !important;  /* Prevent text wrapping */
}

/* Target button with maximum specificity and larger width */
body .wrapper main.page section.page__outro.outro_home .outro__container .outro__button.button,
.page__outro .outro__button.button,
section.page__outro.outro_home .outro__button.button {
    width: 500px !important;         /* Much wider width */
    min-width: 500px !important;     /* Ensure minimum width */
    max-width: none !important;      /* Remove any max-width constraints */
    display: inline-block !important;
    margin-top: 40px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    position: relative !important;
    z-index: 2 !important;
    white-space: nowrap !important;  /* Prevent text wrapping */
    text-align: center !important;
}

/* Target the button with exact structure */
.page__outro a.outro__button.button,
a.outro__button.button {
    width: 500px !important;         /* Much wider width */
    min-width: 500px !important;     /* Ensure minimum width */
    max-width: none !important;      /* Remove any max-width constraints */
    display: inline-block !important;
    padding-left: 40px !important;   /* Add horizontal padding */
    padding-right: 40px !important;  /* Add horizontal padding */
    margin-top: 40px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    position: relative !important;
    z-index: 2 !important;
    white-space: nowrap !important;  /* Prevent text wrapping */
    text-align: center !important;
}
.outro__container {
  text-align: center;
}

/* Center the buttons in the outro section */
.page__outro.outro_about .outro__buttons {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1.5rem !important;
    width: 100% !important;
    margin: 2rem auto !important;
    flex-wrap: wrap !important;
}

.page__outro.outro_about .outro__button.button {
    position: static !important;
    transform: none !important;
    left: auto !important;
    margin: 0 !important;
    min-width: 180px !important;  /* Increased from 160px */
    max-width: 220px !important;  /* Increased from 180px */
    display: inline-block !important;
    padding: 12px 24px !important;
    white-space: nowrap !important;
    width: auto !important;  /* Allow button to fit content */
}

.about-section.impact {
    margin-top: 0;
    margin-bottom: 0;
}

.about-section__container:first-child {
    margin-top: 0;
}

.stories .about-section__container,
.help .about-section__container {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.about-section.impact .impact__item .impact__button,
.about-section.impact .impact__item .button-group {
    margin-top: 30px;
}

.about__column {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.about-section.mission .about-section__container {
  padding-top: 2.75rem !important;
}

.about-section.mission .section__title {
  margin-bottom: 2rem !important;
}

.about-section.mission .mission__text {
  margin-bottom: 1.75rem !important;
}

.about-section.mission .mission__subtitle {
  margin-bottom: 2rem !important;
}

.about-section.mission .item-resources__image {
  margin-bottom: 0.25rem !important;
}

.about-section.mission .item-resources__title {
  margin-bottom: 0.25rem !important;
}

.about-section.mission .resources__row {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.about-section.mission .resources__column {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.about-section.mission .item-resources {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 360px;
  text-align: center; /* Ensure all text is centered */
}

.item-resources h3 {
  font-weight: bold;
  text-align: center;
  margin-bottom: 1.5rem;
  width: 100%; /* Ensure full width */
}

.item-resources p {
  text-align: center;
  margin-bottom: 2rem;
  width: 100%; /* Ensure full width */
}

/* Add this to ensure any other text elements are also centered */
.item-resources * {
  text-align: center;
  width: 100%;
}

.item-resources .button {
  margin-top: 1rem;  /* Additional space above buttons if needed */
}

/* For button groups if they exist */
.item-resources .button-group {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Style the Impact section */
.impact {
    background-color: #e1e4eb;  /* blue-gray background */
    padding-top: 0;
    padding-bottom: 0;
    margin-top: -30px;
    margin-bottom: -30px;
}

.impact__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    margin-top: 25px !important;
    padding-top: 0;
    padding-bottom: 2rem;
    margin-bottom: 0;
}

.impact__column {
    width: 100%;
    display: flex;
    justify-content: center;
}

.impact__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 360px;
    text-align: center;
}

.impact__image {
    width: 100%;
    height: 400px;  /* Match height from previous section */
    margin-bottom: 2rem;
}

.impact__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
    object-position: center;
    border-radius: 16px;
}

.impact__number {
    font-size: 2.5rem;
  font-weight: 600;
    margin-bottom: 1rem;
    color: #303a4d;
}

.impact__item p {
  line-height: 1.65;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .impact__grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .impact__item {
        max-width: 600px;
        margin: 0 auto;
    }
}

/* Update Impact section title styling */
.impact .section__title {
    font-size: 3.5rem;  /* Match other main headlines */
    font-weight: 600;
    margin-bottom: 3rem;
    margin-top: 0;
}

/* Style for the YouTube button */
.impact__button {
    margin-top: 1.5rem;
    background-color: #FF0000;  /* YouTube red */
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
}

.impact__button:hover {
    background-color: #CC0000;  /* Darker red on hover */
}

/* Add styles for Featured Stories section */
.stories {
    background-color: #ffffff;  /* white background */
    margin-top: 0;
    margin-bottom: 0;
}

.stories .section__title {
    font-size: 3.5rem;  /* Match other main headlines */
    font-weight: 600;
    margin-bottom: 3rem;
}

.stories__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;  /* Increase gap between columns */
    width: 100%;
}

.story__column {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.story__item {
    width: 100%;
    max-width: 360px;  /* Maintain consistent width */
  text-align: center;
}

.story__image {
    margin-bottom: 2rem;
    width: 100%;
    height: 400px;  /* Consistent height */
}

.story__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.story__item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #303a4d;
}

.story__item p {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* Center the text content */
.stories .story__text {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .stories__grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .story__item {
        max-width: 600px;
        margin: 0 auto;
    }
}

/* Add styles for How We Help section */
.help {
    background-color: #e1e4eb;  /* blue-gray background */
    margin-top: 0;
    margin-bottom: 0;
}

.help__columns {
  display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
}

.help__column {
    width: 100%;
    display: flex;
    flex-direction: column;
  align-items: center;
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.help__image {
    width: 100%;
    height: 400px;  /* Match height from previous sections */
    margin-bottom: 2rem;
}

.help__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
}

.help__column h3 {
    font-size: 1.5rem;
  font-weight: 600;
    margin-bottom: 1rem;
    color: #303a4d;
}

.help__column p {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    max-width: 400px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .help__columns {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .help__column {
      /* Add any responsive styles here if needed */
  }
}

.help__column {
}

.item-testimonial .impact__button {
  margin-top: auto;
  align-self: center;
}