/*====================================================
Clients & Testimonials Section
====================================================*/

.palette-clients-testimonials {
  position: relative;
  padding: 60px 0;
  overflow: hidden;
}

.palette-clients-testimonials .container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

/*====================================================
Heading
====================================================*/

.clients-header {
  text-align: center;
  margin-bottom: 60px;
}

.clients-header h2 {
  margin: 0 0 15px;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: #111;
  font-family: "Alike Angular", sans-serif;
}

.clients-header p {
  max-width: 700px;
  margin: auto;
  color: #777;
  font-size: 17px;
  line-height: 1.8;
}

.sub-title {
  display: inline-block;
  margin-bottom: 12px;
  padding: 8px 18px;
  background: #fff;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b88a44;
  border: 1px solid #e9e9e9;
}

/*====================================================
Logo Marquee
====================================================*/

.clients-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-bottom: 90px;
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 35px;

  width: max-content;

  animation: clientsMarquee 35s linear infinite;
}

.clients-slider:hover .clients-track {
  animation-play-state: paused;
}

.client-logo {
  min-width: 220px;
  height: 110px;

  background: #fff;

  border-radius: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);

  transition: 0.35s;

  padding: 25px;
}

.client-logo:hover {
  transform: translateY(-8px);

  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.client-logo img {
  max-width: 150px;
  max-height: 55px;

  width: auto;
  height: auto;

  object-fit: contain;

  filter: grayscale(100%);
  opacity: 0.75;

  transition: 0.4s;
}

.client-logo:hover img {
  filter: none;

  opacity: 1;
}

/*====================================================
Gradient Fade
====================================================*/

.clients-slider::before,
.clients-slider::after {
  content: "";

  position: absolute;

  top: 0;

  width: 120px;

  height: 100%;

  z-index: 5;

  pointer-events: none;
}

.clients-slider::before {
  left: 0;

  background: linear-gradient(to right, #f8f8f8, transparent);
}

.clients-slider::after {
  right: 0;

  background: linear-gradient(to left, #f8f8f8, transparent);
}

/*====================================================
Animation
====================================================*/

@keyframes clientsMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}



/*====================================================
Tablet
====================================================*/

@media (max-width: 991px) {
  .clients-header h2 {
    font-size: 34px;
  }

  .clients-header p {
    font-size: 16px;
  }

  .client-logo {
    min-width: 180px;
    height: 95px;
  }

  .client-logo img {
    max-width: 130px;
  }
}

/*====================================================
Mobile
====================================================*/

@media (max-width: 767px) {
  .palette-clients-testimonials {
    padding: 70px 0;
  }

  .clients-header {
    margin-bottom: 40px;
  }

  .clients-header h2 {
    font-size: 28px;
  }

  .clients-header p {
    font-size: 15px;
  }

  .client-logo {
    min-width: 150px;
    height: 80px;
    padding: 18px;
  }

  .client-logo img {
    max-width: 100px;
    max-height: 40px;
  }

  .clients-slider {
    margin-bottom: 60px;
  }

  .clients-slider::before,
  .clients-slider::after {
    width: 50px;
  }
}

/*====================================================
Testimonials
====================================================*/

.testimonial-section {
  position: relative;
  margin-top: 20px;
}

.testimonial-header {
  text-align: center;
  margin-bottom: 50px;
}

.testimonial-header h2 {
  margin: 0;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: #111;
  font-family: "Alike Angular", sans-serif;
}

/*====================================================
Swiper
====================================================*/

.palette-testimonial-slider {
  position: relative;
  padding: 20px 10px 0px;
  overflow: hidden;
}

.palette-testimonial-slider .swiper-wrapper {
  align-items: stretch;
}

.palette-testimonial-slider .swiper-slide {
  height: auto;
}

/*====================================================
Card
====================================================*/

.testimonial-card {
  position: relative;

  background: #fff;

  border-radius: 24px;

  padding: 40px 35px;

  height: 100%;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);

  transition: 0.35s;

  border: 1px solid #eee;
}

.testimonial-card:hover {
  transform: translateY(-10px);

  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.15);
}

/* Quote */

.testimonial-card:before {
  content: "❝";

  position: absolute;

  top: 25px;

  right: 30px;

  font-size: 70px;

  color: #b88a44;

  opacity: 0.15;

  line-height: 1;
}

/*====================================================
Rating
====================================================*/

.rating {
  color: #fdba12;

  font-size: 18px;

  letter-spacing: 2px;

  margin-bottom: 20px;
}

/*====================================================
Content
====================================================*/

.testimonial-content {
  font-size: 14px;

  color: #666;

  line-height: 1.9;

  margin-bottom: 35px;
  
  text-align: justify;
}

.testimonial-content p {
  margin: 0;
}

/*====================================================
Client Info
====================================================*/

.testimonial-user {
  display: flex;

  align-items: center;

  gap: 18px;
}

.testimonial-image {
  width: 70px;

  height: 70px;

  border-radius: 50%;

  overflow: hidden;

  flex-shrink: 0;

  border: 3px solid #b88a44;
}

.testimonial-image img {
  width: 100%;

  height: 100%;

  object-fit: cover;
}

.testimonial-info h4 {
  margin: 0;

  font-size: 14px;

  font-weight: 700;

  color: #111;
}

.testimonial-info span {
  display: block;

  margin-top: 5px;

  font-size: 12px;

  color: #777;
}

/*====================================================
Active Slide
====================================================*/

.palette-testimonial-slider .swiper-slide-active .testimonial-card {
  border-color: #b88a44;

  box-shadow: 0 25px 60px rgba(184, 138, 68, 0.25);
}

/*====================================================
Pagination
====================================================*/

.palette-testimonial-slider .swiper-pagination {
  bottom: 10px;
}

.palette-testimonial-slider .swiper-pagination-bullet {
  width: 12px;

  height: 12px;

  background: #d8d8d8;

  opacity: 1;
}

.palette-testimonial-slider .swiper-pagination-bullet-active {
  background: #b88a44;

  width: 35px;

  border-radius: 30px;
}

/*====================================================
Tablet
====================================================*/

@media (max-width: 991px) {
  .testimonial-header h2 {
    font-size: 34px;
  }

  .testimonial-card {
    padding: 30px;
  }

  .testimonial-content {
    font-size: 15px;
  }
}

/*====================================================
Mobile
====================================================*/

@media (max-width: 767px) {
  .testimonial-header {
    margin-bottom: 35px;
  }

  .testimonial-header h2 {
    font-size: 28px;
  }

  .testimonial-card {
    padding: 25px 20px;
  }

  .testimonial-card:before {
    font-size: 55px;

    right: 20px;
  }

  .testimonial-image {
    width: 60px;

    height: 60px;
  }

  .testimonial-info h4 {
    font-size: 18px;
  }

  .testimonial-content {
    font-size: 15px;

    line-height: 1.8;
  }
}

/*====================================================
Swiper Navigation
====================================================*/

.palette-testimonial-slider .swiper-button-prev,
.palette-testimonial-slider .swiper-button-next {
  width: 52px;
  height: 52px;

  background: #fff;

  border: 1px solid #ececec;

  border-radius: 50%;

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);

  color: #111;

  transition: 0.35s;

  display: flex;
  align-items: center;
  justify-content: center;
}

.palette-testimonial-slider .swiper-button-prev {
  left: -5px;
}

.palette-testimonial-slider .swiper-button-next {
  right: -5px;
}

.palette-testimonial-slider .swiper-button-prev:hover,
.palette-testimonial-slider .swiper-button-next:hover {
  background: #b88a44;

  color: #fff;

  border-color: #b88a44;

  transform: translateY(-50%) scale(1.08);
}

.palette-testimonial-slider .swiper-button-prev:after,
.palette-testimonial-slider .swiper-button-next:after {
  font-size: 16px !important;

  font-weight: 700;
}

/*====================================================
Stats
====================================================*/

.palette-stats {
  margin-top: 80px;

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 30px;
}

.stat-box {
  background: #fff;

  border-radius: 20px;

  padding: 35px 25px;

  text-align: center;

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);

  transition: 0.35s;
}

.stat-box:hover {
  transform: translateY(-8px);

  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.14);
}

.stat-box h3 {
  margin: 0;

  color: #b88a44;

  font-size: 42px;

  font-weight: 700;

  line-height: 1;
}

.stat-box span {
  display: block;

  margin-top: 12px;

  color: #666;

  font-size: 16px;
}

/*====================================================
Animation
====================================================*/

.client-logo,
.testimonial-card,
.stat-box {
  transition: all 0.35s ease;
}

/*====================================================
Tablet
====================================================*/

@media (max-width: 991px) {
  .palette-stats {
    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
  }

  .palette-testimonial-slider .swiper-button-prev,
  .palette-testimonial-slider .swiper-button-next {
    width: 46px;
    height: 46px;
  }
}

/*====================================================
Mobile
====================================================*/

@media (max-width: 767px) {
  .palette-testimonial-slider {
    padding-bottom: 65px;
  }

  .palette-testimonial-slider .swiper-button-prev,
  .palette-testimonial-slider .swiper-button-next {
    display: none;
  }

  .palette-stats {
    grid-template-columns: 1fr;

    gap: 18px;

    margin-top: 60px;
  }

  .stat-box {
    padding: 30px 20px;
  }

  .stat-box h3 {
    font-size: 34px;
  }

  .stat-box span {
    font-size: 15px;
  }
}
