/* **************************Top of Most pages********************************** */
.top-banner {
      background-size: cover;
      background-position: center;
      padding: 100px 0;
      color: white;
      text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
    }

  .top-banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5); /* adjust opacity */
  z-index: 1; /* stay below content */
}

.top-banner h1,
.top-banner p,
.top-banner .btn {
  position: relative;
  z-index: 2; /* content appears above overlay */
}


    .section-header { font-size: 2.5rem; margin-bottom: 1rem; font-weight: 700; position: relative; display: inline-block;
    }
    
/* *************************Hero Section************************************* */
.hero-slide {
  height: 70vh;
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-caption {
  position: absolute;
  top: 30%;
  left: 10%;
  z-index: 10;
  max-width: 600px;
  text-align: left;
}

.carousel-caption h1 {
  font-size: 3rem;
  font-weight: bold;
}

.carousel-caption p {
  font-size: 1.25rem;
  margin: 20px 0;
}

.carousel .btn {
  font-size: 1rem;
  padding: 10px 20px;
  border-radius: 50px;
}

.carousel .btn-outline-light {
  color: #fff;
  border-color: #fff;
}

.carousel .btn-outline-light:hover {
  background-color: #fff;
  color: #000;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .carousel-caption {
    top: 25%;
    left: 5%;
    text-align: center;
  }

  .carousel-caption h1 {
    font-size: 2.5rem;
  }

  .carousel-caption p {
    font-size: 1.1rem;
  }

  .carousel .btn {
    font-size: 0.9rem;
    padding: 8px 18px;
  }
}

@media (max-width: 576px) {
  .carousel-caption {
    top: 20%;
    left: 0;
    width: 100%;
    padding: 0 20px;
  }

  .carousel-caption h1 {
    font-size: 2rem;
  }

  .carousel-caption p {
    font-size: 1rem;
  }

  .carousel .btn {
    font-size: 0.8rem;
    padding: 7px 15px;
  }
}
/* **************************** End of Hero Section************************* */

  .welcome{
    background-color: aqua;
    padding: 20px;
  }
  .scrolling-text {
    overflow: hidden;
    white-space: nowrap;
  }

  .scrolling-text h2 {
    display: inline-block;
    animation: scroll-left 12s linear infinite;
  }

  @keyframes scroll-left {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
  }
  /***************************** End of welcome Section***********************************  */

  

  .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
  }

  .card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  }

  .card img {
    transition: transform 0.4s ease;
  }

  .card:hover img {
    transform: scale(1.1);
  }

  .card .btn {
    transition: background-color 0.3s ease, transform 0.2s ease;
  }

  .card:hover .btn {
    background-color: #0d6efd;
    transform: translateY(-3px);
  }
  /* ********************************************End of ministries section*************************************************** */




  .partner-section {
    background: url('../assets/images/test.jpg') center/cover no-repeat;
    position: relative;
  }

  .partner-section .overlay {
    background: rgba(0, 0, 0, 0.65);
    width: 100%;
    height: 100%;
    padding: 50px 0;
  }

  .partner-section h1, 
  .partner-section h3 {
    color: #fff;
  }

  .partner-section p {
    color: #ddd;
  }

  .partner-section .btn {
    transition: transform 0.2s ease, box-shadow 0.3s ease;
  }

  .partner-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  }

  .nav-pills .nav-link {
    color: #fff;
    border: 1px solid #fff;
    margin: 0 5px;
    border-radius: 50px;
    padding: 10px 20px;
    transition: background-color 0.3s, transform 0.2s;
  }

  .nav-pills .nav-link.active {
    background-color: #0d6efd;
    border-color: #0d6efd;
  }

  .nav-pills .nav-link:hover {
    transform: translateY(-2px);
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
  }