﻿/* 整體容器 */
.services-wrapper {
    max-width: 980px;
    margin: auto;
    padding: 40px 20px;
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.7;
    color: #222;
}

/* Header */
.services-header h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.services-intro {
    font-size: 1.15rem;
    color: #444;
    max-width: 700px;
}

/* 每段落區塊 */
.services-section {
    margin-top: 50px;
}

    .services-section h2 {
        font-size: 1.6rem;
        margin-bottom: 18px;
        font-weight: 600;
    }

/* Bullet List */
.services-bullets {
    list-style: disc;
    padding-left: 24px;
}

    .services-bullets li {
        margin-bottom: 8px;
        font-size: 1rem;
    }

/* 圖片&標題 */
.services-imgbox {
    text-align: center;
    margin-bottom: 25px;
}

    .services-imgbox img {
        width: 100%;
        max-width: 620px;
        border-radius: 8px;
    }

    .services-imgbox h3 {
        margin-top: 10px;
        font-size: 1.1rem;
        color: #333;
    }

/* 流程流程（四格） */
.services-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.services-flow-item {
    padding: 14px 18px;
    border: 1px solid #d5d5d5;
    border-radius: 8px;
    background: #fafafa;
    font-size: 1rem;
}

/* CTA */
.services-cta {
    padding-top: 40px;
    border-top: 1px solid #ccc;
    text-align: center;
}

.services-btn {
    display: inline-block;
    padding: 12px 32px;
    background: #0062d9;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 12px;
    font-size: 1.05rem;
    transition: 0.3s;
}

    .services-btn:hover {
        background: #004fae;
    }


.services-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .8s ease, transform .8s ease;
}

    .services-animate.active {
        opacity: 1;
        transform: translateY(0);
    }

/* ====== 新增：圖片淡入 ====== */

.services-img-animate {
    opacity: 0;
    transform: scale(0.98);
    transition: opacity .9s ease, transform .9s ease;
}

    .services-img-animate.active {
        opacity: 1;
        transform: scale(1);
    }

/* ====== Flow 卡片 hover ====== */

.services-flow-item {
    transition: transform .25s ease, box-shadow .25s ease;
}

    .services-flow-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    }

/* ====== CTA 按鈕 ====== */

.services-btn-animate {
    transition: transform .25s ease, box-shadow .25s ease;
}

    .services-btn-animate:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    }