      /* =========================================================
           About Us Page Styles (關於我們頁面樣式)
           Namespace: .yl-about- (避免與首頁衝突)
           ========================================================= */

        /* 基礎設定 */
        body {
            background-color: #fff; /* 預設背景 */
            margin: 0;
            padding: 0;
        }

        .yl-about-wrapper {
            padding: 200px 50px 100px;
            background-color: #fff;
            color: #333;
            font-family: 'Noto Sans TC', system-ui, -apple-system, sans-serif;
        }



/* =========================================================
   Page Banner Styles (內頁橫幅樣式)
   ========================================================= */
.yl-page-banner {
    position: relative;
    width: 100%;
    height: 400px; /* 電腦版高度 */
    background-image: url('../img/service-keyimg.png'); /* 請替換為您的背景圖 img/banner-bg.jpg */
    background-size: cover;
    background-position: center;
    
    /* 關鍵：頂部橘色邊框 */
  
    
    /* 避開導覽列高度 (依據之前的設定) */
   
}

/* 黑色半透明遮罩 (可選，讓文字在淺色背景上更清楚) */
.yl-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1); /* 10% 黑色遮罩，比較自然 */
}

/* 內容容器 */
.yl-page-banner .container {
    position: relative; /* 確保內容在遮罩之上 */
    z-index: 2;
}

/* ABOUT US 大標題 */
.yl-banner-title {
    font-family: 'Noto Sans TC', sans-serif; /* 設計稿看起來像黑體，若要宋體可改 Noto Serif TC */
    font-weight: 700;
    font-size: 4rem;
    color: #ffffff;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    letter-spacing: 2px;
}

/* 標語外層 (用來控制靠右) */
.yl-banner-tagline-wrapper {
    display: inline-block;
}

/* 橘色底標語 */
.yl-banner-tagline {
    background-color: #ff6c39;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 500;
    padding: 5px 25px; /* 上下左右留白 */
    letter-spacing: 3px;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* =========================================================
   Banner RWD 響應式設定
   ========================================================= */
@media (max-width: 991px) {
    .yl-page-banner {
        height: 300px;
        margin-top: 70px; /* 手機版導覽列高度 */
    }
    
    .yl-banner-title {
        font-size: 3rem;
    }
    
    .yl-banner-tagline {
        font-size: 1.2rem;
        padding: 5px 15px;
    }
}

@media (max-width: 576px) {
    .yl-page-banner {
        height: 250px;
    }

    .yl-banner-title {
        font-size: 2.2rem;
    }

    .yl-banner-tagline {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
}

/* =========================================================
   Service Features Page Styles (服務特色內頁樣式)
   Namespace: .yl-feat-
   Description: 左圖右文排版，強調橘色標題與藍色圓角背景
   ========================================================= */

/* --- 1. 容器與基礎設定 --- */
.yl-feat-wrapper {
    padding: 80px 0 120px;
    background-color: #ffffff;
    overflow: hidden;
    font-family: 'Noto Sans TC', sans-serif;
}

/* --- 2. 頁面標題區 --- */
.yl-feat-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.yl-feat-title {
    font-family: 'Noto Serif TC', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.yl-feat-title-bar {
    width: 60px;
    height: 6px;
    background-color: #ff6c39; /* 橘色裝飾線 */
    margin: 0 auto 30px;
}

.yl-feat-slogan {
    font-family: 'Noto Serif TC', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ff6c39; /* 橘色標語 */
    margin-bottom: 30px;
}

.yl-feat-intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    text-align: justify;
    text-align-last: center;
}

/* --- 3. 特色項目列表 (Flex排版 - 左圖右文) --- */
.yl-feat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 100px; /* 項目間距 */
    gap: 60px;
}

.yl-feat-item:last-child {
    margin-bottom: 0;
}

/* 圖片區 (左側) */
.yl-feat-image-col {
    flex: 1;
    max-width: 45%;
    display: flex;
    justify-content: center;
    /* 預留空間給左下方的藍色色塊 */
    padding-left: 20px; 
    padding-bottom: 20px;
}

/* 內容區 (右側) */
.yl-feat-content {
    flex: 1;
    max-width: 50%;
}

.yl-feat-item-title {
    font-family: 'Noto Serif TC', serif; /* 標題宋體 */
    font-size: 1.8rem;
    font-weight: 700;
    color: #ff6c39; /* 依照設計稿：標題為橘色 */
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.yl-feat-desc {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}

/* --- 4. 圖片樣式 (Blue Blob Effect) - 延續設計語言 --- */
.yl-feat-img-box {
    position: relative;
    width: 100%;
    max-width: 450px; /* 圖片最大寬度 */
    z-index: 2;
}

/* 藍色色塊: 左下方, #d2fff9, 60px圓角 */
.yl-feat-img-box::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 30px; 
    left: -30px;
    width: 100%;
    height: 100%;
    background-color: #d2fff9; 
    border-radius: 60px;       
    transition: transform 0.3s ease;
}

.yl-feat-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 60px; /* 大圓角 */
    object-fit: cover;
    aspect-ratio: 1/1; /* 依照設計稿，圖片偏向正方形或接近正方形 */
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* 滑鼠互動：色塊微幅回縮 */
.yl-feat-item:hover .yl-feat-img-box::before {
    transform: translate(10px, -10px);
}

/* =========================================================
   5. RWD 媒體查詢
   ========================================================= */

/* --- Tablet & Mobile (平板與手機: < 992px) --- */
@media (max-width: 991px) {
    .yl-feat-item {
        flex-direction: column; /* 垂直排列：圖片在上，文字在下 */
        gap: 30px;
        margin-bottom: 80px;
        text-align: center; /* 平板手機版置中對齊較美觀 */
    }

    .yl-feat-content {
        max-width: 100%;
    }
    
    .yl-feat-desc {
        text-align: center; /* 文字也置中 */
        text-align-last: center;
    }

    .yl-feat-image-col {
        max-width: 80%;
        margin: 0 auto;
        padding-left: 15px; 
        padding-bottom: 15px;
    }
    
    .yl-feat-img-box::before {
        top: 20px; left: -20px; border-radius: 40px;
    }
    .yl-feat-img { border-radius: 40px; }
}

/* --- Mobile Only (手機: < 576px) --- */
@media (max-width: 576px) {
    .yl-feat-wrapper { padding: 50px 0; }
    
    .yl-feat-slogan { font-size: 1.4rem; }
    .yl-feat-intro-text { font-size: 1rem; text-align-last: left; text-align: left;} /* 手機版文字靠左易讀 */
    
    .yl-feat-image-col { max-width: 100%; }
    
    .yl-feat-item-title { font-size: 1.5rem; }
    .yl-feat-desc { font-size: 1rem; text-align: justify; text-align-last: left;} /* 恢復靠左對齊 */
}
