.testimonial-section {
  position:relative;
  overflow:hidden;
}
/* .testimonial-section .overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.6); /* black overlay with 50% opacity */
z-index: 1;
} */
.testimonial-section .page-center{
  max-width:1310px;
  padding:0 15px;
  margin:0 auto;
  position:relative;
  z-index:1;
}
.testimonial-section .heading-area .label{
  text-transform:uppercase;
  font-size:12px;
  line-height:1.33;
  font-weight:300;
  margin-bottom:20px;
}
.testimonial-section .heading-area .main-heading {
  font-size: 32px;
  line-height: 1;
  font-weight:600;
  margin-bottom: 50px;
  text-align: center;
}
.testimonial-section .cards-container{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}
.testimonial-section .cards-container .card{
  padding:20px;
  flex: 1 1 calc((100% / 3) - (80px / 3));
  max-width: calc((100% / 3) - (80px / 3));
/*   display:flex;
  flex-wrap:wrap; */
}
.testimonial-section .cards-container .card.white{background:#fff}
.testimonial-section .cards-container .card.white .content,
.testimonial-section .cards-container .card.white .author-name,
.testimonial-section .cards-container .card.white .company-name,
.testimonial-section .cards-container .card.black .content,
.testimonial-section .cards-container .card.black .author-name,
.testimonial-section .cards-container .card.black .company-name{
  color:#FFFFFF;
}
.testimonial-section .cards-container .card.red{background:#FA0A37}
.testimonial-section .cards-container .card.red .content,
.testimonial-section .cards-container .card.red .author-name,
.testimonial-section .cards-container .card.red .company-name,
.testimonial-section .cards-container .card.black .content,
.testimonial-section .cards-container .card.black .author-name,
.testimonial-section .cards-container .card.black .company-name{
  color:#FFFFFF;
}
.testimonial-section .cards-container .card.black{background:#000000}
.testimonial-section .cards-container .card.white .content,
.testimonial-section .cards-container .card.white .author-name,
.testimonial-section .cards-container .card .content h3,
.testimonial-section .cards-container .card.white .company-name{
  color:#000000;
}
.testimonial-section .cards-container .card .content{
  margin-bottom: 30px;
}
.testimonial-section .cards-container .card .author-detail p.author-name {
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  margin-bottom: 30px;
}
.testimonial-section .cards-container .card .author-detail {
  margin-top: auto;
  max-width: 100%;
}
.testimonial-section .cards-container .card .author-detail a {
  position: relative;
  color: #000;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
      display: flex;
    justify-content: space-between;
}
.testimonial-section .cards-container .card .author-detail a img {
    width: 30px;
}
/* .testimonial-section .cards-container .card .author-detail a:after {
  background-image: url(https://442003138.fs1.hubspotusercontent-ap1.net/hubfs/442003138/arrow-right-1.svg);
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  height: 30px;
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
} */
.testimonial-section .cards-container .card .content p{
  font-size:24px;
  line-height:28px;
  font-weight:400;
  margin:0px;
}
.testimonial-section .cards-container .card .author-name,
.testimonial-section .cards-container .card .company-name{
  font-size:16px;
  line-height:20px;
  font-weight:300;
  margin:0px;
}
.testimonial-section .cards-container .card .company-name{
  font-weight:600;
}
@media (max-width: 1199px) {
  .testimonial-section .cards-container{
    gap: 30px;
  }
  .testimonial-section .cards-container .card{
    flex: 1 1 calc((100% / 3) - (60px / 3));
    max-width: calc((100% / 3) - (60px / 3));
  }
}
@media (max-width: 991px) {
  .testimonial-section .heading-area .main-heading {
    margin-bottom: 45px;
  }
  .testimonial-section .cards-container{
    gap: 20px;
  }
  .testimonial-section .cards-container .card{
    flex: 1 1 calc((100% / 3) - (40px / 3));
    max-width: calc((100% / 3) - (40px / 3));
    padding:20px 15px;
  }
  .testimonial-section .cards-container .card .content{
    /*     margin-bottom:45px; */
  }
  .testimonial-section .cards-container .card .content p {
    font-size: 20px;
    line-height:24px;
  }
}
@media (max-width: 767px) {

  .testimonial-section .cards-container{
    gap: 30px;
    justify-content:center;
  }
  .testimonial-section .cards-container .card{
    flex: 1 1 calc((100% / 2) - (30px / 2));
    max-width: calc((100% / 2) - (30px / 2));
    padding:20px 20px;
  }
  .testimonial-section .cards-container .card .content p {
    font-size: 24px;
    line-height: 28px;
  }
}
@media (max-width: 575px) {
  .testimonial-section .heading-area .main-heading {
    font-size: 26px;
  }
  .testimonial-section .cards-container .card{
    flex: 1 1 100%;
    max-width: 100%;
    padding:20px 20px;
  }
}