#testimonails p {
    font-size: 18px; 
    line-height: 1.5; 
}

html {
    scroll-behavior: smooth;
}

.activity-item {
    margin-bottom: 30px;
    font-size: 18px;
}

.activity-item .eng {
    font-size: 14px;
    color: #888;
    margin-top: 5px;
}


#filters .filter {
    cursor: pointer;
    padding: 20px;
    border: 1px solid #eee;
    margin-bottom: 20px;
    background-color: #f9f9f9;
    transition: 0.3s;
}
#filters .filter:hover {
    background-color: #ffe6cc;
    transform: scale(1.02);
}
#filters .filter.active {
    background-color: #ffcc99;
}
#filters .eng {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.tab-content {
    display: none;
    margin-top: 30px;
}
.tab-content.active {
    display: block;
}

h1{
    text-align: center;
}

#top-header container{
    text-align: left;
}

.bottom-footer {
    text-align: center;
}

.main-footer .row {
    display: flex;
    justify-content: center;
}

.centered-footer {
    text-align: center;
}

.heading-content{
    padding-top: 20px;
}

#filters .filter {
    vertical-align: middle;
    padding: 10px;
    background-color: #f9f9f9;
    font-weight: bold;
    text-align: center;
}

#filters .filter .eng {
    font-weight: normal;
    font-size: 0.9em;
    color: #555;
}

#products-post .container{
    max-width: 1000px;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
}
/* 1. 導覽頁籤（Filters）區域置中 */
#filters {
    margin: 0 auto;
    max-width: 1000px; /* 限制寬度與內容一致 */
}

#filters table {
    margin: 0 auto; /* 讓表格在容器內置中 */
    width: 100%;
}

#filters .filter {
    cursor: pointer;
    padding: 20px;
    border: 1px solid #eee;
    background-color: #f9f9f9;
    transition: 0.3s;
    text-align: center; /* 頁籤內的文字置中 */
}

/* 2. 內容區塊（tab-content）整體置中 */
.tab-content {
    display: none;
    margin: 30px auto 0 auto; /* 上邊距 30px，左右自動置中 */
    max-width: 1000px;
}

.tab-content.active {
    display: block;
}

/* 3. 讓內容表格在區塊內居中，但內部文字靠左 */
.tab-content table {
    margin-left: auto;
    margin-right: auto;
    width: auto; /* 寬度根據內容伸縮 */
    border-collapse: collapse;
}

.tab-content td {
    text-align: left; /* 關鍵：確保文字內容保持靠左 */
    vertical-align: middle;
    padding: 20px;
}

/* 4. 針對手機版的優化：讓表格轉為垂直置中排版 */
@media (max-width: 768px) {
    .tab-content table {
        width: 100%;
    }
    .tab-content td {
        display: block;
        width: 100% !important;
        text-align: center; /* 手機版建議文字也置中較美觀，若堅持靠左可刪除此行 */
    }
    .tab-content td img {
        margin: 0 auto;
    }
}