/* Overrides for the React/Next port: testimonials */

/* Show full review text (theme clamped it to 80-160px and hid the rest). */
.tesimo-para {
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
  white-space: pre-line;
}

/* Home slider: equal-height cards. */
.testimonial-active .slick-list {
  padding: 10px 0 20px;
}
.testimonial-active .slick-track {
  display: flex;
}
.testimonial-active .slick-slide {
  float: none;
  height: auto;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  border: 1px solid #e5e5e5;
  background: #fff;
}
.testimonial-active .slick-slide > div {
  height: 100%;
}
.testimonial-active .single-testimonial {
  height: 100%;
  display: flex !important;
  flex-direction: column;
  text-align: center;
}
.testimonial-active .single-testimonial > .row {
  margin-top: auto;
}
.testimonial-active .slick-dots {
  position: static;
  margin: 20px 0 0;
  padding: 0;
  text-align: center;
}

/* /testimonial page: equal-height cards. */
.testi {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  text-align: center;
}
.testi > .row {
  margin-top: auto;
}

/* Hero slider */
.hero-slider {
  position: relative;
  overflow: hidden;
}
.hero-slider__track {
  display: flex;
  transition: transform 0.8s ease;
}
.hero-slider__slide {
  flex: 0 0 100%;
  min-width: 0;
}
.hero-slider__slide img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}
.hero-slider__arrow:hover { background: #ddc89d; color: #000; }
.hero-slider__arrow--prev { left: 20px; }
.hero-slider__arrow--next { right: 20px; }
@media (max-width: 1199px) {
  .hero-slider__arrow { display: none; }
}

/* Logo marquee */
.brand-marquee {
  overflow: hidden;
}
.brand-marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: brand-scroll 30s linear infinite;
}
.brand-marquee:hover .brand-marquee__track {
  animation-play-state: paused;
}
.brand-marquee__item {
  flex: 0 0 auto;
  width: 340px;
  padding: 0 30px;
}
.brand-marquee__item > * {
  width: 100%;
  max-width: none;
  flex: none;
  padding: 0;
}
.brand-marquee__item img {
  display: block;
  max-width: 100%;
  max-height: 150px;
  margin: 0 auto;
  object-fit: contain;
}
@keyframes brand-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 767px) {
  .brand-marquee__item { width: 220px; padding: 0 15px; }
  .brand-marquee__item img { max-height: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-marquee__track { animation: none; }
  .hero-slider__track { transition: none; }
}
