/* =========================
   全站基本設定
========================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:"Noto Sans TC", Arial, sans-serif;
    background: linear-gradient(180deg, #f9fbfd 0%, #eef3f8 100%);
    color:#101010;
    line-height:1.7;
}

a{
    text-decoration:none;
    color:#0a1a44;
    transition:color .3s ease;
}

a:hover{
    color:#1f5fd6;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* =========================
   Header / 導覽列
========================= */
.header{
    background:rgba(255,255,255,0.92);
    backdrop-filter: blur(6px);
    border-bottom:1px solid #ddd;
    position:sticky;
    top:0;
    z-index:1000;
}

.nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 0;
}

.logo{
    font-size:28px;
    font-weight:bold;
    color:#0a1a44;
    letter-spacing:1px;
    font-family: "Segoe UI", Arial, sans-serif;
}

nav a{
    margin-left:24px;
    font-weight:500;
}

/* =========================
   Hero 首頁大區塊
========================= */
.hero{
    height:80vh;
    background: linear-gradient(
        135deg,
        #1f3c88 0%,
        #2c5aa0 50%,
        #3a7bd5 100%
    );
    display:flex;
    align-items:center;
}

.hero-text{
    color:#fff;
}

.hero-text h1{
    font-size:42px;
    margin-bottom:20px;
}

.hero-text p{
    font-size:18px;
    opacity:0.95;
    margin-bottom:30px;
}

/* =========================
   按鈕
========================= */
.btn{
    background:#ff3c00;
    color:#fff;
    padding:14px 32px;
    border-radius:30px;
    display:inline-block;
    font-weight:bold;
    transition:all .3s ease;
}

.btn:hover{
    background:#d93300;
    transform:translateY(-2px);
}

/* =========================
   內頁標題
========================= */
.page-title{
    text-align:center;
    padding:80px 0 60px;
    background: linear-gradient(180deg, #ffffff 0%, #f0f4f8 100%);
}

.page-title h1{
    font-size:36px;
    color:#0a1a44;
}

/* =========================
   內容區塊（卡片感）
========================= */
.section{
    padding:80px 60px;
    background:#ffffff;
    margin:60px auto;
    border-radius:18px;
    box-shadow:0 15px 35px rgba(0,0,0,0.08);
}

/* =========================
   Grid / 卡片
========================= */
.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.card{
    border-radius:16px;
    background:#f8fafc;
    padding:30px;
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
    transition:transform .3s ease;
}

.card:hover{
    transform:translateY(-6px);
}

/* =========================
   檢驗報告列表
========================= */
#filesList{
    list-style:none;
    padding-left:0;
    text-align:center;
}

#filesList li{
    margin-bottom:18px;
}

#filesList a{
    display:inline-block;
    padding:14px 30px;
    border-radius:30px;
    background:#eef3f8;
    font-weight:500;
}

#filesList a:hover{
    background:#1f5fd6;
    color:#fff;
}

/* =========================
   表格（產品頁）
========================= */
table{
    margin:40px auto;
    border-collapse:collapse;
    background:#ffffff;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

td{
    padding:10px 14px;
    border:1px solid #ddd;
    font-size:14px;
}

/* =========================
   Footer
========================= */
.footer{
    text-align:center;
    padding:50px 0;
    background:#111;
    color:#bbb;
    margin-top:80px;
}

/* =========================
   RWD 手機版
========================= */
@media (max-width:768px){

    .hero{
        height:auto;
        padding:100px 0;
    }

    .hero-text h1{
        font-size:32px;
    }

    nav{
        display:none;
    }

    .section{
        padding:50px 25px;
    }
}
