﻿/* 全局設定 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Microsoft JhengHei", "sans-serif";
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
}



/* 共用容器：限制寬度 1536px 並置中 */
.container {
    width: 100%;
    max-width: 1536px;
    margin: 0 auto;
    padding: 0 15px; /* RWD: 小螢幕邊距 */
    text-decoration: none;
}

/* --- Header 區域 --- */
header {
    width: 100%;
    background-color: #ffffff;
    height: 80px;
    /* 需求4-(1): Logo及主選單那一條div要有陰影 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    position: sticky;
    top: 0;
    z-index: 100; /* 確保陰影壓在 Banner 上 */
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
}

/* Logo 設計 */
.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    letter-spacing: 1px;
    flex-shrink: 0;
}

/* 漢堡選單按鈕 (mobile only) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

    .menu-toggle span {
        width: 25px;
        height: 3px;
        background-color: #333;
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

/* 導航區域 */
.nav-wrapper {
    display: flex;
    align-items: center;
}

/* 導航選單 */
.nav-menu {
    margin: 31px 0 0 0;
    display: flex;
    gap: 40px;
    list-style: none;
    height: 100%;
}

.nav-item {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.nav-link {
    text-decoration: none;
    color: #333; /* 預設黑色 */
    font-size: 1.2em;
    font-weight: 500;
    transition: color 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 5px 20px 5px;
    border-bottom: 3px solid transparent; /* 預留底線位置 */
}

    /* 需求3: 選擇該項目(active)或滑鼠移入(hover)時變色及底線 */
    .nav-link:hover,
    .nav-link.active {
        color: #4ba1e2;
        border-bottom-color: #4ba1e2;
    }

/* --- Banner 區域 --- */
.banner-section {
    width: 100%;
}

.banner-wrapper {
    width: 100%;
    height: auto;
    overflow: hidden;
    /* Banner 陰影 */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    /* 您可以調整 24px 這個數值來改變弧度的大小 */
    border-radius: 0 0 24px 24px;
    display: block;
}

/* --- 服務項目區域 --- */
.services_box {
    width: 100%;
    margin: 0 auto;
    padding: 0 0 0 8%;
    max-width: 1350px;
}

.services-section {
    padding: 80px 0; /* 上下留白，讓版面不擁擠 */
}

.section-title {
    font-size: 3em; /* 對照圖片的大標題尺寸 */
    font-weight: bold;
    color: #000;
    margin-bottom: 50px; /* 標題與下方內容的距離 */
    letter-spacing: 2px;
}

/* 網格佈局：RWD 響應式 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px; /* 項目之間的間距 */
}

/* 單個服務項目的容器 */
.service-item {
    display: flex;
    align-items: center; /* 讓圖示與文字垂直置中對齊 */
    gap: 20px; /* 圖示與文字的距離 */
}

/* 圖示容器 */
.icon-wrapper {
    flex-shrink: 0; /* 防止圖示被壓縮 */
    width: 64px; /* 根據截圖推測的大小 */
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .icon-wrapper img {
        width: 100%;
        height: auto;
        object-fit: contain;
        max-width: 57px;
    }

/* 文字區域 */
.text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-name {
    font-size: 22px;
    font-weight: bold;
    color: #000;
    margin-bottom: 8px; /* 標題與描述的距離 */
}

.service-desc {
    font-size: 16px;
    color: #555; /* 描述文字用深灰色 */
    line-height: 1.5;
}

/* --- 案例導覽區域 --- */
.case-study-section {
    background-color: #ffffff;
    /* 修改這裡：使用 linear-gradient 疊加半透明白色 */
    /* rgba(255, 255, 255, 0.5) 代表 50% 透明度的白色，數值 0.1~0.9 可自行調整深淺 */
    background-image: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 1)), url('/images/img_background-2.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center center;
    background-attachment: scroll;
    padding: 3% 0 0 0;
    min-height: 400px;
    margin: 0 auto;
}

.case-wrapper {
    background-color: #f9f9f9;
    padding: 55px 75px;
    border-radius: 8px;
}

.case-nav-wrapper {
    width: 100%;
    /* 底部灰色分隔線 */
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
}

.case-nav-list {
    list-style: none;
    display: flex;
    gap: 43px; /* 項目間距 */
    padding: 0;
    margin: 0;
    white-space: nowrap;
    /* 为小屏幕准备：允许横向滚动 */
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    /* 美化滚动条 */
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

    /* 鼠标悬停时显示滚动条 */
    .case-nav-list:hover {
        scrollbar-color: #4ba1e2 #f0f0f0;
    }

    .case-nav-list::-webkit-scrollbar {
        height: 4px;
    }

    .case-nav-list::-webkit-scrollbar-track {
        background: transparent;
    }

    .case-nav-list::-webkit-scrollbar-thumb {
        background: transparent;
        border-radius: 2px;
    }

    .case-nav-list:hover::-webkit-scrollbar-thumb {
        background: #4ba1e2;
    }

.case-nav-item {
    display: flex;
    align-items: center;
    gap: 8px; /* Icon 與文字的間距 */
    padding-bottom: 15px; /* 文字與底線的距離 */
    cursor: pointer;
    position: relative;
    /* 預設顏色：深灰 */
    color: #333;
    transition: all 0.3s ease;
    /* 邊框預設為透明，避免 hover 時跳動 */
    border-bottom: 3px solid transparent;
    margin-bottom: -1px; /* 讓 active 底線蓋過原本的灰色分隔線 */
    flex-shrink: 0;
}

.nav-text {
    font-size: 1.6em;
    font-weight: 500;
    white-space: nowrap; /* 防止文字換行 */
}

.nav-icon-box {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .nav-icon-box img {
        width: 100%;
        height: auto;
        object-fit: contain;
        /* 預設 Icon 顏色稍微淡一點 */
        min-width: 26px;
    }

.nav-icon-box2 {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .nav-icon-box2 img {
        width: 100%;
        height: auto;
        object-fit: contain;
        /* 預設 Icon 顏色稍微淡一點 */
        min-width: 26px;
    }
/* 互動效果 */
.case-nav-item:hover,
.case-nav-item.active {
    color: #4ba1e2; /* 文字變藍色 */
    border-bottom-color: #4ba1e2; /* 底部藍色線條 */
}

    .case-nav-item:hover .nav-icon-box img,
    .case-nav-item.active .nav-icon-box img {
        opacity: 1;
        /* 這是一個 CSS Filter 魔法，可以將黑色圖片轉為接近 #4ba1e2 的藍色。
           如果您的原圖是彩色的，效果可能會不同；建議原圖使用黑色或灰色。
        */
        filter: invert(56%) sepia(68%) saturate(395%) hue-rotate(168deg) brightness(93%) contrast(90%);
    }

    .case-nav-item:hover .nav-icon-box2 img,
    .case-nav-item.active .nav-icon-box2 img {
        opacity: 1;
        /* 這是一個 CSS Filter 魔法，可以將黑色圖片轉為接近 #4ba1e2 的藍色。
           如果您的原圖是彩色的，效果可能會不同；建議原圖使用黑色或灰色。
        */
        filter: invert(56%) sepia(68%) saturate(395%) hue-rotate(168deg) brightness(93%) contrast(90%);
    }
/* --- 案例內容卡片區域 --- */
.case-content-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4欄 */
    gap: 30px; /* 卡片之間的間距 */
    padding-bottom: 40px;
}

/* 卡片樣式 */
.case-card {
    background-color: #ffffff;
    border-radius: 24px; /* 卡片本身的圓角 */
    padding: 20px; /* 內距，讓圖片與邊框有留白 */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* 柔和的陰影 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* 讓同列卡片等高 */
    display: flex;
    flex-direction: column;
}

    .case-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    }

/* 圖片容器 */
.card-image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3; /* 固定圖片比例，避免參差不齊 */
    border-radius: 16px; /* 圖片四角弧度 */
    overflow: hidden; /* 確保圖片不超出圓角 */
    margin-bottom: 20px;
    background-color: #f0f0f0;
}

    .card-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* 填滿容器不變形 */
    }

.card-body {
    flex-grow: 1; /* 確保內容撐開 */
    display: flex;
    flex-direction: column;
}

/* 標籤 */
.card-tags {
    display: flex;
    gap: 3px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.tag {
    background-color: #4ba1e2;
    color: #ffffff;
    font-size: 0.2em;
    padding: 1px 5px 2px 5px;
    border-radius: 6px; /* 標籤圓角 */
    font-weight: 500;
}

/* 標題 */
.card-title {
    font-size: 22px;
    font-weight: bold;
    color: #000;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* 特色列表 */
.card-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    position: relative;
    /* 重要: 為了讓有線條和沒線條的文字對齊，統一左邊縮排 */
    padding-left: 35px;
    line-height: 1.4;
}

    /* 針對有 .with-line 的項目加上藍色橫線 */
    .feature-item.with-line::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%; /* 垂直置中 */
        transform: translateY(-50%);
        width: 25px; /* 線條長度 */
        height: 2px; /* 線條粗細 */
        background-color: #4ba1e2;
    }
/* --- 頁尾背景區域 --- */

/* 1. 最外框寬度無限制 */
.footer-section {
    width: 100%;
    display: flex;
    justify-content: center; /* 讓內部的 1920px 區塊置中 */
    /*background-color: #f8f9fa;*/ /* 與網頁背景色一致，避免在大螢幕下兩側留白太突兀 */
}

/* 2. 裡面設寬度1920px + 背景圖 */
.footer-bg-wrapper {
    width: 100%;
    max-width: 1920px; /* 限制最大寬度 */
    /* 設定背景圖片路徑 */
    background-image: url('/images/img_footer-background.png');
    /* 背景圖設定：覆蓋、置中、不重複 */
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    /* 為了呈現效果，這裡暫時不需要高度，靠內容撐開 */
}

/* 3. 中間空間寬度 1536px (複用原本的 .container) */
.footer-content {
    /* .container 已經設定了 max-width: 1536px 和 margin: 0 auto */
    position: relative;
}

/* 暫時的佔位區塊 (方便您預覽背景圖) */
.footer-placeholder {
    margin: 16% 0 0 0; /* 上下留白 */
    /*height: 530px;*/ /* 暫定高度，讓背景圖露出來 */
    /*display: flex;
    align-items: center;
    justify-content: center;
    color: #888;*/
    /*border: 2px dashed #ccc;*/ /* 虛線框標示這是內容區域 */
    /*border-radius: 12px;*/
    /*background-color: rgba(255, 255, 255, 0.5);*/ /* 半透明白底，讓文字清楚一點 */
}

    .footer-placeholder img {
        width: 100%;
        height: auto;
    }
/* --- 聯絡我們區域 --- */
.contact-section {
    padding: 60px 15px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 0 auto;
}

/* --- 上半部：標題與插圖 --- */
.contact-header-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* RWD: 螢幕太小自動換行 */
    gap: 130px;
}

/* 標題區塊 */
.contact-title-group {
    display: flex;
    align-items: flex-end;
    gap: 15px;
}

/* 左側深灰豎線 */
.title-bar {
    width: 6px;
    height: 118px;
    background-color: #5a5a5a; /* 深灰色 */
    border-radius: 4px;
    flex-shrink: 0;
}

.title-text-box h2 {
    font-size: 4.5em;
    font-weight: bold;
    color: #000;
}

.title-text-box p {
    font-size: 2em;
    color: #000;
    font-weight: 700;
}

/* 視覺插圖區塊 */
.contact-visuals {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.visual-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dash-line {
    width: 30px;
    height: 2px;
    background-color: #ddd;
    display: inline-block;
}

.contact-img {
    width: 50px;
    height: auto;
}

/* 聯絡資訊 */
.contact-info-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 120px;
    align-items: center;
}

.info-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-icon {
    width: 100%;
    height: auto;
    flex-shrink: 0;
    max-width: 125px;
    /* 桌面端隐藏，移动端显示 */
    display: none;
}

.info-text {
    font-size: 1.5em;
    color: #333;
    line-height: 1.6;
}

.vertical-divider {
    width: 1px;
    height: 40px;
    background-color: #ddd;
}

/* ==================== RWD 斷點 ==================== */

/* 小螢幕筆記本 (1024px - 1200px) */
@media (max-width: 1025px) {
    .case-study-section {
        background-image:inherit;
    }
    /* 聯絡區域開始調整 */
    .contact-header-row {
        gap: 80px;
    }

    .contact-info-row {
        gap: 80px;
    }

    .info-text {
        font-size: 1.3em;
    }

    .contact-img {
        width: 45px;
        display: none;
    }

    .dash-line {
        width: 25px;
    }

    .contact-info-row {
        flex-direction: column;
        gap: 18px;
        align-items: flex-start;
        width: 100%;
    }

    .info-group {
        gap: 10px;
        width: 100%;
    }

    /* 移动端显示图标 */
    .info-icon {
        display: block;
        max-width: 75px;
    }

    .info-text {
        font-size: 1.5em;
        flex: 1;
    }

    .vertical-divider {
        display: none;
    }

    .footer-placeholder {
        margin: 12% 0 0 0;
    }

    .footer-bg-wrapper {
        background-position: center center;
    }
    .case-content-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding-bottom: 40px;
    }

}

/* 平板橫屏 (820px - 991px) */
@media (max-width: 991px) {
    .header-content {
        padding: 0 15px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-wrapper {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        z-index: 99;
    }

        .nav-wrapper.active {
            max-height: 500px;
        }

    .nav-menu {
        flex-direction: column;
        gap: 0;
        margin: 0;
        width: 100%;
    }

    .nav-item {
        height: auto;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-link {
        width: 100%;
        padding: 15px;
        border-bottom: none;
        border-left: 3px solid transparent;
        margin-bottom: 0;
    }

        .nav-link:hover,
        .nav-link.active {
            border-bottom: none;
            border-left-color: #4ba1e2;
            background-color: #f9f9f9;
        }

    /* 服務網格：3欄 → 2欄 */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
    .services_box {
        max-width: 615px;
    }
    .case-wrapper {
        padding: 55px 50px;
    }
    .services_box {
        padding: 0;
    }

    .section-title {
        font-size: 2.2em;
    }

    /* 案例卡片：4欄 → 2欄 */
    .case-content-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .case-nav-list {
        gap: 60px;
        /* 小屏幕上允许水平滚动 */
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        /* 隐藏滚动条但保持滚动功能 */
        scrollbar-width: thin;
        scrollbar-color: #4ba1e2 #f0f0f0;
        padding-bottom: 10px;
    }

        .case-nav-list::-webkit-scrollbar {
            height: 6px;
        }

        .case-nav-list::-webkit-scrollbar-track {
            background: #f0f0f0;
            border-radius: 3px;
        }

        .case-nav-list::-webkit-scrollbar-thumb {
            background: #4ba1e2;
            border-radius: 3px;
        }

            .case-nav-list::-webkit-scrollbar-thumb:hover {
                background: #3d8bc7;
            }

    .case-nav-item {
        font-size: 0.9em;
    }

    .nav-text {
        font-size: 1.4em;
    }

    .nav-icon-box,
    .nav-icon-box2 {
        width: 20px;
        height: 20px;
    }

        .nav-icon-box img,
        .nav-icon-box2 img {
            min-width: 22px;
        }

    /* 聯絡資訊調整 */
    .contact-section {
        padding: 50px 15px;
        gap: 35px;
    }

    .contact-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .contact-title-group {
        gap: 12px;
    }

    .title-bar {
        height: 100px;
    }

    .title-text-box h2 {
        font-size: 3.5em;
    }

    .title-text-box p {
        font-size: 1.6em;
    }

    .contact-visuals {
        width: 100%;
        justify-content: flex-start;
        gap: 15px;
    }



    /* 平板竖屏 (820px) */
    @media (max-width: 820px) {
        /* 聯絡區域優化 */
        .contact-section {
            padding: 45px 15px;
            gap: 32px;
        }

        .contact-header-row {
            gap: 28px;
        }

        .title-bar {
            height: 90px;
        }

        .title-text-box h2 {
            font-size: 3em;
        }

        .title-text-box p {
            font-size: 1.4em;
        }

        .contact-visuals {
            gap: 12px;
        }

        .contact-img {
            width: 42px;
        }

        .contact-info-row {
            gap: 16px;
        }

        .info-group {
            gap: 10px;
        }

        .info-icon {
            display: block;
            max-width: 45px;
            width: 45px;
        }

        .info-text {
            font-size: 1.2em;
        }
    }

    /* iPad 标准尺寸 (768px) */
    @media (max-width: 768px) {
        /* 聯絡區域優化 */
        .contact-section {
            padding: 40px 15px;
            gap: 30px;
        }

        .contact-header-row {
            gap: 25px;
        }

        .title-bar {
            width: 5px;
            height: 85px;
        }

        .title-text-box h2 {
            font-size: 2.2em;
        }

        .title-text-box p {
            font-size: 1.2em;
        }

        /* 开始隐藏装饰性图标 */
        .contact-visuals {
            display: none;
        }

        .contact-info-row {
            gap: 15px;
        }

        .info-group {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .info-icon {
            display: block;
            max-width: 42px;
            width: 42px;
        }

        .info-text {
            font-size: 1.05em;
            word-break: break-word;
        }
    }

    /* 手機裝置 (max-width: 767px) */
    @media (max-width: 767px) {
        .header-content {
            padding: 0 10px;
        }

        .logo {
            font-size: 18px;
        }

            .logo img {
                width: 25px !important;
                margin-right: 8px;
            }

        /* 服務網格：2欄 → 1欄 */
        .services-grid {
            grid-template-columns: 1fr;
            gap: 20px;
        }

        .service-item {
            flex-direction: column;
            text-align: center;
            gap: 15px;
        }

        .text-content {
            align-items: center;
        }

        .section-title {
            font-size: 1.8em;
            margin-bottom: 30px;
        }

        /* 案例卡片：2欄 → 1欄 */
        .case-content-grid {
            grid-template-columns: 1fr;
        }

        .case-wrapper {
            padding: 30px 15px;
        }

        .case-nav-wrapper {
            margin-bottom: 30px;
        }

        .case-nav-list {
            gap: 40px;
            /* 移动设备上启用水平滚动 */
            overflow-x: auto;
            overflow-y: hidden;
            -webkit-overflow-scrolling: touch;
            justify-content: flex-start;
            padding: 0 15px 10px 15px;
            margin: 0 -15px;
        }

        .case-nav-item {
            flex-shrink: 0;
            min-width: auto;
        }

        .nav-text {
            font-size: 0.9em;
            white-space: nowrap;
        }

        .nav-icon-box,
        .nav-icon-box2 {
            width: 18px;
            height: 18px;
        }

            .nav-icon-box img,
            .nav-icon-box2 img {
                min-width: 18px;
            }

        /* 聯絡區域堆疊 */
        .contact-section {
            padding: 40px 15px;
            gap: 30px;
        }

        .contact-header-row {
            gap: 25px;
        }

        .contact-title-group {
            gap: 10px;
        }

        .title-bar {
            width: 5px;
            height: 80px;
        }

        .title-text-box h2 {
            font-size: 2em;
        }

        .title-text-box p {
            font-size: 1.1em;
        }

        /* 隐藏装饰性图标 */
        .contact-visuals {
            display: none;
        }

        .contact-info-row {
            gap: 15px;
            width: 100%;
        }

        .info-group {
            gap: 10px;
            display: flex;
            align-items: center;
        }

        /* 显示功能性图标 */
        .info-icon {
            display: block;
            max-width: 40px;
            width: 40px;
        }

        .info-text {
            font-size: 1em;
            word-break: break-word;
            flex: 1;
        }

        .footer-placeholder {
            margin: 8% 0 0 0;
        }

        .card-title {
            font-size: 18px;
        }

        .feature-item {
            font-size: 14px;
        }
    }

    /* 超小型裝置 (max-width: 480px) */
    @media (max-width: 480px) {
        header {
            height: 70px;
        }

        .logo {
            font-size: 16px;
        }

            .logo img {
                width: 20px !important;
            }

        .section-title {
            font-size: 1.5em;
            margin-bottom: 20px;
        }

        .service-name {
            font-size: 18px;
        }

        .service-desc {
            font-size: 14px;
        }

        .icon-wrapper {
            width: 50px;
            height: 50px;
        }

        .contact-title-group {
            align-items: flex-start;
            width: 100%;
        }

        .contact-img {
            width: 35px;
        }

        .tag {
            font-size: 0.35em;
        }

        /* 聯絡區域優化 */
        .contact-section {
            padding: 30px 10px;
            gap: 25px;
        }

        .contact-header-row {
            gap: 20px;
        }

        .contact-title-group {
            align-items: flex-start;
            width: 100%;
            gap: 8px;
        }

        .title-bar {
            width: 4px;
            height: 67px;
        }

        .title-text-box h2 {
            font-size: 1.8em;
        }

        .title-text-box p {
            font-size: 1.1em;
        }

        /* 隐藏装饰性图标 */
        .contact-visuals {
            display: none;
        }

        .contact-info-row {
            gap: 12px;
            width: 100%;
        }

        .info-group {
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 8px;
            width: 100%;
        }

        /* 显示功能性图标 */
        .info-icon {
            display: block;
            max-width: 35px;
            width: 35px;
            flex-shrink: 0;
        }

        .info-text {
            font-size: 0.85em;
            word-break: break-word;
            flex: 1;
        }

        .footer-placeholder {
            margin: 5% 0 0 0;
        }

        /* 案例导航优化 */
        .case-nav-wrapper {
            margin-bottom: 20px;
        }

        .case-nav-list {
            gap: 25px;
            padding: 0 10px 10px 10px;
        }

        .case-nav-item {
            gap: 6px;
            padding-bottom: 12px;
        }

        .nav-text {
            font-size: 0.8em;
        }

        .nav-icon-box,
        .nav-icon-box2 {
            width: 16px;
            height: 16px;
        }

            .nav-icon-box img,
            .nav-icon-box2 img {
                min-width: 16px;
            }

        .case-wrapper {
            padding: 20px 10px;
        }

        .footer-bg-wrapper {
            width: 100%;
            max-width: 1920px;
            background-image: url(/images/img_footer-background.png);
            background-size: cover;
            background-position: bottom;
        }
    }

    /* ==================== 案例選項卡切換樣式 ==================== */

    /* 案例卡片容器預設隱藏 */
    .case-content-grid {
        animation: fadeIn 0.3s ease-in-out;
    }

    /* 淡入效果 */
    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }
