/* Grid container for the tiles */
.three-tile-module {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 4 columns */
  grid-gap: 25px; /* Spacing between tiles */
  max-width: 100%;
  margin: 0 auto;
  justify-content: center;
}

/* Each tile container */
.tile {
/*   width: 280px; /* Fixed width for each tile */ */
  min-height: 100%;
  border: 1px solid #ccc;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 10px;
}

.tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.tile-header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tile-header-text {
    color: #29d78b; /* Green text */
    font-size: 22px;
  font-weight: bold;
  text-align: center;
  justify-content: center;
  padding: 15px;

}

.head-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin-top: 20px;
  width: 50px;
  height: 50px;
}

.tile-title {
  font-size: 22px;
  font-weight: bold;
  color: #29d78b;
  margin-top: 10px;
  text-align: center;
}

/* Title link styled as a button */
/* .tile-header {
  display: flex;
  flex-direction: column;
  text-decoration: none; /* Remove underline */
  background-color: transparent; /* Transparent background */
  border-radius: 0px; /* Rounded corners */
  border: none; /* No border */
  cursor: pointer; /* Pointer cursor */
/*   margin-top: 20px; /* Add spacing above button */ */
} */

/* Description below the button */
.tile-description-content {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 15px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  font-family: 'Arial', sans-serif;
  margin-top: 10px;
}

.tile-body-text {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  margin: 10px;
}

/* Responsive Layout for smaller screens */
@media (max-width: 1024px) {
  .three-tile-module {
    grid-template-columns: repeat(3, 1fr);
        width:100%;
  }
  .tile {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .three-tile-module {
    grid-template-columns: repeat(2, 1fr);
        width:100%;
  }
  .tile {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .three-tile-module {
    grid-template-columns: 1fr;
    width:100%;
  }
  .tile {
    width: 100%;
}