/* List Container */
.clients-list-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.clients-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* List Items */
.client-list-item {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.client-list-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #37c766 0%, #012057 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.client-list-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #37c766;
}

.client-list-item:hover::before {
    opacity: 1;
}

/* Logo Section */
.client-logo-section {
    flex-shrink: 0;
}

.logo-placeholder {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #37c766 0%, #012057 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.client-list-item:hover .logo-placeholder {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

/* Details Section */
.client-details-section {
    flex: 1;
    min-width: 0;
}

.client-name {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.client-list-item:hover .client-name {
    color: #37c766;
}

/* Info Grid */
.client-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

.info-item i {
    color: #37c766;
    font-size: 16px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.info-item span {
    color: #555;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .client-list-item {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        gap: 20px;
    }
    
    .logo-placeholder {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .client-name {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .client-info-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .info-item {
        justify-content: center;
    }
    
    .info-item span {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .clients-list-container {
        padding: 0 15px;
    }
    
    .client-list-item {
        padding: 20px 15px;
    }
    
    .logo-placeholder {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .client-name {
        font-size: 16px;
    }
    
    .info-item span {
        font-size: 13px;
    }
}

/* Animation for list items */
.client-list-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.client-list-item:nth-child(1) { animation-delay: 0.1s; }
.client-list-item:nth-child(2) { animation-delay: 0.2s; }
.client-list-item:nth-child(3) { animation-delay: 0.3s; }
.client-list-item:nth-child(4) { animation-delay: 0.4s; }
.client-list-item:nth-child(5) { animation-delay: 0.5s; }
.client-list-item:nth-child(6) { animation-delay: 0.6s; }
.client-list-item:nth-child(7) { animation-delay: 0.7s; }
.client-list-item:nth-child(8) { animation-delay: 0.8s; }
.client-list-item:nth-child(9) { animation-delay: 0.9s; }
.client-list-item:nth-child(10) { animation-delay: 1.0s; }
.client-list-item:nth-child(11) { animation-delay: 1.1s; }
.client-list-item:nth-child(12) { animation-delay: 1.2s; }
.client-list-item:nth-child(13) { animation-delay: 1.3s; }
.client-list-item:nth-child(14) { animation-delay: 1.4s; }
.client-list-item:nth-child(15) { animation-delay: 1.5s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effects for better interactivity */
.client-list-item:hover .info-item i {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

/* Professional color scheme */
.client-list-item:nth-child(odd) .logo-placeholder {
    /*background: linear-gradient(135deg, #37c766 0%, #012057 100%);*/
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
}

.client-list-item:nth-child(even) .logo-placeholder {
    /*background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);*/
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
}

.client-list-item:nth-child(3n) .logo-placeholder {
    /*background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);*/
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
}

.client-list-item:nth-child(4n) .logo-placeholder {
    /*background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);*/
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
}

.client-list-item:nth-child(5n) .logo-placeholder {
    /*background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);*/
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
}
