.wecolor {
    color: #b8a58b;
}

.wbox900 {}

.aboutbg02 {
    background-color: #b8a58b;
}

.lh90 {
    line-height: 200%;
    margin-top: 10px;
}
.pagebg{
    background-image: url(../images/bg02.png);
    background-position: -10rem center;
    background-repeat: no-repeat;
}

.card-img00 {
    box-shadow: 7px 7px 20px rgba(0, 0, 0, 0.5);
}

.img100 {
    z-index: 99999;
}

.img100 img {
    width: 100%;
    height: 100%;
}
.footerbox{
    background-color: #3c5443;
    color: #b8a58b;
}
.footerlink a{
    padding: 0 8px;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}
.footerlink a:hover{
    padding: 0 8px;
    transform: translateY(-8px);
}
.footerlink a img{
    max-width: 60px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}



/* =========================================
   Typography Utilities (針對優雅排版優化)
   ========================================= */
.tracking-wide {
    letter-spacing: 0.15rem;
}

.tracking-wider {
    letter-spacing: 0.3rem;
}

.tracking-widest {
    letter-spacing: 0.5rem;
}

.fs-7 {
    font-size: 0.85rem;
}

.text-justify {
    text-align: justify;
    text-justify: inter-ideograph;
}

.opacity-90 {
    opacity: 0.9;
}



/* =========================================
   Background Blobs (服務項目的底色形狀)
   ========================================= */
.blob-bg {
    background-color: #b8a58b;
    /* 沿用您 footer 的沙色，或自訂卡其色 */
    opacity: 0.8;
}

.blob-shape-1 {
    width: 220px;
    height: 190px;
    top: -15px;
    left: 0;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

.blob-shape-2 {
    width: 240px;
    height: 200px;
    top: -20px;
    left: -10px;
    border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%;
    background-color: #b8a58b;
}

.blob-shape-3 {
    width: 180px;
    height: 160px;
    top: 5px;
    left: 15px;
    border-radius: 60% 40% 50% 50% / 40% 60% 40% 60%;
}

.blob-shape-4 {
    width: 210px;
    height: 180px;
    top: -10px;
    left: 0;
    border-radius: 70% 30% 60% 40% / 50% 60% 40% 50%;
}

.blob-shape-about {
    width: 80px;
    height: 80px;
    top: -10px;
    left: 10px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    background-color: #b8a58b;
}

/* =========================================
   Team Portraits (人像與不規則背景處理)
   ========================================= */
.portrait-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
}

.portrait-img {
    position: relative;
    z-index: 2;
    width: 90%;
    height: auto;
    object-fit: cover;
    border-radius: 50%;
    /* 確保人像呈圓形/半圓弧狀，若原本圖片已去背可移除此行 */
}

/* Melon 後方的磚橘色不規則圓 */
.portrait-blob-melon {
    position: absolute;
    width: 95%;
    padding-bottom: 95%;
    /* 保持正圓比例基底 */
    background-color: #a45037;
    /* 磚橘色 */
    border-radius: 45% 55% 50% 50% / 55% 45% 55% 45%;
    top: 5%;
    right: 0;
    z-index: 1;
}

/* Ryan 後方深棕綠色不規則圓 */
.portrait-blob-ryan {
    position: absolute;
    width: 95%;
    bottom: -5%;
    left: 0;
    z-index: 1;
}

/* =========================================
   Mobile Optimization (手機版細節微調)
   ========================================= */
@media (max-width: 767.98px) {
    .blob-bg {
        transform: scale(0.85);
        transform-origin: top left;
    }

    .tracking-widest {
        letter-spacing: 0.3rem;
        /* 手機版縮小字距防止破版 */
    }

    .portrait-container {
        max-width: 280px;
        /* 手機版人像稍微縮小 */
        margin: 2rem auto;
    }
}

/* =========================================
   Service Staggered Grid (上下錯位專屬排版)
   ========================================= */
.service-staggered-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* 手機版預設：單欄排列 */
    gap: 5rem;
    /* 手機版每個區塊的上下間距 */

    /* 新增：手機版的左右間距，避免文字太貼齊螢幕邊緣 */
    padding-left: 6%;
    padding-right: 6%;
}

@media (min-width: 768px) {
    .service-staggered-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 桌機版：分成平均兩欄 */
        column-gap: 12%;
        /* 左右兩欄的中間留白 */
        row-gap: 6rem;
        /* 上下區塊的距離 */

        /* 預留底部空間：因為右側區塊會被往下推，為了避免蓋到下方人員介紹，需增加 padding */
        padding-bottom: 12rem;

        /* 新增：桌機版的左右間距，數值可以調大來創造高級感 */
        padding-left: 10%;
        padding-right: 10%;
    }

    /* 核心魔法：將右側欄位（第2、4個項目）向下位移，創造完美錯位感 */
    .service-staggered-grid .service-card:nth-child(even) {
        transform: translateY(12rem);
    }
}

/* =========================================
   The Warmth Project Section (溫飽計畫專屬區塊)
   ========================================= */
.warmth-project-section {
    background-color: #b8a58b;
    /* 沿用卡其/沙色基底 */
    overflow: hidden;
    /* 防止內部絕對定位的圖片與裝飾圖形超出邊界產生 X 軸 */
}

/* 突破帶有 Padding 的父容器，實現滿版背景 */
.warmth-full-width {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 768px) {
    .warmth-full-width {
        margin-left: -3rem;
        margin-right: -3rem;
        padding-left: 3rem;
        padding-right: 3rem;
    }
}





/* --- 標題後方的磚橘色不規則點綴 --- */
.title-blob-brown {
    width: 40px;
    height: 40px;
    background-color: #9a5339;
    border-radius: 45% 55% 40% 60% / 55% 45% 60% 40%;
    top: -2px;
    left: 4px;
}



@media (min-width: 1400px) {
    .warmth-text-right {
        margin-top: 22rem;
    }

    .tilted-img-wrapper {
        width: 45%;
        max-width: 700px;
        transform: translate(-50%, -50%) rotate(-15deg);
        /* 大螢幕再傾斜一點點 */
    }

    .bg-shape-green-tr {
        width: 50%;
        max-width: 800px;
        height: 500px;
    }
}




/* 如果您的網站是在非常寬的大螢幕上觀看，建議可以加一個最大寬度限制 */
@media (min-width: 1200px) {
    .service-staggered-grid {
        max-width: 1700px;
        /* 限制最大寬度，避免在大螢幕上左右拉得太開 */
        margin-left: auto;
        margin-right: auto;
        padding-left: 5%;
        /* 有了最大寬度後，padding 可以稍微收斂 */
        padding-right: 5%;


    }

    .service-staggered-grid01 {
        max-width: 1700px;
        /* 限制最大寬度，避免在大螢幕上左右拉得太開 */
        margin-left: auto;
        margin-right: auto;
        padding-left: 5%;
        /* 有了最大寬度後，padding 可以稍微收斂 */
        padding-right: 5%;
        margin-top: 10rem !important;


    }

    .service-staggered-grid02 {
        max-width: 1700px;
        /* 限制最大寬度，避免在大螢幕上左右拉得太開 */
        margin-left: auto;
        margin-right: auto;
        padding-left: 5%;
        /* 有了最大寬度後，padding 可以稍微收斂 */
        padding-right: 5%;
        margin-top: 10rem !important;

    }

    .aboutbg02 {
        background-image: url(../images/aboutbg.jpg);
        background-repeat: no-repeat;
        height: 500px;
        background-color: #b8a58b;
    }
    .aboutbg03 {
        background-image: url(../images/aboutbg03.jpg);
        background-repeat: no-repeat;       
        background-color: #b8a58b;
        background-position: left bottom;
    }





}


@media screen and (min-width:768px) and (max-width:1920px) {
    .num001 {
        position: absolute;
        right: 30%;
        z-index: 20;
    }

    .num002 {
        position: absolute;
        left: 10%;
        z-index: 20;
        width: 200px;
    }

    .num003 {
        margin-top: -20%;
        right: 50%;
        z-index: 99999;
        width: 200px;
    }

}

