#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    /* 使粒子背景出現在內容之下 */
    filter: blur(60px);
    backdrop-filter: blur(60px);
    -webkit-backdrop-filter: blur(60px);
}

body {
    background: #190b29;
}

.bg-mask {
    position: relative;
    background: url(../images/bg-mask.png);
    background-size: contain;
    padding: 100px 0px;
}

.bg-mask:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    z-index: 0;
    background: linear-gradient(to top, rgba(25, 13, 36, 0) 0%, rgb(25 13 36) 100%);
}

.footer {
    position: relative;
}

.footer:before {
    content: "";
    top: -199px;
    left: 0px;
    position: absolute;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, #150c1e00 0%, #100919 100%);
    z-index: 1;
    pointer-events: none;
}

.ids2-dec {
    position: absolute;
    left: 0px;
    top: -100px;
    z-index: -1;
    opacity: 0.9;
    width: 100%;
}

.ids3-dec {
    position: absolute;
    right: 0px;
    top: -100px;
    z-index: -1;
    opacity: 0.5;
}

.footer .footer-body {
    padding: 35px 0px 20px 0px;
}

@media(max-width: 991px) {
    .footer .footer-body {
        padding: 35px 0px 3px 0px;
    }
}

.ft-bot-item {
    position: relative;
    padding-left: 100px;
}

@media(max-width: 991px) {
    .ft-bot-item {
        padding-left: 100px;
    }
}

@media(min-width: 992px) {
    .ft-bot .ft-bot-item:nth-child(1) {
        padding-right: 25px;
    }
}

.ft-bot-item .ft-bot-title {
    position: absolute;
    top: 0px;
    left: 0px;
}

.ids1-c:hover a .word-item .ids1-c-a {
    /*color: #ffffff;*/
    /*filter: drop-shadow(0 0 5px #78e7ff87);*/
    /*text-shadow: 0px 0px 10px #78e7ff;*/
    -o-transition: all .6s ease;
    transition: all .6s ease;
    -moz-transition: all .6s ease;
    -webkit-transition: all .6s ease;
}

.ids1-c:hover .img-item img {
    transform: translate(-50%, -50%) scale(1.2);
    -o-transition: all 1.5s ease;
    transition: all 1.5s ease;
    -moz-transition: all 1.5s ease;
    -webkit-transition: all 1.5s ease;
}

.ids1-c:hover {
    box-shadow: 0 0 90px #78e7ff87;
    -o-transition: all .6s ease;
    transition: all .6s ease;
    -moz-transition: all .6s ease;
    -webkit-transition: all .6s ease;
}

.ids1-c:hover .word-item {
    background: linear-gradient(45deg, #000000dd, transparent);
    -o-transition: all .2s ease;
    transition: all .2s ease;
    -moz-transition: all .2s ease;
    -webkit-transition: all .2s ease;
}

.ids1-c:hover .word-item h4 {
    color: #64B1CB;
}

.ids1-c:hover .word-item p {
    color: #fff;
}

.footer-body .ft-text .ft-top a:hover {
    filter: drop-shadow(0 0 5px #78e7ff87);
    text-shadow: 0px 0px 10px #78e7ff;
}

.header .top-header .top-menu .collapse li.active a,
.header .top-header .top-menu .collapse li:hover a {
    color: #ffffff;
    filter: drop-shadow(0 0 5px #78e7ff);
    text-shadow: 0px 0px 10px #78e7ff;
}

.header .top-header .top-menu .collapse li.active a::before,
.header .top-header .top-menu .collapse li:hover a::before {
    background-color: transparent;
}

@media (max-width: 991px) {
    .header nav .nav {
        height: 100%;
    }
}

.text-focus-in {
    -webkit-animation: text-focus-in 1s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
    animation: text-focus-in 1s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
}

@-webkit-keyframes text-focus-in {
    0% {
        -webkit-filter: blur(12px);
        filter: blur(12px);
        opacity: 0;
    }

    100% {
        -webkit-filter: blur(0px);
        filter: blur(0px);
        opacity: 1;
    }
}

@keyframes text-focus-in {
    0% {
        -webkit-filter: blur(12px);
        filter: blur(12px);
        opacity: 0;
    }

    100% {
        -webkit-filter: blur(0px);
        filter: blur(0px);
        opacity: 1;
    }
}

.parallax_scroll {
    transition: transform 0.6s ease-out;
}

.ids1 {
    position: relative;
}

.ids1-dec {
    position: absolute;
    right: 30px;
    bottom: 240px;
    z-index: 0;
    opacity: 1;
}

.ids1-dec2 {
    position: absolute;
    left: 0px;
    top: 240px;
    z-index: 0;
    opacity: 1;
}

@media(min-width: 992px) {
    .footer-body img {
        max-width: 385px;
    }
}

.id-video {
    position: relative;
}

/*---------scroll down-----------*/
.scroll-me {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 100%;
    bottom: 10vh;
}

@media(max-width: 991px) {
    .scroll-me {
        bottom: 15vh;
    }
}

.scroll-me-container {
    position: relative;
    width: 24px;
    height: 24px;
    z-index: 2;
}

.chevron {
    position: absolute;
    width: 28px;
    height: 8px;
    opacity: 0;
    transform: scale3d(0.5, 0.5, 0.5);
    animation: move 3s ease-out infinite;
}

.chevron:first-child {
    animation: move 3s ease-out 1s infinite;
}

.chevron:nth-child(2) {
    animation: move 3s ease-out 2s infinite;
}

.chevron:before,
.chevron:after {
    content: ' ';
    position: absolute;
    top: 0;
    height: 100%;
    width: 51%;
    background: #fff;
}

.chevron:before {
    left: 0;
    transform: skew(0deg, 30deg);
}

.chevron:after {
    right: 0;
    width: 50%;
    transform: skew(0deg, -30deg);
}

@keyframes move {
    25% {
        opacity: 1;

    }

    33% {
        opacity: 1;
        transform: translateY(30px);
    }

    67% {
        opacity: 1;
        transform: translateY(40px);
    }

    100% {
        opacity: 0;
        transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
    }
}

.scroll-text {
    display: block;
    margin-top: 75px;
    margin-left: -30px;
    font-size: 12px;
    color: #fff;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: .25;
    animation: pulse 2s linear alternate infinite;
}

@keyframes pulse {
    to {
        opacity: 1;
    }
}

/*------- Back to Top Button CSS --------*/

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    width: 85px;
    height: 85px;
    font-size: 14px;
    outline: none;
    background-color: transparent;
    border-radius: 100%;
    /*border: 1px solid #ffffff30;*/
    border: 1px solid transparent;
    color: white;
    cursor: pointer;
    /*padding: 15px;*/
    opacity: 0;
    transition: opacity 0.5s, bottom 0.5s;
}

#backToTop.show:hover {
    background-color: transparent;
    border: 1px solid #ffffff;
    -o-transition: all .6s ease;
    transition: all .6s ease;
    -moz-transition: all .6s ease;
    -webkit-transition: all .6s ease;
    filter: drop-shadow(2px 2px 3px #78e7ff);
    opacity: 1;
}

/* 隱藏按鈕的初始狀態 */
#backToTop.hidden {
    opacity: 0;
    bottom: 10px;
}

/* 顯示按鈕 */
#backToTop.show {
    opacity: 0.5;
    bottom: 70px;
}

/*.top-btn{
  opacity: .25;
  animation: pulse 2s linear alternate infinite;
}
*/
/*#backToTop:hover .top-btn{
  opacity: 1;
}*/

/*------------------------------------------------*/

@media(max-width: 991px) {
    .footer-body .ft-top a {
        display: none;
    }
}

.footer-body .ft-text .ft-bot p i {
    width: 20px;
    text-align: center;
}

@media(max-width: 991px) {
    .footer-body .ft-text .ft-bot p i {
        width: 13px;
    }
}

/*-----------------------------*/

.id-video iframe {
    width: 100%;
    position: relative;
    vertical-align: top;
}

.video-c iframe {
    width: 100vw;
    height: 100vw;
    -o-object-fit: cover;
    object-fit: cover;
    position: absolute;
    background-repeat: no-repeat;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

@media(max-width: 991px) {
    .video-c iframe {
        width: calc(100vh* 16 / 9);
        height: 100vh;
    }
}

.video-c {
    width: 100%;
}

/*-----------------------------*/

.ab1 {
    background-size: cover;
}

@media (max-width: 768px) {
    .ab1 {
        background-size: 333% 100vw;
        background-position: center bottom;
        min-height: 100vh;
    }
}

.main_kv-img {
    position: relative;
    background-attachment: fixed;
}

/* .main_kv-img:before {
    content: "";
    bottom: -1px;
    left: 0px;
    position: absolute;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, #150c1e00 0%, #180b28 100%);
    z-index: 1;
}

.main_kv-img:after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    min-height: 100%;
    background-image: url(../images/work-banner-dec.png);
    z-index: 0;
    background-size: cover;
    background-position: center;
} */

@media (max-width: 991px) {
    .main_kv .main_kv-img {
        min-height: 100vmin;
    }

    .main_kv-img:before {
        height: 50vmin;
    }

    .main_kv-img:after {
        background-position: left;
    }
}

@media (max-width: 767px) {
    .main_kv .main_kv-img {
        min-height: 100vmin;
    }

    .ab1 {
        padding: 0px 0 0px;
    }
}

.ab1 h3,
.ab1 h5 span {
    position: relative;
    font-weight: 600;
}

.ab1 h5 span {
    background: initial;
}

.ab1 h5 span:after {
    content: "";
    height: 0.5em;
    width: -webkit-fill-available;
    left: -2%;
    bottom: 0px;
    position: absolute;
    background-color: var(--kvimg);
    opacity: 0.5;
    transform: skew(-30deg);
    z-index: -1;
}

.ab1 p,
.ab2 p {
    line-height: 2;
}

.pc-right {
    width: fit-content;
}

@media(min-width: 992px) {
    .pc-right {
        display: flex;
        justify-content: flex-end;
    }
}

@media(max-width: 991px) {
    .pc-right p {
        font-size: 14px;
    }
}

@media(max-width: 768px) {
    .pc-right p {
        margin-top: 30px;
    }
}

.ab1-title p {
    font-weight: 500;
}

@media(max-width: 768px) {
    .ab1-title {
        text-align: center;
    }
}

.ab2 p {
    font-size: 16px;
}

.ab2 .ab2-item-txt p {
    color: #ccc;
}

.ab2-title h3,
.ab3-title h3,
.ab4-title h3 {
    margin-bottom: 40px;
    font-size: 48px;
    color: #fff;
    font-weight: 900;
    -webkit-filter: drop-shadow(0px 0px 20px #000000);
}

.ab2-title h3 span,
.ab3-title h3 span,
.ab4-title h3 span {
    display: block;
    padding-top: 25px;
    font-size: 20px;
    color: #fff;
    font-weight: 700;
}

.c_bg1:before,
.c_bg1:after,
.c_bg2:before {
    opacity: 0;
}



.ab3-item {
    padding: 15px;
}

.ab3-img {
    background: #10091980;
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.ab3-img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    position: absolute;
    background-repeat: no-repeat;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%) scale(0.75);
    -ms-transform: translate(-50%, -50%) scale(0.75);
    transform: translate(-50%, -50%) scale(0.75);
}

.ab4 {
    overflow: visible;
}

.ab4-list1,
.ab4-list2,
.ab4-list3 {
    font-family: 'Poppins', 'Noto Sans TC', '微軟正黑體' !important;
}

.ab2-item-txt {
    padding: 30px;
}

.ab2-item-txt h5 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 1em;
    font-weight: 700;
    line-height: 1.8;
}

/*--------------------------------------------------------------------*/

.work_detail {
    padding: 45px 0 80px 0;
}

@media (max-width: 767px) {
    .work_detail {
        padding: 35px 0 80px 0;
    }
}

.work_detail p {
    font-size: 14px;
    line-height: 1.8;
    text-align: justify;
}

.work_detail2-txt ul li::before {
    width: 8px;
    height: 8px;
    top: 6px;
}

.work_detail2-txt ul li {
    font-size: 14px;
    padding-left: 20px;
}

.work-des-tag {
    border: 1px solid #3c3049;
    background: #100919;
    padding: 10px 20px;
    border-radius: 10px;
}

.work_detail-icon {
    position: relative;
    left: -5px;
}

.work_detail-icon ul {
    flex-wrap: wrap;
}

.work_detail-icon ul li {
    padding: 5px 5px 5px 5px;
}

@media(max-width: 991px) {
    .work_detail-icon ul li {
        padding: 5px 5px 5px 5px;
    }
}

.work-link i {
    color: #fff;
    font-size: 20px;
    width: 42px;
    height: 42px;
    border: 1px solid #666;
    background: #100919;
    border-radius: 100%;
    text-align: center;
    line-height: 42px;
}

.work-link:hover i {
    color: #2F85C6;
    border: 1px solid #ffffff;
    background: #ffffff;
    -o-transition: all .6s ease;
    transition: all .6s ease;
    -moz-transition: all .6s ease;
    -webkit-transition: all .6s ease;
}


.work_detail2-txt {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
}

.work_detail3 {
    padding-top: 75px;
}

.work_detail4 {
    padding-top: 100px;
    margin-bottom: 200px;
}

.main_kv.main_kv_style .main_kv-txt ul:before {
    background: #ffffffaa;
}

/*------------------------------------------*/

/* 手機框樣式 */
.phone-frame {
    position: relative;
    width: 300px;
    /* 設定手機框的寬度 */
    height: 607px;
    /* 設定手機框的高度 */
    background-image: url(../images/phone-frame.png);
    /* 手機框的圖片路徑 */
    background-size: cover;
    /* 確保手機框圖片覆蓋整個容器 */
    overflow: hidden;
    /* 隱藏超出手機框的內容 */
    margin: auto;
}

/* 手機屏幕內的滾動區域 */
.phone-screen {
    position: absolute;
    top: 20px;
    /* 調整位置使其與手機框對齊 */
    left: 20px;
    width: 260px;
    /* 調整寬度以適應手機框內部 */
    height: 570px;
    /* 調整高度以適應手機框內部 */
    overflow-y: scroll;
    /* 垂直滾動 */
    border-radius: 20px;
    /* 添加圓角效果 */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    /* 添加陰影效果 */
    background-color: white;
    /* 設置背景色 */
}

/* 內部的網頁內容 */
.webpage-content {
    width: 100%;
    height: auto;
    /* 設置自適應高度 */
}

/* 設計稿圖片 */
.design-image {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .phone-frame {
        width: 200px;
        height: 406px;
        margin-bottom: 60px;
    }

    .phone-screen {
        width: 180px;
        height: 384px;
        top: 10px;
        left: 10px;
    }
}

/* 隱藏滾動條（WebKit瀏覽器，如Chrome和Safari） */
.phone-screen::-webkit-scrollbar {
    display: none;
    /* 隱藏滾動條 */
}

/* 通用隱藏滾動條方法 */
.phone-screen {
    -ms-overflow-style: none;
    /* 針對IE和Edge瀏覽器 */
    scrollbar-width: none;
    /* 針對Firefox瀏覽器 */
}


/*-----------------------------------------------------*/

.work-title {
    line-height: 1.8;
}

.ab2 .col-md-6 {
    padding-right: 30px;
    padding-left: 30px;
}

@media (max-width: 991px) {
    .ab2 .col-md-6 {
        padding-right: 15px;
        padding-left: 15px;
    }
}

.service2-title h3 {
    margin-bottom: 40px;
    font-size: 48px;
    color: #fff;
    font-weight: 900;
    -webkit-filter: drop-shadow(0px 0px 20px #000000);
}

.service2-title h3 span {
    display: block;
    padding-top: 25px;
    font-size: 20px;
    color: #fff;
    font-weight: 700;
}

.service2-title p {
    line-height: 2;
}

.service2-item h3 {
    font-weight: 600;
}

.service2 {
    background: transparent;
    padding: 91px 0 45px;
}

.service .mt {
    margin-top: 0%;
}

.service {
    background: transparent;
    position: relative;
}

.service-title {
    position: absolute;
    width: 100vw;
    top: 20px;
}

@media(max-width: 991px) {
    .service-title {
        position: relative;
    }
}

.service-title h3 span span {
    font-weight: 600;
}

@media (max-width: 767px) {
    .service-title p {
        font-size: 16px;
        line-height: 2;
    }
}

@media (max-width: 768px) {
    .service2-title p {
        font-size: 14px;
    }

    .ab2 p {
        font-size: 14px;
    }

    .ab2-item-txt {
        padding: 15px;
        text-align: justify;
    }

    .ab2-item-txt h5 {
        margin-bottom: 8px;
    }

    .service2-item p {
        font-size: 14px;
    }

    .work-title {
        font-size: 16px;
        text-align: center;
        margin-bottom: 50px;
    }

    .ids1-c .word-item {
        padding: 20px 15px;
    }
}

@media (max-width: 767px) {
    .ab4-body {
        padding: 15px 0;
    }

    .ab4 [class*=ab4-list1] {
        font-size: 18px;
        font-weight: 600;
    }

    .ab4 [class*=ab4-list2] {
        font-size: 16px;
    }

    .ab4 [class*=ab4-list3] {
        font-size: 14px;
        color: #ccc;
        line-height: 1.8;
    }
}

/*---------------------------------------------*/

.control-label i {
    font-size: 20px;
    color: #ccc;
}

.contactus_box-cont {
    border-radius: 15px;
}

.contactus_box-txt form {
    line-height: 2;
}

.contactus_box-cont {
    padding: 40px 0px;
}

@media(min-width: 992px) {
    .contactus_box-cont {
        padding: 40px 60px;
    }
}

.text-grayCCC {
    color: #cccccc;
}

.contactus_box-title h3 {
    font-size: 48px;
    color: #fff;
    font-weight: 900;
    -webkit-filter: drop-shadow(0px 0px 20px #000000);
}

.contactus_box-title h5 {
    display: block;
    padding-top: 10px;
    font-size: 20px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 40px;
}

.newcode {
    max-width: 150px;
}

.contactus_box-btn.btn:hover {
    color: #1779B0;
    background: #ffffff;
    -o-transition: all .6s ease;
    transition: all .6s ease;
    -moz-transition: all .6s ease;
    -webkit-transition: all .6s ease;
    filter: drop-shadow(0px 0px 20px #78e7ff);
}

input.form-control::placeholder,
textarea.form-control::placeholder {
    color: #bbb;
}