/* ===========================
   TESTIMONIAL SLIDER
   =========================== */

.dess-tslider-wrap {
  width: 100%;
  padding: 20px 0 60px;
  position: relative;
  box-sizing: border-box;
}

.dess-tslider {
  padding: 10px 4px 50px !important;
  overflow: hidden !important;
}

/* Equal height slides */
.dess-tslider .swiper-wrapper {
  align-items: stretch;
}

.dess-tslider .swiper-slide {
  height: auto;
}

/* Card */
.dess-tslide {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  box-sizing: border-box;
}

/* Quote icon */
.dess-tslide-quote i {
  font-size: 28px;
  color: #1b4f8a;
  opacity: 0.25;
}

/* Text */
.dess-tslide-text {
  font-size: 16px;
  line-height: 1.8;
  color: #555555;
  margin: 0;
  flex: 1;
}

/* Author */
.dess-tslide-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
  margin-top: auto;
}

.dess-tslide-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1b4f8a;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dess-tslide-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dess-tslide-info strong {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  display: block;
}

.dess-tslide-info span {
  font-size: 12px;
  color: #888888;
  display: block;
}

.dess-tslide-company {
  color: #1b4f8a !important;
  font-weight: 600 !important;
}

/* Navigation */
.swiper-button-prev,
.swiper-button-next {
  color: #1b4f8a !important;
  width: 36px !important;
  height: 36px !important;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  top: 40% !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 14px !important;
  font-weight: 700;
}

.swiper-button-prev {
  left: -10px !important;
}

.swiper-button-next {
  right: -10px !important;
}

/* Pagination */
.swiper-pagination {
  bottom: 0 !important;
}

.swiper-pagination-bullet {
  background: #cccccc;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #1b4f8a !important;
}

/* Responsive */
@media (max-width: 767px) {
  .dess-tslider-wrap {
    padding: 20px 0 50px;
  }
  .swiper-button-prev,
  .swiper-button-next {
    display: none !important;
  }
}
/* ===========================
   TESTIMONIALS GRID
   =========================== */
.dess-tgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: 100%;
}

.dess-tgrid-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dess-tgrid-quote i {
  font-size: 28px;
  color: #1b4f8a;
  opacity: 0.25;
}

.dess-tgrid-text {
  font-size: 16px;
  line-height: 1.8;
  color: #555555;
  margin: 0;
  flex: 1;
}

.dess-tgrid-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
  margin-top: auto;
}

.dess-tgrid-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1b4f8a;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dess-tgrid-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dess-tgrid-info strong {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  display: block;
}

.dess-tgrid-info span {
  font-size: 12px;
  color: #888888;
  display: block;
}

.dess-tgrid-company {
  color: #1b4f8a !important;
  font-weight: 600 !important;
}

@media (max-width: 900px) {
  .dess-tgrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .dess-tgrid {
    grid-template-columns: 1fr;
  }
}
/* ===========================
   TESTIMONIAL LOGO FIX
   =========================== */

/* Fixed height wrapper for logo/avatar area */
.dess-tslide-logo,
.dess-tgrid-logo {
  width: auto;
  min-height: 150px !important;
  max-height: 150px;
  object-fit: contain;
  object-position: center;
  margin-bottom: 16px;
  display: block;
}

/* Avatar same height as logo area for alignment */
.dess-tslide-avatar,
.dess-tgrid-avatar {
  width: 50px;
  height: 50px;
  margin-bottom: 16px;
}

/* Quote icon consistent spacing */
.dess-tslide-quote,
.dess-tgrid-quote {
  margin-bottom: 8px;
}

/* Card top section equal height across all cards */
.dess-tslide,
.dess-tgrid-card {
  display: flex;
  flex-direction: column;
}
