.our-clients-section {
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.title h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 53px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.client-item {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.client-item:hover {
  transform: scale(1.05);
}

.client-item img {
  max-height: 80px;
  max-width: 100%;
  object-fit: contain;
}

.client-box {
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 150px; /* Naikkan dari 120px ke 150px */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.client-box img {
  max-height: 120px; /* Naikkan dari 60px ke 90px */
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.client-box:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .title h2 {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .our-clients-section {
    padding: 30px 15px;
  }

  .client-item img {
    max-height: 60px;
  }
}

@media (max-width: 480px) {
  .clients-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .title h2 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .client-box {
    height: 220px; /* Tambah tinggi box agar tidak terasa sempit */
    padding: 30px; /* Padding cukup */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .client-box img {
    max-height: 120px; /* Ukuran logo lebih besar */
    width: auto;
    height: auto;
    object-fit: contain;
  }
}
