/* Global box-sizing and rendering enhancements */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Version: v1.3.7 | Changelog: Centered pillar-btn and matched other buttons */
body {
  font-family: "Open Sans", "Roboto", sans-serif;
  margin: 0;
  background-color: #e6f3f5; /* Light neutral */
  color: #2f484a; /* Dark text */
}

.separated_block {
  padding: 5px 10px;
  max-width: 1440px;
  margin: 0 auto;
}

.separated_block.first {
  padding-top: 10px;
}

.separated_block.last {
  padding-bottom: 10px;
}

.separated_block_corner {
  border-radius: 20px;
}

#scrollToTopButton {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 10px 15px;
  font-size: 16px;
  background: linear-gradient(90deg, #3d71f5, #0d4ef2);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: none;
  z-index: 100;
}

/* Hero */
.hero {
  position: relative;
  text-align: center;
  padding: 120px 20px;
  color: #ffffff;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(123, 104, 238, 0.4), rgba(74, 144, 226, 0.4)),
    url("../img/heroe-image8.jpg") center/cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-title {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  margin: 0 0 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  line-height: 1.2; /* Adjusted for <br> tags */
  color: #ffffff;
  text-transform: uppercase;
}

.hero-subtitle {
  color: #ffffff;
  font-size: 1.2rem;
  margin: 0 0 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
.hero-helping {
  margin-bottom: 35px;
}

.hero-btn {
  font-family: "Raleway", sans-serif;
  background-color: #b0d2da; /* Primary blue */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background-color 0.3s;
  border-style: none;
}

.hero-btn:hover {
  background-color: #3a78c2; /* Darker blue */
}

/* About Mission */
.about-mission {
  text-align: center;
  padding: 50px 20px;
  background-color: #ffffff; /* White */
}

.section-title {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  color: #4b6e72; /* Dark neutral */
  margin-bottom: 20px;
  text-align: center;
}

.mission-text {
  font-size: 1.1rem;
  color: #2f484a;
  max-width: 600px;
  margin: 0 auto 30px;
}

.mission-btn {
  font-family: "Raleway", sans-serif;
  background-color: #b0d2da; /* Primary blue */
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.mission-btn:hover {
  background-color: #3a78c2;
}

/* Pillars */
.pillars {
  padding: 50px 20px;
  background-color: #e6f3f5; /* Light neutral */
  text-align: center; /* Center the button */
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
  text-align: center;
}

.pillar-card {
  background-color: #ffffff;
  padding: 25px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.pillar-card .pillar-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #4b6e72;
}

.pillar-card .pillar-text {
  font-size: 1rem;
  color: #2f484a;
  margin-bottom: 10px;
}

.pillar-btn {
  font-family: "Raleway", sans-serif;
  background-color: #b0d2da; /* Primary blue */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background-color 0.3s;
  display: inline-block;
  text-align: center;
  max-width: 250px; /* Match other buttons */
  margin: 20px auto; /* Center with auto margins */
}

.pillar-btn:hover {
  background-color: #3a78c2; /* Darker blue */
}

/* Testimonials */
.testimonials {
  padding: 50px 20px;
  background-color: #ffffff;
  text-align: center;
}

.testimonial-carousel {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  height: auto;
}

.testimonial {
  display: flex;
  padding: 20px;
}

.testimonial.active {
  display: block;
}

.testimonial-text {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  color: #2f484a;
  font-style: italic;
}

.testimonial-btn {
  font-family: "Raleway", sans-serif;
  background-color: #b0d2da; /* Primary blue */
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 20px;
  display: inline-block;
  transition: background-color 0.3s;
}

.testimonial-btn:hover {
  background-color: #3a78c2;
}

/* Resources */
.resources {
  padding: 50px 20px;
  background-color: #e6f3f5;
}

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

.resource-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transition: all 0.3s;
}

.resource-card:hover {
  scale: 1.02;
}

.resource-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.resource-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.3rem;
  color: #4b6e72;
  margin: 10px;
}

.resource-text {
  font-size: 1rem;
  color: #2f484a;
  margin: 0 10px 20px;
}

.resource-btn {
  font-family: "Raleway", sans-serif;
  display: block;
  background-color: #b0d2da; /* Primary blue */
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  max-width: 200px;
  margin: 20px auto;
  text-align: center;
  transition: background-color 0.3s;
}

.resource-btn:hover {
  background-color: #3a78c2;
}

/* Topics */
.topics {
  padding: 50px 20px;
  background-color: #ffffff;
}

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

.topics-card {
  background-color: #e6f3f5;
  border-radius: 10px;
  overflow: hidden;
}

.topics-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.topics-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.3rem;
  color: #4b6e72;
  margin: 10px;
}

.topics-text {
  font-size: 1rem;
  color: #2f484a;
  margin: 0 10px 10px;
}

.topics-link {
  display: block;
  color: #b0d2da; /* Primary blue */
  text-decoration: none;
  margin: 0 10px 20px;
}

.topics-link:hover {
  text-decoration: underline;
}

.topics-btn {
  font-family: "Raleway", sans-serif;
  display: block;
  background-color: #b0d2da; /* Primary blue */
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  text-align: center;
  max-width: 200px;
  margin: 20px auto;
  transition: background-color 0.3s;
}

.topics-btn:hover {
  background-color: #3a78c2;
}

/* CTA */
.cta {
  background-color: #4b6e72; /* Dark neutral */
  text-align: center;
  padding: 50px 20px;
  color: #ffffff;
}

.cta-title {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  margin: 0 0 20px;
}

.cta-form {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.cta-input {
  padding: 10px;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  width: 250px;
  font-family: "Open Sans", sans-serif;
}

.cta-btn {
  font-family: "Raleway", sans-serif;
  background-color: #6fa3a4; /* Accent green */
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.cta-btn:hover {
  background-color: #45b066;
}

intro-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(to bottom, #f4e9da 0%, #ffffff 100%);
}

.intro-section img.hero-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 25px;
  margin-bottom: 40px;
  padding: 10px;
}

.intro-heading {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.scripture-quote {
  background-color: #ffffff;
  border-left: 6px solid #c88d56;
  padding: 20px;
  font-style: italic;
  font-size: 1.2rem;
  color: #1b2e4f;
  max-width: 700px;
  margin: 0 auto 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.scripture-quote span {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  font-style: normal;
}

.call-to-commitment {
  background-color: #ad6f51;
  color: #ffffff;
  padding: 30px 20px;
  max-width: 800px;
  border-radius: 12px;
  font-size: 1.2rem;
  line-height: 1.6;
}

.call-to-commitment strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 12px;
}

/* Start index section 1 css */

.parallax__fade {
  --color-dark-rgb: 0, 0, 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.738) 19%,
    rgba(0, 0, 0, 0.541) 34%,
    rgba(0, 0, 0, 0.382) 47%,
    rgba(0, 0, 0, 0.278) 56.5%,
    rgba(0, 0, 0, 0.194) 65%,
    rgba(0, 0, 0, 0.126) 73%,
    rgba(0, 0, 0, 0.075) 80.2%,
    rgba(0, 0, 0, 0.042) 86.1%,
    rgba(0, 0, 0, 0.021) 91%,
    rgba(0, 0, 0, 0.008) 95.2%,
    rgba(0, 0, 0, 0.002) 98.2%,
    transparent 100%
  );
  z-index: 30;
  object-fit: cover;
  width: 100%;
  max-width: none;
  height: 20%;
  position: absolute;
  bottom: 0;
  left: 0;
}

.parallax__header {
  z-index: 2;
  padding: calc(3.5em + (2em * 2)) 2em;
  justify-content: center;
  align-items: center;
  min-height: 100svh;
  display: flex;
  position: relative;
}

.parallax {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.parallax__visuals {
  object-fit: cover;
  width: 100%;
  max-width: none;
  height: 120%;
  position: absolute;
  top: 0;
  left: 0;
}

.parallax__layers {
  object-fit: cover;
  width: 100%;
  max-width: none;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}

.parallax__black-line-overflow {
  z-index: 20;
  background-color: #000000;
  width: 100%;
  height: 2px;
  position: absolute;
  bottom: -1px;
  left: 0;
}

.parallax__title {
  pointer-events: auto;
  text-align: center;
  text-transform: none;
  margin-top: 0;
  margin-bottom: 0.1em;
  font-size: 11vw;
  font-weight: 800;
  line-height: 1;
  position: relative;
  color: #fff;
}

.parallax__layer-title {
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100svh;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
}

.parallax__layer-img {
  pointer-events: none;
  object-fit: cover;
  width: 100%;
  max-width: none;
  height: 117.5%;
  position: absolute;
  top: -17.5%;
  left: 0;
}
/* End index section 1 css */

/* Start Thirty OneDay Card */

.thirty_one_day_card_wrapper_main {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
}

.thirty_one_day_card_wrapper {
  width: 360px;
  background-color: white;
  padding: 20px;
  position: relative;
}

.today::after {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  height: calc(100% + 8px);
  width: calc(100% + 8px);
  background: linear-gradient(
    60deg,
    #f79533,
    #f37055,
    #ef4e7b,
    #a166ab,
    #5073b8,
    #1098ad,
    #07b39b,
    #6fba82
  );
  border-radius: 22px;
  z-index: -1;
  animation: animatedgradient 3s ease alternate infinite;
  background-size: 300% 300%;
}

.thirty_one_day_card_block {
  position: relative;
  background-color: white;
  display: flex;
  flex-direction: column;
  height: 100px;
}

.thirty_one_day_card_block_title {
  font-size: 20px;
  font-weight: bold;
  position: absolute;
  background-color: white;
  padding: 5px 20px 10px;
}

.thirty_one_day_card_block_picture {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.thirty_one_day_card_title {
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
  color: #2f484a;
  text-align: left;
}

.thirty_one_day_card_title.with_height {
  min-height: 181px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 0;
}

.thirty_one_day_card_content {
  background: linear-gradient(90deg, #3d71f5, #0d4ef2);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 20px;
  padding: 15px 15px;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  background-image: url("../img/heroes4.webp");
  height: 150px;
  align-items: center;
}
/* 31 day content 3 */
.thirty_one_day_card_content3 {
  background: linear-gradient(90deg, #3d71f5, #0d4ef2);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 20px;
  padding: 15px 15px;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  background-image: url("../img/heroe-image8.webp");
  height: 80px;
  align-items: center;
  text-align: left;
}

.thirty_one_day_card_content2 {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 20px;
  padding: 10px 15px;
  background-image: url("../img/heroes16.webp");
}

/* End Thirty OneDay Card */

/* Start dynamic text with image */

.purity_challenge_intro_block {
  padding: 20px;
  position: relative;
  background-color: white;
  display: flex;
  flex-direction: column;
}

.purity_challenge_intro_block_title {
  font-size: 50px;
  font-weight: bold;
  position: absolute;
  background-color: white;
  padding: 10px 20px;
}

.top_left {
  /* top: 0; */
  border-radius: 0 0 20px 0;
}

.top_left_vertical {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  top: 20px;
  border-radius: 20px 0 0 0;
}

.top_right {
  top: 0;
  right: 0;
  border-radius: 0 0 0px 20px;
}

.top_right_vertical {
  writing-mode: vertical-lr;
  top: 20px;
  right: 20px;
  border-radius: 0 0 0 20px;
}

.bottom_right {
  bottom: 20px;
  right: 20px;
  border-radius: 20px 0 0 0;
  padding: 10px 20px !important;
}

.bottom_left {
  bottom: 20px;
  left: 20px;
  border-radius: 0 20px 0 0;
  padding: 10px 20px !important;
}

.bottom_right_vertical {
  writing-mode: vertical-lr;
  bottom: 20px;
  right: 20px;
  border-radius: 20px 0 0 0;
}

.bottom_left_vertical {
  writing-mode: vertical-lr;
  bottom: 20px;
  left: 20px;
  border-radius: 0 0 0 20px;
  transform: rotate(180deg);
}

.purity_challenge_intro_block_picture {
  height: 50%;
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}

/* Start Text overlay banner background */

.text_overlay_banner_wrapper {
  display: flex;
  overflow: hidden;
  gap: 20px;
  height: 200px;
}
.text_overlay_banner_wrapper2 {
  overflow: hidden;
  display: flex;
  width: 100%;
  height: 200px;
}
.text_overlay_banner_block {
  position: relative;
  background-color: white;
  display: flex;
  flex-direction: column;
  width: 50%;
  padding: 20px;
}
.text_overlay_banner_block2 {
  position: relative;
  background-color: white;
  display: flex;
  width: 100%;
  padding-bottom: 20px;
  border-radius: 25px;
}

.text_overlay_banner_block_title {
  font-size: 30px;
  font-weight: bold;
  position: absolute;
  background-color: #fff;
  padding: 10px 20px;
}

.text_overlay_banner_block_picture {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.text_overlay_banner_content {
  width: 50%;
  background-color: #fff;
}

.top_right_banner,
.bottom_right_banner {
  flex-direction: row-reverse;
}

/* End Text overlay banner background */

/* Start Gradient card css */

.gradient_cards_wrapper {
  padding: 20px;
  position: relative;
  background-color: #fff;
}

/* End Gradient card css */

/* End dynamic text with image */

@media (max-width: 768px) {
  .intro-heading {
    font-size: 2rem;
  }

  .scripture-quote,
  .call-to-commitment {
    font-size: 1rem;
  }
}

@keyframes animatedgradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
