/* --- 全局設定 --- */
:root {
    --primary-blue: #0f4c81; /* 深藍色，接近 Logo */
    --accent-blue: #166ba2;   /* 亮藍色，用於按鈕 */
    --hover-blue: #0b3d6b;
    --text-dark: #333333;
    --text-gray: #666666;
    --bg-light: #f9f9f9;
    --border-color: #e0e0e0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    color: var(--text-dark);
    background-color: #fff;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}
ul {
    list-style: none;
}

/* =========================================
2. 導覽列 (Navbar)
========================================= */
.custom-navbar {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 15px 0;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.custom-navbar .container-fluid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Logo 區域 */
.brand-logo {
  height: 50px; /* Logo 高度設定 */
  width: auto;
  display: block;
}

/* 右側按鈕區域 */
.btn-signup {
  background-color: #0d2c5e; /* 深藍色主色 */
  color: #ffffff;
  padding: 10px 25px;
  border-radius: 50px; /* 膠囊狀圓角 */
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-signup:hover {
  background-color: #1a4f9c; /* 滑鼠移過去變亮一點 */
  transform: translateY(-2px); /* 微微浮起 */
  box-shadow: 0 4px 10px rgba(13, 44, 94, 0.3);
}

@media (max-width: 768px) {

      .brand{
        margin-left: 40px;
      }

      .nav-right{
        display: none;
      }
}

/* --- 主要內容區 (Main) --- */
main {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 40px auto;
    padding: 0 20px;
}

.page-title {
    padding-top: 65px;
    text-align: center;
    margin-bottom: 0;
    color: var(--primary-blue);
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-blue);
    border-radius: 2px;
}

.download-section {
    background: #fff;
    /* border: 1px solid var(--border-color); 可以考慮拿掉外框，讓視覺更輕盈，看您喜好 */
    border-radius: 8px;
    padding: 30px; /* 這裡維持或是加大到 40px */
    margin-bottom: 50px; /* 加大這裡 */
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.section-header {
    padding-top: 50px;
    display: flex;
    align-items: center;
    gap: 15px; /* Icon 跟文字的距離也稍微拉開 */
    margin-bottom: 35px; /* 加大這裡 */
    color: var(--primary-blue);
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px; /* 下底線距離文字遠一點 */
}

.section-header h2 {
    font-size: 1.4rem;
}

.download-list {
    display: grid;
    /* minmax 改為 320px 可以避免一行塞太多個，看起來會更寬鬆 */
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); 
    gap: 30px; /* 這裡加大 */
}

.download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--bg-light);
    padding: 20px 25px; /* 這裡加大 */
    border-radius: 8px; /* 圓角也可以稍微大一點 */
    border-left: 5px solid var(--accent-blue); /* 左邊線條稍微加粗 */
    transition: all 0.2s ease;
}

.download-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    background-color: #fff;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.file-name {
    font-weight: 500;
    color: #444;
}

.download-icon {
    color: var(--accent-blue);
}

/* --- 頁尾 (Footer) --- */
/* footer {
    background-color: #fff;
    border-top: 1px solid #eee;
    padding: 40px 40px;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: #555;
}
        
.footer-links a:hover {
    color: var(--primary-blue);
}

.footer-info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.contact-info {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.8;
}

.social-links a {
    color: #999;
    font-size: 2rem;
    transition: 0.3s;
}

.social-links a:hover {
    color: #4267B2; 
} */

/* --- 響應式設計 --- */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
        flex-wrap: wrap;
    }
    .nav-links {
        display: none; /* 手機版暫時隱藏，實際專案可用漢堡選單 */
    }
    .download-list {
        grid-template-columns: 1fr;
    }
    .footer-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .footer-links {
        flex-wrap: wrap;
        gap: 15px;
    }
}



#footer{
    background-color: #1f2d40;
    color: #fff;
    padding: 2rem 0;
    /* text-align: center; */

    .footer-link{
        padding: 1rem 0;
        display: flex;
        /* flex-direction: column; */
        gap: 1rem;
    }

    a{
        color: #fff;
        text-decoration: none;
        font-size: 1.2rem;
    }

    a:hover{
        text-decoration: underline;
    }

    
    @media (max-width : 768px) {
        
        .footer-link{
            padding: 1rem 0;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        
    }
}