/* 公司介紹頁面樣式 */
.company-page {
    font-family: "Microsoft JhengHei", Arial, sans-serif;
    color: #221814; /* 標準色：黑色 */
    background-color: #FEFEFE; /* 白色背景 */
    position: relative;
}

/* 公司願景背景 */
.company-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/company/info.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.3;
    z-index: -1;
}

/* 公司簡介圖片樣式 */
.company-image {
    margin-top: 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 頂部橫幅樣式 */
.company-banner {
    position: relative;
    overflow: visible;
}

/* 添加幾何裝飾元素 */
.company-banner::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    width: 120px;
    height: 120px;
    border: 4px solid rgba(191, 134, 25, 0.15); /* 淡金色邊框 */
    transform: rotate(-15deg);
    z-index: 1;
}

.company-banner::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: 25%;
    width: 80px;
    height: 80px;
    background-color: rgba(191, 134, 25, 0.1); /* 淡金色 */
    transform: rotate(30deg);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-text-block {
    background: #221814; /* 標準色：黑色 */
    color: #FEFEFE; /* 白色文字 */
    padding: 2rem; /* 統一四周padding */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%); /* 保留傾斜效果 */
}

/* 添加裝飾線 */
.banner-text-block::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 70%;
    background: linear-gradient(to bottom, rgba(191, 134, 25, 0), rgba(191, 134, 25, 0.8), rgba(191, 134, 25, 0)); /* 金色漸變 */
}

.banner-text {
    max-width: 600px;
    position: relative;
    width: 100%;
    text-align: center;
}

.banner-text h2 {
    font-size: 2.2rem; /* 稍微增加字體大小 */
    font-weight: bold;
    margin-bottom: 1.5rem; /* 增加下方間距 */
    line-height: 1.3;
    color: #BF8619; /* 輔助色：金色 */
    position: relative;
    transform: skewX(0); /* 移除傾斜效果，使文字正常顯示 */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); /* 保留文字陰影 */
    text-align: center;
    width: 100%;
    letter-spacing: 1px;
}

/* 移除英文標題樣式 */

.banner-image-block {
    position: relative;
    height: 100%;
}

.banner-image-block {
    max-height: 300px; /* 限制圖片區塊高度 */
    overflow: hidden;
}

.banner-image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 300px; /* 限制圖片高度 */
}

/* 公司概況區塊樣式 */
.company-profile {
    background-color: #FEFEFE;
    margin-top: 2rem; /* 減少與上方 section 的間距 */
    position: relative;
    overflow: visible;
}

/* 添加幾何裝飾元素 */
.company-profile::before {
    content: '';
    position: absolute;
    top: -15px;
    right: 15%;
    width: 150px;
    height: 150px;
    border: 3px dashed rgba(191, 134, 25, 0.15); /* 淡金色虛線邊框 */
    border-radius: 50%;
    z-index: 1;
}

.company-profile::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 100px;
    height: 100px;
    background-color: rgba(34, 24, 20, 0.05); /* 淡黑色 */
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); /* 華麗的菜形圖案 */
    transform: rotate(15deg);
    z-index: 1;
}

.profile-content {
    padding: 2rem; /* 增加內部空間 */
    background-color: #FEFEFE; /* 統一使用白色背景 */
    border-radius: 0 15px 15px 15px; /* 左上角不圓角 */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

/* 添加裝飾元素 */
.profile-content::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 30px;
    height: 30px;
    background-color: #BF8619; /* 金色小方塊 */
    z-index: -1;
}

.profile-details {
    margin-top: 1.5rem; /* 統一使用 1.5rem 的間距 */
    padding: 0; /* 移除多餘的 padding */
    position: relative;
}

.profile-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(191, 134, 25, 0.15); /* 改為淡金色分隔線 */
    display: flex;
    flex-wrap: wrap;
    transition: transform 0.2s ease;
}

.profile-item:hover {
    transform: translateX(5px); /* 懸停時向右移動效果 */
}

.profile-item:last-child {
    border-bottom: none;
}

/* 統一標籤樣式 */
.profile-label {
    font-weight: bold;
    min-width: 120px;
    color: #BF8619; /* 輔助色：金色 */
    position: relative;
    padding-left: 15px; /* 為裝飾元素預留空間 */
    font-size: 1.05rem; /* 統一字體大小 */
    letter-spacing: 0.5px; /* 增加字距 */
}

/* 添加小圖標 */
.profile-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #BF8619; /* 金色小圖標 */
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); /* 菺形圖標 */
}

/* 統一數值樣式 */
.profile-value {
    flex: 1;
    color: #221814; /* 標準色：黑色 */
    font-weight: 500;
    position: relative;
    font-size: 1.05rem; /* 統一字體大小 */
    letter-spacing: 0.5px; /* 增加字距 */
}

    /* 公司頁面影片區塊樣式 */
    .company-video-section {
        background-color: #FEFEFE; /* 白色背景 */
        padding: 1.5rem; /* 統一使用 1.5rem 的 padding */
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        height: 100%;
        display: flex;
        flex-direction: column;
        max-width: 100%; /* 與 profile-content 相同的寬度 */
    }

    .company-video-wrapper {
        position: relative;
        padding-bottom: 56.25%; /* 16:9 比例 */
        height: 0;
        overflow: hidden;
        margin-top: 1.5rem;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        flex-grow: 1;
    }

    .company-video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
        border-radius: 8px;
    }

    /* 確保等高列 */
    .equal-height-row {
        display: flex;
        flex-wrap: wrap;
    }

    .equal-height-row > [class*='col-'] {
        display: flex;
        flex-direction: column;
    }

    .equal-height-row .profile-content,
    .equal-height-row .company-video-section {
        flex: 1 0 auto;
        display: flex;
        flex-direction: column;
    }



/* 產品展示區塊樣式 */
.product-showcase {
    margin-top: 2rem; /* 減少與上方 section 的間距 */
    position: relative;
    overflow: visible;
}

/* 幾何圖形背景元素 */
.product-showcase::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 15%;
    width: 180px;
    height: 180px;
    background-color: rgba(191, 134, 25, 0.1); /* 淡金色 */
    transform: rotate(25deg);
    z-index: 1;
    border-radius: 10px;
}

.product-showcase::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: 10%;
    width: 120px;
    height: 120px;
    background-color: rgba(34, 24, 20, 0.1); /* 淡黑色 */
    transform: rotate(-15deg);
    z-index: 1;
    border-radius: 50% 0 50% 0;
}

.product-image-block {
    background: #FEFEFE; /* 統一使用白色背景 */
    min-height: 400px; /* 減少高度 */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem; /* 統一使用較小的 padding */
    position: relative;
    z-index: 2;
    overflow: visible;
}

.product-image {
    max-height: 550px; /* 增加圖片高度 */
    max-width: 130%; /* 允許圖片超出容器 */
    object-fit: contain;
    position: absolute;
    top: -80px; /* 向上移動圖片 */
    right: -60px; /* 向右移動圖片 */
    transform: rotate(5deg); /* 添加旋轉效果 */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); /* 添加陰影效果 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-image-block:hover .product-image {
    transform: rotate(5deg) translateY(-10px); /* 懸停時上浮效果 */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.product-text-block {
    background: #221814; /* 標準色：黑色 */
    color: #FEFEFE; /* 白色文字 */
    padding: 3rem 2rem 2rem 1.5rem; /* 增加上方 padding 以容納圖片疊蓋 */
    display: flex;
    align-items: center;
    min-height: 400px; /* 減少高度 */
    position: relative;
    z-index: 1;
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0% 95%); /* 添加傾斜效果 */
}

/* 添加裝飾性幾何圖形 */
.product-text-block::before {
    content: '';
    position: absolute;
    bottom: 30px;
    left: 20px;
    width: 60px;
    height: 60px;
    border: 3px solid rgba(191, 134, 25, 0.3); /* 淡金色邊框 */
    transform: rotate(45deg);
    z-index: -1;
}

.product-text {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.product-text .section-title {
    color: #BF8619; /* 輔助色：金色 */
    text-align: left;
    margin-top: 1rem; /* 添加標題上方的間距 */
    margin-bottom: 2rem;
    position: relative;
    transform: skewX(-5deg); /* 添加傾斜效果 */
}

.product-text .section-title::after {
    left: 0;
    transform: none;
    background: #BF8619; /* 輔助色：金色 */
    height: 4px;
    width: 100px;
    border-radius: 2px;
}

.product-text .section-title::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -30px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(191, 134, 25, 0.1); /* 淡金色 */
    z-index: -1;
}

/* 統一產品描述文字樣式 */
.product-description {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: justify;
    color: #FEFEFE; /* 白色文字 */
    position: relative;
    z-index: 2;
    letter-spacing: 0.5px; /* 增加字距 */
    padding-bottom: 0.5rem; /* 增加段落間隔 */
}

/* 統一服務區塊文字樣式 */
.service-text {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: justify;
    color: #FEFEFE; /* 白色文字 */
    position: relative;
    z-index: 2;
    letter-spacing: 0.5px; /* 增加字距 */
    padding-bottom: 0.5rem; /* 增加段落間隔 */
}

/* 公司特色區域 */
.company-features {
    position: relative;
    padding: 4rem 0;
    background: #f8f9fa;
}

.company-features .container {
    max-width: 100%;
    padding: 0;
}

.company-features .row {
    margin: 0;
}

.company-features .col-md-4 {
    padding: 0;
}

.feature-item {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.feature-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-item:hover img {
    transform: scale(1.1);
}

.feature-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-item:hover .feature-content {
    opacity: 1;
}

.feature-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #BF8619; /* 輔助色：金色 */
}

.feature-content p {
    font-size: 1rem;
    margin: 0;
    color: #221814; /* 標準色：黑色 */
}

/* 技術實力區塊樣式 */
.technical-strength {
    background: #FEFEFE; /* 白色背景 */
    margin-top: 1.5rem; /* 減少與上斷間距 */
    position: relative;
    overflow: visible;
    padding-bottom: 3rem; /* 增加底部空間 */
}

.technical-strength .row {
    display: flex;
    flex-wrap: wrap;
}

.technical-strength .row > [class*="col-"] {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 確保兩張卡片高度相同 */
.technical-strength .strength-content {
    height: 100%;
    min-height: 450px; /* 固定高度，確保兩張卡片高度一致 */
}

/* 添加幾何裝飾元素 */
.technical-strength::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(191, 134, 25, 0.1); /* 淡金色邊框 */
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; /* 不規則形狀 */
    z-index: 1;
    animation: floatAnimation 8s infinite ease-in-out; /* 浮動動畫 */
}

@keyframes floatAnimation {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(10px, 15px) rotate(5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

.technical-strength::after {
    content: '';
    position: absolute;
    bottom: 5%;
    left: 8%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(191, 134, 25, 0.05) 0%, rgba(255, 255, 255, 0) 70%); /* 金色漸變圓形 */
    z-index: 1;
}

/* 統一大標題樣式 */
.section-title {
    color: #BF8619; /* 輔助色：金色 */
    font-weight: bold;
    font-size: 1.8rem;
    margin-top: 0.8rem; /* 減少上方間距 */
    margin-bottom: 1.5rem; /* 減少下方間距 */
    position: relative;
    padding-bottom: 1rem; /* 減少底部填充 */
    text-align: center;
    z-index: 2;
    letter-spacing: 1px; /* 保留字距 */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, rgba(191, 134, 25, 0.2), rgba(191, 134, 25, 1), rgba(191, 134, 25, 0.2)); /* 金色漸變線 */
    border-radius: 3px;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background-color: rgba(191, 134, 25, 0.1); /* 淡金色 */
    border-radius: 50%;
    z-index: -1;
}

/* 移除英文小標題樣式 */

.strength-content {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 1.8rem 1.8rem 3rem 1.8rem; /* 增加底部填充 */
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: visible; /* 確保內容不被裁剪 */
    height: 100%; /* 確保高度一致 */
    min-height: 400px; /* 增加最小高度使兩個卡片高度一致 */
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(191, 134, 25, 0.1);
}

/* 移除應式應效果 */

/* 移除混亂的裝飾元素 */
.strength-content::before {
    display: none;
}

.strength-content::after {
    display: none;
}

/* 統一小標題樣式 */
.strength-title {
    color: #BF8619; /* 輔助色：金色 */
    font-size: 1.3rem; /* 稍微減小字體 */
    font-weight: bold;
    margin-bottom: 0.8rem; /* 減少下方間距 */
    position: relative;
    padding-bottom: 0.6rem; /* 減少底部填充 */
    display: inline-block;
    border-bottom: 2px solid rgba(191, 134, 25, 0.3); /* 保留下底線 */
    letter-spacing: 0.5px; /* 保留字距 */
}

.strength-title::before {
    display: none;
}

/* 移除英文小標題樣式 */

/* 統一技術實力文字樣式 */
.strength-text {
    margin-bottom: 1rem; /* 減少下方間距 */
    line-height: 1.6; /* 縮小行高 */
    text-align: justify;
    position: relative;
    padding-left: 0;
    margin-left: 0;
    flex: 1; /* 讓文字區塊自動填充剩餘空間 */
    color: #221814;
    font-size: 1rem; /* 稍微減小字體 */
    letter-spacing: 0.5px; /* 保留字距 */
}

/* 移除英文文字樣式 */

/* 卡片圖片樣式 */
.card-image-container {
    position: absolute;
    top: auto;
    bottom: 5px; /* 增加底部距離 */
    margin-top: auto;
    right: 30px; /* 右側留一點空間 */
    width: 220px;
    height: 160px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 3;
    border: 2px solid rgba(191, 134, 25, 0.3);
    transition: all 0.3s ease;
    background-color: #fff;
}

.card-image {
    width: 110%; /* 圖片放大 110% */
    height: 110%; /* 圖片放大 110% */
    object-fit: cover;
    object-position: center;
    background-color: #fff;
    transform: scale(1.15); /* 額外放大圖片 */
    transform-origin: center; /* 以中心點為基準放大 */
}

/* 移除圖片的互動效果 */

/* 手機尺寸響應式調整 */
@media (max-width: 767.98px) {
    .technical-strength .strength-content {
        min-height: 550px; /* 增加手機版卡片高度 */
        padding-bottom: 5rem; /* 增加底部填充 */
    }
    
    .technical-strength .col-lg-6:first-child .strength-content,
    .technical-strength .col-lg-6:last-child .strength-content {
        min-height: 550px; /* 確保兩張卡片高度一致 */
    }
    
    .card-image-container {
        bottom: 5px; /* 在手機上將圖片更往下移動 */
    }
}

/* 技術實力區塊的圖標裝飾 */
.strength-icon {
    width: 40px; /* 減小圖標大小 */
    height: 40px; /* 減小圖標大小 */
    background-color: rgba(191, 134, 25, 0.1); /* 淡金色背景 */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem; /* 減少下方間距 */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(191, 134, 25, 0.2);
}

.strength-icon i {
    color: #BF8619; /* 金色圖標 */
    font-size: 24px;
}

/* 左側面板特殊樣式 - 保持簡潔 */
.technical-strength .col-lg-6:first-child .strength-content {
    position: relative;
    overflow: hidden;
}

.technical-strength .col-lg-6 .strength-content {
    border-top: 3px solid #BF8619; /* 統一使用實心金色邊框 */
}

/* 統一左側面板文字樣式 */
.technical-strength .col-lg-6:first-child .strength-text {
    font-size: 1.1rem; /* 統一字體大小 */
    line-height: 1.8; /* 統一行高 */
    letter-spacing: 0.5px; /* 保留字距 */
    padding: 0.5rem 0; /* 保留上下間距 */
}

.technical-strength .col-lg-6 .strength-title {
    font-size: 1.4rem; /* 統一標題大小 */
    margin-bottom: 1.2rem; /* 統一下方間距 */
}

/* 客戶服務區塊樣式 */
.customer-service {
    margin-top: 2rem; /* 減少與上方 section 的間距 */
    position: relative;
    overflow: visible;
}

/* 添加幾何裝飾元素 */
.customer-service::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 20%;
    width: 180px;
    height: 180px;
    border: 3px solid rgba(191, 134, 25, 0.1); /* 淡金色邊框 */
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%); /* 五邊形 */
    z-index: 1;
    transform: rotate(-10deg);
}

.customer-service::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: 15%;
    width: 150px;
    height: 150px;
    background-color: rgba(34, 24, 20, 0.05); /* 淡黑色 */
    border-radius: 30% 70% 50% 50% / 50% 30% 70% 50%; /* 不規則形狀 */
    z-index: 1;
}

.service-content-block {
    background: #221814; /* 標準色：黑色 */
    color: #FEFEFE; /* 白色文字 */
    padding: 3rem 2rem; /* 增加內部空間 */
    min-height: 400px; /* 減少高度 */
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%); /* 添加傾斜效果 */
}

/* 添加裝飾元素 */
.service-content-block::before {
    content: '';
    position: absolute;
    top: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(191, 134, 25, 0.3); /* 淡金色邊框 */
    transform: rotate(45deg);
    z-index: 0;
}

.service-content-block::after {
    content: '';
    position: absolute;
    bottom: 40px;
    left: 40px;
    width: 40px;
    height: 40px;
    background-color: rgba(191, 134, 25, 0.1); /* 淡金色 */
    border-radius: 50%;
    z-index: 0;
}

.service-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.service-content .section-title {
    color: #BF8619; /* 輔助色：金色 */
    text-align: left;
    margin-top: 1rem; /* 添加標題上方的間距 */
    margin-bottom: 2rem;
    position: relative;
    transform: skewX(-5deg); /* 添加傾斜效果 */
}

.service-content .section-title::after {
    background: linear-gradient(to right, #BF8619, rgba(191, 134, 25, 0.3)); /* 金色漸變 */
    left: 0;
    transform: none;
    height: 4px;
    width: 120px;
    border-radius: 2px;
}

/* 移除英文小標題樣式 */

.service-text {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: justify;
    font-size: 1.1rem;
    color: #FEFEFE; /* 白色文字 */
    position: relative;
    padding-left: 1rem;
    border-left: 2px solid rgba(191, 134, 25, 0.4); /* 淡金色邊框 */
}

.service-text:last-child {
    position: relative;
}

.service-text:last-child::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, rgba(191, 134, 25, 0), rgba(191, 134, 25, 0.5)); /* 金色漸變 */
}

.service-image-block {
    background: #FEFEFE; /* 白色背景 */
    min-height: 400px; /* 減少高度 */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem; /* 統一使用較小的 padding */
    position: relative;
    z-index: 2;
    overflow: visible;
}

.service-image {
    max-height: 450px;
    object-fit: contain;
    position: relative;
    transform: rotate(-3deg); /* 添加輕微旋轉效果 */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); /* 添加陰影效果 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-image-block:hover .service-image {
    transform: rotate(-3deg) translateY(-8px); /* 懸停時上浮效果 */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* 共用元素樣式 - 移除以避免覆蓋 style.css 中的樣式 */
/* 所有 company 頁面的容器都使用以下的統一 padding */
.company-container {
    padding: 1.5rem;
}

/* 專門為 company.html 頁面的所有 section 樣式 */
.company-section {
    position: relative;
    overflow: hidden;
    padding: 1rem 0; /* 統一使用 1rem 的上下間距 */
    margin-bottom: 2rem; /* 減少下方間距 */
    background-color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(191, 134, 25, 0.2); /* 淡金色分隔線 */
}

/* 專門為 company.html 的 section 樣式 - 已移除，改用 company-section 類別 */

.container-fluid {
    padding: 0;
}

/* 響應式設計 */
@media (max-width: 991.98px) {
    .banner-text-block, .product-text-block, .service-content-block {
        padding: 3rem 2rem;
    }
    
    .banner-text h2 {
        font-size: 2rem;
    }
    
    /* 移除英文標題響應式樣式 */
    
    .product-image-block, .service-image-block {
        min-height: 400px;
    }
    
    .product-image {
        max-height: 400px;
        top: -40px;
        right: -30px;
    }
    
    .service-image {
        max-height: 350px;
    }
    
    .profile-content {
        margin-bottom: 2rem;
    }
    
    .product-text-block {
        clip-path: polygon(0 0, 100% 3%, 100% 100%, 0% 97%);
    }
}

@media (max-width: 767.98px) {
    .banner-text-block, .product-text-block, .service-content-block {
        padding: 2.5rem 1.5rem;
    }
    
    .banner-text h2 {
        font-size: 1.8rem;
    }
    
    /* 移除英文標題響應式樣式 */
    
    .product-image-block, .service-image-block {
        min-height: 300px;
        order: 1 !important;
    }
    
    .product-text-block {
        order: 2 !important;
        clip-path: polygon(0 0, 100% 2%, 100% 100%, 0% 98%);
    }
    
    .product-image {
        position: relative;
        max-height: 300px;
        max-width: 100%;
        top: 0;
        right: 0;
        transform: rotate(3deg);
    }
    
    .product-image-block:hover .product-image {
        transform: rotate(3deg) translateY(-5px);
    }
    
    .service-image {
        max-height: 250px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .strength-title {
        font-size: 1.3rem;
    }
    
    .profile-label {
        min-width: 100px;
        font-size: 0.9rem;
    }
    
    .profile-value {
        font-size: 0.9rem;
    }
}

/* 響應式設計 */
@media (max-width: 991.98px) {
    .company-page .page-header {
        min-height: auto;
        padding: 20px 0;
    }

    .showcase-item {
        flex-direction: column;
    }
    
    .showcase-image, .showcase-content {
        width: 100%;
    }
    
    .stat-item {
        min-width: 100px;
        flex: 1 0 40%; /* 確保在平板上每行顯示兩個 */
    }
    
    .feature-item {
        height: 250px;
    }
}

@media (max-width: 767.98px) {
    .timeline-progress {
        left: 20px;
    }

    .tech-item::before {
        left: 20px;
        transform: translate(-50%, -50%);
    }

    .tech-content {
        width: 85%;
        margin-left: auto !important;
        margin-right: 0 !important;
    }

    .feature-item {
        height: 200px;
    }

    .feature-content {
        opacity: 1;
        background: rgba(0, 0, 0, 0.4);
    }
    
    .equipment-item {
        flex-direction: column;
    }
    
    .equipment-image, .equipment-info {
        width: 100%;
    }
    
    .showcase-stats {
        flex-direction: row; /* 保持水平排列 */
        flex-wrap: wrap; /* 允許折行 */
        justify-content: center;
    }
    
    .stat-item {
        margin: 0.3rem;
        width: calc(50% - 0.6rem); /* 每行顯示兩個 */
        min-width: auto;
    }
    
    .company-intro {
        font-size: 0.9rem;
        margin: 0.7rem 0;
    }
}
    
    .showcase-stats {
        flex-direction: row; /* 保持水平排列 */
        flex-wrap: wrap; /* 允許折行 */
        justify-content: center;
    }
    
    .stat-item {
        margin: 0.3rem;
        width: calc(50% - 0.6rem); /* 每行顯示兩個 */
        min-width: auto;
    }
    
    .company-intro {
        font-size: 0.9rem;
        margin: 0.7rem 0;
    }
