/* --- GRID WRAPPER --- */
.solutions-cards-wrapper {
  display: grid;
  height: 543.62px;
  padding: 0 40px;
  row-gap: 30px;
  column-gap: 30px;
  align-self: stretch;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* --- CARD --- */
.solution-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 0;
  height: 100%;
  width: 100%;
  text-decoration: none;
  box-shadow: 2px 2px 7.5px 0 rgba(0, 0, 0, 0.25);

}

/* --- BACKGROUND IMAGE --- */
.solution-card .card-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* --- FULL OVERLAY --- */
.solution-card .card-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(40, 40, 40, 0.50);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s ease, transform 0.8s ease;
}

.solution-card .card-title {
  color: #fff;
  margin: 0;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);

  transition: opacity 0.6s ease, transform 0.8s ease;



font-family: "montserrat",sans-serif;
font-size: 30px;
font-style: normal;
font-weight: 600;
line-height: normal;
letter-spacing: 0.9px;
text-transform: capitalize;
}

/* --- HOVER EFFECT --- */
.solution-card:hover .card-content {
  opacity: 0;
  transform: scale(1.15);
}

.solution-card:hover .card-title {
  opacity: 0;
  transform: scale(1.25);
}
@media only screen and (max-width: 992px){
  .solutions-cards-wrapper{
    padding: 0;
  }
  .solution-card .card-title{
    font-size: 30px;
  }
  .solutions-cards-wrapper {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto;
  height: auto;
}
.solution-card{
  height: 256px;
}
}
@media (max-width: 600px) {
  .solutions-cards-wrapper {
    grid-template-columns: 1fr;
  }
}
