        :root {
            --brand-primary: #005FCC;
            --brand-accent: #dcbd43;
            --text-color: #1A1A1A;
            --focus-color: #FF4081;
            
            /* Footer 顏色變數：改為淺灰色調 */
            --footer-bg-main: #F4F4F4; /* 淺灰色 */
            --footer-bg-copyright: #E9E9E9; /* 更淺的灰色 (版權區) */
            --footer-text-color: var(--text-color); /* 文字顏色改為深色 */
        }
			
  /* Footer 樣式 */	
			
        .main-footer {
            background-color: var(--footer-bg-main);
            color: var(--footer-text-color);
        }

        .main-footer h3 {
            color: var(--footer-text-color); /* 確保標題顏色 */
            font-size: 1.1rem; /* 調整標題大小 */
            margin-bottom: 1rem;
        }

        .main-footer a {
            color: var(--text-color); /* 修正: 使用深色文字 (#1A1A1A)，確保在淺灰背景上有高對比度 */
            text-decoration: underline; /* 確保連結有下劃線 */
        }
        .main-footer a:hover {
            color: var(--brand-primary); /* 修正: 懸停時使用品牌主色，提供清晰的互動回饋和高對比度 */
        }
        
        .main-footer .logo-group img {
            max-height: 40px; /* 限制 Logo 高度 */
            width: auto; /* 保持寬高比 */
            margin-bottom: 10px; /* Logo 間距 */
            margin-right: 15px; /* 圖片之間右側間距 */
            display: inline-block; /* 讓圖片可以並排 */
        }

        /* 版權區樣式 */
        .copyright-section {
            background-color: var(--footer-bg-copyright);
            color: var(--footer-text-color);
        }

        /* 浮動的回到頂部按鈕 */
        .back-to-top {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background-color: var(--brand-primary);
            color: white;
            border-radius: 50%;
            width: 45px;
            height: 45px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            text-decoration: none;
            transition: background-color 0.3s;
            z-index: 99;
        }
        .back-to-top:hover, .back-to-top:focus {
            background-color: #0046a3;
            color: white; /* 確保焦點時文字顏色不變 */
        }
        .back-to-top i {
            font-size: 1.2rem;
            line-height: 1; /* 確保圖標垂直居中 */
        }


