section.inner-banner {
  background: url('../../images/clients-banner.jpg') no-repeat top / cover;
}

.many-more {
  font-weight: 500;
  font-size: 20px;
}

.logo-card-last {
  display: flex;
  justify-content: end;
  align-items: end;
  margin-top: 20px;
}

.clients-section {
  width: 100%;
  display: flex;
  background: #fff;
}

.clients-left {
  width: 30%;
  background: linear-gradient(135deg, #ffc000, #c5182d);
  padding: 90px 20px;
  position: sticky;
  top: 90px;
  height: 100vh;
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.clients-left::before {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  top: -100px;
  left: -100px;
}

.clients-left::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  bottom: -100px;
  right: -60px;
}

.stats {
  display: flex;
  gap: 40px;
  margin-top: 20px;
  position: relative;
  justify-content: space-between;
  z-index: 2;
}

.stats h3 {
  font-size: 25px;
}

.stats p {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

.stats > div {
  border-right: solid 1px #fff;
  padding-right: 20px;
}

.stats > div:last-child {
  border: none;
}

/* RIGHT SIDE */

.clients-right {
  width: 70%;
  padding: 60px;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.logo-card {
  background: #fff;
  border: 1px solid #d9d9d9;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  cursor: pointer;
  transition: 0.4s;
  overflow: hidden;
  position: relative;
}

.logo-card img {
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
  transition: 0.4s;
  position: relative;
  z-index: 2;
}

.logo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.logo-card:hover img {
  transform: scale(1.08);
}


.clients-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: 0.4s;
  z-index: 99999;
}

.clients-popup.active {
  visibility: visible;
  opacity: 1;
}

.clients-popup img {
  max-width: 85%;
  max-height: 85vh;
  background: #fff;
  padding: 25px;
  border-radius: 20px;
}

.close-popup {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 35px;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 1200px) {
  .clients-left{
    width: 40%;
  }
  .clients-right {
    width: 60%;
    padding: 40px;
}
}

@media (max-width: 1200px) {
  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .stats > div {
    padding-right: 12px;
}
}

@media (max-width: 991px) {
    .stats h3 {
    font-size: 22px;
}
.clients-left {
    padding: 33px 30px !important;
}
    .stats {
    gap: 74px;
}
.stats > div {
    padding-right: 60px;
}
  .clients-section {
    flex-direction: column;
  }

  .clients-left {
    width: 100%;
    position: relative;
    top: 0;
    height: auto;
  }

  .clients-right {
    width: 100%;
  }

  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {

  .clients-right {
    padding: 30px 20px;
  }

  .logo-grid {
   grid-template-columns: repeat(2, 1fr);
  }

.stats {
    flex-direction: row;
    gap: 20px;
}

  .clients-popup img {
    max-width: 92%;
  }
}

@media (max-width: 576px) {
.stats {
    flex-direction: column;
    gap: 10px;
    margin-top: 0;
}
.stats > div {
    background-color: beige;
    color: #333;
    padding: 20px;
    border: none;
}
}
