
  /* --- SIDE-BY-SIDE HERO SECTION --- */
  
  /* --- SUB-MINISTRY SIDEBAR --- */
  .sidebar__title {
    font-weight: 700;
    /* font-size: 1.4rem; */
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 5px solid #ff5e14;
  }

  .sub-ministry-card {
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    display: flex;
    height: 90px;
    overflow: hidden;
  }

  .sub-ministry-card:hover {
    transform: translateX(8px);
    border-color: #ff5e14;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  }

  .sub-img-box {
    width: 100px;
    height: 100%;
    flex-shrink: 0;
  }

  .sub-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .sub-info-box {
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .sub-info-box h5 {
    margin: 0;
    color: #333;
    font-weight: 700;
  }

  /* --- GALLERY --- */
  .gallery__card {
    border-radius: 10px;
    overflow: hidden;
    margin: 8px;
    height: 250px;
  }

  .gallery__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  .gallery__card:hover img {
    transform: scale(1.1);
  }
  /* Section Separator */
  




  /* --- GRID CONTAINER OVERLAP --- */
  .ministries-grid-container {
    background: #fff;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    margin-top: -60px;
    position: relative;
    z-index: 2;
  }

  /* --- FORCED SYMMETRY GRID --- */
  .ministry-row-custom {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
  }

  .ministry-col-custom {
    padding: 15px;
    flex: 0 0 33.333%;
    max-width: 33.333%;
    display: flex;
  }

  /* --- FULL CLICKABLE CARD --- */
  .ministry-card-link {
    text-decoration: none !important;
    display: block;
    width: 100%;
    color: inherit;
  }

  .ministry-card-custom {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
  }

  .ministry-card-custom:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #ff5e14;
  }

  .ministry-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
  }

  .ministry-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
  }

  .ministry-card-custom:hover .ministry-card-image img {
    transform: scale(1.08);
  }

  .ministry-card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }

  .btn-read-more {
    margin-top: auto;
    color: #ff5e14;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    transition: margin-left 0.3s ease;
  }

  .ministry-card-custom:hover .btn-read-more span {
    margin-left: 12px !important;
  }

  /* RESPONSIVE BREAKPOINTS */
  @media (max-width: 991px) {
    .ministry-col-custom {
      flex: 0 0 50%;
      max-width: 50%;
    }
    .ministries-grid-container {
      margin-top: 20px;
      padding: 30px 20px;
    }
  }

  @media (max-width: 767px) {
    .ministry-col-custom {
      flex: 0 0 100%;
      max-width: 100%;
    }
  }

  /* --- NEW GALLERY CSS --- */
   .gallery-item {
       position: relative;
       display: block;
       border-radius: 12px; /* Rounded corners for images */
       overflow: hidden;
       box-shadow: 0 4px 15px rgba(0,0,0,0.1);
   }

   .gallery-item img {
       transition: transform 0.5s ease;
   }

   /* Slight zoom on hover */
   .gallery-item:hover img {
       transform: scale(1.05);
   }

   .gallery-overlay {
       position: absolute;
       top: 0; left: 0; right: 0; bottom: 0;
       background-color: rgba(49, 83, 118, 0.6); /* Using a semi-transparent navy blue */
       display: flex;
       align-items: center;
       justify-content: center;
       opacity: 0; /* Hidden by default */
       transition: opacity 0.3s ease;
   }

   /* Show overlay on hover */
   .gallery-item:hover .gallery-overlay {
       opacity: 1;
   }

   .gallery-overlay i {
       color: #fff;
       font-size: 2rem;
   }