    /* =========================================
       1. 全域變數與基礎設定
       ========================================= */
    :root {
        --brand-red: #ea2635;      /* 品牌紅 */
        --text-dark: #333333;      /* 深色文字 */
        --text-gray: #666666;      /* 灰色說明文字 */
        --font-main: "微軟正黑體", "Noto Sans TC", sans-serif;
    }

  
    a { text-decoration: none; }

    /* 圖片自適應 */
    .img-fluid {
        max-width: 100%;
        height: auto;
    }
/* 1. Hero Section (主視覺) */
.hero-section {
    background: url('../images/service-title03-photo.png');
    background-size: cover;
    background-position: center;
    /* 改用 min-height 以適應不同內容長度 */
    min-height: 300px; 
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    padding: 40px 0;
}
/* 增加黑色遮罩讓文字更清楚 (可選) */
.hero-section::before {
    content: '';
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}
.hero-text {
    position: relative;
    z-index: 2;
}
.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}
.hero-text p {
    color: #e72d2d; /* 原本是紅字，但在深色圖上建議白色，或維持 var(--brand-red) 並加文字陰影 */
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}
    /* =========================================
       2. 共用組件 (標題、按鈕)
       ========================================= */
    
    /* 左側紅線標題 */
    .section-header {
        border-left: 6px solid var(--brand-red);
        padding-left: 15px;
        margin-bottom: 3rem;
    }
    .section-header h2 {
        color: var(--brand-red);
        font-weight: 700;
        margin-bottom: 0.2rem;
        text-transform: capitalize;
        font-size: 2rem;
    }
    .section-header span {
        font-size: 1.2rem;
        font-weight: 700;
        color: #000;
        text-transform: uppercase;
    }

    /* 品牌紅色按鈕 */
    .btn-brand-red {
        background-color: var(--brand-red);
        color: #fff;
        border: none;
        transition: all 0.3s ease;
    }
    .btn-brand-red:hover {
        background-color: #c91e2b;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(234, 38, 53, 0.3);
    }

   

    /* =========================================
       4. 各區塊專用樣式
       ========================================= */

    /* --- Hero Section --- */
    .service-intro {
        position: relative;
    }
    .main-heading {
        line-height: 1.5;
        font-size: 2rem;
        color: #000;
    }
 .service-text{line-height: 1.6;}
    .service-text p {
        line-height: 1.8;
        margin-bottom: 1rem;
        font-size: 1.1rem;
        color: var(--text-gray);
        text-align: justify;
    }

    /* --- 服務項目列表 --- */
    .service-items {
        background-color: #f9f9f9; /* 淺灰背景 */
    }
    
    .item-title {
        color: var(--brand-red);
        font-weight: 700;
        font-size: 1.6rem;
        margin-bottom: 1rem;
        padding-bottom: 10px;
        border-bottom: 1px solid #ddd;
        display: inline-block;
    }

    /* 圓形圖片容器 */
    .circle-img-wrapper {
        width: 220px;
        height: 220px;
        margin: 0 auto;
        border-radius: 50%;
        overflow: hidden;
        background: #fff;
        border: 5px solid #fff;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .circle-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* 自定義列表 (黑點) */
    .custom-list {
        list-style: none;
        padding-left: 0;
    }
    .custom-list li {
        position: relative;
        padding-left: 25px;
        margin-bottom: 10px;
        line-height: 1.6;
        color: #444;
        font-size: 1.1rem;
    }
    .custom-list li::before {
        content: "●";
        color: #000;
        font-size: 0.8rem;
        position: absolute;
        left: 0;
        top: 4px;
    }

    /* --- 服務優勢 --- */
    .advantage-card {
        padding: 20px;
        background: #fff;
        border-radius: 12px;
        height: 100%;
        transition: transform 0.3s;
        border: 1px solid #eee;
    }
    .advantage-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        border-color: var(--brand-red);
    }
    .advantage-card h4 {
        font-size: 1.3rem;
        margin-bottom: 10px;
        color: #000;
    }
    .text-brand-red {
        color: var(--brand-red);
    }

    /* --- 底部 CTA --- */
    .cta-section {
        /* 請在此替換您的背景圖片 */
        background-image: url('../images/service03-contact.png'); 
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        min-height: 600px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }
    .cta-overlay {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0, 0, 0, 0.6); 
        z-index: 1;
    }
    .cta-content {
        position: relative;
        z-index: 2;
        color: white;
        text-align: center;
    }


    /* =========================================
       5. RWD 響應式設定 (手機版優化)
       ========================================= */
    @media (max-width: 767.98px) {
        
        /* 標題文字縮小 */
        .section-header h2 { font-size: 1.8rem; }
        .main-heading { font-size: 1.6rem; }
        .item-title { font-size: 1.4rem; }
        
        /* 1. 全域左右留白設定 (關鍵修正) */
        .container {
            padding-left: 30px !important;
            padding-right: 30px !important;
        }

        /* 2. Hero 區塊 */
        .service-intro {
            padding-top: 20px;
            padding-bottom: 40px;
        }
        .service-intro .col-lg-6:last-child {
            margin-top: 40px; /* 圖片與文字的距離 */
        }

        /* 3. 服務項目調整 */
        .item-row {
            margin-bottom: 3rem !important;
            border-bottom: 1px dashed #ddd; /* 分隔線 */
            padding-bottom: 2rem;
        }
        .item-row:last-child {
            border-bottom: none;
        }
        
        /* 圓圖縮小 */
        .circle-img-wrapper {
            width: 160px;
            height: 160px;
            margin-bottom: 20px;
        }

        /* 4. CTA 區塊 */
        .cta-section {
            min-height: 300px;
            padding: 60px 0;
        }
        .cta-content h2 { font-size: 2rem; }
        .cta-content h3 { font-size: 1.5rem; }
    }
