.elementor-6831 .elementor-element.elementor-element-883f06f{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for html, class: .elementor-element-519d59c *//* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #f5f5f5;
}

/* ===== COUNTER SECTION ===== */
.counter-section {
    background: linear-gradient(135deg, #65C194 0%, #F9A738 100%);
    padding: 15px 0;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.counter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== CONTAINER & GRID ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    align-items: center;
}

/* ===== COUNTER ITEMS ===== */
.counter-item {
    text-align: center;
    padding: 8px 5px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.counter-item:nth-child(1) { animation-delay: 0.1s; }
.counter-item:nth-child(2) { animation-delay: 0.2s; }
.counter-item:nth-child(3) { animation-delay: 0.3s; }
.counter-item:nth-child(4) { animation-delay: 0.4s; }

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

.counter-item:hover {
    transform: translateY(-5px);
}

/* ===== COUNTER ICONS ===== */
.counter-icon {
    width: 35px;
    height: 35px;
    margin: 0 auto 6px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.counter-icon i {
    font-size: 14px;
    color: white;
    transition: all 0.3s ease;
}

.counter-item:hover .counter-icon {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.7);
}

.counter-item:hover .counter-icon i {
    transform: scale(1.2);
}

/* ===== COUNTER NUMBERS ===== */
.counter-number {
    font-size: 1.6rem;
    font-weight: bold;
    color: white;
    margin-bottom: 3px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1;
    transition: all 0.3s ease;
}

/* ===== COUNTER TITLES ===== */
.counter-title {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1.2;
    font-weight: 600;
}

/* ===== ANIMATIONS ===== */
.counter-number.counting {
    animation: pulse 0.2s ease-in-out;
}

@keyframes pulse {
    0% { 
        transform: scale(1);
        color: white;
    }
    50% { 
        transform: scale(1.05);
        color: #FFE066;
        text-shadow: 0 0 20px rgba(255, 224, 102, 0.8);
    }
    100% { 
        transform: scale(1);
        color: white;
    }
}

/* เพิ่มเอฟเฟกต์ใหม่สำหรับ live counter */
.live-update {
    animation: liveUpdate 0.5s ease-in-out;
}

@keyframes liveUpdate {
    0% { 
        transform: scale(1) translateY(0);
        color: white;
    }
    25% { 
        transform: scale(1.1) translateY(-2px);
        color: #66FFE0;
        text-shadow: 0 0 15px rgba(102, 255, 224, 0.6);
    }
    75% { 
        transform: scale(1.05) translateY(-1px);
        color: #FFE066;
    }
    100% { 
        transform: scale(1) translateY(0);
        color: white;
    }
}

/* เอฟเฟกต์สำหรับ active counter */
.counter-item.active {
    transform: translateY(-5px);
}

/* Glow effect สำหรับไอคอนที่ active */
.counter-icon.glow {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .counter-number {
        font-size: 1.4rem;
    }
    
    .counter-title {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .counter-section {
        padding: 12px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .counter-number {
        font-size: 1.2rem;
    }
    
    .counter-icon {
        width: 28px;
        height: 28px;
        margin-bottom: 4px;
        border-width: 1px;
    }
    
    .counter-icon i {
        font-size: 10px;
    }
    
    .counter-title {
        font-size: 0.7rem;
    }
    
    .counter-item {
        padding: 6px 4px;
    }
}

@media (max-width: 480px) {
    .counter-grid {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    
    .counter-item {
        padding: 5px 4px;
    }
}/* End custom CSS */