#headerContainer .elementor-video {
    width: 100%;
}

.bubble-bg path {
    fill: #f6f6f6;
}

.section-sub-title,
.section-title {
    text-align: center;
}

.section-title {
    font-size: 42px;
    font-weight: 600;
    color: #000;
    margin-bottom: 80px;
}

#featureSection {
    background-image: url(../image/service-bg-1-12.png);
    background-size: 100% auto;          /* 宽度占满容器，高度按比例缩放 */
    background-position: center;
    background-repeat: repeat;           /* 高度超出时垂直重复 */
    width: 100%;                         /* 确保宽度占满父容器 */
    min-height: 100vh;                   /* 至少占满视口高度，或使用具体像素 */
    position: relative;
}

/* Feature List Styles */
.feature-list {
    display: flex;
    flex-direction: column;
    /* gap: 100px; */
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.feature-item {
    display: flex;
    align-items: stretch;
    /* gap: 60px; */
}

/* .feature-item:hover .feature-title,
.feature-item:hover .feature-desc p {
    color: #fff; 
} */

/* .feature-item:hover .feature-desc p::before {
    background: #fff;
} */

.feature-item:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-icon {
    flex: 0 0 50%;
    position: relative;
    /* border-radius: 20px; */
    overflow: hidden;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.feature-item:hover .feature-icon img {
    transform: scale(1.05);
}

.feature-content {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
    background-color: #ffffff;
    /* border-radius: 20px; */
    overflow: hidden;
}

/* 添加动画边框效果 */
.feature-content::before {
    content: '';
    position: absolute;
    /* width: 100%;
    height: 100%; */
    width: calc(100% - 80px);
    height: calc(100% - 80px);
    background: transparent;
    /* background: var(--main-color); */
    border: 2px solid var(--main-color);
    /* border-radius: 20px; */
    /* box-shadow: 0 0 15px rgba(255, 123, 20, 0.3); */
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 0;
}

/* 进入方向类 */
.feature-content.from-top::before {
    top: -100%;
    left: 0px;
}

.feature-content.from-right::before {
    top: 0px;
    left: 100%;
}

.feature-content.from-bottom::before {
    top: 100%;
    left: 0px;
}

.feature-content.from-left::before {
    top: 0px;
    left: -100%;
}

/* 离开方向类 */
.feature-content.to-top::before {
    top: -100% !important;
    left: 0px !important;
}

.feature-content.to-right::before {
    top: 0px !important;
    left: 100% !important;
}

.feature-content.to-bottom::before {
    top: 100% !important;
    left: 0px !important;
}

.feature-content.to-left::before {
    top: 0px !important;
    left: -100% !important;
}

/* hover 时的边框动画 */
.feature-content.from-top.active::before,
.feature-content.from-right.active::before,
.feature-content.from-bottom.active::before,
.feature-content.from-left.active::before {
    top: 40px;
    left: 40px;
    opacity: 1;
}

.feature-title {
    color: var(--main-color);
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    display: flex;
}

.feature-desc {
    color: #3f4245;
    position: relative;
    z-index: 1;
}

/* 内容文字的hover效果 */
.feature-item:hover .feature-desc p {
    transform: translateZ(0);
}

.feature-desc p {
    font-size: 16px;
    line-height: 28px;
    margin-bottom: 8px;
    position: relative;
    padding-left: 24px;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.feature-desc p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--main-color);
    opacity: 0.6;
}

.feature-desc p:last-child {
    margin-bottom: 0;
}

/* Dark Theme Items */
.feature-item.dark-theme .feature-icon {
    position: relative;
    /* border-radius: 20px 0 0 20px; */
}

.feature-item.dark-theme .feature-content,
.feature-item.dark-theme .feature-content::before {
    /* border-radius: 0 20px 20px 0; */
}

.feature-item.dark-theme .feature-icon img {
    opacity: 0.95;
}

/* Light Theme Items */
.feature-item.light-theme .feature-icon {
    background: #f8f8f8;
    /* border-radius: 0 20px 20px 0; */
}

.feature-item.light-theme .feature-content,
.feature-item.light-theme .feature-content::before {
    /* border-radius: 20px 0 0 20px; */
}

/* Responsive Design */
@media screen and (max-width: 1280px) {
    .feature-list {
        gap: 60px;
        padding: 0 30px;
    }

    /* .feature-item {
        gap: 40px;
    } */

    .feature-content {
        padding: 30px;
    }

    .feature-title {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .feature-item:hover .feature-content::before {
        width: calc(100% - 30px);
        height: calc(100% - 30px);
    }

    .section-title {
        font-size: 36px;
        margin-bottom: 60px;
    }

    #featureSection .star-icon {
        display: none;
    }

    #featureSection .feature-item .feature-content::before {
        /* width: calc(100% - 20px) !important;
        height: calc(100% - 20px) !important;
        left: 10px !important;
        top: 10px !important;
        opacity: 1 !important; */
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .feature-list {
        gap: 30px;
        padding: 0 20px;
    }

    .feature-item,
    .feature-item:nth-child(even) {
        flex-direction: column;
        /* gap: 30px; */
    }

    .feature-icon {
        flex: 0 0 auto;
        width: 100%;
        height: 300px;
    }

    .feature-content {
        padding: 25px 20px;
    }

    .feature-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .feature-desc p {
        font-size: 15px;
        line-height: 1.6;
    }

    .feature-item:hover .feature-content::before {
        width: calc(100% - 20px);
        height: calc(100% - 20px);
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
}

/* 给星星添加各自不同的动画效果 */

#featureSection .star-icon {
    position: fixed;
}

#featureSection .star-icon.star-icon-1 {
    top: 15%;
    left: 10%;
    animation: star-icon-1-animation 10s linear infinite;
}

#featureSection .star-icon.star-icon-2 {
    top: 30%;
    right: 10%;
    animation: star-icon-2-animation 10s linear infinite;
}

#featureSection .star-icon.star-icon-3 {
    bottom: 10%;
    left: 10%;
    animation: star-icon-3-animation 10s linear infinite;
}

#featureSection .star-icon.star-icon-4 {
    bottom: 10%;
    right: 10%;
    animation: star-icon-4-animation 10s linear infinite;
}

@keyframes star-icon-1-animation {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(30px, 0);
    }
    100% {
        transform: translate(0, 0);
    }
}

@keyframes star-icon-2-animation {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(0, 30px);
    }
    100% {
        transform: translate(0, 0);
    }
}

@keyframes star-icon-3-animation {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(0, 50px);
    }
    100% {
        transform: translate(0, 0);
    }
}

@keyframes star-icon-4-animation {
    0% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(0, 10px);
    }
    50% {
        transform: translate(0, 25px);
    }
    75% {
        transform: translate(0, 10px);
    }
    100% {
        transform: translate(0, 0);
    }
}

.item-icon-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--main-color);
    border-radius: 12px;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
    transform-origin: center center;
    margin-bottom: 12px;
}

.item-icon-wrapper svg {
    width: 46px;
    height: 46px;
}

.feature-item:hover .item-icon-wrapper {
    /* background-color: #333333; */
    /* 添加左右翻转 */
    transform: rotateY(180deg);
    box-shadow: 0 0 10px rgba(255, 123, 20, 0.4);
}

.feature-item .item-icon-wrapper svg path,
.feature-item:hover .item-icon-wrapper svg path {
    fill: #fff;
}

.item-starts {
    position: absolute;
    top: 30px;
    right: 30px;
    transition: all 0.3s ease-in-out;
}

.feature-item:hover .item-starts {
    top: 50px;
    right: 50px;
}



