/* Counter Section */
.counter-section {
    background-color: #f8f9fa;
    padding: 60px 0;
    text-align: center;
}

.counter-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.counter-card {
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 15px;
    min-width: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.counter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.counter-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 10px;
    line-height: 1.2;
}

.counter-text {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

/* Client Slider */
.clients-section {
    padding: 80px 0;
    background-color: #fff;
    overflow: hidden;
}

.slider-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid #eee;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.clients-slider {
    overflow: hidden;
    margin: 0 auto;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
    padding: 20px 0;
}

.slide {
    min-width: 220px;
    padding: 0 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide img {
    max-width: 100%;
    height: auto;
    filter: grayscale(0%);
    opacity: 1;
    transition: all 0.3s ease;
    transform: scale(1);
}

.slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Responsive styles */
@media (max-width: 992px) {
    .counter-card {
        min-width: 160px;
        padding: 20px 10px;
    }
    
    .counter-number {
        font-size: 2rem;
    }
    
    .counter-text {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .counter-container {
        flex-direction: column;
        align-items: center;
    }
    
    .counter-card {
        width: 80%;
        margin: 10px 0;
    }
    
    .slider-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}
