.solutions-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 30px 0 0;
}

.solution-card {
  position: relative;
  height: 380px;
  overflow: hidden;
  border-radius: 0;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 1.2s ease, transform 1.2s ease, box-shadow 0.3s ease;
}

.solution-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.card-background-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.card-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.card-bg-image.active {
  opacity: 1;
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 145px;
  padding-right: 16px;
  padding-bottom: 28px;
  z-index: 3;
  background-image: url('img/card-bg.svg');
  background-position: right bottom;
  background-repeat: no-repeat;
}

.card-title {
	color: #FFF;
	font-family: "lora", serif;
	font-size: 40px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	letter-spacing: 1.2px;
	text-transform: capitalize;
	display: block;
	position: absolute;
	right: 16px;
	bottom: 28px;
}

@media (max-width: 1240px) {
  .solutions-cards-wrapper{
    display: flex;

  }
  .solution-card{
    width: 33%;
  }
}
@media (max-width: 920px) {
    .solutions-cards-wrapper{
   flex-wrap: wrap;
   justify-content: center;
    
  }
.solution-card {
	width: calc(50% - 15px);
	flex-shrink: 0;
  height: 310px;
}
}
@media (max-width: 768px) {
  .solutions-cards-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .solution-card {
    height: 310px;
    font-weight: 600;
letter-spacing: 1.2px;
    width: 100%;
  }

  .card-title {
    font-size: 40px;
    line-height: 50px;
  }

  .card-content {
    padding: 20px;
  }
}