/* TESTIMONIAL SLIDER STYLES */

.testimonial-slider-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 2rem 2rem;
  position: relative;
}

/* --- Thumbs (Vertical Navigation) --- */
.testimonials-thumbs {
  width: 300px;
  height: 300px; /* Adjust height based on your content */
  flex-shrink: 0;
}

.testimonials-thumbs .swiper-slide {
  padding: 1rem;
  background-color: #f0f0f0;
  border-radius: 12px;
  cursor: pointer;
  opacity: 0.8;
  transition: background-color 0.3s ease, opacity 0.3s ease;
  border: 2px solid transparent;
  height: auto !important;
}

.testimonials-thumbs .swiper-slide-thumb-active {
  background-color: #82CEF2; /* Active blue color */
  opacity: 1;
}

.testimonials-thumbs .swiper-slide-thumb-active .thumb-content h4,
.testimonials-thumbs .swiper-slide-thumb-active .thumb-content p {
  color: #0230C5 !important; /* Blue text for active tab only */
}

.thumb-content {
  display: flex;
  align-items: center;
  justify-content: space-between;   
  gap: 10px; /* vertically center both items */
}

/* make sure your text spans the first column */
.thumb-content h4,
.thumb-content p {
  grid-column: 1;
  margin: 0;
  color: #000 !important; /* Default black text */
  font-family:'PrometoTrial-Medium';
}

/* put the stars into the second (small) column, right‑aligned */
.thumb-content .stars {
  grid-column: 2;
  justify-self: end;
  margin-top: 0; /* if you had top‑margin before, reset it */
  color: #0230C5; /* Always blue stars */
  position: absolute;
  right: -15px;
}

.thumb-content h4 {
  margin: 0 0 4px 0;
  font-size: 1.1rem;
  font-weight: bold;
  color: #000; /* Black text for inactive tabs */
}

.thumb-content p {
  margin: 0;
  font-size: 0.9rem;
  color: #000; /* Black text for inactive tabs */
}

.thumb-content .stars {
  transform: rotate(90deg);
  color: #0230C5; /* Always blue stars */
  font-size: 14px;
}

/* --- Main Content Slider --- */
.testimonials-main {
  flex-grow: 1;
  position: static; /* Important for placing arrows */
}

.testimonial-content-bubble {
  background-color: #82CEF2; /* Light blue for the bubble */
  padding: 2.5rem 3rem;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

/* Speech bubble pointer */
.testimonial-content-bubble::after {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-right: 20px solid #82CEF2; /* Same color as bubble */
}

/* Custom quote‑icon background */
.testimonial-content-bubble::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 25px;
  width: 120px;                /* adjust as needed */
  height: 120px;               /* adjust as needed */
  background: url('https://guide.samparksolution.com/wp-content/uploads/2025/07/Asset-43.png')
              no-repeat center center;
  background-size: contain;
  opacity: 1;                /* subtle behind text */
  z-index: 0;
}

.testimonial-content-bubble p {
  margin: 0;
  font-size: 2rem; /* Adjust font size as needed */
  font-style: italic;
  font-weight: 500;
  color: #000; /* Dark blue text */
  position: relative;
  z-index: 1;
  font-family: 'PrometoTrial-Medium';
  line-height: 45px;
}

/* --- Navigation & Pagination --- */
.testimonial-slider-prev,
.testimonial-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.2s ease;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: none;
  outline: none;
}

.testimonial-slider-prev:hover,
.testimonial-slider-next:hover {
  opacity: 0.8;
}

.testimonial-slider-prev { 
  left: -30px;
  background-image: url('https://guide.samparksolution.com/wp-content/uploads/2025/07/Asset-48.png');
}

.testimonial-slider-next { 
  right: -30px;
  background-image: url('https://guide.samparksolution.com/wp-content/uploads/2025/07/Asset-49.png');
}

.testimonial-slider-pagination {
  position: absolute;
  bottom: -25px !important; /* Position below the slider */
  left: 50% !important;
  transform: translateX(-50%);
  width: auto !important; /* Override swiper inline styles */
}

/* base bullet */
.testimonial-slider-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 4px;
  border-radius: 2px;
  background: #ddd;
  opacity: 1;
  margin: 0 4px !important;
  transition: width 0.3s ease;  /* smooth expand */
}

/* active bullet: wider */
.testimonial-slider-pagination .swiper-pagination-bullet-active {
  width: 20px;               /* bump up width */
  height: 4px;
  border-radius: 2px;
  background: #E10600;        /* red active color */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .testimonial-slider-wrapper {
    flex-direction: column;
  }
  .testimonials-thumbs {
    width: 100%;
    height: auto;
    direction: horizontal; /* Switch to horizontal for mobile */
  }
  .testimonial-content-bubble::after {
    left: 50%;
    top: -20px;
    transform: translateX(-50%);
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 20px solid #82CEF2; /* Pointing up */
    border-top: none;
  }
  .testimonial-slider-prev { left: 0; }
  .testimonial-slider-next { right: 0; }
}
