

.client-success-module {
 margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

.card-wrap {
 display: flex; 
  flex-direction: column;
  
}

.cta-background {
  background-color: #e53749;
  display: flex;
    align-items: center;
    justify-content: center;
}

.img-thumbnail {
 background-size: cover;
  filter: brightness(1);
}

.img-thumbnail::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(40, 49, 92, 0.5); /* Change the color and opacity as needed */
  
}

.cta-center {
   display: flex;
  justify-content: center;
  align-items: center;
  height: 60%;
  width: 80%;
  flex-direction: column;
    background-color: white;
    max-width: 80%;
    max-height: 60%;
    
    padding: 20px;
  border-radius: 10px;
  color: black;
}

.cta-center p {
 font-weight: 700;
  font-size: 150%;
}

.logo-holder {
 display: flex;
  justify-content: center;
  align-items: center;
  height: fit-content;
}

.stat-holder {
   display: flex;
  justify-content: center;
  align-items: center;
}

.client-logo {
 height: auto;
  width: 60%;
  /* background-color: rgba(300, 300, 300, 1); */
  background-color: white;
  padding: 10px;
  border-radius: 15px;
}

.client-logo-custom {
 max-height: 60%;
  max-width: 60%;
  background-color: rgba(300, 300, 300, 1);
  padding: 10px;
  border-radius: 15px;
}

.client-success-module ul {
  -webkit-perspective: 600;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 50px;
  padding-inline-start: 0px;
  justify-content: center;
}

.client-success-module li {
  width: 400px;
  height: 400px;
  float: left;
  list-style: none;
  margin-bottom: 50px;
  position: relative;
  cursor: pointer;
}

.client-success-module li div {
  width: 100%;
  height: 100%;
  position: absolute;
  -webkit-transition: all 0.5s;
  -webkit-backface-visibility: hidden;
  -webkit-box-shadow: 0 6px 10px -5px rgba(0, 0, 0, 0.8);
}

.client-success-module li:hover .card-front {
  z-index: 0;
  -webkit-transform: rotateY(180deg);
}

.client-success-module li:hover .card-back {
  -webkit-transform: rotateY(0deg);
}

.card-front {
  z-index: 3;
 /* color: #b3b3b3; /* lighten(black, 70%) in SCSS */
  text-align: center;
  line-height: 200px;
  font-size: 80px;
  border-radius: 15px;
  overflow: hidden;
}

.cta-card-front {
  z-index: 3;
 /* color: #b3b3b3; /* lighten(black, 70%) in SCSS */
  text-align: center;
  line-height: 200px;
  border-radius: 15px;
  overflow: hidden;
}

.card-back {
  -webkit-transform: rotateY(180deg);
    border-radius: 15px;
  overflow: hidden;
  text-align: center;
}

.stat {
 font-size: 500%;
  color: #e53749;
  font-weight: bold;
  line-height: normal;
}

.stat-p {
    background-color: rgba(300, 300, 300, 1);
  padding: 10px;
  border-radius: 15px;
}

.media-tag {
 margin-top:-30px;
  text-align: center;
  width: 400px;
}
.media {
 width: 400px; 
  padding-top: 5px;
}

@media screen and (max-width: 800px) {
  .client-logo {
   width:90%; 
  }
  .client-success-module li {
  width: 90vw;
  height: 90vw;
    float: centre;
    max-width: 400px;
    max-height: 400px;
    margin-left: auto;
    margin-right: auto;
}
  .media {
   width: 90vw; 
    max-width: 400px;
  }
}

.mobile-tooltip {
 display: none; 
}

@media screen and (max-width: 600px) {
  .mobile-tooltip {
  z-index: 3;
  text-align: center;
  line-height: 30px;
  border-radius: 15px;
  overflow: hidden;
    background-color: #e53749;
  display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    width: 90vw;
    margin-left: auto;
    margin-right: auto;
}
  
  .mobile-tooltip p {
   color: white;
    font-weight: bold;
    margin: 5px;
  }
}
