/* Section Counter Moderne - Vendoprone */

.vendoprone-counter-modern {
    position: relative;
    padding: 120px 0;
    background: #1a1a1a;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

/* Background Pattern */
.counter-modern-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(211, 84, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(211, 84, 0, 0.03) 1px, transparent 1px);
    background-size: 100px 100px;
    opacity: 0.3;
    z-index: 0;
}

/* Gradient Orbs */
.counter-modern-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    z-index: 1;
    animation: floatOrbCounter 25s ease-in-out infinite;
}

.counter-modern-gradient-orb.orb-1 {
    width: 500px;
    height: 500px;
    top: -10%;
    right: -5%;
    background: radial-gradient(circle, rgba(211, 84, 0, 0.15) 0%, transparent 70%);
    animation-duration: 30s;
}

.counter-modern-gradient-orb.orb-2 {
    width: 450px;
    height: 450px;
    bottom: -10%;
    left: -5%;
    background: radial-gradient(circle, rgba(230, 126, 34, 0.12) 0%, transparent 70%);
    animation-duration: 35s;
    animation-direction: reverse;
}

@keyframes floatOrbCounter {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(40px, -40px) scale(1.1);
    }
}

/* Container */
.vendoprone-counter-modern .container {
    position: relative;
    z-index: 2;
}

/* Counter Grid */
.counter-modern-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Counter Item */
.counter-modern-item {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(211, 84, 0, 0.1);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.counter-modern-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #d35400 0%, #e67e22 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.counter-modern-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(211, 84, 0, 0.3);
    box-shadow: 0 12px 40px rgba(211, 84, 0, 0.15);
}

.counter-modern-item:hover::before {
    transform: scaleX(1);
}

/* Icon */
.counter-modern-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(211, 84, 0, 0.15) 0%, rgba(230, 126, 34, 0.15) 100%);
    border-radius: 18px;
    transition: all 0.4s ease;
}

.counter-modern-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(20%) sepia(100%) saturate(5128%) hue-rotate(243deg) brightness(98%) contrast(106%);
    transition: transform 0.4s ease;
}

.counter-modern-item:hover .counter-modern-icon {
    background: linear-gradient(135deg, rgba(211, 84, 0, 0.25) 0%, rgba(230, 126, 34, 0.25) 100%);
    transform: scale(1.1);
}

.counter-modern-item:hover .counter-modern-icon img {
    transform: scale(1.1);
}

/* Number */
.counter-modern-number {
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 800;
    color: #d35400;
    line-height: 1;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
    display: block;
}

.counter-modern-number span {
    display: inline-block;
}

/* Label */
.counter-modern-label {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.4;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .counter-modern-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 991px) {
    .vendoprone-counter-modern {
        padding: 80px 0;
    }
    
    .counter-modern-item {
        padding: 32px 24px;
    }
    
    .counter-modern-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .counter-modern-icon img {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 767px) {
    .vendoprone-counter-modern {
        padding: 60px 0;
    }
    
    .counter-modern-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .counter-modern-item {
        padding: 28px 20px;
    }
    
    .counter-modern-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 18px;
    }
    
    .counter-modern-icon img {
        width: 32px;
        height: 32px;
    }
    
    .counter-modern-label {
        font-size: 14px;
    }
}

/* Animation on Scroll */
.counter-modern-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUpCounter 0.6s ease forwards;
}

.counter-modern-item:nth-child(1) {
    animation-delay: 0.1s;
}

.counter-modern-item:nth-child(2) {
    animation-delay: 0.2s;
}

.counter-modern-item:nth-child(3) {
    animation-delay: 0.3s;
}

.counter-modern-item:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeInUpCounter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


