/* =======================================
   REFRESHING WORD CHURCH - OUR BELIEFS
   Styled Alternating Layout
   ======================================= */

body.page-template-page-beliefs {
  font-family: 'Poppins', sans-serif;
  background: #f9fafb;
  color: #222;
  scroll-behavior: smooth;
}

/* ===== HERO SECTION ===== */
.beliefs-hero {
  background: linear-gradient(135deg, #004d26, #007a44);
  color: #fff;
  text-align: center;
  padding: 140px 20px 100px;
  position: relative;
}

.beliefs-hero-inner {
  max-width: 850px;
  margin: 0 auto;
}

.beliefs-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.beliefs-hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  line-height: 1.7;
}

/* ===== MAIN CONTENT ===== */
.beliefs-content {
  padding: 100px 0;
}

.beliefs-content .container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ===== BELIEF BLOCKS ===== */
.beliefs-area > * {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.beliefs-area.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Alternate backgrounds */
.beliefs-area section:nth-child(odd) {
  background: #ffffff;
}

.beliefs-area section:nth-child(even) {
  background: #ecf8f1;
}

/* Create section blocks automatically */
.beliefs-area h2,
.beliefs-area h2 strong,
.beliefs-area h2 b {
  font-size: 1.6rem;
  text-transform: uppercase;
  color: #004d26 !important;
  margin-top: 80px;
  margin-bottom: 10px;
  font-weight: 700;
  position: relative;
  display: inline-block;
  letter-spacing: 0.5px;
}

.beliefs-area h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  margin-top: 10px;
  background: linear-gradient(135deg, #00b359, #007a44);
  border-radius: 2px;
}

}

.beliefs-area h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  margin-top: 10px;
  background: linear-gradient(135deg, #00b359, #007a44);
  border-radius: 2px;
}

.beliefs-area p {
  background: rgba(255, 255, 255, 0.9);
  padding: 30px 35px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  line-height: 1.8;
  font-size: 1.05rem;
  margin: 25px auto;
  transition: all 0.3s ease;
  max-width: 900px;
}

.beliefs-area p:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

/* ===== BACK TO TOP BUTTON ===== */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  background: linear-gradient(135deg, #004d26, #007a44);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 16px 20px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  display: none;
}

#backToTop:hover {
  background: linear-gradient(135deg, #007a44, #00b359);
  transform: translateY(-4px);
}

/* ===== SCROLL ANIMATION ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.beliefs-area h2,
.beliefs-area p {
  animation: fadeUp 0.8s ease both;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .beliefs-hero h1 { font-size: 2.8rem; }
  .beliefs-hero p { font-size: 1.1rem; }
}

@media (max-width: 768px) {
  .beliefs-hero {
    padding: 100px 20px 60px;
  }
  .beliefs-hero h1 { font-size: 2.2rem; }
  .beliefs-area p { font-size: 0.95rem; }
}
