/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials {
  background: var(--bg-primary);
  padding: 100px 0;
  position: relative;
}

.testimonials .container {
  position: relative;
}

.testimonials-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  z-index: 2;
}

.testimonials-slider {
  padding: 20px 10px 70px 10px;
  overflow: hidden;
}

/* ─── Testimonial Card ─── */
.testimonial-item {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  padding: 40px 32px;
  text-align: left;
  box-shadow:
    0 4px 16px rgba(26, 39, 68, 0.04),
    0 12px 32px rgba(26, 39, 68, 0.03);
  opacity: 0.7;
  transform: scale(0.95);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

/* Premium Active Card */
.testimonials-slider .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
  border: 1px solid rgba(255, 106, 0, 0.15);
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 8px 28px rgba(26, 39, 68, 0.06),
    0 24px 48px rgba(26, 39, 68, 0.04);
}

/* ─── Quote Icon ─── */
.testimonial-icon {
  margin-bottom: 14px;
  font-size: 2.6rem;
  line-height: 1;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.2;
  transition: opacity 0.4s ease;
}

.testimonials-slider .swiper-slide-active .testimonial-icon {
  opacity: 0.35;
}

.testimonial-content {
  font-size: 1.5rem;
  font-style: normal;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 24px;
  position: relative;
  flex: 1;
}

.testimonial-content p {
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ─── Author Section ─── */
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(26, 109, 212, 0.06);
  padding-top: 20px;
  margin-top: auto;
  position: relative;
}

.testimonial-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  box-shadow: 0 4px 16px rgba(26, 39, 68, 0.1);
}

.author-info {
  text-align: left;
  flex: 1;
}

.author-info h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.verified-badge {
  color: var(--accent-green);
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
}

.author-role {
  display: block;
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.author-info .rating {
  display: flex;
  gap: 2px;
  font-size: 1.1rem;
}

.author-info .rating i {
  background: linear-gradient(135deg, var(--accent-amber), #ffb800);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 2px rgba(245, 158, 11, 0.2));
}

/* ─── Navigation ─── */
.testimonials .swiper-button-next,
.testimonials .swiper-button-prev {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--text-primary);
  box-shadow: 0 4px 16px rgba(26, 39, 68, 0.06);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  outline: none;
  font-size: 1.1rem;
}

.testimonials .swiper-button-next::after,
.testimonials .swiper-button-prev::after {
  display: none;
}

.testimonials .swiper-button-next {
  right: 0;
}

.testimonials .swiper-button-prev {
  left: 0;
}

.testimonials .swiper-button-next:hover,
.testimonials .swiper-button-prev:hover {
  background: var(--accent-gradient);
  border-color: transparent;
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.testimonials .swiper-button-next:active,
.testimonials .swiper-button-prev:active {
  transform: translateY(-50%) scale(0.95);
}

/* ─── Pagination ─── */
.testimonials .swiper-pagination {
  bottom: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 6px;
}

.testimonials .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(26, 109, 212, 0.15);
  opacity: 1;
  margin: 0 !important;
  border-radius: 50%;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.testimonials .swiper-pagination-bullet-active {
  background: var(--accent-gradient);
  width: 28px;
  border-radius: 4px;
  box-shadow: 0 2px 10px var(--accent-glow);
}

/* ─── Responsive ─── */
@media (max-width: 991px) {
  .testimonials-wrapper {
    padding: 0 40px;
  }

  .testimonial-item {
    opacity: 0.6;
    transform: scale(0.97);
  }

  .testimonials-slider .swiper-slide-active {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .testimonials {
    padding: 70px 0;
  }

  .testimonials-wrapper {
    padding: 0 20px;
  }

  .testimonials-slider {
    padding: 10px 0 50px 0;
  }

  .testimonial-item {
    padding: 30px 20px;
    opacity: 1;
    transform: scale(1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
  }

  .testimonials-slider .swiper-slide-active {
    transform: scale(1);
    border: 1px solid rgba(255, 106, 0, 0.12);
  }

  .testimonial-icon {
    font-size: 2rem;
  }

  .testimonial-content {
    font-size: 1.45rem;
  }

  .testimonial-author {
    padding-top: 16px;
    margin-top: 20px;
  }

  .testimonial-author img {
    width: 48px;
    height: 48px;
  }

  .author-info h4 {
    font-size: 1.4rem;
    flex-wrap: wrap;
  }

  .author-role {
    font-size: 1.1rem;
  }

  .testimonials .swiper-button-next,
  .testimonials .swiper-button-prev {
    width: 38px;
    height: 38px;
    font-size: 1rem;
    background: rgba(255,255,255,0.95);
  }

  .testimonials .swiper-button-next {
    right: 0;
  }

  .testimonials .swiper-button-prev {
    left: 0;
  }
}

/* ==========================================================================
   CLIENTS LOGO — ARCHITECTURAL TRUST SHOWCASE
   ========================================================================== */
.logo-clients {
  position: relative;
  padding: 90px 0 100px;
  overflow: hidden;
}

/* ─── Layered Background ─── */
.logo-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.logo-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 154, 46, 0.05) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(26, 109, 212, 0.04) 0%, transparent 70%);
}

.logo-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 109, 212, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 109, 212, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
}

.logo-orb {
  position: absolute;
  border-radius: 50%;
}

.logo-orb-1 {
  top: -15%;
  right: -8%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 154, 46, 0.06) 0%, transparent 70%);
  filter: blur(70px);
  animation: logo-orb-drift 16s ease-in-out infinite;
}

.logo-orb-2 {
  bottom: -20%;
  left: -5%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(26, 109, 212, 0.05) 0%, transparent 70%);
  filter: blur(60px);
  animation: logo-orb-drift 20s ease-in-out infinite reverse;
}

@keyframes logo-orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(40px, -30px) scale(1.06); }
  50% { transform: translate(-25px, 20px) scale(0.95); }
  75% { transform: translate(20px, -15px) scale(1.03); }
}

/* ─── Badge ─── */
.logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(255, 125, 0, 0.08), rgba(26, 109, 212, 0.05));
  border: 1px solid rgba(255, 125, 0, 0.15);
  color: var(--accent);
  font-size: clamp(0.7rem, 0.9vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 16px;
}

.logo-badge i {
  font-size: 0.6rem;
  opacity: 0.6;
}

/* ─── Glass Track ─── */
.logo-track-wrap {
  position: relative;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  padding: 6px 0;
  box-shadow:
    0 2px 12px rgba(26, 39, 68, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  overflow: visible;
}

/* ─── Corner Accents ─── */
.logo-track-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: rgba(255, 125, 0, 0.2);
  border-style: solid;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  animation: logo-corner-in 0.8s ease forwards 0.3s;
}

@keyframes logo-corner-in {
  to { opacity: 1; }
}

.logo-track-tl { top: -1px; left: -1px; border-width: 2px 0 0 2px; border-radius: 18px 0 0 0; }
.logo-track-tr { top: -1px; right: -1px; border-width: 2px 2px 0 0; border-radius: 0 18px 0 0; }
.logo-track-bl { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; border-radius: 0 0 0 18px; }
.logo-track-br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; border-radius: 0 0 18px 0; }

/* ─── Slider ─── */
.logo-slider {
  padding: 0;
}

.logo-slider .swiper-wrapper {
  transition-timing-function: linear !important;
}

.logo-slider .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 6px 10px;
  position: relative;
  z-index: 1;
}

/* ─── Logo Item (glass pedestal) ─── */
.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(90px, 11vw, 130px);
  height: clamp(54px, 6.5vw, 72px);
  background: rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  position: relative;
  transition: all 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1;
  overflow: visible;
  transform-origin: center bottom;
}

.logo-item img {
  max-width: clamp(80px, 12vw, 130px);
  max-height: clamp(34px, 5vw, 56px);
  width: auto;
  height: auto;
  opacity: 0.35;
  object-fit: contain;
  position: relative;
  z-index: 2;
  transition: all 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: auto;
  filter: none;
  opacity: 0.8;
  will-change: transform;
}

/* ─── Hover ─── */
.logo-slider .swiper-slide:hover .logo-item {
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.8);
  transform: scale(1);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.1),
    0 0 0 3px rgba(255, 255, 255, 0.6);
}

.logo-slider .swiper-slide:hover .logo-item img {
  opacity: 1;
  filter: none;
  transform: scale(1);
  box-shadow:
    0 clamp(50px, 10vw, 110px) clamp(80px, 14vw, 180px) rgba(0, 0, 0, 0.15),
    0 0 0 clamp(6px, 1vw, 10px) rgba(255, 255, 255, 0.95);
  border-radius: 8px;
}

/* ─── Active (touch tap) ─── */
.logo-slider .swiper-slide:active .logo-item {
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.8);
  transform: scale(1);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.1),
    0 0 0 3px rgba(255, 255, 255, 0.6);
}

.logo-slider .swiper-slide:active .logo-item img {
  opacity: 1;
  filter: none;
  transform: scale(1);
  box-shadow:
    0 clamp(50px, 10vw, 110px) clamp(80px, 14vw, 180px) rgba(0, 0, 0, 0.15),
    0 0 0 clamp(6px, 1vw, 10px) rgba(255, 255, 255, 0.95);
  border-radius: 8px;
}

/* ─── Trust Metric ─── */
.logo-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 560px;
  margin: 40px auto 0;
}

.logo-trust-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26, 109, 212, 0.12), transparent);
}

.logo-trust-content {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.logo-trust-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gradient);
  border-radius: 50%;
  color: #fff;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.logo-trust-text {
  font-size: clamp(1.2rem, 1.4vw, 1.5rem);
  color: var(--text-secondary);
  font-weight: 400;
}

.logo-trust-text strong {
  color: var(--accent);
  font-weight: 700;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .logo-clients { padding: 50px 0 60px; }
  .logo-track-wrap { border-radius: 14px; padding: 4px 0; }
  .logo-item { width: 90px; height: 54px; }
  .logo-item img { max-width: 70px; max-height: 28px; }
/* .logo-slider .swiper-slide:hover .logo-item,
  .logo-slider .swiper-slide:active .logo-item {
    transform: scale(1);
    box-shadow: none; 0 16px 48px rgba(0, 0, 0, 0.08), 0 0 0 3px rgba(255, 255, 255, 0.5);
  }
  .logo-slider .swiper-slide:hover .logo-item img,
  .logo-slider .swiper-slide:active .logo-item img {
    transform: scale(18) translateY(-18px);
    box-shadow: none;
      0 40px 80px rgba(0, 0, 0, 0.15),
      0 0 0 6px rgba(255, 255, 255, 0.95);
    border-radius: 6px;
  }
  .logo-trust { gap: 14px; margin-top: 30px; }
  .logo-trust-icon { width: 30px; height: 30px; font-size: 0.65rem; }
  .logo-track-tl,
  .logo-track-tr,
  .logo-track-bl,
  .logo-track-br { width: 14px; height: 14px; }
}

@media (max-width: 480px) {
  .logo-clients { padding: 36px 0 44px; }
  .logo-track-wrap { border-radius: 10px; padding: 2px 0; }
  .logo-item { width: 80px; height: 46px; border-radius: 8px; }
  .logo-item img { max-width: 60px; max-height: 24px; opacity: 0.7; }
/* .logo-slider .swiper-slide:hover .logo-item,
  .logo-slider .swiper-slide:active .logo-item {
    transform: scale(1);
    box-shadow: none; 0 14px 40px rgba(0, 0, 0, 0.08), 0 0 0 3px rgba(255, 255, 255, 0.5);
  }
  .logo-slider .swiper-slide:hover .logo-item img,
  .logo-slider .swiper-slide:active .logo-item img {
    transform: scale(18) translateY(-16px);
    box-shadow: none;
      0 36px 70px rgba(0, 0, 0, 0.15),
      0 0 0 6px rgba(255, 255, 255, 0.95);
    border-radius: 6px;
  }
  .logo-trust { gap: 10px; margin-top: 24px; }
  .logo-trust-icon { width: 26px; height: 26px; font-size: 0.55rem; }
  .logo-trust-text { font-size: 1.1rem; }
  .logo-track-tl,
  .logo-track-tr,
  .logo-track-bl,
  .logo-track-br { width: 10px; height: 10px; }
}
