  /* Gallery Hover Effect */
  .gallery-item {
    overflow: hidden;
    position: relative;
    display: block;
  }
  
  .gallery-item img {
    transition: transform 0.5s ease;
  }
  
  .gallery-item:hover img {
    transform: scale(1.1); /* Subtle zoom on hover */
  }

  /* Overlay that appears on hover */
  .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(49, 83, 118, 0.4); /* Your signature navy blue at low opacity */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .gallery-item:hover .gallery-overlay {
    opacity: 1;
  }

  .gallery-overlay i {
    color: #fff;
    font-size: 2rem;
  }
  .transition-hover {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
  .transition-hover:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    }
    /* Container for the ministry cards */
  .ministry-card-custom {
    position: relative;
    height: 400px; /* Fixed height for symmetry */
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    border: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Aligns content to the bottom */
  }

  .ministry-card-custom:hover {
    transform: translateY(-10px);
  }

  /* Dark overlay to make text pop */
  .ministry-card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 10%, rgba(0, 0, 0, 0.6) 70%, rgba(0, 0, 0, 0) 100%);
    padding: 30px 25px;
    width: 100%;
  }

  .ministry-card-custom h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
  }

  .ministry-card-custom p {
    opacity: 0.9;
    margin-bottom: 20px;
    line-height: 1.5;
  }

  /* Specific Blue Button Style from Screenshot */
  .btn-ministry-blue {
    background-color: #315376;
    color: white;
    padding: 10px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s;
    border: none;
  }

  .btn-ministry-blue:hover {
    background-color: #26415c;
    color: #fff;
  }

  .ministry-section-bg {
    background-color: #f8f9fa; /* background-lighter-gray */
    padding: 80px 0;
  }
  /* --- STYLE PRESERVATION --- */
  .carousel-item {
    height: 80vh; /* Adjust height as needed */
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  /* Mimicking your "display-flex-column justify-align-center" */
  .carousel-container-flex {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: #ffffff;
  }

  .hero__intro {
    display: block;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    font-weight: 600;
  }

  .carousel-item h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
  }

  .leading {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.9;
  }

  /* Custom Navigation Arrows style */
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
  }

  @media (max-width: 768px) {
    .carousel-item h1 { font-size: 2.2rem; }
    .carousel-item { height: 60vh; }
  }