/* ============================================
   Feature Section - 特性亮点模块
   ============================================ */

/* 图标点击状态 */
.FeatureIconClick {
    border-radius: 50%;
    padding: 15px;
    z-index: 5;
    background-color: rgb(249 250 254);
    cursor: pointer;
    margin: 0px 50px 0px 50px;
}

.FeatureIconClick img {
    width: 70px;
    height: 70px;
    scale: 1.5;
}

/* 图标容器 */
.FeatureIconBox {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 初始弧形排列：外高内低 + 左右扩散 */
.FeatureIconBox[data-index="0"],
.FeatureIconBox[data-index="5"] {
    transform: translateY(0) translateX(var(--offset-x, 0));
}

.FeatureIconBox[data-index="1"],
.FeatureIconBox[data-index="4"] {
    transform: translateY(20px) translateX(var(--offset-x, 0));
}

.FeatureIconBox[data-index="2"],
.FeatureIconBox[data-index="3"] {
    transform: translateY(40px) translateX(var(--offset-x, 0));
}

/* 滚动后恢复水平对齐 */
.FeatureIconBox.in-view {
    transform: translateY(0) translateX(0);
}

.FeatureIconBox:hover .FeatureIcon img {
    animation: wobble 1s ease;
}

@keyframes wobble {
    0%, 100% {
        transform: translateX(0);
    }
    15% {
        transform: translateX(-10px) rotate(-5deg);
    }
    30% {
        transform: translateX(8px) rotate(3deg);
    }
    45% {
        transform: translateX(-6px) rotate(-3deg);
    }
    60% {
        transform: translateX(4px) rotate(2deg);
    }
    75% {
        transform: translateX(-2px) rotate(-1deg);
    }
}

/* 图标样式 */
.FeatureIcon {
    border-radius: 50%;
    position: relative;
    z-index: 5;
    background-color: rgb(249 250 254);
    cursor: pointer;
    margin: 0px 30px;
    display: flex;
    justify-content: center;
    width: 70px;
    height: 70px;
}

.FeatureIcon::before {
    position: absolute;
    content: "";
    width: 75px;
    height: 75px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px dashed #A5E1EC;
    border-radius: 50%;
    animation: rotateme 20s linear infinite;
    pointer-events: none;
}

@keyframes rotateme {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.FeatureIcon img {
    border-radius: 50%;
}

.FeatureIcon .HaveClick {
    box-shadow: 0px 0px 20px rgb(177 185 201);
    padding: 10px;
    border: 2px solid #A5E1EC;
}

/* 图标标题 */
.FeatureTitle {
    text-align: center;
    margin-top: 25px;
}

.FeatureTitle h2 {
    font-size: 14px;
    color: rgb(187 187 187);
}

/* 轮播覆盖层 */
.FeatureSlideOverlay {
    text-align: left;
    position: absolute;
    width: 100%;
    z-index: 1;
}

.FeatureSlideOverlay .homeDetails {
    margin-right: 30px;
    background-color: #ced665;
    color: #000;
    font-size: 20px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 60px;
}

.FeatureSlideOverlay .homeDetails:hover {
    background-color: #337ab7;
    color: #ced665;
}

/* Feature 区域 */
.FeatureSection {
    min-height: 100%;
}

.FeatureContent {
    margin-top: 235px;
}

.Feature {
    background-color: #F4FCFE;
    padding: 0;
}

.Feature .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.FeatureBackground {
    background-image: url("/wp-content/themes/twentytwenty/images/FeatureBackground.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    padding: 5% 0px 5% 0px;
}

.FeatureContentBox {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 60%;
}

.FeatureBox {
    width: 65%;
}

.FeatureCenter {
    min-height: 100px;
    margin-top: 30px;
}

.swiper-slide {
    height: auto;
}

.swiper-button-next,
.swiper-button-prev {
    background-image: none;
}

.displaySpaceAround {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.lineBackground {
    position: relative;
    background-color: #A5E1EC;
    width: 100%;
    height: 2px;
    top: 87px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   响应式 - 平板端
   ============================================ */
@media only screen and (max-width: 1440px) {
    .FeatureBox {
        width: 60%;
    }

    .FeatureIconClick {
        margin: 0px 20px 0px 20px;
    }

    .FeatureIcon {
        margin: 0px 16px;
    }

    .swiper-pagination-custom {
        justify-content: space-around;
    }

    .FeatureContent {
        margin-top: 200px;
    }

    .lineBackground {
        top: 87px;
    }
}

/* ============================================
   响应式 - 手机端
   ============================================ */
@media only screen and (max-width: 768px) {
    .FeatureSlideOverlay .homeDetails {
        font-size: 15px;
        padding: 8px 30px;
    }

    .FeatureIconClick {
        margin: 0px 15px 0px 15px;
    }

    .FeatureIcon {
        margin: 0px 15px;
    }

    .FeatureIconClick img {
        width: 50px;
        height: 50px;
    }

    .FeatureIcon {
        width: 50px;
        height: 50px;
    }

    .FeatureIcon::before {
        width: 40px;
        height: 40px;
    }

    .lineBackground {
        top: 77px;
    }

    .swiper-pagination-custom {
        top: 85px;
    }

    .FixedWidthTwo {
        height: 128px;
    }

    .FeatureCenter {
        margin-top: 10px;
    }

    .FeatureTitle {
        margin-top: 15px;
        width: 65px;
    }

    .FeatureTitle h2 {
        font-size: 12px;
    }

    .FeatureCenter {
        min-height: 60px;
    }
}

@media only screen and (max-width: 600px) {
    .FeatureIconClick img {
        width: 35px;
        height: 35px;
    }

    .FeatureIcon .HaveClick {
        padding: 5px;
    }

    .FeatureIcon {
        width: 35px;
        height: 35px;
    }

    .lineBackground {
        top: 69px;
    }

    .swiper-pagination-custom {
        top: 33px;
        justify-content: center;
    }

    .FeatureContentBox {
        width: 100%;
    }

    .FeatureContent {
        margin-top: 80px;
    }

    .FixedWidth .text-center p {
        font-size: 1rem;
        padding: 0% 5%;
        min-height: 45px;
    }
}

@media only screen and (max-width: 480px) {
    .FeatureContent {
        margin-top: 80px;
    }

    .swiper-pagination-custom {
        top: 30px;
    }

    .lineBackground {
        top: 69px;
    }
}

@media only screen and (max-width: 400px) {
    .lineBackground {
        top: 69px;
    }

    .FeatureContent {
        margin-top: 75px;
    }

    .swiper-pagination-custom {
        top: 24px;
    }
}