/* =========================================================
   REVIEWS & TESTIMONIALS SECTION (1-ROW INFINITE MARQUEE)
========================================================= */

.ibr-reviews {
  position: relative;
  padding: 100px 0;
  background: #f8fafc;
  color: #0f172a;
  border-top: none;
  overflow: hidden;
}

.ibr-reviews__container {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Intro */
.ibr-reviews__header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.ibr-reviews__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(10, 100, 196, 0.08);
  border: 1px solid rgba(10, 100, 196, 0.18);
  color: #0a64c4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.ibr-reviews__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0a64c4;
}

.ibr-reviews__title {
  margin: 0 0 18px;
  color: #0f172a;
  font-size: clamp(28px, 3.3vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.ibr-reviews__title span {
  background: linear-gradient(135deg, #0a64c4 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ibr-reviews__subtitle {
  margin: 0 auto;
  color: #64748b;
  font-size: 16px;
  line-height: 1.7;
}

/* Stats Counter Row */
.ibr-reviews__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 48px;
  padding: 20px 32px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.ibr-reviews__stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ibr-reviews__stat-item strong {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}

.ibr-reviews__stat-item span {
  font-size: 13px;
  color: #64748b;
}

.ibr-reviews__stat-divider {
  width: 1px;
  height: 28px;
  background: #e2e8f0;
}

.ibr-reviews__stars {
  display: flex;
  gap: 4px;
  color: #f59e0b;
}

/* =========================================================
   INFINITE MARQUEE SLIDER (1 ROW ENDLESS)
========================================================= */

.ibr-reviews__marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 12px 0;
}

/* Edge Fade Gradients */
.ibr-reviews__marquee::before,
.ibr-reviews__marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  z-index: 3;
  pointer-events: none;
}

.ibr-reviews__marquee::before {
  left: 0;
  background: linear-gradient(90deg, #f8fafc 0%, rgba(248, 250, 252, 0) 100%);
}

.ibr-reviews__marquee::after {
  right: 0;
  background: linear-gradient(270deg, #f8fafc 0%, rgba(248, 250, 252, 0) 100%);
}

.ibr-reviews__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: ibrReviewMarquee 38s linear infinite;
}

.ibr-reviews__group {
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
  gap: 24px;
  padding-right: 24px;
}

/* Card Styling - Fixed Width for Smooth Single Row Marquee */
.ibr-reviews__card {
  width: 380px;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ibr-reviews__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.ibr-reviews__card-tag {
  font-size: 11px;
  font-weight: 700;
  color: #0a64c4;
  background: #eff6ff;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.03em;
}

.ibr-reviews__quote {
  font-size: 14.5px;
  color: #334155;
  line-height: 1.65;
  margin: 0 0 24px;
  font-style: normal;
}

/* Author Profile */
.ibr-reviews__author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
}

.ibr-reviews__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a64c4 0%, #2563eb 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ibr-reviews__author-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 2px;
}

.ibr-reviews__author-info p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

/* Marquee Animation Keyframes */
@keyframes ibrReviewMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .ibr-reviews__stats {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .ibr-reviews__stat-divider {
    display: none;
  }

  .ibr-reviews__card {
    width: 320px;
    padding: 24px 20px;
  }
}

@media (max-width: 640px) {
  .ibr-reviews {
    padding: 64px 0;
  }

  .ibr-reviews__title {
    font-size: 28px;
  }

  .ibr-reviews__card {
    width: 290px;
  }
}
