
      

        /* 子欄目導航 (僅作連結，無切換) */
        .category-nav {
            background: #ffffff;
            border-bottom: 1px solid #eaeaea;
            padding: 15px 0;
            position: sticky;
            top: 76px;
            z-index: 100;
            backdrop-filter: blur(8px);
            background: rgba(255,255,255,0.95);
        }
        .category-list {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 0.8rem;
            list-style: none;
            margin: 0;
            padding: 30px;
        }
        .category-list li a {
            display: inline-block;
            padding: 10px 20px;
            background: #f8f8f8;
            border-radius: 40px;
            font-size: 1.05rem;
            font-weight: 500;
            color: #1d1d1d;
            text-decoration: none;
            transition: all 0.2s;
            border: 1px solid #eaeaea;
        }
        .category-list li a:hover,.category-list li.active a {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }

        /* 項目卡片 */
       
        .project-category {
            position: absolute;
            top: 15px;
            left: 15px;
            background: var(--primary);
            color: white;
            font-size: 0.7rem;
            font-weight: 600;
            padding: 4px 12px;
            border-radius: 30px;
            letter-spacing: 1px;
        }
        .project-body {
            padding: 1.5rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .project-title {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: #1d1d1d;
        }
        .project-desc {
            color: #6c757d;
            font-size: 0.9rem;
            line-height: 1.5;
            margin-bottom: 1rem;
        }
        .project-meta {
            margin-top: auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-top: 1px solid #eaeaea;
            padding-top: 0.8rem;
        }
        .project-area {
            font-size: 0.8rem;
            color: var(--primary);
            font-weight: 500;
        }
        .project-link {
            font-weight: 500;
            font-size: 0.85rem;
            text-decoration: none;
            color: #1d1d1d;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: gap 0.2s;
        }
        .project-link i {
            transition: transform 0.2s;
        }
        .project-link:hover {
            color: var(--primary);
        }
        .project-link:hover i {
            transform: translateX(4px);
        }

        /* 分頁 */
        .pagination-wrapper {
            padding: 40px 0 60px;
            text-align: center;
        }
        .pagination {
            justify-content: center;
            gap: 8px;
        }
        .page-item .page-link {
            color: #1d1d1d;
            border: 1px solid #eaeaea;
            border-radius: 50px;
            padding: 8px 16px;
            font-weight: 500;
            transition: all 0.2s;
        }
        .page-item.active .page-link {
            background-color: var(--primary);
            border-color: var(--primary);
            color: white;
        }
        .page-item .page-link:hover {
            background-color: var(--primary);
            border-color: var(--primary);
            color: white;
        }

                /* 三列聯繫資訊卡片 (背景色、圓形圖標) */
        .contact-info-wrapper {
            background: #f5f7fa;
            padding: 50px 0 30px;
        }
        .contact-card {
            background: #ffffff;
            border-radius: 28px;
            padding: 2rem 1rem;
            text-align: center;
            transition: all 0.3s ease;
            border: 1px solid #eaeaea;
            box-shadow: var(--card-shadow);
            height: 100%;
        }
        .contact-card:hover {
            transform: translateY(-5px);
            border-color: var(--primary);
        }
        .contact-icon-circle {
            width: 80px;
            height: 80px;
            background: rgba(192, 5, 16, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.2rem;
            transition: all 0.3s;
        }
        .contact-card:hover .contact-icon-circle {
            background: var(--primary);
        }
        .contact-icon-circle i {
            font-size: 2.2rem;
            color: var(--primary);
            transition: color 0.3s;
        }
        .contact-card:hover .contact-icon-circle i {
            color: white;
        }
        .contact-card h3 {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 0.8rem;
        }
        .contact-card p, .contact-card a {
            color: #5a5a5a;
            text-decoration: none;
            margin-bottom: 0;
        }
        .contact-card a:hover {
            color: var(--primary);
        }

        /* 下方區域：左方案 + 右表單 */
        .contact-solution-wrapper {
            padding: 60px 0 80px;
            background: #ffffff;
        }
        .solution-box {
            background: #ffffff;
            border-radius: 32px;
            padding: 2rem;
            border: 1px solid #eaeaea;
            box-shadow: var(--card-shadow);
            height: 100%;
        }
        .solution-box h3 {
            font-size: 1.6rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: #1d1d1d;
            border-left: 4px solid var(--primary);
            padding-left: 15px;
        }
        .solution-feature {
            margin: 1.5rem 0;
        }
        .feature-item {
            display: flex;
            gap: 12px;
            margin-bottom: 1.2rem;
            align-items: flex-start;
        }
        .feature-icon {
            width: 36px;
            height: 36px;
            background: rgba(192, 5, 16, 0.1);
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        .feature-icon i {
            color: var(--primary);
            font-size: 1rem;
        }
        .feature-text h5 {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 4px;
        }
        .feature-text p {
            font-size: 0.85rem;
            color: #6c757d;
        }
        .solution-quote {
            margin-top: 1.8rem;
            padding-top: 1rem;
            border-top: 1px solid #eaeaea;
            font-style: italic;
            color: #1d1d1d;
        }

        /* 表單樣式 */
        .form-box {
            background: #ffffff;
            border-radius: 32px;
            padding: 2rem;
            border: 1px solid #eaeaea;
            box-shadow: var(--card-shadow);
            height: 100%;
        }
        .form-box h3 {
            font-size: 1.6rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            text-align: center;
        }
        .form-label {
            font-weight: 500;
            color: #1d1d1d;
            margin-bottom: 0.5rem;
        }
        .form-control, .form-select {
            border: 1px solid #eaeaea;
            border-radius: 16px;
            padding: 12px 18px;
            transition: all 0.2s;
        }
        .form-control:focus, .form-select:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(192, 5, 16, 0.1);
        }
        .btn-submit {
            background-color: var(--primary);
            border: none;
            padding: 12px 32px;
            border-radius: 40px;
            font-weight: 600;
            color: white;
            transition: all 0.3s;
            width: 100%;
        }
        .btn-submit:hover {
            background-color: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(192, 5, 16, 0.2);
        }


  /* 新聞卡片 */
        .news-card {
            background: #ffffff;
            border-radius: 24px;
            overflow: hidden;
            transition: all 0.35s ease;
            border: 1px solid #eaeaea;
            box-shadow: var(--card-shadow);
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        .news-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 20px 30px rgba(0,0,0,0.08);
            border-color: var(--primary);
        }
        .news-img {
            position: relative;
            overflow: hidden;
            height: 220px;
        }
        .news-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .news-card:hover .news-img img {
            transform: scale(1.05);
        }
        .news-category {
            position: absolute;
            top: 15px;
            left: 15px;
            background: var(--primary);
            color: white;
            font-size: 0.7rem;
            font-weight: 600;
            padding: 4px 12px;
            border-radius: 30px;
            letter-spacing: 1px;
        }
        .news-body {
            padding: 1.5rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .news-date {
            font-size: 0.8rem;
            color: var(--primary);
            margin-bottom: 0.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .read-count {
            font-size: 0.75rem;
            background: #f0f0f0;
            padding: 4px 10px;
            border-radius: 20px;
            color: #1d1d1d;
        }
        .news-title {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 0.75rem;
            line-height: 1.4;
            color: #1d1d1d;
        }
        .news-excerpt {
            color: #6c757d;
            font-size: 0.9rem;
            line-height: 1.5;
            margin-bottom: 1.2rem;
        }
        .news-more {
            margin-top: auto;
            font-weight: 500;
            font-size: 0.85rem;
            text-decoration: none;
            color: var(--primary);
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: gap 0.2s;
        }
        .news-more i {
            transition: transform 0.2s;
        }
        .news-more:hover i {
            transform: translateX(4px);
        }
		 /* 文章內容頁樣式 */
        .article-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 24px 60px;
        }
        .article-header {
            margin-bottom: 2rem;
            border-bottom: 1px solid #eaeaea;
            padding-bottom: 1.5rem;
        }
        .article-category {
            display: inline-block;
            background: var(--primary);
            color: white;
            font-size: 0.75rem;
            font-weight: 600;
            padding: 4px 14px;
            border-radius: 30px;
            margin-bottom: 1rem;
            letter-spacing: 1px;
        }
        .article-title {
            font-size: 2.5rem;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 1rem;
            color: #1d1d1d;
        }
        .article-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            color: #6c757d;
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
        }
        .article-meta i {
            margin-right: 5px;
        }
        .article-feature-img {
            border-radius: 24px;
            overflow: hidden;
            margin: 1.5rem 0 2rem;
            box-shadow: var(--card-shadow);
        }
        .article-feature-img img {
            width: 100%;
            height: auto;
            display: block;
        }
        .article-content {
            font-size: 1.05rem;
            line-height: 1.7;
            color: #2c2c2c;
        }
        .article-content p {
            margin-bottom: 1.5rem;
        }
        .article-content h2 {
            font-size: 1.6rem;
            font-weight: 600;
            margin: 2rem 0 1rem;
            color: #1d1d1d;
        }
        .article-content blockquote {
            border-left: 4px solid var(--primary);
            background: #f9f9f9;
            padding: 1rem 1.5rem;
            margin: 1.5rem 0;
            font-style: italic;
            color: #555;
        }
        .article-tags {
            margin: 2rem 0;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        .tag {
            background: #f0f0f0;
            padding: 5px 12px;
            border-radius: 30px;
            font-size: 0.75rem;
            color: #1d1d1d;
            text-decoration: none;
        }
        .tag:hover {
            background: var(--primary);
            color: white;
        }
        .back-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin: 2rem 0 1rem;
            text-decoration: none;
            color: var(--primary);
            font-weight: 500;
            transition: gap 0.2s;
        }
        .back-link:hover {
            gap: 12px;
            color: var(--primary-dark);
        }
        /* 相關新聞 */
        .related-news {
            margin-top: 3rem;
            padding-top: 2rem;
            border-top: 1px solid #eaeaea;
        }
        .related-news h4 {
            font-size: 1.4rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
        }
        .related-card {
            background: #ffffff;
            border-radius: 20px;
            overflow: hidden;
            transition: all 0.3s;
            border: 1px solid #eaeaea;
            height: 100%;
            box-shadow: var(--card-shadow);
        }
        .related-card:hover {
            transform: translateY(-4px);
            border-color: var(--primary);
        }
        .related-card img {
            width: 100%;
            height: 160px;
            object-fit: cover;
        }
        .related-card .body {
            padding: 1rem;
        }
        .related-card .date {
            font-size: 0.7rem;
            color: var(--primary);
            margin-bottom: 0.3rem;
        }
        .related-card h5 {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }
        .related-card a {
            text-decoration: none;
            color: #1d1d1d;
        }
        .related-card a:hover {
            color: var(--primary);
        }
		
		
		 /* 分類標籤 (視覺佔位，無實際切換) */
        .category-tabs {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 0.8rem;
            margin-bottom: 3rem;
        }
        .category-tab {
            padding: 8px 24px;
            background: #f8f8f8;
            border-radius: 40px;
            font-size: 0.85rem;
            font-weight: 500;
            color: #1d1d1d;
            cursor: pointer;
            transition: all 0.2s;
            border: 1px solid #eaeaea;
        }
        .category-tab.active {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }
        .category-tab:hover:not(.active) {
            background: #eeeeee;
        }

        /* 問答手風琴容器 */
        .faq-accordion {
            max-width: 900px;
            margin: 0 auto;
        }
        .faq-item {
            background: #ffffff;
            border: 1px solid #eaeaea;
            border-radius: 20px;
            margin-bottom: 1rem;
            overflow: hidden;
            transition: all 0.2s;
            box-shadow: var(--card-shadow);
        }
        .faq-question {
            padding: 1.2rem 1.8rem;
            font-weight: 600;
            font-size: 1.05rem;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #ffffff;
            transition: background 0.2s;
        }
        .faq-question:hover {
            background: #fafafa;
        }
        .faq-question .question-text {
            color: #1d1d1d;
            padding-right: 1rem;
        }
        .faq-question i {
            color: var(--primary);
            transition: transform 0.3s;
        }
        .faq-item.active .faq-question i {
            transform: rotate(180deg);
        }
        .faq-answer {
            max-height: 0;
            padding: 0 1.8rem;
            overflow: hidden;
            transition: max-height 0.4s ease, padding 0.3s ease;
            background: #fefefe;
            border-top: 1px solid transparent;
            color: #5a5a5a;
            line-height: 1.6;
        }
        .faq-item.active .faq-answer {
            max-height: 500px;
            padding: 1.2rem 1.8rem 1.5rem;
            border-top-color: #eaeaea;
        }

        /* 無法找到答案提示 */
        .help-contact {
            text-align: center;
            margin-top: 3rem;
            padding: 2rem;
            background: #f9f9f9;
            border-radius: 28px;
        }
        .help-contact a {
            color: var(--primary);
            text-decoration: none;
            font-weight: 500;
        }
        .help-contact a:hover {
            text-decoration: underline;
        }
		
		
		 /* 案例卡片 */
        .case-card {
            background: #ffffff;
            border-radius: 24px;
            overflow: hidden;
            transition: all 0.35s ease;
            border: 1px solid #eaeaea;
            box-shadow: var(--card-shadow);
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        .case-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 20px 30px rgba(0,0,0,0.08);
            border-color: var(--primary);
        }
        .case-img {
            position: relative;
            overflow: hidden;
            height: 240px;
        }
        .case-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .case-card:hover .case-img img {
            transform: scale(1.05);
        }
        .case-category {
            position: absolute;
            top: 15px;
            left: 15px;
            background: var(--primary);
            color: white;
            font-size: 0.7rem;
            font-weight: 600;
            padding: 4px 12px;
            border-radius: 30px;
            letter-spacing: 1px;
        }
        .case-body {
            padding: 1.5rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .case-title {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: #1d1d1d;
        }
        .case-desc {
            color: #6c757d;
            font-size: 0.9rem;
            line-height: 1.5;
            margin-bottom: 1rem;
        }
        .case-more {
            margin-top: auto;
            font-weight: 500;
            font-size: 0.85rem;
            text-decoration: none;
            color: var(--primary);
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: gap 0.2s;
        }
        .case-more i {
            transition: transform 0.2s;
        }
        .case-more:hover i {
            transform: translateX(4px);
        }
		
		
		   /* 項目卡片 - 純紅色半透明覆蓋 */
        .project-card {
            position: relative;
        display:block;
            overflow: hidden;
            margin-bottom: 24px;
            cursor: pointer;
            background: #ffffff;
            box-shadow: var(--card-shadow);
        }
        .project-card img {
            width: 100%;
            height: 400px;
            object-fit: cover;
            transition: transform 0.4s;
            display: block;
        }
        .project-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(192, 5, 16, 0);
            transition: background 0.35s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
        }
        .project-overlay h5 {
            color: white;
            font-size: 1.4rem;
            font-weight: 700;
            opacity: 0;
            transform: translateY(15px);
            transition: opacity 0.3s, transform 0.3s;
            background: transparent;
            padding: 0;
            margin: 0;
        }
        .project-card:hover .project-overlay {
            background: rgba(192, 5, 16, 0.85);
        }
        .project-card:hover .project-overlay h5 {
            opacity: 1;
            transform: translateY(0);
        }
        .project-card:hover img {
            transform: scale(1.03);
        }
		
        @media (max-width: 768px) {
            .page-header h1 { font-size: 2.2rem; }
            .project-img { height: 200px; }
            .category-list { gap: 0.5rem; }
            .category-list li a { padding: 4px 14px; font-size: 0.75rem; }
			            .news-img { height: 180px; }
						  .article-title { font-size: 1.8rem; }
            .article-container { padding: 30px 20px 50px; }
            .related-card img { height: 140px; }
        }