/* ============================================
   Improved Counting Section
   Modern, Clean, Professional Design
   ============================================ */

.counting-section {
    background: linear-gradient(135deg, #f36d38 0%, #f49822 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.counting-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.3;
    z-index: 0;
}

.counting-section .container {
    position: relative;
    z-index: 1;
}

.counting-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.counting-wrapper:hover {
    transform: translateY(-5px);
}

.counting-icon {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border: 4px solid #fff;
    border-radius: 50%;
    padding: 15px;
    transition: all 0.3s ease;
}

.counting-wrapper:hover .counting-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.counting-icon img {
    width: 100%;
    height: auto;
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.counting-content {
    flex: 1;
    text-align: left;
}

.count-number {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 10px;
}

.count-number .timer {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.count-number .plus {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    opacity: 0.9;
}

.counting-label {
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Responsive Design */
@media (max-width: 991px) {
    .counting-section {
        padding: 60px 0;
    }
    
    .counting-wrapper {
        flex-direction: column;
        gap: 20px;
        padding: 25px 15px;
    }
    
    .counting-content {
        text-align: center;
    }
    
    .counting-icon {
        width: 80px;
        height: 80px;
        padding: 12px;
    }
    
    .counting-icon img {
        max-width: 50px;
        max-height: 50px;
    }
    
    .count-number .timer {
        font-size: 3rem;
    }
    
    .count-number .plus {
        font-size: 1.8rem;
    }
    
    .counting-label {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .counting-section {
        padding: 50px 0;
    }
    
    .counting-wrapper {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .counting-icon {
        width: 70px;
        height: 70px;
        padding: 10px;
        border-width: 3px;
    }
    
    .counting-icon img {
        max-width: 45px;
        max-height: 45px;
    }
    
    .count-number .timer {
        font-size: 2.5rem;
    }
    
    .count-number .plus {
        font-size: 1.5rem;
    }
    
    .counting-label {
        font-size: 15px;
    }
}

@media (max-width: 575px) {
    .counting-section {
        padding: 40px 0;
    }
    
    .counting-wrapper {
        padding: 15px 10px;
    }
    
    .counting-icon {
        width: 60px;
        height: 60px;
        padding: 8px;
        border-width: 2px;
    }
    
    .counting-icon img {
        max-width: 40px;
        max-height: 40px;
    }
    
    .count-number .timer {
        font-size: 2rem;
    }
    
    .count-number .plus {
        font-size: 1.2rem;
    }
    
    .counting-label {
        font-size: 14px;
    }
}

/* Override old styles */
.counting-section .counting-pusher {
    display: none !important;
}

.counting-section .margin-center {
    margin: 0 auto;
}
