.health-banner {
    background-image: url(/static/image/banner-6.webp);
    background-position: center bottom;

    &::before {
        background-color: rgba(19, 19, 19, 0.66);
    }
}

/* 計劃簡介 - start */
.plan-intro-section {
    background-color: #ffffff;
    padding: 120px 0;

    .my-container {
        width: 1920px;
    }

    .col-xl-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    .section-content {
        display: flex;
        align-items: stretch;
        justify-content: center;
        gap: 160px;

        .left-wrapper,
        .right-wrapper {
            width: 50%;
        }

        .left-wrapper {
            display: flex;
            align-items: center;
            justify-content: right;
        }

        .right-wrapper {
            display: flex;
            flex-flow: column;
            align-items: flex-start;
            justify-content: flex-start;

            .section-title {
                max-width: 500px;
                text-align: left;
            }

            .section-sub-title,
            > p {
                width: 100%;
                max-width: none;
                text-align: left;
                margin: 0;
                color: #4e5a70;
                font-size: clamp(15px, 1vw, 18px);
                line-height: 1.8;
                font-weight: 400;
                padding-bottom: 30px;
            }

            .section-detail {
                font-size: 18px;
                line-height: 28px;

            }
        }
    }

    .about-one__image {
        position: relative;
        z-index: 2;
        padding-left: 76px;
        padding-bottom: 76px;

        .about-one__image__one {
            position: relative;
            overflow: hidden;
            border-radius: 30px;
            z-index: 2;

            .about-1-img {
                width: 500px;
                height: auto;
                border-radius: 30px;
            }

            &:hover {
                img {
                    transform: scale(1.05);
                }
            }
        }

        .about-one__image__two {
            width: 280px;
            height: 324px;
            position: absolute;
            left: -42px;
            bottom: -40px;
            z-index: -1;
            border: 10px solid #fff;
            border-radius: 36px;
            overflow: hidden;
            z-index: 2;

            .about-2-img {
                width: 100%;
                height: 100%;
                border-radius: 16px;
                object-fit: cover;
            }

            &:hover {
                img {
                    transform: scale(1.05);
                }
            }
        }

        .about-one__image__shape-one {
            position: absolute;
            left: -180px;
            top: 60px;

            img {
                width: 500px;
                height: auto;
            }
        }

        .about-one__image__shape-two {
            position: absolute;
            right: -52px;
            bottom: 20px;
            z-index: -1;
            /* 旋转90度 */
            transform: rotate(-90deg);

            img {
                max-width: 100%;
                height: auto;
                animation: zoomsIn 3s linear 0s infinite;
            }
        }
    }
}

@keyframes movebounce3 {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes zoomsIn {

    100%,
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.96);
    }
}

/* 計劃簡介 - end */

/* 機構簡介 */
.about-section {
    padding: clamp(72px, 8vw, 110px) 0;
    background: #ffffff;

    .section-sub-title {
        max-width: 1200px;
    }
}

.about-intro__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.about-intro__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.about-intro__copy .section-tip,
.about-intro__copy .section-title,
.about-intro__text {
    text-align: center;
    width: 100%;
}

.about-intro__copy .section-title {
    max-width: none;
    padding-bottom: clamp(16px, 2vw, 24px);
}

.about-intro__text {
    max-width: 100%;
    margin: 0;
    padding-bottom: 0;
    color: #4e5a70;
    font-size: clamp(15px, 0.95vw, 17px);
    line-height: 1.85;
}

.about-intro__images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.about-intro__figure {
    margin: 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(1, 93, 178, 0.12);
}

.about-intro__figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.about-intro__figure:hover img {
    transform: scale(1.04);
}

.about-intro__img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 100%;
    background:
        linear-gradient(145deg, rgba(1, 93, 178, 0.08) 0%, rgba(255, 114, 0, 0.06) 100%),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 10px,
            rgba(1, 93, 178, 0.04) 10px,
            rgba(1, 93, 178, 0.04) 20px
        );
    border: 2px dashed rgba(1, 93, 178, 0.22);
    border-radius: inherit;
}

.about-intro__img-label {
    color: rgba(1, 93, 178, 0.45);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.about-intro__figure:has(> img) .about-intro__img-placeholder {
    display: none;
}

.about-intro__figure:has(> img) {
    background: linear-gradient(145deg, #e8f1fb 0%, #d4e5f7 100%);
}

/* CFSC 服務概況 */
.cfsc-services-section {
    position: relative;
    padding: clamp(72px, 8vw, 110px) 0;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 55%, #ffffff 100%);
    overflow: hidden;
}

.cfsc-services-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(1, 93, 178, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cfsc-services-section .my-container {
    position: relative;
    z-index: 2;
}

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

.cfsc-services-section .section-title {
    padding-bottom: clamp(14px, 1.8vw, 22px);
}

.cfsc-services-section .section-sub-title {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: clamp(36px, 4vw, 52px);
}

.cfsc-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 42px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cfsc-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 100%;
    padding: clamp(22px, 2vw, 28px) clamp(20px, 1.8vw, 26px) clamp(24px, 2.2vw, 30px);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(30, 42, 59, 0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;

    .server-img-box {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: -50px;
        right: 0;

        .server-img {
            width: 100%;
            height: auto;
            object-fit: contain;

            &.active {
                display: none;
            }
        }
    }

    &:hover {
        .server-img {
            &.def {
                display: none;
            }

            &.active {
                display: block;
            }
        }
    }
}

.cfsc-service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(1, 93, 178, 0.18);
    box-shadow: 0 16px 40px rgba(1, 93, 178, 0.12);
}

.cfsc-service-card:hover::before {
    opacity: 1;
}

.cfsc-service-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(56px, 4.5vw, 68px);
    height: clamp(56px, 4.5vw, 68px);
    margin-bottom: clamp(14px, 1.4vw, 18px);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(1, 93, 178, 0.1) 0%, rgba(255, 114, 0, 0.08) 100%);
    border: 1px dashed rgba(1, 93, 178, 0.22);
    flex-shrink: 0;
    transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}

.cfsc-service-card__icon::after {
    content: "";
    width: 28px;
    height: 28px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23015db2' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' opacity='0.45'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E") center / contain no-repeat;
}

.cfsc-service-card:hover .cfsc-service-card__icon {
    background: linear-gradient(135deg, rgba(1, 93, 178, 0.14) 0%, rgba(255, 114, 0, 0.12) 100%);
    border-color: rgba(1, 93, 178, 0.35);
    transform: scale(1.04);
}

.cfsc-service-card:nth-child(4n + 2) .cfsc-service-card__icon {
    background: linear-gradient(135deg, rgba(255, 114, 0, 0.1) 0%, rgba(1, 93, 178, 0.08) 100%);
}

.cfsc-service-card:nth-child(4n + 3) .cfsc-service-card__icon {
    background: linear-gradient(135deg, rgba(0, 117, 194, 0.1) 0%, rgba(255, 114, 0, 0.06) 100%);
}

.cfsc-service-card__title {
    font-size: 22px;
    margin: 0 0 10px;
    color: var(--deep-blue-color);
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.cfsc-service-card__desc {
    margin: 0;
    flex: 1;
    color: #5a6478;
    font-size: clamp(15px, 0.85vw, 15px);
    line-height: 1.7;
    font-weight: 400;
}

/* 關於PHC - start */
.feature-section {
    padding: 120px 0 150px 0;
    background-image: url(/static/image/design1.webp);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;

    &::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: #f5f5f5;
        opacity: 0.92;
        z-index: 0;
    }
}

.feature-section .section-tip {
    color: var(--orange-color);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.cards-wrapper {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
}

.cards-wrapper .feature-card:nth-child(-n+3) {
    grid-column: span 2;
}

.cards-wrapper .feature-card:nth-child(4),
.cards-wrapper .feature-card:nth-child(5) {
    grid-column: span 3;
}

.cards-wrapper .feature-card:nth-child(6) {
    grid-column: span 6;
}

.feature-card {
    background: #fff;
    border: 1px solid rgba(2, 33, 105, 0.1);
    border-radius: 14px;
    padding: 22px 20px 24px;
    box-shadow: 0 8px 24px rgba(2, 33, 105, 0.07);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: "";
    position: absolute;
    right: -24px;
    bottom: -24px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(235, 83, 16, 0.08);
    transform: scale(0.7);
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(235, 83, 16, 0.5);
    box-shadow: 0 18px 30px rgba(2, 33, 105, 0.15);
}

.feature-card:hover::after {
    opacity: 1;
    transform: scale(1);
}

.feature-card-top {
    margin-bottom: 16px;
}

.feature-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--main-color);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s ease, background 0.35s ease;
    position: relative;

    &::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 46px;
        height: 46px;
        border-radius: 50%;
        border: 1px dashed #ffffff;
        animation: 10s linear 0s infinite normal none running rotated;
    }
}

@keyframes rotated {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.feature-card:hover .feature-card-icon {
    transform: rotate(-8deg) scale(1.08);
    background: var(--orange-color);
}

.feature-card-title {
    margin: 0;
    color: var(--deep-blue-color);
    font-size: clamp(21px, 1.3vw, 25px);
    line-height: 1.35;
    font-weight: 700;
    min-height: 64px;
}

.feature-card-desc {
    margin: 12px 0 0;
    color: #667085;
    font-size: clamp(14px, 0.9vw, 17px);
    line-height: 1.75;
}

.feature-card-more {
    white-space: nowrap;
    display: inline-block;
    margin-top: 12px;
}

.feature-card-desc a,
.feature-card-more a {
    display: inline;
    color: var(--main-color);
    font-weight: bold;
    text-underline-offset: 2px;
    transition: color 0.25s ease;
    position: relative;
    margin-left: 6px;

    &::after {
        content: "";
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 100%;;
        height: 1px;
        background: var(--main-color);
        transition: width 0.25s ease;
    }

    &:hover::after {
        width: 100%;
        background: var(--orange-color);
    }
}

.feature-card-desc a:hover,
.feature-card-more a:hover {
    color: var(--orange-color);
}

.feature-card--jianshe .feature-card-title {
    min-height: auto;
}

.feature-card-detail {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(2, 33, 105, 0.08);
}

.feature-card-detail__title {
    margin: 0 0 8px;
    color: var(--deep-blue-color);
    font-size: clamp(14px, 0.85vw, 16px);
    font-weight: 700;
    line-height: 1.5;
}

.feature-card-detail__text {
    margin: 0;
    color: #667085;
    font-size: clamp(13px, 0.8vw, 15px);
    line-height: 1.75;
}

/* 關於PHC - end */

.contact-section {
    padding: 80px 0 180px 0;

    position: relative;

    &::before {
        content: "";
        position: absolute;
        left: 0;
        top: 10%;
        width: 100%;
        height: 80%;
        background-image: url(/static/image/map.png);
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
        opacity: 0.06;
    }

    &::after {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: rgba(245, 245, 245, 0.575);
    }

    .my-container {
        width: 1280px;
        padding: 0;

        .form-item-box {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
        }
    }
}

.contact-layout {
    display: flex;
    align-items: flex-start;
    gap: clamp(32px, 5vw, 64px);
}

.contact-intro {
    flex: 1 1 42%;
    max-width: 570px;
}

.contact-intro .section-tip {
    text-align: left;
}

.contact-title.section-title {
    text-align: left;
    padding-bottom: 16px;
}

.contact-lead {
    margin: 0 0 28px;
    color: #4e5a70;
    font-size: clamp(15px, 0.95vw, 17px);
    line-height: 1.8;
}

.contact-info-list {
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-item__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(1, 93, 178, 0.08);
}

.contact-info-item__icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.contact-info-item__label {
    display: block;
    margin-bottom: 4px;
    color: var(--orange-color);
    font-size: 15px;
    font-weight: 700;
}

.contact-info-item__value {
    margin: 0;
    color: var(--deep-blue-color);
    font-size: 16px;
    font-weight: 600;
}

.contact-info-item__value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info-item__value a:hover {
    color: var(--main-color);
}

.contact-social__label {
    display: block;
    margin-bottom: 12px;
    color: var(--deep-blue-color);
    font-size: 15px;
    font-weight: 700;
}

.contact-social__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-social__link {
    display: block;
    border-radius: 50%;
    display: flex;
    align-items: flex-end;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.contact-social__link:hover {
    transform: translateY(-2px);
    opacity: 0.88;
}

.contact-social__link img {
    display: block;
    width: 28px;
    height: 28px;

    &.in {
        width: 26px;
        height: 26px;
    }

    &.ins {
        width: 30px;
        height: 30px;
        margin-bottom: -2px;
    }

    &.youtube {
        width: 32px;
        height: 32px;
        margin-bottom: -4px;
    }
}

.contact-form-wrap {
    flex: 1 1 58%;
    min-width: 0;
}

.contact-form {
    padding: 56px 48px;
    border-radius: 16px;
    /* background: rgba(1, 93, 178, 0.08);
    box-shadow: 0 16px 48px rgba(1, 93, 178, 0.08); */
    background-color: var(--main-color);
    position: relative;

    .layui-input-block {
        margin-left: 0 !important;
    }

    &::before {
        content: "";
        position: absolute;
        right: -92px;
        top: -130px;
        width: 360px;
        height: 360px;
        border-radius: 360px;
        background: rgba(245, 245, 245, 0.2);
    }

    /* &::after {
        content: "";
        position: absolute;
        right: -150px;
        bottom: -150px;
        width: 400px;
        height: 400px;
        border-radius: 400px;
        background: rgba(245, 245, 245, 0.2);
    } */
}

.contact-form .layui-input {
    height: 58px;
}

.contact-form .layui-form-item {
    flex: 1;
    margin-bottom: 18px;

    .layui-textarea {
        padding: 12px;
    }
}

.contact-form .layui-input,
.contact-form .layui-textarea {
    font-size: 16px;
}

.contact-form .layui-form-label {
    width: 100px;
    font-size: 16px;
    padding: 9px 12px 9px 0;
    color: var(--deep-blue-color);
    font-weight: 600;
}

.contact-form .layui-input-block {
    margin-left: 116px;
}

.contact-form .layui-input,
.contact-form .layui-textarea,
.contact-form select {
    border-radius: 8px;
    border-color: none;
}

.contact-form .layui-input:focus,
.contact-form .layui-textarea:focus {
    border-color: var(--main-color) !important;
}

.contact-form .layui-textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form-actions {
    padding-top: 18px;
}

.contact-form-actions .layui-input-block {
    display: flex;
    justify-content: center;
    margin-left: 116px;
}

.contact-submit.layui-btn {
    width: 80%;
    height: 48px;
    line-height: 48px;
    padding: 0 48px;
    border: none;
    border-radius: 999px;
    background: var(--orange-color);
    font-size: 18px;
    font-weight: 700;
}

.contact-submit.layui-btn:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-social {
    display: flex;
    align-items: flex-end;
    gap: 12px;

    .contact-social__label {
        margin-bottom: 0;
    }
}

/* 我們的榮譽 */
.honor-section {
    padding-top: 60px;
    padding-bottom: 160px;
    position: relative;

    /* &::after {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        width: 100px;
        height: 300px;
        transform: rotate(-90deg);
        background: url(/static/image/about-vector-1.png);
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
    } */

    .my-container {
        width: 1280px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 20px;

        .section-title {
            padding-bottom: 36px;
        }

    }
}

.honor-grid {
    width: 100%;
    overflow: hidden;
}

.honor-grid__track {
    display: flex;
    width: 100%;
    justify-content: center;
}

.honor-grid__list {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-shrink: 0;
    margin-top: 24px;
}

.honor-grid__list img {
    display: block;
    height: 126px;
    width: auto;
    max-width: none;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.5s ease;
}

.honor-grid__list img:hover {
    transform: rotateY(360deg);
}

.honor-grid__list--clone {
    display: none;
}