/*======================
CLIENTS
=======================*/
.clients {
  background: #fff;
  padding: 30px 0px;
}

.clients-tag {
  display: inline-flex;
  align-items: left;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #7c3aed;
  margin-bottom: 18px;
}

.clients-title {
  text-align: left;
  font-size: 46px;
  font-weight: 800;
  margin-top: 12px;
  padding-bottom: 30px;
  color: var(--heading);
  line-height: 1.2;
}

.clients-marquee {
  overflow: hidden;
  position: relative;
}

.clients-track {
  display: flex;
  align-items: center;
  width: max-content;
  padding-top: 10px;
  padding-bottom: 10px;
  animation: marquee 28s linear infinite;
}

.clients-marquee:hover .clients-track {
  animation-play-state: paused;
}

.client-item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 90px;
}

.client-item img {
  height: 42px;
  width: auto;
  opacity: 0.75;
  transition: 0.35s;
  filter: grayscale(100%);
}

.client-item:hover img {
  opacity: 1;
  filter: none;
  transform: translateY(-2px);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/*==================================
        CTA
===================================*/
.cta {
  padding-bottom: 40px;
  background: #fff;
}

.cta-box {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 30px 30px;
  background: linear-gradient(90deg, #5f4cf7 0%, #3e6dff 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

/* Decorative Waves */
.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 120%,
    rgba(255, 255, 255, 0.15),
    transparent 55%
  );

  pointer-events: none;
}

.cta-box::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -50px;
  width: 520px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 0 0 40px rgba(255, 255, 255, 0.05),
    0 0 0 80px rgba(255, 255, 255, 0.04),
    0 0 0 120px rgba(255, 255, 255, 0.03);
  transform: rotate(-12deg);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  color: #fff;
  font-size: 42px;
  margin-bottom: 12px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.btn-light {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: #16284c;
  padding: 16px 34px;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.35s;
  text-decoration: none;
}

.btn-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
/*==================================
        RESPONSIVE
===================================*/

@media (max-width: 991px) {
  .clients {
    text-align: center;
  }

  .clients .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .clients-tag {
    display: inline-block;
    text-align: center;
    margin-bottom: 18px;
  }

  .clients-title {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
  }

  .clients-title {
    text-align: center;
  }
  .clients-wrapper {
    justify-content: center;
    gap: 40px;
  }

  .cta-box {
    flex-direction: column;
    text-align: center;
    padding: 45px 30px;
  }

  .cta-content h2 {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  .clients-title {
    font-size: 34px;
  }
  
  .client-item {
    margin-right: 55px;
  }

  .client-item img {
    height: 32px;
  }
  .clients {
    padding: 50px 0 25px;
  }

  .clients-wrapper {
    gap: 30px;
  }

  .cta {
    padding-bottom: 30px;
  }

  .cta-box {
    border-radius: 18px;
  }

  .cta-content h2 {
    font-size: 28px;
  }

  .cta-content p {
    font-size: 16px;
  }

  .btn-light {
    width: 100%;

    justify-content: center;
  }
}

@media (max-width: 420px) {
  .clients-title {
    font-size: 28px;
  }
}
