.client-global {
    height: auto; /* Điều chỉnh tự động chiều cao */
    /* background-color: #ffffff; */
    position: relative;
    overflow: hidden;
}

.client-content {
    max-width: 100%;
    margin-bottom: 30px;
    padding-right: 15px;
    padding-left: 15px;
}

.client-content h2, 
.client-content p {
    text-align: left; /* Căn lề trái */
    color: #000000;
}

.client-global p {
    max-width: 1060px;
  }

.client-global .section-title {
    color: var(--primary-color);
  }

.gradient-overlay {
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 1440px;
    height: 572.369px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 26.86%, #FFF 100%);
    pointer-events: none;
    z-index: 1; /* Đảm bảo gradient nằm trên cùng */
}


/* .client-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    padding-top: 12px;
    position: relative; 
    z-index: 0; 
}

.client-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap; 
} */

.client-card {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 columns by default */
    gap: 16px; /* Adjust spacing between items as needed */
    margin: 54px;
}

.client-row {
    display: contents; /* Merge all rows into the grid for layout */
}

.client-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    padding: 16px; /* Adjust padding for better alignment */
    border-radius: 8px; /* Optional styling */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional styling */
}

@media (max-width: 1024px) {
    .client-card {
        grid-template-columns: repeat(3, 1fr); /* 3 columns for tablets */
    }
}

@media (max-width: 768px) {
    .client-card {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for mobile */
        margin: 0px;
    }
    .client-global p {
        max-width: 608px;
      }
}

@media (max-width: 600px) {
    .client-card {
        grid-template-columns: repeat(2, 1fr);
        margin: 0px;
       
    }
    .client-logo {
        padding: 8px;
    }
}

.client-logo {
    width: 100%; /* Make the container responsive */
    aspect-ratio: 9 / 4; /* Maintain a consistent aspect ratio */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #CFD2D6;
    border-radius: 8px;
    box-sizing: border-box; /* Ensure padding/border doesn't affect width */
}

.client-logo img {
    max-width: 100%; /* Allow the image to shrink or grow within the container */
    max-height: 100%; /* Ensure the image fits within the height */
    object-fit: contain; /* Maintain the image's aspect ratio */
}

@media (max-width: 360px) {
    .client-global p {
      max-width: 328px;
    }
  }