
@import url(https://fonts.googleapis.com/css?family=Raleway:400,800);

.testimonialssection {
  display: flex;
  justify-content: center; /* Center the testimonials horizontally */
  align-items: flex-start; /* Align the testimonials to the top */
  gap: 20px; /* Adds space between each testimonial */
  flex-wrap: wrap; /* Allows wrapping to the next line if needed */
  padding: 10px; /* Optional: Adds padding inside the section */
    
}

figure.snip1157 {
  position: relative;
  overflow: hidden;
  margin: 10px;
   min-width: 280px; /* Increase the minimum width */
  max-width: 400px; /* Increase the maximum width */
  width: 100%;
  color: #333;
  text-align: left;
  box-shadow: none !important;
}

figure.snip1157 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.35s cubic-bezier(0.25, 0.5, 0.5, 0.9);
  transition: all 0.35s cubic-bezier(0.25, 0.5, 0.5, 0.9);
}

figure.snip1157 img {
  max-width: 100%;
  vertical-align: middle;
  height: 100px;
  width: 100px;
  
  margin: 40px 0 0 10px;
    object-fit: cover; /* Ensures the image covers the area without distortion */
  
}

figure.snip1157 blockquote {
  display: block;
  border-radius: 8px;
  position: relative;
  background-color: #fafafa;
  padding: 25px 50px 30px 50px;
  font-size: 1.1em; /* Increased font size */
  font-weight: 500;
  margin: 0;
    line-height: 1.9em; /* Adjusted line height */
  font-style: italic;
    border: 1px solid grey;
}
figure.snip1157 blockquote:before,
figure.snip1157 blockquote:after {
  font-family: 'FontAwesome';
  content: "\201C";
  position: absolute;
  font-size: 50px;
  opacity: 0.3;
  font-style: normal;
}
figure.snip1157 blockquote:before {
  top: 25px;
  left: 20px;
}
figure.snip1157 blockquote:after {
  content: "\201D";
  right: 20px;
  bottom: 0;
}
figure.snip1157 .arrow {
  top: 100%;
  width: 0;
  height: 0;
  border-left: 0 solid transparent;
  border-right: 25px solid transparent;
  border-top: 25px solid #fafafa;
  margin: 0;
  position: absolute;
     border-top: 15px solid grey; /* Match the color of the border */
    bottom: -15px; /* Adjust the position to match the blockquote */
}
figure.snip1157 .author {
  position: absolute;
  bottom: 45px;
  padding: 0 10px 0 120px;
  margin: 0;
  color: black;
  -webkit-transform: translateY(50%);
  transform: translateY(50%);
}
figure.snip1157 .author h5 {
  opacity: 0.8;
  margin: 0;
  
}
figure.snip1157 .author h5 span {
   font-size: 0.9em; /* Optional: Increased font size for subtitle */
  text-transform: none;
  padding-left: 5px;
}


  margin: 0;
  height: 100%;
}