/* 工作流程樣式 */
#serviceProcessSection {
    background-image: url('../image/pricing-bg-2-1.jpg');
    background-size: bottom right;
    background-position: 100% auto;
    background-repeat: no-repeat;
}

#serviceProcessSection .section-sub-title,
#serviceProcessSection .section-title {
    display: flex;
    align-items: center;
    justify-content: center;
}

#serviceProcessSection .section-title {
    margin-bottom: 60px;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.step-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 20px;
    position: relative;
    transition: all 0.3s ease;
}

.step-item::after {
    content: '';
    position: absolute;
    top: 80px;
    right: -23%;
    width: 96px;
    height: 58px;
    background-image: url(../image/step-line.svg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.step-item .step-icon svg {
    transition: all 0.3s ease;
}

.step-item:last-child::after {
    display: none;
}

.step-item:nth-child(1)::after,
.step-item:nth-child(3)::after,
.step-item:nth-child(5)::after{
    transform: rotate(218deg);
}

.step-item:nth-child(2)::after,
.step-item:nth-child(4)::after {
    top: -12px;
    transform: rotate(172deg);
}

.step-item:nth-child(2),
.step-item:nth-child(4),
.step-item:nth-child(6) {
    margin-top: 100px;
}

.step-icon {
    width: 120px;
    height: 120px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.step-icon svg {
    width: 60px;
    height: 60px;
}

.step-title {
    font-size: 24px;
    font-weight: 700;
    color: #333333;
    margin: 0 0 15px 0;
}

.step-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666666;
    margin: 0;
    max-width: 250px;
    margin: 0 auto;
}

.step-item:hover .step-icon {
    border-color: var(--main-color);
    background-color: var(--main-color);
}

.step-item:hover svg path {
    fill: #ffffff;
}

.step-item:hover svg {
    transform: rotateY(180deg);
}

/* 除甲醛流程 */
/* .formalde-img {
    width: 417px;
    border-radius: 12px;
    position: absolute;
    top: -60%;
    right: -200px;
}

#serviceProcessSection .my-container {
    position: relative;
} */

#serviceProcessSection {
    background-image: url('../image/pricing-bg-2-1.jpg');
    background-size: bottom right;
    background-position: 100% auto;
    background-repeat: no-repeat;
}

#formaldehydeRemovalBody #serviceProcessSection {
    background-image: none;
}

#formaldehydeRemovalBody #serviceProcessSection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../image/formalde5.jpg');
    background-size: cover;
    background-position: bottom right;
    background-repeat: no-repeat;
    opacity: 0.06;
    z-index: 0;
}

/* 服務網格樣式 */
.service-list {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.service-item {
    width: 100%;
    margin-top: 30px;
    background-color: #ffffff;
    text-align: center;
    overflow: hidden;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.service-item img {
    width: 100%;
    height: 302px;
    border-radius: 12px 12px 0 0;
    object-fit: cover;
    transition: all 0.3s ease;
}

.service-item .service-item-title {
    flex: 1;
    font-size: 20px;
    color: var(--font-color);
    padding: 30px;
    overflow: hidden;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item .service-item-title p {
    position: relative;
    z-index: 1;
}

.service-item .service-item-title::after {
    content: '';
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: #f9ece3; */
    background-color: var(--main-color);
    border-radius: 0 0 10px 10px;
    z-index: 0;
    transition: all 0.3s ease;
}

.service-item:hover {
    border: 2px solid var(--main-color);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}

.service-item:hover .service-item-title {
    /* color: var(--main-color); */
    color: #ffffff;
}

.service-item:hover .service-item-title::after {
   bottom: 0;
}

.service-item:hover img {
    transform: scale(1.2);
}

/* 服務範圍樣式 -start */
#areaSection {
    background-image: url('../image/block-bg-3.jpg');
    background-size: bottom right;
    background-position: 100% auto;
    background-repeat: no-repeat;
}

.area-list {
    /* display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px; */
    /* 用flex來排版 */
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.area-item {
    margin-top: 60px;
    width: calc((100% - 4 * 30px) / 4);
    background: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 40px 30px 30px;
    position: relative;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.area-item.img-wrapper {
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
}

.area-item.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.area-item.img-wrapper:hover img {
    transform: scale(1.2);
}

.area-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.icon-wrapper {
    /* width: 80px;
    height: 80px; */
    /* margin: 0 auto 25px; */
    /* background: rgba(255, 239, 211, 0.486); */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.area-item:hover .icon-wrapper {
    transform: scale(1.1);
}

.area-item:hover .icon-wrapper .area-icon {
    transform: rotateY(180deg);
}

.icon-wrapper .area-icon {
    width: 70px;
    height: 70px;
    transition: all 0.3s ease;
}

.area-title {
    font-size: 20px;
    font-weight: 700;
    color: #333333;
    margin: 46px 0 10px 0;
    line-height: 1.3;
}

.sub-title {
    font-size: 16px;
    color: var(--font-color);
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.details-list {
    text-align: left;
    margin-bottom: 25px;
}

.d-item {
    font-size: 16px;
    color: #889198;
    margin: 0 0 7px 0;
    padding-left: 25px;
    position: relative;
    line-height: 26px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.d-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--main-color);
    font-weight: bold;
    font-size: 18px;
    background-image: url('../image/check.svg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    width: 16px;
    height: 16px;


}

/* 響應式設計 */
@media (max-width: 1200px) {
    .area-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .area-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .area-item {
        padding: 35px 25px 25px;
    }

    .icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .icon-wrapper .area-icon {
        width: 40px;
        height: 40px;
    }

    .area-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .area-list {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .area-item {
        padding: 40px 30px 30px;
    }

    .icon-wrapper {
        width: 80px;
        height: 80px;
        margin-bottom: 25px;
    }

    .icon-wrapper .area-icon {
        width: 45px;
        height: 45px;
    }

    .area-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .area-item {
        padding: 35px 25px 25px;
    }

    .icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .icon-wrapper .area-icon {
        width: 40px;
        height: 40px;
    }

    .area-title {
        font-size: 22px;
    }

    .sub-title {
        font-size: 15px;
    }

    .d-item {
        font-size: 14px;
    }
}

.area-item.disclaimer {
    background-color: #fdf8f5;
    padding: 0px;
    position: relative;
    overflow: hidden;
}

.area-item.disclaimer-2 {
    width: calc((100% - 2 * 30px) / 2);
}

.area-item.disclaimer::after {
    content: '';
    position: absolute;
    bottom: -32px;
    right: -30px;
    width: 120px;
    height: 120px;
    background-image: url('../image/item.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    /* opacity: 0.8; */
}

.disclaimer-wrapper {
    width: 100%;
    height: 100%;
    background-color: #fdf8f5; 
    border: 1px solid var(--main-color);
    border-radius: 12px;
    padding: 18px 20px;
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    max-width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.disclaimer-title {
    width: 100%;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #FF7B14;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.disclaimer-content {
    font-size: 14px;
    color: #555;
    line-height: 28px;
}

.disclaimer-content p {
    text-align: left;
    margin-bottom: 10px;
    position: relative;
    z-index: 3;
}

.disclaimer-content p .li-icon {
    width: 28px;
    height: 28px;
}

/* 响应式适配：移动端优化 */
@media (max-width: 768px) {
    .disclaimer-wrapper {
        padding: 16px;
        font-size: 13px;
    }
    .disclaimer-title {
        font-size: 15px;
    }
    .disclaimer-content {
        font-size: 13px;
        line-height: 1.6;
    }
}

/* 服務範圍樣式 -end */

/* 聯繫方式樣式 -start */
#contactSection {
    background-image: url('../image/block-bg-5.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

#contactSection::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-image: url('../image/video-v1-shape2.png');
    background-size: auto 100%;
    background-position: right;
    background-repeat: no-repeat; */

    /* background-color: transparent;
    background-image: linear-gradient(180deg, #0E0701 0%, #0E0701 100%);
    opacity: 0.6; */

    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

/* #contactSection:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-image: url('../image/video-v1-shape1.png');
    background-size: auto 100%;
    background-position: left;
    background-repeat: no-repeat;
    z-index: 3;
} */

#contactSection .my-container {
    padding: 100px 0;
    position: relative;
    z-index: 1;

    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

/* #contactSection .my-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: calc((50vw - 50%) * -1);
    width: calc((50vw - 50%) + 50%);
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
} */

#contactSection .section-sub-title,
#contactSection .contact-info {
    position: relative;
    z-index: 2;
}

#contactSection .section-title,
#contactSection .section-description {
    color: #fff;
    position: relative;
    z-index: 2;
}

#contactSection .section-description a {
    color: #fff;
    display: inline-block;
}
 

#contactSection .section-title {
    text-align: center;
    margin-bottom: 16px;
}

#contactSection .section-sub-title {
    margin-bottom: 8px;
}

#contactSection .my-contact {
    position: relative;
    z-index: 2;
    /* display: flex; */
    /* flex-direction: column; */
    align-items: center;
    margin: 0 auto;
}

/* Left Wrapper Styling */

.section-description {
    font-size: 18px;
    margin-bottom: 20px;
}

.section-description p {
    margin-bottom: 10px;
    text-align: center;
}

/* Right Wrapper Styling */

.contact-info {
    display: flex;
    gap: 15px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.contact-item img {
    width: 30px;
    height: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
    }

    .section-description {
        font-size: 16px;
    }

    .contact-item-title {
        font-size: 16px;
    }

    .contact-item-content {
        font-size: 14px;
    }
}

/* 聯繫方式樣式 -end     */

/* 甲醛危害樣式 -start */
#formaldehydeDangerSection .tips {
    font-size: 14px;
    color: #889198;
}

#formaldehydeDangerSection .left-wrapper video {
    width: 100%;
    border-radius: 12px;
}

#formaldehydeDangerSection .formalde-img-wrapper {
    width: 100%;
    border-radius: 12px;
    box-sizing: border-box;
}

#formaldehydeDangerSection .my-container .right-wrapper {
    padding-left: 60px;
}

/* 甲醛危害樣式 -end */
