/* ── TRUST BAR ── */
.trust-bar {
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 22px 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.trust-item i {
  color: #7b8eff;
  font-size: 0.9rem;
}

/* ── FILTER TABS ── */
.filter-section {
  background: #000;
  padding: 50px 0 20px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font-main);
  letter-spacing: 0.2px;
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, #3442c8, #662d91);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 20px rgba(100, 45, 145, 0.4);
}

/* ── UPWORK SECTION ── */
.upwork-section {
  background: #000;
  padding: 60px 0 30px;
}

/* Upwork header badge */
.upwork-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.upwork-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(20, 184, 80, 0.12);
  border: 1.5px solid rgba(20, 184, 80, 0.3);
  padding: 10px 22px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 800;
  color: #14b850;
  flex-shrink: 0;
}

.upwork-badge svg {
  width: 22px;
  height: 22px;
}

.upwork-title-block h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 3px;
}

.upwork-title-block p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Upwork card */
.upwork-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 18px;
  padding: 28px 28px 24px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.upwork-card:hover {
  transform: translateY(5px);
  border-color: rgba(20, 184, 80, 0.25);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.13);
}

.upwork-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #14b850, #0d9945);
  opacity: 0;
  transition: opacity 0.3s;
}

.upwork-card:hover::before {
  opacity: 1;
}

/* Upwork top row */
.upwork-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.upwork-client-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.upwork-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--btn-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}

.upwork-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upwork-client-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 2px;
}

.upwork-client-meta {
  font-size: 0.72rem;
  color: #404040;
  display: flex;
  align-items: center;
  gap: 8px;
}

.upwork-client-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #404040;
  display: inline-block;
}

/* Upwork verified badge */
.upwork-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(20, 184, 80, 0.1);
  border: 1px solid rgba(20, 184, 80, 0.25);
  color: #14b850;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Stars */
.upwork-stars {
  color: #f5a623;
  font-size: 0.82rem;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.upwork-stars span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #404040;
}

/* Review text */
.upwork-review-text {
  font-size: 0.85rem;
  color: #444;
  line-height: 1.75;
  margin-bottom: 18px;
  position: relative;
  text-align: justify;
}

/* Service tag */
.upwork-service-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(20, 184, 80, 0.1);
  border: 1px solid rgba(20, 184, 80, 0.25);
  color: #05461b;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  letter-spacing: 0.3px;
}

/* Upwork footer */
.upwork-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  margin-top: 16px;
}

.upwork-date {
  font-size: 0.7rem;
  color: #404040;
}

.upwork-platform-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #14b850;
  opacity: 0.7;
}

/* ── WEBSITE REVIEWS SECTION ── */
.site-reviews-section {
  background: #000;
  padding: 60px 0 80px;
}

/* Card */
.direct-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 28px 28px 24px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.direct-card:hover {
  transform: translateY(5px);
  border-color: rgba(100, 80, 200, 0.2);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
}

.direct-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3442c8, #662d91);
  opacity: 0;
  transition: opacity 0.3s;
}

.direct-card:hover::before {
  opacity: 1;
}

/* ── Avatar image wrap ──────────────────────────────────────────────────────── */
.avatar-img-wrap {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.avatar-img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.avatar-initials-fallback {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-weight: 700;
}

/* Top row */
.direct-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.direct-client-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.direct-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--btn-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}

.direct-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.direct-client-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: #111111;
  margin-bottom: 2px;
}

.direct-client-meta {
  font-size: 0.72rem;
  color: #404040;
  display: flex;
  align-items: center;
  gap: 8px;
}

.direct-client-meta .direct-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #aaaaaa;
  display: inline-block;
}

/* Stars */
.direct-stars {
  color: #f5a623;
  font-size: 0.82rem;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.direct-stars span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #404040;
}

/* Review text */
.direct-review-text {
  font-size: 0.85rem;
  color: #444444;
  line-height: 1.75;
  margin-bottom: 18px;
  position: relative;
  text-align: justify;
}

/* Service tag */
.direct-service-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(52, 66, 200, 0.07);
  border: 1px solid rgba(52, 66, 200, 0.18);
  color: #3442c8;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  letter-spacing: 0.3px;
}

/* Footer */
.direct-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  margin-top: 16px;
}

.direct-date {
  font-size: 0.7rem;
  color: #404040;
}

.direct-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #555555;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 4px 10px;
  border-radius: 50px;
}
/* ── CTA SECTION ── */
.reviews-cta {
  background: #000;
  padding: 0 0 100px;
}

.cta-card {
  background: linear-gradient(130deg, #1b1464 0%, #3442c8 50%, #662d91 100%);
  border-radius: 24px;
  padding: 70px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  top: -150px;
  right: -100px;
  pointer-events: none;
}

.cta-card::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  bottom: -80px;
  left: -60px;
  pointer-events: none;
}

.cta-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.15;
}

.cta-sub {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #1b1464;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 16px 36px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  color: #1b1464;
}

/* Section divider label */
.section-divider-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.sdl-line {
  flex: 1;
  height: 1px;
  background: #ffffff82;
}

.sdl-text {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}
/* Tablet & Small Screens (e.g. iPads/Laptops) */
@media (max-width: 992px) {
    .sdl-text {
        font-size: 1.2rem;
        letter-spacing: 1.5px;
    }
}

/* Mobile Screens (e.g. Phones) */
@media (max-width: 576px) {
    .sdl-text {
        font-size: 1rem;       /* Heading choti ho gayi */
        letter-spacing: 1px;   /* Spacing bhi kam ki taake screen se bahar na jaye */
        font-weight: 600;      /* Bohat chote font par weight thoda kam karna readability behtar karta hai */
        white-space: normal;   /* Agar text lamba ho to wrap ho jaye, warna cut jayega */
        display: block;
        text-align: center;
    }
}

/* ── CAROUSEL WRAPPER ── */
.reviews-carousel-outer {
  position: relative;
  overflow: hidden;
}

.reviews-carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  align-items: stretch;
}

.reviews-carousel-track .review-item {
  flex: 0 0 calc(33.333% - 16px);
  margin: 0 8px;
  display: block !important; /* override filter hide */
}

@media (max-width: 991px) {
  .reviews-carousel-track .review-item {
    flex: 0 0 calc(50% - 16px);
  }
}

@media (max-width: 576px) {
  .reviews-carousel-track .review-item {
    flex: 0 0 calc(100% - 16px);
  }
}

/* ── NAV BUTTONS ── */
.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: rgb(255, 255, 255);
  color: rgba(0, 0, 0, 0.925);
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.carousel-btn:hover {
  background: linear-gradient(135deg, #3442c8, #662d91);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 20px rgba(100, 45, 145, 0.4);
  transform: translateY(-2px);
}

.carousel-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── DOTS ── */
.carousel-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}

.carousel-dot.active {
  width: 22px;
  border-radius: 4px;
  background: #fff;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: fadeUp 0.65s ease forwards;
}
.delay-1 {
  animation-delay: 0.1s;
  opacity: 0;
}
.delay-2 {
  animation-delay: 0.22s;
  opacity: 0;
}
.delay-3 {
  animation-delay: 0.36s;
  opacity: 0;
}
.delay-4 {
  animation-delay: 0.5s;
  opacity: 0;
}
.delay-5 {
  animation-delay: 0.65s;
  opacity: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 767px) {
  .hss-item {
    padding: 0 16px;
  }
  .hss-num {
    font-size: 1.6rem;
  }
  .trust-bar-inner {
    gap: 18px;
  }
  .upwork-card-top {
    flex-direction: column;
    gap: 8px;
  }
  .cta-card {
    padding: 44px 24px;
  }
}

/* ── READ MORE STYLES ── */
.review-text-container {
    position: relative;
}

.review-text {
    margin-bottom: 18px;
    line-height: 1.75;
    text-align: justify;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.read-more-btn {
    background: none;
    border: none;
    color: #3442c8;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    margin: 0;
    display: inline-block;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
    position: relative;
}

.read-more-btn:hover {
    color: #662d91;
    text-decoration: underline;
}

.read-more-btn::after {
    content: " →";
    margin-left: 4px;
    transition: transform 0.25s ease;
}

.read-more-btn.read-less::after {
    content: " ←";
}

/* Upwork specific */
.upwork-review-text .review-text {
    font-size: 0.85rem;
    color: #444;
}

.upwork-review-text .read-more-btn {
    color: #14b850;
}

.upwork-review-text .read-more-btn:hover {
    color: #0d9945;
}

/* Direct specific */
.direct-review-text .review-text {
    font-size: 0.85rem;
    color: #444444;
}

.direct-review-text .read-more-btn {
    color: #3442c8;
}