.testimonial-section-container {
  padding-top: 50px;
  padding-bottom: 50px;
  width: 100%;
  overflow: visible;
}
.testimonial-section-container .row,
.testimonial-section-container .col-12 {
  overflow: visible;
}
.testimonial-header {
  text-align: center;
  margin-bottom: 40px;
}
.testimonial-header .testimonial-subtitle {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #81848a;
  margin-bottom: 10px;
  display: block;
}
.testimonial-header .testimonial-title {
  font-size: 32px;
  font-weight: 700;
  color: #22262e;
}
@media (max-width: 576px) {
  .testimonial-header .testimonial-title {
    font-size: 26px;
  }
}
.testimonial-section-title {
  width: 100%;
  text-align: center;
  margin: 40px 0 30px;
  font-weight: 700;
  font-size: 24px;
  color: #313641;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 10px;
}
.testimonial-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
  width: 100%;
  display: flex;
  flex-direction: column;
  break-inside: avoid;
}
.testimonial-card:hover {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
}
.testimonial-card .testimonial-media {
  position: relative;
  width: 100%;
  background: rgba(0, 0, 0, 0);
  line-height: 0;
  flex-shrink: 0;
  overflow: hidden;
}
.testimonial-card .testimonial-media .image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.testimonial-card .testimonial-media .video-popup-link,
.testimonial-card .testimonial-media .image-wrapper {
  display: block;
  width: 100%;
  height: auto;
}
.testimonial-card .testimonial-media .video-popup-link img,
.testimonial-card .testimonial-media .image-wrapper img {
  width: 100% !important;
  height: auto;
  display: block;
  object-fit: cover;
}
.testimonial-card .testimonial-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.testimonial-card .testimonial-body .testimonial-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #22262e;
  line-height: 1.2;
}
.testimonial-card .testimonial-body .testimonial-content {
  font-size: 15px;
  line-height: 1.6;
  color: #81848a;
}
.testimonial-card .testimonial-body .testimonial-content p:last-child {
  margin-bottom: 0;
}
.testimonial-masonry-grid {
  column-count: 3;
  column-gap: 20px;
  display: block;
  padding: 10px 10px 30px;
  overflow: visible;
}
@media (max-width: 991px) {
  .testimonial-masonry-grid {
    column-count: 2;
  }
}
@media (max-width: 576px) {
  .testimonial-masonry-grid {
    column-count: 1;
  }
}
.testimonial-video-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
  width: 100%;
  padding: 10px 10px 30px;
  overflow: visible;
}
.testimonial-video-grid .testimonial-card {
  height: 100%;
  margin-bottom: 50px;
}
@media (max-width: 991px) {
  .testimonial-video-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 576px) {
  .testimonial-video-grid {
    grid-template-columns: 1fr !important;
  }
}
.video-popup-link {
  position: relative;
  display: block;
  line-height: 0;
}
.video-popup-link .play-button-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
}
.video-popup-link .play-button-overlay::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 15px solid rgba(0, 0, 0, 0);
  border-bottom: 15px solid rgba(0, 0, 0, 0);
  border-left: 22px solid #fff;
}
.video-popup-link:hover .play-button-overlay {
  background-color: #ffdf25;
  transform: translate(-50%, -50%) scale(1.1);
}
.video-popup-link .emoji {
  display: none !important;
}
.video-wrapper {
  line-height: 0;
}
.testimonial-external-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
.testimonial-youtube-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 50px;
  background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: none;
  box-shadow: 0 6px 16px rgba(255, 0, 0, 0.3);
  transition: all 0.3s ease;
}
.testimonial-youtube-btn svg {
  flex-shrink: 0;
}
.testimonial-youtube-btn:hover,
.testimonial-youtube-btn:focus {
  background: linear-gradient(135deg, #ff1a1a 0%, #e60000 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(255, 0, 0, 0.4);
  text-decoration: none;
}
.testimonial-google-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 50px;
  background: #fff;
  color: #22262e;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
}
.testimonial-google-btn svg {
  flex-shrink: 0;
}
.testimonial-google-btn:hover,
.testimonial-google-btn:focus {
  color: #22262e;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  text-decoration: none;
}
.google-reviews-section {
  padding-top: 0;
}
.google-reviews-section .google-reviews-desktop {
  display: block;
  overflow: visible;
}
.google-reviews-section .google-reviews-mobile-slider {
  display: none !important;
}
.google-reviews-section .google-reviews-marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 6px 0;
  margin-bottom: 14px;
}
.google-reviews-section .google-reviews-track {
  display: flex;
  width: max-content;
  gap: 20px;
  will-change: transform;
  overflow: visible;
  align-items: flex-start;
}
.google-reviews-section .google-reviews-marquee--left .google-reviews-track {
  animation: google-reviews-left 36s linear infinite;
}
.google-reviews-section .google-reviews-marquee:hover .google-reviews-track {
  animation-play-state: paused;
}
.google-reviews-section .google-review-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: none;
  border: 1px solid rgba(34, 38, 46, 0.12);
  width: 360px;
  max-width: 90vw;
}
.google-reviews-section .google-review-head {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}
.google-reviews-section .google-review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}
.google-reviews-section .google-review-avatar.color-0 {
  background: #1a73e8;
}
.google-reviews-section .google-review-avatar.color-1 {
  background: #34a853;
}
.google-reviews-section .google-review-avatar.color-2 {
  background: #ea4335;
}
.google-reviews-section .google-review-avatar.color-3 {
  background: #fbbc04;
  color: #202124;
}
.google-reviews-section .google-review-avatar.color-4 {
  background: #8e24aa;
}
.google-reviews-section .google-review-avatar.color-5 {
  background: #0f9d58;
}
.google-reviews-section .google-review-avatar.color-6 {
  background: #4285f4;
}
.google-reviews-section .google-review-avatar.color-7 {
  background: #ff7043;
}
.google-reviews-section .google-review-avatar span {
  display: inline-block;
  transform: translateY(1px);
}
.google-reviews-section .google-review-name {
  font-size: 16px;
  line-height: 1.2;
  margin: 0;
  color: #22262e;
}
.google-reviews-section .google-review-date {
  font-size: 12px;
  color: #81848a;
}
.google-reviews-section .google-review-stars {
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.google-reviews-section .google-review-stars span {
  color: #e8eaef;
  font-size: 15px;
}
.google-reviews-section .google-review-stars span.filled {
  color: #fbbc04;
}
.google-reviews-section .google-review-content {
  color: #81848a;
  font-size: 15px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 132px;
  position: relative;
  text-align: left;
  align-items: flex-start;
}
.google-reviews-section .google-review-content p:last-child {
  margin-bottom: 0;
}
.google-reviews-section .google-review-content-preview {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.google-reviews-section .google-review-more {
  border: 0;
  background: rgba(0, 0, 0, 0);
  padding: 0;
  margin: 0;
  align-self: flex-start;
  margin-top: 10px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  display: inline-block;
  width: auto;
  justify-content: flex-start;
  font-weight: 700;
  font-size: 13px;
  color: #22262e;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
}
.google-reviews-section .google-review-more:hover,
.google-reviews-section .google-review-more:focus {
  text-decoration: underline;
}
.google-reviews-section .google-review-expandable {
  display: none;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    max-height 0.32s ease,
    opacity 0.22s ease,
    transform 0.22s ease;
  margin-top: 0;
  width: 100%;
}
.google-reviews-section .google-review-expandable p:first-child {
  margin-top: 10px;
}
.google-reviews-section .google-review-expandable p:last-child {
  margin-bottom: 0;
}
.google-reviews-section
  .google-review-card.is-expanded
  .google-review-expandable {
  display: block;
  margin-top: 2px;
  opacity: 1;
  transform: translateY(0);
}
.google-reviews-section .google-review-card.is-expanded .google-review-more {
  margin-bottom: 4px;
}
.google-reviews-section
  .google-review-card.is-expanded
  .google-review-content-preview {
  display: none;
}
.google-reviews-section .google-review-card.is-expanded .google-review-content {
  min-height: unset;
}
.google-reviews-section .google-review-expandable {
  color: #81848a;
  font-size: 15px;
  line-height: 1.6;
}
@media (max-width: 991px) {
  .google-reviews-section .google-review-card {
    width: 320px;
  }
}
@media (max-width: 767px) {
  .google-reviews-section .google-reviews-desktop {
    display: none;
  }
  .google-reviews-section .google-reviews-mobile-slider {
    display: block !important;
    padding: 0 6px;
    overflow: hidden;
    position: relative;
  }
  .google-reviews-section .google-reviews-mobile-track {
    display: flex;
    transition: transform 0.65s ease;
    width: 100%;
  }
  .google-reviews-section .google-reviews-mobile-slide {
    flex: 0 0 100%;
    padding: 0 4px;
  }
  .google-reviews-section .google-review-card {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
}
@keyframes google-reviews-left {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}
@supports (-webkit-touch-callout: none) {
  .testimonial-card .testimonial-media .image-wrapper,
  .testimonial-card .testimonial-media .video-popup-link {
    min-height: 1px;
  }
  .testimonial-card .testimonial-media img {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
}
