


/* 統計數據區塊樣式 */
.statistics-section {
    background: url('../images/benq/index_4.png') center center no-repeat;
    background-size: cover;
    min-height: 100vh;
    width: 100%;
    /* max-width: 1200px; */
    margin: 0 auto !important;
    position: relative;
    margin-top: -100px !important; /* ✅ 移除上邊距 */
    padding-top: 100px !important; /* ✅ 移除上內距 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.statistics-container {
    /* max-width: 1100px; */
    margin: 0 auto !important;
    padding: 0 20px;
    text-align: center;
}

.statistics-header {
    margin-bottom: 60px;
}

.statistics-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.statistics-subtitle {
    font-size: 18px;
    color: #8B86B8;
    line-height: 1.8;
    /* max-width: 800px; */
    margin: 0 auto;
    font-weight: 700;
    letter-spacing: 1.5px;
}

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

.stat-item {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.stat-number {
    font-size: 60px;
    font-weight: 900;
    color: #5B2A85;
    line-height: 1;
    margin-bottom: 0;
    font-family: 'Arial', sans-serif;
    display: inline-block;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(91, 42, 133, 0.2);
    white-space: nowrap;
}

.stat-number:hover {
    transform: scale(1.05);
    text-shadow: 2px 2px 8px rgba(91, 42, 133, 0.4);
}

.stat-unit {
    font-size: 16px;
    color: #5B2A85;
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
    margin-left: 10px;
    white-space: nowrap;
    vertical-align: baseline;
}

.stat-description {
    font-size: 20px;
    color: #555;
    line-height: 1.6;
    font-weight: 700;
    margin-top: 15px;
    text-align: center;
}

.stat-description div {
    margin-bottom: 3px;
    font-size: 20px;
    color: #555;
    font-weight: 700;
    line-height: 1.6;
}

.stat-description div:last-child {
    margin-bottom: 0;
}

/* 響應式設計 */
@media (max-width: 1024px) {
    .statistics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .stat-number {
        font-size: 60px;
    }
    
    .statistics-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .statistics-section {
        max-width: 100%;
    margin-top: 0px !important; /* ✅ 移除上邊距 */
    padding-top: 0px !important; /* ✅ 移除上內距 */
        min-height: 80vh;
        /* border :1px solid red; */
        /* margin-bottom:200px !important; */
    }
    
    .statistics-container {
        max-width: 100%;
        /* margin: 0 auto !important; */
        padding: 0 15px; /* 恢復 container 的 padding */
        border:1px solid #ccc;
    }
    
    .statistics-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        /* padding: 0 15px;  從這裡移除 padding */
    }
    
    .stat-number {
        font-size: 48px;
    }
    
    .statistics-title {
        font-size: 24px;
    }
    
    .statistics-subtitle {
        font-size: 14px;
        color: #555; /* 在白色背景上顯示的文字顏色 */
    }
    
    .statistics-header {
        margin-bottom: 30px;
        background-color: white;
        padding: 30px 15px;
        margin-left: -15px;
        margin-right: -15px;
    }
}

@media (max-width: 480px) {
    .statistics-section {
        padding: 0px 0;
        /* margin: 0 auto !important; */
    }
    
    .statistics-container {
        padding: 0 15px;
        /* margin: 0 auto !important; */
    }
    
    .stat-number {
        font-size: 40px;
    }
    
    .statistics-title {
        font-size: 20px;
    }
    
    .stat-description {
        font-size: 12px;
    }
}

/* Desktop Enhancement */
/* @media (min-width: 1200px) {
    .statistics-section {
        width: 1200px;
        max-width: 1200px;
    }
    
    .statistics-container {
        max-width: 1100px;
    }
} */
