@charset "utf-8";
  /* ================= 1. 網頁背景 (測試滾動用) ================= */

 body {
			 padding-top: 0;
             height: auto;
             /* 漸層背景方便看清透明導覽列的效果 */
            background: linear-gradient(135deg, #f8f9fa 0%, #e9f0f4 100%);
            font-family: 'Noto Sans TC', sans-serif;
            margin: 0;
            padding: 0;
             /* background-color: var(--bg-color); */
            color: var(--text-color);
            line-height: 1.6;
        }
/* CSS Document */
/* ================= 2. 導覽列滾動特效 ================= */
    #mainNav {
      transition: all 0.3s ease-in-out;
      padding: 15px 0;
    }

    /* 滾動後的樣式 */
    #mainNav.scrolled {
      background-color: #ffffff !important;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      padding: 10px 0; /* 縮小導覽列高度 */
    }

    /* ================= 3. 桌機版選單 Hover 展開特效 ================= */
    @media (min-width: 992px) {
      .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: fadeIn 0.3s ease;
      }
    }
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* ================= 4. 手機側邊選單 (Offcanvas) 樣式 ================= */
    /* 讓側選單選項的底線、間距更好看 */
    .offcanvas-body .nav-link {
      font-size: 1.1rem;
      padding: 12px 15px;
      border-bottom: 1px solid #f0f0f0;
      color: #333 !important; /* 強制文字為深色 */
    }
    .offcanvas-body .nav-link:hover {
      background-color: #f8f9fa;
      color: #0d6efd !important;
    }
    
    /* 設定前方圖示的固定寬度，讓後面的文字對齊更整齊 */
    .nav-link i {
      display: inline-block;
      width: 30px; 
      text-align: center;
      margin-right: 5px;
      color: #6c757d; /* 圖示預設顏色 */
    }
    .nav-link:hover i {
      color: #0d6efd; /* 滑鼠移過去圖示變色 */
    }

    /* 消除最後一個項目的底線 */
    .offcanvas-body .nav-item:last-child .nav-link {
      border-bottom: none;
    }

   /* 頁尾 CTA Section */
    .cta-section {
      background: linear-gradient(135deg, #1a4d65 0%, #278590 100%);
      color: white;
      padding: 60px 20px;
      text-align: center;
      margin-top: 80px;
    }
    .cta-btn {
      background-color: #ffc107;
      color: #333;
      font-weight: 700;
      padding: 12px 30px;
      border-radius: 30px;
      text-decoration: none;
      display: inline-block;
      margin-top: 20px;
      transition: transform 0.2s;
    }
    .cta-btn:hover {
      transform: scale(1.05);
      color: #000;
    }
    
    footer {
      background-color: #2d3748;
      color: #e2e8f0;
      padding: 40px 0 20px;
      font-size: 0.9rem;
    } 

  .section-title {
	  text-align: center;
      position: relative;
      font-weight: 800;
      color: #1a4d65;
      padding-bottom: 12px;
      margin-bottom: 40px;
      margin-top: 60px;
    }
    .section-title::after {
	  text-align: center;
      content: '';
      position: absolute;
      left: 45%;
      bottom: 0;
      width: 60px;
      height: 4px;
      background-color: #ff9800;
      border-radius: 2px;
    }