body{
    width: 100%;
    margin: 0;
}


/* ===== OUR MISSION SLIDER SECTION ===== */
.mission-slider {
  
  width: 100%;
  height:600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: missionSlide 15s infinite ease-in-out;
  z-index: -1;
  padding-top: 80px;
  


}

/* Overlay for dark tint and centered content */
.mission-overlay {
  /* position: absolute; */
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;}

/* Title styling */
.mission-overlay h1 {
  color: navy;
  font-size: 4rem;
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  animation: textFade 3s ease-in-out;
  animation-direction: alternate-reverse;
}

/* Smooth fade-in for the text */
@keyframes textFade {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Background slider animation */
@keyframes missionSlide {
  0% {
    background-image: url('../images/300\ sisters.png');
  }
  33% {
    background-image: url('../images/proffesed.png');
  }
  66% {
    background-image: url('../images/esm.png');
  }
  100% {
    background-image: url('../images/sistersphoto.jpg');
  }
}

/* Responsive scaling for smaller screens */
@media (max-width: 768px) {
  .mission-overlay h1 {
    font-size: 30px;
  }
}

/* Ministries Section */
.ministries {
  margin-top: 10px;
}
.ministries h2{
    color:navy;
    margin-left: 470px;
    font-weight: bold;
    font-size: 35px;
}

.ministries h3 {
  font-size: 2rem;
  font-weight: 700;
  color:navy;
  margin-bottom: 2rem;
}

.ministries-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.ministry-card {
  background:rgb(226, 226, 243);
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(25, 110, 239, 0.08);
  overflow: hidden;
}

.ministry-card img {
  width: 100%;
  height: 10rem;
  object-fit: cover;
}

.ministry-card .content {
  padding: 1.5rem;
}

.ministry-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #111827;
}

.ministry-card p {
  color:black;
  line-height: 1.6;
  font-size: 16px;
  font-family: 'Times New Roman', Times, serif;
}

/* Responsive Design */
@media (min-width: 768px) {
  .mission-vision {
    grid-template-columns: 1fr 1fr;
  }
  .ministries-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .ministries-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}



