.what-we-do .card {
  position: relative;
  border-radius: 15px;
  position: relative;
  background-size: 100% 100%;
}

/* Hover effect: flash black then fade out */
.what-we-do .card:hover::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #000;
  animation: fadeBlack 1s ease forwards;
}

/* Keyframes for black flash fade-out */
@keyframes fadeBlack {
  0% {
    background-color: #000;
  }
  100% {
    background-color: rgba(0, 0, 0, 0);
  }
}
/*
.what-we-do .card:after {
  content: "";
  display: block;
  position: relative;
  border-radius: 15px;
  padding: 1px;
  background: linear-gradient(142.33deg, rgba(255, 255, 255, 0.22) 8.34%, rgba(4, 122, 255, 0.22) 91.66%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  background-clip: border-box;
  mask-composite: exclude;
  border: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
*/
