.clients-section {
    margin-top: 50px;
    padding: 0 15px;
}

.clients {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.clients-border > li {
    position: relative;
    margin-bottom: 20px;
}

.clients li {
    height: 120px; /* Increase the base size for better visibility */
    margin: 0 20px;
    width: 120px;
    display: inline-block;
    cursor: pointer;
}

.clients > li img {
    max-width: 100%; /* Ensure the image fills the container */
    height: auto; /* Maintain aspect ratio */
    transition: all 0.35s ease-in-out;
    position: relative;
    z-index: 9;
    top: 50%;
    transform: translateY(-50%);
}

.clients-border > li:after {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    border: 1px solid #eee;
    left: 0;
    transform: rotate(45deg);
    background: #fff;
    top: 0;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .clients li {
        height: 100px; /* Increase size for tablet view */
        width: 100px;
        margin: 0 15px;
    }
}

@media (max-width: 480px) {
    .clients li {
        height: 220px; /* Increase size for mobile view */
        width: 220px;
        margin: 0 10px;
    }
    .slide h3 {
        font-size: 16px; /* Adjust font size for mobile screens */
    }
}
