* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none !important;
}

#main {
    overflow-x: hidden;
}

.index-page {
    padding-top: 0;
}

li {
    list-style: none;
}

input,
button,
textarea {
    outline: none;
    border: none;
}

.header-fixed {
    position: fixed !important;
    top: 0;
    left: 0;
    z-index: 99999;
    width: 100%;
    transition: all 0.5s linear;
    background-color: #fff !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.banner {
    position: relative;
}

.banner .swiper-slide img {
    width: 100%;
}

.banner-video-wrap {
    position: relative;
    width: 100%;
    min-height: 50vh;
    overflow: hidden;
}

@media screen and (min-width: 992px) {
    .banner-video-wrap {
        height: 100vh;
        min-height: 100vh;
    }
}

.banner-video-wrap .banner-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.banner-video-wrap iframe.banner-video-yt {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.78vh;
    transform: translate(-50%, -50%);
}

.banner-video-wrap .banner-video-yt-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: auto;
}

.banner-video-wrap .banner-content {
    z-index: 2;
}

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    color: #000;
    z-index: 9999;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

#header .logo {
    width: 190px;
}

#header .container {
    height: 86px;
}

#header .header-inner {
    justify-content: flex-start;
    gap: 0;
}

#header .header-logo {
    margin-right: 2rem;
}

#header .header-nav {
    flex: 0 0 auto;
    margin-right: 2rem;
}

#header .header-nav .wrap-nav-list {
    justify-content: flex-start;
}

#header .header-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    margin-left: auto;
    margin-right: 1.5rem;
    background-color: #fff;
    border: 2px solid #FFC23A;
    color: #FFC23A;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    white-space: nowrap;
}

#header .header-contact-btn:hover {
    background-color: #FFC23A;
    color: #fff;
}

#header nav a {
    font-size: 17px;
    color: #5f6366;
    margin-left: 40px;
}

#header nav a:hover {
    color: #1F6DBD;
}

.dropdown {
    position: relative;
    display: inline-block;
    margin-right: 48px;
}

#header .dropdown .dropbtn {
    background-color: transparent;
    font-size: 17px;
    color: #000;
}

#header .header-lang-wrap .dropbtn-globe {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border: none;
    cursor: pointer;
    background: transparent;
}

#header .header-lang-wrap .dropbtn-globe .icon-globe {
    color: #5f6366;
}

#header .header-lang-wrap .dropbtn-globe:hover .icon-globe {
    color: #1F6DBD;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 80px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 100;
    margin-top: 8px;
}

.dropdown-content a {
    color: black;
    padding: 6px 16px;
    text-decoration: none;
    display: block;
    height: 40px;
}

.dropdown-content a:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
}

.dropdown:hover .dropdown-content {
    display: block;
}

#header .header-button {
    margin-left: 0;
}

.link-btn {
    border-radius: 12px;
    border: 2px solid #1F6DBD;
    padding: 0 12px;
    font-size: 17px;
    color: #1F6DBD;
    height: 27px;
    line-height: 23px;
    margin-left: 15px;
}

.banner hr {
    position: absolute;
    top: 86px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #b5b5b5;
    z-index: 1;
    margin: 0;
    opacity: 1;
    border-top: none;
}

.pagination-wrap {
    position: relative;
}

.pagination-wrap .swiper-pagination {
    text-align: left;
    bottom: 50px !important;
}

.pagination-wrap .swiper-pagination-bullet {
    width: 65px;
    height: 6px;
    border-radius: 0;
    background-color: #fff;
    opacity: 1;
}

.pagination-wrap .swiper-pagination-bullet-active {
    background-color: rgba(41, 81, 151, 1);
}

.banner-content {
    position: absolute;
    bottom: 120px;
    left: 0;
    z-index: 1;
    width: 100%;
    color: #fff;
    padding: 70px 0;
}

.banner-content::before {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 80%;
    height: 100%;
    background: linear-gradient(86deg, #010911 0%, rgba(31, 109, 189, 0) 100%);
    z-index: -1;
}

.banner-content h1 {
    font-size: 26px;
    color: #1F6DBD;
    line-height: 20px;
    font-weight: 400;
}

.banner-content p {
    font-weight: 400;
    font-size: 59px;
    margin: 0;
}

.banner-content a {
    color: #fff;
    display: block;
    width: 195px;
    height: 44px;
    background-image: url(/assets/images/react.png);
    background-size: 100% auto;
    text-align: center;
    line-height: 44px;
    margin-top: 10px;
}

.banner-content a:hover {
    color: #1F6DBD;
}

.abouts {
    padding-top: 80px;
}

.about-item {
    margin-bottom: 48px;
    position: relative;
}

.about-item:hover .about-img {
    transform: scale(1.1);
    cursor: pointer;
}

.about-img {
    width: 116px;
    height: 116px;
    background: #00AAA1;
    border-radius: 50%;
    transition: all 1s;
}

.about-img img {
    width: 73px;
}

.about-item .item-title {
    font-family: 400;
    font-size: 20px;
    color: #00AAA1;
    line-height: 40px;
}

.about-item p {
    width: 300px;
    font-weight: bold;
    font-size: 16px;
    color: #808080;
    line-height: 20px;
    text-align: center;
}

.about-item:nth-child(2) .about-img img {
    width: 49px;
}

.about-item:nth-child(3) .about-img img {
    width: 68px;
}

.about-item:nth-child(4) .about-img img {
    width: 64px;
}

.about-item:nth-child(5) .about-img img {
    width: 73px;
}

.about-item:nth-child(6) .about-img img {
    width: 62px;
}

.about-item::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 200px;
    background: #DCDCDC;
}

.about-item:nth-child(3n)::after {
    background: #fff;
}

.services {
    padding: 48px 0 130px 0;
    background: #F3F3F3;
}

.service-img {
    width: 60px;
}

.services h1 {
    font-size: 34px;
    color: #295197;
    text-align: center;
    margin-top: 10px;
}

.services p {
    font-size: 18px;
    color: #666666;
    line-height: 36px;
    text-align: center;
    margin-top: -10px;
}

.services-swiper {
    margin-top: 128px;
}

.services-swiper .swiper-slide {
    background: #FFFFFF;
    height: 520px;
    position: relative;
}

.services-swiper .swiper-slide:nth-child(1) img {
    width: 221px;
}

.services-swiper .swiper-slide:nth-child(2) img {
    width: 340px;
    max-width: 100%;
}

.services-swiper .swiper-slide:nth-child(3) img {
    width: 274px;
}

.services-swiper .swiper-slide:nth-child(4) img {
    width: 221px;
}

.services-swiper .swiper-slide img {
    transition: all 1s;
}

.services-swiper .swiper-slide img:hover {
    transform: scale(1.1);
}

.services-swiper .swiper-slide h1 {
    font-weight: 400;
    font-size: 17px;
    color: #333333;
    position: absolute;
    bottom: 80px;
}

.services-swiper .swiper-slide h1:hover {
    color: #1F6DBD;
}

.services-container {
    padding: 0 60px;
}

.swiper-change {
    position: relative;
}

.services-container .swiper-button-next {
    position: absolute;
    right: 0px;
    top: 50px;
    z-index: 999;
    width: 46px;
    height: 46px;
    background: #295197;
    border-radius: 50%;
}

.swiper-button-disabled {
    background: #D3D3D3 !important;
}

.services-container .swiper-button-next img,
.services-container .swiper-button-prev img {
    width: 17px;
}

.services-container .swiper-button-prev img {
    transform: rotate(180deg);
}

.services-container .swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after,
.services-container .swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
    display: none;
}

.services-container .swiper-button-prev {
    position: absolute;
    right: 68px;
    top: 50px;
    z-index: 999;
    left: inherit;
    width: 46px;
    height: 46px;
    background: #295197;
    border-radius: 50%;
}

.products {
    padding-bottom: 36px;
    background: #F3F3F3;
}

/* 首頁產品圖卡：1:1 比例，黃底白字標題疊在右下 */
.product-card-list {
    margin-top: 1rem;
}

.product-card-col {
    margin-bottom: 1.5rem;
}

.product-card {
    display: block;
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

.product-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.product-card__img-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12%;
    box-sizing: border-box;
}

.product-card__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card__title {
    position: absolute;
    bottom: 20%;
    right: 5%;
    max-width: 85%;
    padding: 10px 14px;
    background: #FFC107;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-align: right;
}

@media (min-width: 768px) {
    .product-card__title {
        font-size: 15px;
        padding: 12px 16px;
    }
}

.products .title {
    position: relative;
    font-weight: 500;
    font-size: 59px;
    color: #295197;
}

.products .title::after {
    content: "";
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 366px;
    height: 3px;
    background: RGBA(41, 81, 151, 1);
}

.products-item {
    padding-top: 6vmax;
}

.products-one .products-one-content {
    position: relative;
}

.products-one .img2 {
    width: 407px;
}

/* .products-info {
    margin-top: 150px;
} */

.products-info .name {
    font-size: 55px;
    color: #295197;
    text-align: center;
    font-weight: 500;
}

.products-info .info-item {
    margin-top: 50px;
}

.products-info .info-item .item-title {
    font-weight: 400;
    font-size: 24px;
    color: #295197;
    line-height: 36px;
}

.products-info .info-item span {
    font-size: 22px;
    color: #666666;
    line-height: 26px;
    width: 300px;
    text-align: center;
}

.products-info .info-item:nth-of-type(3n) span {
    width: 889px;
    line-height: 34px;
}

.products-two {
    padding-top: 191px;
}

.products-two-content {
    position: relative;
}

.products-two .img2 {
    width: 407px;
}

.product-hero-slider {
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.product-hero-slider .swiperPro2 {
    position: relative;
}

.product-hero-slider .swiperPro2 .img-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

.product-hero-label {
    position: absolute;
    top: 50px;
    left: 0;
    background: #FFC23A;
    color: #fff;
    padding: 14px 22px;
    font-weight: 600;
    line-height: 1.4;
    max-width: 70%;
    z-index: 2;
}

.product-hero-name {
    font-size: 20px;
}

.product-hero-model {
    font-size: 16px;
}

.product-hero-thumbs {
    padding: 0 8vw 0;
}

.product-hero-thumbs .swiper-slide {
    width: 16.6667% !important;
}

.product-hero-thumbs .swiper-slide .img-wrap {
    width: 100%;
    padding-bottom: 75%;
    background-size: cover;
    background-position: center;
    border: 2px solid transparent;
}

.product-hero-thumbs .swiper-slide-thumb-active .img-wrap {
    border-color: #FFC23A;
}

@media (min-width: 992px) {
    .product-hero-name {
        font-size: 24px;
    }
    .product-hero-model {
        font-size: 18px;
    }
}

.solutions-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 2rem;
}

.solution-item {
    flex: 0 0 50%;
    max-width: 50%;
    text-align: center;
}

.solution-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.solution-title {
    margin-top: 8px;
    font-size: 16px;
    color: #5f6366;
}

.solution-item:hover .solution-title {
    color: #FFC23A;
}

.solution-item:hover img {
    filter: brightness(1.1) sepia(1.0) hue-rotate(350deg) saturate(1.4);
}

@media (min-width: 992px) {
    .solution-item {
        flex: 0 0 17%;
        max-width: 17%;
    }
}

.message-link {
    padding: 67px 0px 55px 0;
}

.message-link>a {
    border-radius: 7px;
    border: 2px solid #295197;
    font-size: 22px;
    color: #295197;
    font-weight: 500;
    padding: 14px 41px 12px 39px;
}

.message-link>a:hover {
    background-color: #1F6DBD;
    color: #fff;
}

footer {
    background: #036470;
    color: #fff;
    padding: 70px 0 50px 0;
}

footer .footer-content {
    padding: 0 60px;
}

.foot-logo {
    width: 260px;
    margin-top: -10px;
    margin-left: -10px;
}

.footer-social {
    gap: 8px;
    justify-content: flex-start;
    margin-left: 30px;
}

.footer-social .footer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-social .footer-social-btn img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.footer-social .footer-social-btn:hover img {
    filter: brightness(1.2) sepia(0.4) hue-rotate(350deg) saturate(1.8);
}

.foot-menu {
    position: relative;
    font-size: 23px;
    color: #FFFFFF;
    line-height: 36px;
}



.info-list {
    padding-top: 40px;
}

.info-item {
    margin-bottom: 16px;
}

.info-item .icon1 {
    width: 22px;
    height: 20px;
}

.info-item .icon2 {
    width: 23px;
    height: 23px;
}

.info-item .icon3 {
    width: 23px;
    height: 17px;
}

.info-item .icon4 {
    width: 23px;
    height: 23px;
}

.info-item span {
    font-size: 16px;
}

footer .info-item span:hover {
    color: #FFC23A;
    cursor: pointer;
}

footer .contact .info-item {
    position: relative;
}

footer .contact .info-item span::before {
    /* content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -15px;
    width: 1px;
    height: 21px;
    background: #FFFFFF; */
}

footer .contact .info-item span {
    position: relative;
    margin-left: 30px;
}

footer .menu {
    height: 280px;
}

.navbar {
    background-color: #fff !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.navbar .navbar-nav .nav-link {
    color: #000 !important;
}

.mobile-logo {
    width: 150px;
}

.navbar-toggler {
    color: #000 !important;
    border-color: #000 !important;
}

@media screen and (max-width: 576px) {
    .pagination-wrap .swiper-pagination {
        text-align: left;
        bottom: 10px !important;
    }
    .services-container {
        padding: 0 20px;
    }
    .services h1 {
        font-size: 22px;
    }
    .services p {
        font-size: 14px;
    }
    .services {
        padding: 48px 0 60px 0;
    }
    .products .title {
        font-size: 28px;
    }
    .products .title::after {
        width: 256px;
    }
    .products-one .products-one-content {
        flex-direction: column;
        justify-content: center !important;
    }
    .products {
        padding: 20px;
    }
    .products-one {
        padding-top: 60px;
    }
    .products-one-list,
    .products-two-list {
        position: relative;
        right: inherit;
        bottom: inherit;
        align-items: center;
    }
    .products-info .name {
        font-size: 28px;
    }
    .products-info .info-item:nth-of-type(3n) span {
        width: 100%;
    }
    .products-two {
        padding-top: 60px;
    }
    .products-info {
        margin-top: 80px;
    }
    .products-two-content {
        flex-direction: column;
    }
    .message-link>a {
        font-size: 18px;
        padding: 8px 20px 6px 20px;
    }
    .footer-content .col-lg-4 {
        margin-bottom: 20px;
    }
    .products-one .img2,
    .products-two .img2 {
        width: 100%;
    }
    footer .footer-content {
        padding: 0 20px;
    }
}

@media screen and (min-width:577px) and (max-width:820px) {
    .about-item {
        width: 50% !important;
    }
    .about-item:nth-child(3n)::after {
        background: #DCDCDC;
    }
    .about-item:nth-child(2n)::after {
        background: #fff;
    }
    .services-swiper .swiper-slide:nth-child(2) img {
        width: 300px;
    }
    .products-one-list {
        right: 400px;
        bottom: -100px;
    }
    .products-one {
        height: 1600px;
    }
    .products-info .info-item:nth-of-type(3n) span {
        width: 100%;
    }
    .products-two .img2 {
        width: 300px;
        right: 400px;
    }
    .products-two-list {
        right: 50px;
    }
    .footer-content .col-lg-4:nth-child(1) {
        width: 100% !important;
    }
    .footer-content .col-lg-4:nth-child(2),
    .footer-content .col-lg-4:nth-child(3) {
        width: 50% !important;
        margin-top: 40px;
    }
}

@media screen and (min-width:821px) and (max-width:1024px) {
    .products-one .img2,
    .products-two-list {
        right: 300px;
    }
    .products-one-list {
        right: 600px;
    }
    .products-two .img2 {
        right: 500px;
    }
    .banner-content {
        bottom: 80px;
    }
    .banner-content p {
        font-size: 32px;
    }
}