.hero-section .hero-bg-image {
    object-position: bottom;
}

.hero-section .hero-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
}

/* 甲醛危害樣式 -start */
.danger-section {
    background: #f8fafc;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* 背景裝飾元素 */
.danger-section .philosophy-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.danger-section .decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 123, 20, 0.08), rgba(255, 123, 20, 0.03));
    animation: float 8s ease-in-out infinite;
}

.danger-section .circle-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.danger-section .circle-2 {
    width: 80px;
    height: 80px;
    top: 65%;
    right: 10%;
    animation-delay: 2s;
}

.danger-section .circle-3 {
    width: 100px;
    height: 100px;
    top: 35%;
    right: 18%;
    animation-delay: 4s;
}

.danger-section .decoration-line {
    position: absolute;
    background: linear-gradient(90deg, rgba(255, 123, 20, 0.1), transparent);
    animation: slide 12s ease-in-out infinite;
}

.danger-section .line-1 {
    width: 200px;
    height: 2px;
    top: 25%;
    left: 12%;
    animation-delay: 1s;
}

.danger-section .line-2 {
    width: 150px;
    height: 2px;
    top: 75%;
    right: 15%;
    animation-delay: 6s;
}

.danger-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.danger-visual {
    position: relative;
}

.video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    padding: 8px;
}

.video-wrapper img {
    width: 100%;
    border-radius: 12px;
}

.danger-video {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 123, 20, 0.9);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.video-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(255, 123, 20, 1);
}

.overlay-icon {
    color: #ffffff;
    width: 32px;
    height: 32px;
}

.danger-info {
    padding-left: 40px;
}

.danger-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 40px;
}

.danger-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.danger-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.danger-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ff7b14, #ff9500);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.danger-icon svg {
    width: 24px;
    height: 24px;
}

.danger-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.danger-text p {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

.source-info {
    padding: 20px 24px;
    background: #f1f5f9;
    border-radius: 12px;
    border-left: 4px solid #ff7b14;
}

.source-text {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
    font-style: italic;
}

/* 響應式設計 */
@media (max-width: 1024px) {
    .danger-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .danger-info {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .danger-section {
        padding: 80px 0;
    }
    
    .danger-content {
        gap: 40px;
    }
    
    .danger-item {
        padding: 20px;
        gap: 16px;
    }
    
    .danger-text h3 {
        font-size: 1.125rem;
    }
    
    .danger-text p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .danger-section {
        padding: 60px 0;
    }
    
    .danger-item {
        padding: 16px;
        gap: 12px;
    }
}

/* 動畫效果 */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes slide {
    0%, 100% {
        transform: translateX(0px);
        opacity: 0.3;
    }
    50% {
        transform: translateX(30px);
        opacity: 0.8;
    }
}

/* 漸入動畫 */
.danger-item {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.danger-item:nth-child(1) {
    animation-delay: 0.1s;
}

.danger-item:nth-child(2) {
    animation-delay: 0.2s;
}

.danger-item:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 視頻懸停效果 */
.video-wrapper:hover .video-overlay {
    opacity: 0.8;
}

.video-wrapper:hover .danger-video {
    transform: scale(1.02);
}

.danger-video {
    transition: transform 0.3s ease;
}

/* 移除舊樣式 */
#formaldehydeDangerSection .my-container .right-wrapper {
    padding-left: 60px;
}

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

/* 工作流程樣式 */
#serviceProcessSection {
    background: #ffffff;
}

#serviceProcessSection .container {
    padding: 0;
}

.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: 18px;
    font-weight: 700;
    color: #333333;
    margin: 0 0 12px 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);
}

/* 除甲醛流程 */

#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;
}

/* 甲醛危害樣式 -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 */