.home-department {
 
}
.home-department .row-fluid {
  display:grid;
  grid-template-columns: 1fr ;  
  justify-items: center;
  width:350px;
}
.home-department .row-fluid .dnd-module {
  padding:10px 0
}
.card-link {
  text-decoration: none; /* Remove underline from the link */
}
.card-container{
  max-width:100%;
}
.card {
  width:100%;
  max-width:350px;
  height: auto; /* Set the desired height for the card */
  /*height: auto; /* Set the desired height for the card */
  padding:20px;
  background-color: #00AEAB;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Move content to the top and bottom of the card */
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%; /* Ensure the content takes up the entire card height */
}

/* .card-text {
  text-align: center;
  padding-top: 5px; /* Add 10 pixels of padding above the text */
 /* padding-bottom: 0px; /* Add 10 pixels of padding below the text */
 /* font-size: 24px;
  font-weight: bold;
  color: WHITE; /* Set the text color to white 
}*/

/* h3.card-title {
  margin-bottom: 10px;
  font: 500 1.2rem/1 "Roboto Condensed";
} */

h3.card-title {
  font: 700 1.2rem/1 "Roboto Condensed";
  text-transform: uppercase;
  letter-spacing: -.03em;
  text-align:center;
  margin: 0 0 15px 0 ;
  color:#fff
}
.card-image {
  overflow: hidden;
}

.image-colorful {
  filter: grayscale(100%);
  transition: filter 0.3s;
}

.card:hover .image-colorful {
  filter: grayscale(0%);
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Adjust the background color and opacity as needed */
  color: white;
  text-align: center;
  padding: 10px 5px; /* Add padding to the overlay text */
  font-size: 20px; /* Adjust the font size as needed */
  opacity: 0; /* Initially hide the overlay */
  transition: opacity 0.3s;
}
.card:hover .image-overlay {
  opacity: 1; /* Show the overlay text on hover */
}

    
    @media (min-width: 750px) {
      .home-department .row-fluid {
        grid-template-columns: 1fr 1fr 1fr;
        width:100%;
        max-width:350px;           
      }
      .home-department .row-fluid .dnd-module {
        padding:0 10px;
      }
      h3.card-title {
        font-size: 1rem;
      }
    }
    @media (min-width: 1000px) {
      .card-container,
      .card {
       width:100%;
       max-width: 350px;
       font-size: 1.3rem;
      }
       .home-department .row-fluid .dnd-module {
        padding:0 20px;
      }
    }
