.pc {
    display: block;
}

.mb {
    display: none !important;
}

.green-txt {
    color: var(--main-color);
}

#headerContainer {
    height: calc(100vh - 124px);
    position: relative;
    display: flex;
    align-items: center;
}

#headerContainer .slide-content {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#headerContainer .headerTContainer {
    width: fit-content;
    height: 256px;
}

#headerContainer .headerTContainer.pc {
    display: block;
}

#headerContainer .headerTContainer.mb {
    display: none;
}

#headerContainer .down-arrow {
    width: 30px;
    height: 30px;
    opacity: 1;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 60px;
    animation: bounce 2s ease-in-out infinite;
    z-index: 1;
    cursor: pointer;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
        /* 向上移动的距离 */
    }

    60% {
        transform: translateX(-50%)  translateY(-5px);
        /* 回弹时稍微向上 */
    }
}

.tu-weng {
    position: relative;
    display: flex;
    flex-direction: column;
    color: white;
    /* height: 100%; */
    justify-content: center;
}

.tu-weng .tu-q {
    opacity: 0;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 40px;
    color: #FFFFFF;
    line-height: 40px;
    padding-left: 76px;
    position: relative;
    margin-bottom: 26px;
    transition: all 0.6s;
    transition-delay: 0.05s;
}

.tu-weng .tu-q::before {
    opacity: 0;
    content: '';
    width: 64px;
    height: 3px;
    background-color: #ffffff;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.6s;
    transition-delay: 0.05s;
}

.tu-weng .tu-title {
    opacity: 0;
    /* margin-bottom: 16px; */
    position: relative;
    transition: all 0.6s;
    transition-delay: 0.1s;
    top: 30px;
    font-family: var(--font-family);
    font-weight: bold;
    font-size: 80px;
    color: #FFFFFF;
    line-height: 94px;
    padding-bottom: 30px;
    text-align: center;
}

.tu-weng .tu-detail {
    opacity: 0;
    position: relative;
    transition: all 0.6s;
    transition-delay: 0.2s;
    top: 30px;
    /* font-family: Microsoft YaHei, Microsoft YaHei; */
    font-weight: 400;
    font-size: 20px;
    color: #FFFFFF;
    line-height: 36px;
    text-align: center;
}

.tu-weng .tu-more {
    display: flex;
    justify-content: center;
    margin-top: 42px;
    position: relative;
    transition: all 0.6s;
    transition-delay: 0.3s;
    top: 30px;
    opacity: 0;
}

.tu-weng .tu-more .more-btn {
    font-weight: bold;
    font-size: 18px;
    color: var(--main-color);
    line-height: 21px;
    background-color: #ffffff;
    padding: 18px 41px;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.tu-weng .tu-more .more-btn a {
    color: var(--main-color);

}

.tu-weng .tu-more .more-btn:hover,
.tu-weng .tu-more .more-btn:hover a {
    color: #ffffff;
    background-color: var(--main-color);
}

.swiper-slide-active .tu-q,
.swiper-slide-active .tu-weng .tu-title,
.swiper-slide-active .tu-weng .tu-detail,
.swiper-slide-active .tu-weng .tu-more {
    top: 0px;
    opacity: 1;
}

.swiper-slide-active .tu-weng .tu-q::before {
    opacity: 1;
}

.arrow-icon {
    width: 18px;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: block;
}

.header-swiper {
    width: 100%;
    height: 100%;
    border-radius: 0 0 50px 50px;
}

.header-swiper .swiper-slide {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

 

.header-swiper .swiper-slide .op-bg {
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    position: absolute;
    top: 0;
    left: 0;
}

.header-swiper-section {
    position: relative;
    margin-top: 124px;
}




























.my-container {
    padding-top: 4px;
    /* overflow: hidden; */
}

.c-bg-1 {
    height: 847px;
    top: 0;
    left: 0;
    transform-origin: center center;
    animation: wave-left 8s ease-in-out infinite;
    will-change: transform;
}

.c-bg-2 {
    height: 709px;
    right: 111px;
    bottom: 0;
    transform-origin: center center;
    animation: wave-right 6s ease-in-out infinite;
    animation-delay: 1s;
    will-change: transform;
}

.c-bg-7 {
    height: 852px;
    top: 0;
    left: 0;
    transform-origin: center center;
    animation: wave-left 8s ease-in-out infinite;
    will-change: transform;
}

.c-bg-8 {
    height: 780px;
    right: 0;
    bottom: 0;
    transform-origin: center center;
    animation: wave-right 6s ease-in-out infinite;
    animation-delay: 1s;
    will-change: transform;
}

.header-container .left-wrapper .logo-img.big-logo {
    height: 42px;
}

.header-container .right-wrapper .search-wrapper .big-search-input {
    width: 130px;
    padding-right: 4px;
}

@keyframes bounce1 {

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

    25% {
        transform: translateY(-10px);
    }

    50% {
        transform: translateY(0);
    }

    75% {
        transform: translateY(-5px);
    }
}

.sub-title:hover .tit-icon,
.my-container-title:hover .tit-icon {
    transition: all 0.3s ease;
    animation: bounce1 0.8s ease-in-out;
    transform-origin: bottom center;
    will-change: transform;
}

.title-icon-3 {
    height: 84px;
    margin-right: 24px;
}

.title-icon.tit-icon-4 {
    left: 66%;
}

/* .my-section.blue-wave {
    background-image: url(/assets/image/blue-wave-bg.png);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
} */


/* 添加水波背景動畫關鍵幀 */
@keyframes wave-bg {
    0% {
        background-position: 0% 50%;
        transform: scale(1);
    }

    50% {
        background-position: 100% 50%;
        transform: scale(1.02);
    }

    100% {
        background-position: 0% 50%;
        transform: scale(1);
    }
}

/* 修改 blue-wave 的樣式 */
.my-section.blue-wave {
    padding-top: 160px;
    background-image: url(/assets/image/blue-wave-bg.png);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 120% 100%;
    /* 稍微放大背景尺寸 */
    position: relative;
    overflow: hidden;
    animation: wave-bg 20s ease-in-out infinite;
    transform-origin: center center;
    will-change: transform, background-position;
}


/* 輪播圖-start */
#headCarousel {
    display: block;
}

#headCarouselMb {
    display: none;
}

#headCarouselSection.carousel-section {
    position: relative;
    /* margin-top: 192px; */
}

#headCarouselSection .layui-carousel {
    width: 100% !important;
    /* height: calc(100vh - 192px) !important; */
    height: calc(100vh - 420px) !important;
}

#headCarouselSection .carousel-item {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #FFF9EF;
}

#headCarouselSection .carousel-item .background-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* #headCarouselSection .layui-carousel-ind {
    top: -100px;
} */

.layui-carousel-ind ul {
    position: absolute;
    top: 0;
    right: 24%;
    background-color: rgba(32, 32, 32, 0);
}

.layui-carousel-ind ul li {
    width: 21px;
    height: 21px;
    margin: 0 6px;
}

.layui-carousel-ind ul li {
    background-color: rgba(32, 32, 32, 0.2);
}

.layui-carousel-ind ul li.layui-this {
    background-color: rgba(32, 32, 32, 0.5);
}

/* 輪播圖-end */

/* 首页导航栏-start */
.index-nav-section.nav-section .nav-container {
    width: 1458px;
}

.index-nav-section.nav-section .nav-item .nav-icon {
    width: 30px;
    height: 30px;
}

.index-nav-section.nav-section .nav-item .nav-item-txt {
    font-size: 18px;
}

/* 首页导航栏-end */


/* 樂於學習-start */
.learn-section {
    padding-bottom: 160px;
}

.seamlesswrap {
    width: 100%;
    box-sizing: border-box;
    padding: 0 50px;
    margin-top: 50px;
}

.seamlesswrap img {
    width: 100%;
    display: block;
    border-radius: 20px;
}

.seamlesswrap .swiper-container-free-mode>.swiper-wrapper {
    -webkit-transition-timing-function: linear !important;
    -o-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
}

.seamlesswrap .swiper-container {
    margin: 20px 0;
}

/* 樂於學習-end */

/* 工作育人-start */
.sub-title {
    display: flex;
    align-items: center;
}

.sub-title .tit-icon-8 {
    width: 93px;
}

.sub-title img {
    margin-right: 16px;
    margin-right: 4px;
}

.sub-title .tit {
    font-family: PingFang HK-Semibold;
    color: #FFD000;
    font-size: 64px;
    font-weight: bold;
}

.detail-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.detail-line .left-wrapper {
    width: 50%;
    position: relative;
}

.detail-line .right-wrapper {
    width: 50%;
    position: relative;
}

.detail-line .img-wrapper {
    width: 90%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
}

/* 為圖片添加基礎樣式和過渡效果 */
.detail-line-img.pic-7,
.detail-line-img.pic-6 {
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    transform-origin: center center;
    /* 確保圖片容器有固定尺寸 */
    max-width: 100%;
    max-height: 100%;
    position: relative;
}

/* 懸停放大效果 */
.detail-line-img.pic-7:hover,
.detail-line-img.pic-6:hover {
    transform: scale(1.05);
    /* 適度放大 5% */
    filter: brightness(1.05);
    /* 略微提高亮度 */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    /* 添加陰影增加立體感 */
}

/* 點擊效果 */
.detail-line-img.pic-7:active,
.detail-line-img.pic-6:active {
    transform: scale(1);
    transition: all 0.1s ease;
}

.detail-line .bg-img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

/* 添加傾倒動畫關鍵幀 */
@keyframes tilt-left {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    25% {
        transform: translate(-50%, -50%) rotate(-2deg);
    }

    75% {
        transform: translate(-50%, -50%) rotate(2deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

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

    25% {
        transform: translate(-50%, -50%) rotate(2deg);
    }

    75% {
        transform: translate(-50%, -50%) rotate(-2deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

.preview-img {
    cursor: pointer;
}

.preview-img.map-pic-2 {
    border-radius: 20px 0 0 20px;
}

.preview-img.map-pic-4 {
    border-radius: 0 20px 20px 0;
}

.mb-36 {
    margin-bottom: 36px !important;
}

/* 關於我們部分 */
.about-section {
    padding: 100px 0;
    background-color: #F7F7F5;
    position: relative;
    overflow: hidden;
    margin-top: 124px;
    margin-bottom: 124px;
}

.about-section .bg-5 {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: auto;
    height: 100%;
}

.section-title {
    font-size: 38px;
    font-weight: 500;
    color: var(--sub-color);
    text-align: center;
    text-transform: uppercase;
}

.about-content {
    display: flex;
    justify-content: space-between;
}

.about-content .about-img {
    width: 100%;
}

.about-right {
    flex: 1;
    width: 40%;
    max-width: 40%;
    padding-left: 30px;
}

.about-subtitle {
    font-size: 42px;
    font-weight: 500;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.2;
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.about-left {
    flex: 1;
    width: 60%;
    display: flex;
    justify-content: space-between;
    /* gap: 40px; */
}

.specialization {
    display: flex;
    flex-wrap: wrap;
    width: 40%;
    gap: 40px;
    padding-left: 60px;
}

.specialization-title {
    font-family: 'montserratsemibold';
    font-size: 28px;
    font-weight: 500;
    color: #333;
    line-height: 1.2;
    min-width: 180px;
}

.specialization-title span {
    color: var(--main-color);
}

.specialization-items {
    display: flex;
    flex-flow: column;
    gap: 26px;
}

.specialization-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.icon-container {
    width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-container img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.specialization-item:hover .icon-container img {
    animation: flip 0.8s;
}

.specialization-item h4 {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    text-transform: uppercase;
}

.about-image {
    width: 60%;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    /* transition: transform 0.5s ease; */
}

/* .about-image:hover img {
    transform: scale(1.05);
} */

/* 最新項目部分 - 修改版 */
.latest-projects-section {
    padding: 100px 0 0 0;
    /* 移除底部内边距 */
    background-color: #fff;
}

.latest-projects-container {
    max-width: 100%;
    /* 修改为100%宽度 */
    margin: 0 auto;
    padding: 0;
    /* 移除内边距 */
}

.latest-projects-container .section-title {
    margin-bottom: 15px;
    position: relative;
    padding: 0 20px;
    /* 为标题添加内边距 */
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 修改为4列 */
    gap: 0;
    /* 移除间隙 */
}

.project-item {
    height: calc(100vh - 60px);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.project-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    color: #fff;
    transition: background-color 0.8s ease;
}

.project-tag {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    background-color: transparent;
    padding: 5px 0;
    border-radius: 0;
    align-self: flex-start;
    writing-mode: vertical-lr;
    /* 纵向排列文字 */
    transform-origin: left bottom;
    position: absolute;
    bottom: 40px;
    left: 50px;
    /* 改为左侧 */
    letter-spacing: 6px;
    overflow: hidden;
}

/* 为每个字符创建单独的元素，以便应用动画 */
.project-tag span {
    display: inline-block;
    transition: transform 0.4s ease, opacity 0.4s ease;
    transition-delay: calc(var(--char-index) * 0.05s);
    /* 根据字符索引设置延迟 */
}

/* 悬停效果 - 字符逐个向上抛出淡出 */
.project-item:hover .project-tag span {
    transform: translateY(-30px);
    /* 增加向上移动的距离 */
    opacity: 0;
}

/* 移除原有的项目标签悬停效果，避免冲突 */
.project-item:hover .project-tag {
    transform: none;
    opacity: 1;
}

/* 修改项目标题位置 */
.project-title {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 2px;
    align-self: flex-start;
    transition: transform 0.6s ease, opacity 0.6s ease;
    position: absolute;
    top: 40px;
    left: 50px;
}

.latest-projects-section .search-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 120px;
    height: 120px;
    background-color: rgba(44, 83, 64, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.latest-projects-section .search-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.latest-projects-section .search-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Hover 效果 */
.latest-projects-section .project-item:hover .project-image img {
    transform: scale(1.1);
}

.latest-projects-section .project-item:hover .project-overlay {
    background-color: rgba(0, 0, 0, 0);
}

.latest-projects-section .project-item:hover .project-tag {
    transform: none;
    opacity: 1;
}

.latest-projects-section .project-item:hover .project-title {
    transform: translateY(20px);
    opacity: 0;
}

.latest-projects-section .project-item:hover .search-btn {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* 响应式设计 */


/* 添加动画关键帧 */
@keyframes flip {
    0% {
        transform: rotateY(0);
    }

    50% {
        transform: rotateY(180deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

@keyframes tilt {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(1deg);
    }

    75% {
        transform: rotate(-1deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 0.035;
    }

    50% {
        opacity: 0.07;
    }
}


.about-section .pbmit-ihbox-style-9 .pbmit-ihbox-box {
    background-color: rgba(247, 247, 245, 0.8);
    z-index: 1;
}

.design-item {
    cursor: pointer;
}

.pbmit-heading-subheading.mb-20 {
    margin-bottom: 20px;
}
