


.churches-hero {
  padding: 8rem 0 6rem;
  background: linear-gradient(135deg, rgba(195, 148, 59, 0.08) 0%, rgba(74, 140, 209, 0.08) 100%);
  position: relative;
  overflow: hidden;
}

.churches-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="faith" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M10 5 L15 10 L10 15 L5 10 Z" fill="%23c3943b" opacity="0.05"/><circle cx="10" cy="10" r="3" fill="none" stroke="%230451a5" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23faith)"/></svg>');
  opacity: 0.4;
}

.churches-hero .hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.churches-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--medium-gray);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.faith-integration {
  background: linear-gradient(135deg, rgba(4, 81, 165, 0.05), rgba(195, 148, 59, 0.05));
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-gold);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.integration-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.faith-heart-icon {
  width: 100%;
  height: 100%;
  position: relative;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-gold));
  border-radius: 50%;
  animation: faithPulse 4s ease-in-out infinite;
}

@keyframes faithPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(195, 148, 59, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgba(195, 148, 59, 0);
  }
}

.heart-shape {
  position: absolute;
  top: 25%;
  left: 25%;
  width: 50%;
  height: 50%;
  background: var(--white);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  transform: rotate(-45deg);
  animation: heartBeat 3s ease-in-out infinite;
}

@keyframes heartBeat {
  0%, 100% { transform: rotate(-45deg) scale(1); }
  25%, 75% { transform: rotate(-45deg) scale(1.1); }
  50% { transform: rotate(-45deg) scale(1.05); }
}

.cross-symbol {
  position: absolute;
  top: 30%;
  left: 30%;
  width: 40%;
  height: 40%;
}

.cross-symbol::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: var(--primary-blue);
  animation: crossGlow 4s ease-in-out infinite;
}

.cross-symbol::after {
  content: "";
  position: absolute;
  top: 30%;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-blue);
  animation: crossGlow 4s ease-in-out infinite 2s;
}

@keyframes crossGlow {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; box-shadow: 0 0 8px rgba(4, 81, 165, 0.5); }
}

.healing-light {
  position: absolute;
  top: 10%;
  right: 10%;
  width: 20%;
  height: 20%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
  border-radius: 50%;
  animation: healingShimmer 3s ease-in-out infinite;
}

@keyframes healingShimmer {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

.integration-content h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.integration-content p {
  margin: 0;
  line-height: 1.6;
}


.group-therapy-scene {
  position: relative;
  width: 400px;
  height: 350px;
  margin: 0 auto;
}

.therapy-circle {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(4, 81, 165, 0.1), rgba(195, 148, 59, 0.1));
  animation: circleBreath 6s ease-in-out infinite;
}

@keyframes circleBreath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.circle-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  z-index: 10;
}

.facilitator-icon {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  animation: facilitatorPresence 4s ease-in-out infinite;
}

@keyframes facilitatorPresence {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(195, 148, 59, 0.3);
  }
  50% { 
    transform: scale(1.1);
    box-shadow: 0 0 0 10px rgba(195, 148, 59, 0);
  }
}

.person-silhouette {
  width: 30px;
  height: 30px;
  position: relative;
}

.person-silhouette::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: var(--white);
  border-radius: 50%;
}

.person-silhouette::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 18px;
  background: var(--white);
  border-radius: 8px 8px 0 0;
}

.facilitator .person-silhouette::before,
.facilitator .person-silhouette::after {
  background: var(--primary-blue);
}

.participant {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.participant-1 {
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  animation: participantEngage 8s ease-in-out infinite;
}

.participant-2 {
  top: 25%;
  right: 15%;
  animation: participantEngage 8s ease-in-out infinite 1.33s;
}

.participant-3 {
  bottom: 25%;
  right: 15%;
  animation: participantEngage 8s ease-in-out infinite 2.66s;
}

.participant-4 {
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  animation: participantEngage 8s ease-in-out infinite 4s;
}

.participant-5 {
  bottom: 25%;
  left: 15%;
  animation: participantEngage 8s ease-in-out infinite 5.33s;
}

.participant-6 {
  top: 25%;
  left: 15%;
  animation: participantEngage 8s ease-in-out infinite 6.66s;
}

@keyframes participantEngage {
  0%, 90%, 100% { 
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(4, 81, 165, 0.3);
  }
  5%, 15% { 
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(4, 81, 165, 0);
  }
}

.participation-indicator {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--primary-gold);
  opacity: 0;
  animation: indicatorPulse 8s ease-in-out infinite;
}

.participant-1 .participation-indicator { animation-delay: 0s; }
.participant-2 .participation-indicator { animation-delay: 1.33s; }
.participant-3 .participation-indicator { animation-delay: 2.66s; }
.participant-4 .participation-indicator { animation-delay: 4s; }
.participant-5 .participation-indicator { animation-delay: 5.33s; }
.participant-6 .participation-indicator { animation-delay: 6.66s; }

@keyframes indicatorPulse {
  0%, 90%, 100% { opacity: 0; transform: scale(1); }
  5%, 15% { opacity: 1; transform: scale(1.3); }
}

.connection-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.connection {
  position: absolute;
  background: linear-gradient(90deg, var(--primary-gold), transparent);
  height: 2px;
  opacity: 0;
  animation: connectionFlow 12s ease-in-out infinite;
}

.connection-1 {
  top: 20%;
  left: 50%;
  width: 25%;
  transform: rotate(30deg);
  animation-delay: 0s;
}

.connection-2 {
  top: 35%;
  right: 25%;
  width: 20%;
  transform: rotate(60deg);
  animation-delay: 2s;
}

.connection-3 {
  bottom: 35%;
  right: 25%;
  width: 20%;
  transform: rotate(-60deg);
  animation-delay: 4s;
}

.connection-4 {
  bottom: 20%;
  left: 50%;
  width: 25%;
  transform: rotate(-30deg);
  animation-delay: 6s;
}

.connection-5 {
  bottom: 35%;
  left: 25%;
  width: 20%;
  transform: rotate(60deg);
  animation-delay: 8s;
}

.connection-6 {
  top: 35%;
  left: 25%;
  width: 20%;
  transform: rotate(-60deg);
  animation-delay: 10s;
}

@keyframes connectionFlow {
  0%, 90%, 100% { opacity: 0; }
  5%, 15% { opacity: 0.8; }
}

.healing-atmosphere {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.atmosphere-particle {
  position: absolute;
  font-size: 1.2rem;
  opacity: 0;
  animation: atmosphereFloat 10s ease-in-out infinite;
}

.particle-1 {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.particle-2 {
  top: 30%;
  right: 20%;
  animation-delay: 2.5s;
}

.particle-3 {
  bottom: 30%;
  left: 30%;
  animation-delay: 5s;
}

.particle-4 {
  bottom: 20%;
  right: 30%;
  animation-delay: 7.5s;
}

@keyframes atmosphereFloat {
  0%, 90%, 100% { 
    opacity: 0;
    transform: translateY(0px);
  }
  5%, 15% { 
    opacity: 0.7;
    transform: translateY(-15px);
  }
}


.faith-approach {
  padding: 8rem 0;
  background: var(--white);
  position: relative;
}

.faith-approach::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="30" cy="30" r="2" fill="%23c3943b" opacity="0.05"><animate attributeName="opacity" values="0.05;0.15;0.05" dur="6s" repeatCount="indefinite"/></circle><circle cx="70" cy="70" r="2" fill="%230451a5" opacity="0.05"><animate attributeName="opacity" values="0.05;0.15;0.05" dur="6s" repeatCount="indefinite" begin="3s"/></circle></svg>');
  pointer-events: none;
}

.approach-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.approach-content h3 {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.approach-content > p {
  font-size: 1.2rem;
  color: var(--medium-gray);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.approach-principles {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.principle-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--light-gray);
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.principle-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(195, 148, 59, 0.1), transparent);
  transition: left 0.6s ease;
}

.principle-item:hover::before {
  left: 100%;
}

.principle-item:hover {
  transform: translateX(10px);
  box-shadow: 0 5px 20px rgba(195, 148, 59, 0.1);
}

.principle-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.principle-item:hover .principle-icon {
  transform: scale(1.1) rotate(5deg);
  animation: principleIconMorph 2s ease-in-out infinite;
}

@keyframes principleIconMorph {
  0%, 100% { 
    border-radius: 50%;
    transform: scale(1.1) rotate(5deg);
  }
  25% { 
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: scale(1.15) rotate(10deg);
  }
  50% { 
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    transform: scale(1.1) rotate(-5deg);
  }
  75% { 
    border-radius: 30% 70% 70% 30% / 70% 30% 30% 70%;
    transform: scale(1.15) rotate(15deg);
  }
}

.respect-icon {
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

.respect-symbol {
  width: 20px;
  height: 20px;
  position: relative;
}

.respect-symbol::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid var(--white);
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 2px;
  animation: respectPulse 3s ease-in-out infinite;
}

@keyframes respectPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.respect-symbol::after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  position: absolute;
  top: 6px;
  left: 6px;
  animation: respectCore 2s ease-in-out infinite;
}

@keyframes respectCore {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.integration-icon {
  background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
}

.integration-symbol {
  width: 20px;
  height: 20px;
  position: relative;
}

.integration-symbol::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 2px solid var(--white);
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  animation: integrationOrbit1 4s linear infinite;
}

@keyframes integrationOrbit1 {
  0% { transform: rotate(0deg) translateX(6px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(6px) rotate(-360deg); }
}

.integration-symbol::after {
  content: "";
  width: 8px;
  height: 8px;
  border: 2px solid var(--white);
  border-radius: 50%;
  position: absolute;
  bottom: 0;
  right: 0;
  animation: integrationOrbit2 4s linear infinite reverse;
}

@keyframes integrationOrbit2 {
  0% { transform: rotate(0deg) translateX(-4px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(-4px) rotate(-360deg); }
}

.community-icon {
  background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
}

.community-symbol {
  width: 20px;
  height: 20px;
  position: relative;
}

.community-symbol::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--white);
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 7px;
  box-shadow: -6px 6px 0 var(--white), 6px 6px 0 var(--white), 0 12px 0 var(--white);
  animation: communityPulse 3s ease-in-out infinite;
}

@keyframes communityPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.principle-content h4 {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.principle-content p {
  color: var(--medium-gray);
  margin: 0;
  line-height: 1.6;
}

.neuroawareness-faith {
  background: linear-gradient(135deg, rgba(4, 81, 165, 0.05), rgba(195, 148, 59, 0.05));
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-gold);
  position: relative;
}

.neuroawareness-faith::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, rgba(195, 148, 59, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: faithGlow 5s ease-in-out infinite;
}

@keyframes faithGlow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

.neuroawareness-faith h4 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.neuroawareness-faith p {
  margin: 0;
  line-height: 1.6;
}

.spiritual-wellness-model {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  position: relative;
}

.model-center {
  text-align: center;
  margin-bottom: 2rem;
}

.wellness-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-gold));
  margin: 0 auto 1rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: wellnessIconFloat 4s ease-in-out infinite;
}

@keyframes wellnessIconFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

.spiritual-core {
  width: 30px;
  height: 30px;
  position: relative;
}

.spiritual-core::before {
  content: "";
  width: 20px;
  height: 20px;
  background: var(--white);
  border-radius: 50%;
  position: absolute;
  top: 5px;
  left: 5px;
  animation: coreGlow 3s ease-in-out infinite;
}

@keyframes coreGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

.spiritual-core::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 12px solid var(--white);
  position: absolute;
  top: -2px;
  left: 7px;
  animation: coreSpirit 4s ease-in-out infinite;
}

@keyframes coreSpirit {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

.model-center span {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 1.1rem;
}

.wellness-dimensions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.dimension {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--light-gray);
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.dimension::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(4, 81, 165, 0.1), transparent);
  transition: left 0.5s ease;
}

.dimension:hover::before {
  left: 100%;
}

.dimension:hover {
  background: rgba(4, 81, 165, 0.05);
  transform: translateY(-2px);
}

.dimension-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-gold));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  animation: dimensionPulse 4s ease-in-out infinite;
}

.dimension-1 .dimension-number { animation-delay: 0s; }
.dimension-2 .dimension-number { animation-delay: 1s; }
.dimension-3 .dimension-number { animation-delay: 2s; }
.dimension-4 .dimension-number { animation-delay: 3s; }

@keyframes dimensionPulse {
  0%, 90%, 100% { transform: scale(1); }
  5%, 15% { transform: scale(1.1); }
}

.dimension span {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 0.9rem;
}


.support-programs {
  padding: 8rem 0;
  background: var(--light-gray);
  position: relative;
}

.support-programs::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="15" cy="15" r="1" fill="%23c3943b" opacity="0.1"><animate attributeName="r" values="1;3;1" dur="8s" repeatCount="indefinite"/></circle><circle cx="85" cy="85" r="1" fill="%230451a5" opacity="0.1"><animate attributeName="r" values="1;3;1" dur="8s" repeatCount="indefinite" begin="4s"/></circle></svg>');
  pointer-events: none;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.program-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(4, 81, 165, 0.05), transparent);
  transition: left 0.8s ease;
}

.program-card:hover::before {
  left: 100%;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(4, 81, 165, 0.15);
}

.program-card.pastoral-support:hover {
  border-color: var(--primary-blue);
}

.program-card.community-support:hover {
  border-color: var(--primary-gold);
}

.program-card.wellness-education:hover {
  border-color: var(--secondary-blue);
}

.program-header {
  text-align: center;
  margin-bottom: 2rem;
}

.program-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  position: relative;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.program-card:hover .program-icon {
  transform: scale(1.1) rotate(5deg);
  animation: programIconMorph 3s ease-in-out infinite;
}

@keyframes programIconMorph {
  0%, 100% { 
    border-radius: 50%;
    transform: scale(1.1) rotate(5deg);
  }
  25% { 
    border-radius: 60% 40% 40% 60% / 60% 60% 40% 40%;
    transform: scale(1.15) rotate(10deg);
  }
  50% { 
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    transform: scale(1.1) rotate(-5deg);
  }
  75% { 
    border-radius: 60% 40% 40% 60% / 40% 60% 60% 40%;
    transform: scale(1.15) rotate(15deg);
  }
}

.pastoral-icon {
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

.shepherd-staff {
  width: 24px;
  height: 32px;
  position: relative;
}

.shepherd-staff::before {
  content: "";
  width: 3px;
  height: 28px;
  background: var(--white);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: staffSway 4s ease-in-out infinite;
}

@keyframes staffSway {
  0%, 100% { transform: translateX(-50%) rotate(0deg); }
  50% { transform: translateX(-50%) rotate(3deg); }
}

.shepherd-staff::after {
  content: "";
  width: 12px;
  height: 12px;
  border: 3px solid var(--white);
  border-radius: 50% 50% 50% 0;
  border-bottom: none;
  border-right: none;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) rotate(-45deg);
  animation: staffCrook 3s ease-in-out infinite;
}

@keyframes staffCrook {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.community-support-icon {
  background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
}

.community-circle {
  width: 28px;
  height: 28px;
  position: relative;
}

.community-circle::before {
  content: "";
  width: 24px;
  height: 24px;
  border: 2px solid var(--white);
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  animation: circleExpand 4s ease-in-out infinite;
}

@keyframes circleExpand {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.community-circle::after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: -8px 0 0 -2px var(--white), 8px 0 0 -2px var(--white), 0 -8px 0 -2px var(--white), 0 8px 0 -2px var(--white);
  animation: circleNodes 3s ease-in-out infinite;
}

@keyframes circleNodes {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.wellness-icon {
  background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
}

.wellness-tree {
  width: 24px;
  height: 28px;
  position: relative;
}

.wellness-tree::before {
  content: "";
  width: 4px;
  height: 12px;
  background: var(--white);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: treeTrunk 4s ease-in-out infinite;
}

@keyframes treeTrunk {
  0%, 100% { height: 12px; }
  50% { height: 14px; }
}

.wellness-tree::after {
  content: "";
  width: 20px;
  height: 16px;
  background: var(--white);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  position: absolute;
  top: 0;
  left: 2px;
  animation: treeCanopy 5s ease-in-out infinite;
}

@keyframes treeCanopy {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.program-header h3 {
  color: var(--primary-blue);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.program-content > p {
  color: var(--medium-gray);
  margin-bottom: 2rem;
  line-height: 1.6;
  font-size: 1rem;
}

.program-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.program-features .feature {
  color: var(--dark-gray);
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.program-features .feature::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: bold;
  animation: featureCheck 4s ease-in-out infinite;
}

@keyframes featureCheck {
  0%, 95%, 100% { transform: scale(1); }
  2.5%, 7.5% { transform: scale(1.2); }
}

.program-card:hover .program-features .feature {
  transform: translateX(5px);
  color: var(--primary-blue);
}


.community-impact {
  padding: 8rem 0;
  background: var(--white);
}

.impact-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.impact-content h3 {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.impact-content > p {
  font-size: 1.2rem;
  color: var(--medium-gray);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.community-foundation {
  background: linear-gradient(135deg, rgba(195, 148, 59, 0.1), rgba(255, 255, 255, 1));
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid var(--primary-gold);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  position: relative;
}

.community-foundation::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--primary-gold), var(--primary-blue), var(--primary-gold));
  border-radius: 12px;
  z-index: -1;
  animation: foundationBorder 5s ease-in-out infinite;
}

@keyframes foundationBorder {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

.foundation-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.foundation-symbol {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: foundationSpin 8s linear infinite;
}

@keyframes foundationSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.foundation-base {
  width: 24px;
  height: 24px;
  position: relative;
}

.foundation-base::before {
  content: "";
  width: 20px;
  height: 12px;
  background: var(--white);
  border-radius: 2px;
  position: absolute;
  bottom: 0;
  left: 2px;
  animation: baseStability 4s ease-in-out infinite;
}

@keyframes baseStability {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.foundation-base::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 12px solid var(--white);
  position: absolute;
  top: 0;
  left: 0;
  animation: basePeak 3s ease-in-out infinite;
}

@keyframes basePeak {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.foundation-content {
  flex: 1;
}

.foundation-content h4 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.foundation-content p {
  color: var(--medium-gray);
  margin: 0;
  line-height: 1.6;
}

.impact-benefits {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--light-gray);
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.benefit-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(195, 148, 59, 0.1), transparent);
  transition: left 0.6s ease;
}

.benefit-item:hover::before {
  left: 100%;
}

.benefit-item:hover {
  transform: translateX(10px);
  box-shadow: 0 5px 20px rgba(195, 148, 59, 0.1);
}

.benefit-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
  transform: scale(1.15) rotate(5deg);
  animation: benefitIconMorph 2s ease-in-out infinite;
}

@keyframes benefitIconMorph {
  0%, 100% { 
    border-radius: 50%;
    transform: scale(1.15) rotate(5deg);
  }
  33% { 
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: scale(1.2) rotate(10deg);
  }
  66% { 
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    transform: scale(1.1) rotate(-5deg);
  }
}

.community-healing-icon {
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

.healing-hands {
  width: 20px;
  height: 20px;
  position: relative;
}

.healing-hands::before {
  content: "";
  width: 8px;
  height: 12px;
  background: var(--white);
  border-radius: 4px 4px 0 0;
  position: absolute;
  top: 4px;
  left: 2px;
  animation: handsReach1 3s ease-in-out infinite;
}

@keyframes handsReach1 {
  0%, 100% { transform: rotate(-10deg); }
  50% { transform: rotate(10deg); }
}

.healing-hands::after {
  content: "";
  width: 8px;
  height: 12px;
  background: var(--white);
  border-radius: 4px 4px 0 0;
  position: absolute;
  top: 4px;
  right: 2px;
  animation: handsReach2 3s ease-in-out infinite;
}

@keyframes handsReach2 {
  0%, 100% { transform: rotate(10deg); }
  50% { transform: rotate(-10deg); }
}

.leadership-icon {
  background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
}

.leadership-crown {
  width: 20px;
  height: 16px;
  position: relative;
}

.leadership-crown::before {
  content: "";
  width: 16px;
  height: 8px;
  background: var(--white);
  border-radius: 0 0 8px 8px;
  position: absolute;
  bottom: 0;
  left: 2px;
  animation: crownBase 4s ease-in-out infinite;
}

@keyframes crownBase {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.leadership-crown::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 8px solid var(--white);
  position: absolute;
  top: 0;
  left: 6px;
  box-shadow: -6px 0 0 var(--white), 6px 0 0 var(--white);
  animation: crownPeaks 3s ease-in-out infinite;
}

@keyframes crownPeaks {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.outreach-icon {
  background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
}

.outreach-bridge {
  width: 20px;
  height: 16px;
  position: relative;
}

.outreach-bridge::before {
  content: "";
  width: 16px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  position: absolute;
  bottom: 4px;
  left: 2px;
  animation: bridgeSpan 4s ease-in-out infinite;
}

@keyframes bridgeSpan {
  0%, 100% { width: 16px; }
  50% { width: 18px; }
}

.outreach-bridge::after {
  content: "";
  width: 3px;
  height: 8px;
  background: var(--white);
  border-radius: 2px;
  position: absolute;
  bottom: 0;
  left: 2px;
  box-shadow: 12px 0 0 var(--white);
  animation: bridgePillars 3s ease-in-out infinite;
}

@keyframes bridgePillars {
  0%, 100% { height: 8px; }
  50% { height: 10px; }
}

.benefit-content h4 {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.benefit-content p {
  color: var(--medium-gray);
  margin: 0;
  line-height: 1.6;
}

.impact-metrics-chart {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  position: relative;
}

.impact-metrics-chart::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 49%, rgba(195, 148, 59, 0.05) 50%, transparent 51%);
  border-radius: 20px;
  animation: chartPattern 10s linear infinite;
}

@keyframes chartPattern {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.chart-title {
  text-align: center;
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.metrics-display {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.metric-item {
  text-align: center;
}

.metric-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-gold));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--white);
  position: relative;
  animation: metricPulse 4s ease-in-out infinite;
}

.metric-item:nth-child(1) .metric-circle { animation-delay: 0s; }
.metric-item:nth-child(2) .metric-circle { animation-delay: 1.33s; }
.metric-item:nth-child(3) .metric-circle { animation-delay: 2.66s; }

@keyframes metricPulse {
  0%, 90%, 100% { 
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(195, 148, 59, 0.4);
  }
  5%, 15% { 
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(195, 148, 59, 0);
  }
}

.metric-number {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}

.metric-label {
  font-size: 0.8rem;
  opacity: 0.9;
  margin-top: 0.25rem;
}


.partnership-types {
  padding: 8rem 0;
  background: var(--light-gray);
}

.partnerships-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.partnership-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.partnership-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(4, 81, 165, 0.05), transparent);
  transition: left 0.8s ease;
}

.partnership-card:hover::before {
  left: 100%;
}

.partnership-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(4, 81, 165, 0.15);
}

.partnership-card.congregation-focused:hover {
  border-color: var(--primary-blue);
}

.partnership-card.denominational-focused:hover {
  border-color: var(--primary-gold);
}

.partnership-card.interfaith-focused:hover {
  border-color: var(--secondary-blue);
}

.partnership-header {
  text-align: center;
  margin-bottom: 2rem;
}

.partnership-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  position: relative;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.partnership-card:hover .partnership-icon {
  transform: scale(1.1) rotate(5deg);
  animation: partnershipIconMorph 3s ease-in-out infinite;
}

@keyframes partnershipIconMorph {
  0%, 100% { 
    border-radius: 50%;
    transform: scale(1.1) rotate(5deg);
  }
  25% { 
    border-radius: 60% 40% 40% 60% / 60% 60% 40% 40%;
    transform: scale(1.15) rotate(10deg);
  }
  50% { 
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    transform: scale(1.1) rotate(-5deg);
  }
  75% { 
    border-radius: 60% 40% 40% 60% / 40% 60% 60% 40%;
    transform: scale(1.15) rotate(15deg);
  }
}

.congregation-icon {
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

.congregation-building {
  width: 32px;
  height: 32px;
  position: relative;
}

.congregation-building::before {
  content: "";
  width: 24px;
  height: 20px;
  border: 2px solid var(--white);
  border-radius: 2px;
  position: absolute;
  bottom: 0;
  left: 4px;
  animation: buildingGlow 5s ease-in-out infinite;
}

@keyframes buildingGlow {
  0%, 100% { box-shadow: inset 0 0 0 var(--white); }
  50% { box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.3); }
}

.congregation-building::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-bottom: 12px solid var(--white);
  position: absolute;
  top: 0;
  left: 2px;
  animation: buildingSpire 4s ease-in-out infinite;
}

@keyframes buildingSpire {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1px); }
}

.denominational-icon {
  background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
}

.denominational-network {
  width: 28px;
  height: 28px;
  position: relative;
}

.denominational-network::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: -10px -10px 0 -2px var(--white), 10px -10px 0 -2px var(--white), -10px 10px 0 -2px var(--white), 10px 10px 0 -2px var(--white);
  animation: networkPulse 3s ease-in-out infinite;
}

@keyframes networkPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.denominational-network::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 2px;
  background: var(--white);
  box-shadow: 0 -10px 0 var(--white), 0 10px 0 var(--white);
  animation: networkConnect 4s ease-in-out infinite;
}

@keyframes networkConnect {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

.interfaith-icon {
  background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
}

.interfaith-unity {
  width: 28px;
  height: 28px;
  position: relative;
}

.interfaith-unity::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 2px solid var(--white);
  border-radius: 50%;
  position: absolute;
  top: 4px;
  left: 4px;
  animation: unityCircle 4s ease-in-out infinite;
}

@keyframes unityCircle {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.interfaith-unity::after {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--white);
  border-radius: 50%;
  position: absolute;
  top: 8px;
  left: 8px;
  animation: unityCore 3s ease-in-out infinite;
}

@keyframes unityCore {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.partnership-header h3 {
  color: var(--primary-blue);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.partnership-type {
  color: var(--medium-gray);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.partnership-content > p {
  color: var(--medium-gray);
  margin-bottom: 2rem;
  line-height: 1.6;
  font-size: 1rem;
}

.partnership-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.partnership-benefits .benefit {
  color: var(--dark-gray);
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.partnership-benefits .benefit::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: bold;
  animation: benefitCheck 4s ease-in-out infinite;
}

@keyframes benefitCheck {
  0%, 95%, 100% { transform: scale(1); }
  2.5%, 7.5% { transform: scale(1.2); }
}

.partnership-card:hover .partnership-benefits .benefit {
  transform: translateX(5px);
  color: var(--primary-blue);
}


.partnership-communication {
  padding: 8rem 0;
  background: var(--light-gray);
  position: relative;
}

.partnership-communication::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="2" fill="%23c3943b" opacity="0.1"><animate attributeName="opacity" values="0.1;0.3;0.1" dur="6s" repeatCount="indefinite"/></circle><circle cx="75" cy="75" r="2" fill="%230451a5" opacity="0.1"><animate attributeName="opacity" values="0.1;0.3;0.1" dur="6s" repeatCount="indefinite" begin="3s"/></circle></svg>');
  pointer-events: none;
}

.communication-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.communication-header {
  margin-bottom: 4rem;
}

.communication-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  animation: communicationIconFloat 4s ease-in-out infinite;
}

@keyframes communicationIconFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.dialogue-bubbles {
  width: 32px;
  height: 24px;
  position: relative;
}

.dialogue-bubbles::before {
  content: "";
  width: 16px;
  height: 12px;
  border: 2px solid var(--white);
  border-radius: 8px;
  position: absolute;
  top: 0;
  left: 0;
  animation: bubbleFloat1 3s ease-in-out infinite;
}

@keyframes bubbleFloat1 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-2px); }
}

.dialogue-bubbles::after {
  content: "";
  width: 12px;
  height: 8px;
  border: 2px solid var(--white);
  border-radius: 6px;
  position: absolute;
  bottom: 0;
  right: 0;
  animation: bubbleFloat2 3s ease-in-out infinite 1.5s;
}

@keyframes bubbleFloat2 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-3px); }
}

.communication-header h2 {
  color: var(--primary-blue);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.communication-header p {
  color: var(--medium-gray);
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.communication-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.feature-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(4, 81, 165, 0.05), transparent);
  transition: left 0.6s ease;
}

.feature-item:hover::before {
  left: 100%;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(4, 81, 165, 0.15);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  animation: featureIconMorph 2s ease-in-out infinite;
}

@keyframes featureIconMorph {
  0%, 100% { 
    border-radius: 50%;
    transform: scale(1.1) rotate(5deg);
  }
  33% { 
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: scale(1.15) rotate(10deg);
  }
  66% { 
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    transform: scale(1.1) rotate(-5deg);
  }
}

.consultation-symbol {
  width: 24px;
  height: 24px;
  position: relative;
}

.consultation-symbol::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid var(--white);
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 4px;
  animation: consultationPulse 2s ease-in-out infinite;
}

@keyframes consultationPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.consultation-symbol::after {
  content: "";
  width: 12px;
  height: 6px;
  background: var(--white);
  border-radius: 6px;
  position: absolute;
  bottom: 0;
  left: 6px;
  animation: consultationBody 3s ease-in-out infinite;
}

@keyframes consultationBody {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.collaboration-network {
  width: 24px;
  height: 24px;
  position: relative;
}

.collaboration-network::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 8px;
  box-shadow: -8px 8px 0 var(--white), 8px 8px 0 var(--white), 0 16px 0 var(--white);
  animation: networkPulse 2.5s ease-in-out infinite;
}

@keyframes networkPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.innovation-lightbulb {
  width: 16px;
  height: 24px;
  position: relative;
}

.innovation-lightbulb::before {
  content: "";
  width: 12px;
  height: 16px;
  border: 2px solid var(--white);
  border-radius: 50% 50% 20% 20%;
  position: absolute;
  top: 0;
  left: 2px;
  animation: lightbulbGlow 3s ease-in-out infinite;
}

@keyframes lightbulbGlow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); }
}

.innovation-lightbulb::after {
  content: "";
  width: 8px;
  height: 4px;
  background: var(--white);
  position: absolute;
  bottom: 0;
  left: 4px;
  border-radius: 0 0 4px 4px;
  animation: lightbulbBase 2s ease-in-out infinite;
}

@keyframes lightbulbBase {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.feature-item h4 {
  color: var(--primary-blue);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.feature-item p {
  color: var(--medium-gray);
  line-height: 1.6;
  margin: 0;
}

.communication-cta {
  text-align: center;
}

.cta-note {
  color: var(--medium-gray);
  font-size: 1rem;
  margin-top: 1rem;
}


.churches-cta {
  padding: 8rem 0;
  background: var(--white);
  position: relative;
}

.churches-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="30" fill="none" stroke="%23c3943b" stroke-width="0.5" opacity="0.1"><animate attributeName="r" values="30;35;30" dur="10s" repeatCount="indefinite"/></circle></svg>');
  pointer-events: none;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  color: var(--primary-blue);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.cta-content > p {
  color: var(--medium-gray);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.cta-benefits .benefit {
  background: var(--light-gray);
  padding: 1rem;
  border-radius: 8px;
  color: var(--dark-gray);
  position: relative;
  padding-left: 2rem;
  transition: all 0.3s ease;
}

.cta-benefits .benefit::before {
  content: "✓";
  position: absolute;
  left: 0.75rem;
  color: var(--primary-blue);
  font-weight: bold;
  animation: ctaBenefitCheck 5s ease-in-out infinite;
}

@keyframes ctaBenefitCheck {
  0%, 96%, 100% { transform: scale(1); }
  2%, 6% { transform: scale(1.3); }
}

.cta-benefits .benefit:hover {
  background: rgba(4, 81, 165, 0.05);
  transform: translateY(-2px);
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.cta-note {
  color: var(--medium-gray);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.cta-note p {
  margin: 0;
}

.neuroawareness-footer {
  background: linear-gradient(135deg, rgba(4, 81, 165, 0.05), rgba(195, 148, 59, 0.05));
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-gold);
  position: relative;
}

.neuroawareness-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 30px;
  background: radial-gradient(circle, rgba(195, 148, 59, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: footerGlow 6s ease-in-out infinite;
}

@keyframes footerGlow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

.neuroawareness-footer p {
  margin: 0;
  color: var(--medium-gray);
}


@media (max-width: 768px) {
  .churches-hero .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .churches-hero h1 {
    font-size: 2.5rem;
  }

  .faith-integration {
    flex-direction: column;
    text-align: center;
  }

  .group-therapy-scene {
    width: 300px;
    height: 280px;
  }

  .approach-showcase {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .principle-item {
    flex-direction: column;
    text-align: center;
  }

  .impact-showcase {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .benefit-item {
    flex-direction: column;
    text-align: center;
  }

  .community-foundation {
    flex-direction: column;
    text-align: center;
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }

  .partnerships-grid {
    grid-template-columns: 1fr;
  }

  .wellness-dimensions {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .communication-features {
    grid-template-columns: 1fr;
  }

  .metrics-display {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .churches-hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .group-therapy-scene {
    width: 250px;
    height: 220px;
  }

  .program-card {
    padding: 2rem;
  }

  .partnership-card {
    padding: 2rem;
  }

  .cta-benefits {
    grid-template-columns: 1fr;
  }

  .feature-item {
    padding: 1.5rem;
  }
}
