    /* //////手機排版////// */
@media (max-width: 800px) {
    body {
        background-color: #020100;
        font-family: Arial, sans-serif;
        line-height: 1.6;
        margin: 0;
        padding: 0;
        color: #333;
    }
    /* //////頂部區域////// */
  header {
    position: fixed;
    background: linear-gradient(to right, #9e9d77f0, #2b3e57f0);
    width: 100%;
    height: 15vh;
    z-index: 1000;
    color: white;
  }
  .header-container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between; 
  }
  .header-logo {
    display: flex;
    align-items: center;
    justify-content: space-evenly; 
    min-width: 20%;
    height: auto;
    margin: 0 0;
    padding: 0 0;
  }
  .header-img {
    width: 130px;
    height: 100%;
    display: block;
    pointer-events: auto;
    user-select: none;
  }
  .menu-toggle {
    all: unset;
    color: #ffffff;
    display: block;
    font-size: 30px;
    font-weight: 1000;
  }
  .header-links {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background-color: #e7e7e7;
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    z-index: 1000;
  }
  .header-links.active1 {
    max-height: 802px;
  }
  .header-links a {
    display: flex;
    align-items: center;
    justify-content: left; 
    color: rgb(20, 58, 59);
    text-decoration: none;
    width: 80%;
    padding: 0 10px;
    margin: 0 0;
    font-size: 20px;
    font-weight: 500;
    height: 50px;
  }
  .header-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: left; 
    width: auto;
    height: 35%;
    margin: 0 0;
    padding: 0 0;
  }
  .header-menu-line {
    background-color: #272727;
    width: 100%;
    height: 3px;
    margin: 0 0;
    padding: 0 0;
  }
  .header-menu-item-dropdown {
    position: relative;
    width: 80%;
    padding: 0 0;
    margin: 0 0;
    font-size: 20px;
    font-weight: 1000;
    height: 50px;
  }
  .header-menu-item-dropdown a {
    color: rgb(20, 58, 59);
    width: 100%;
    padding: 0 10px;
    margin: 0 0;
    font-size: 20px;
    font-weight: 500;
    height: 50px;
  }
  .product-toggle {
    all: unset;
    background-color: #ffffff00;
    color: rgb(20, 58, 59);
    display: flex;
    align-items: center;
    justify-content: center; 
    position: absolute;
    top: 0;
    right: -70px;
    width: 20%;
    height: 50px;
    padding: 0 0px;
    margin: 0 0;
    font-size: 30px;
    font-weight: 300;
  }
  .header-dropdown-menu{
    height: 0;
    overflow: hidden;
    transition: height 0.5s ease;
    flex-direction: column;
    justify-content: left;
    position: absolute;
    left: 20px;
    width: 100%;
    padding: 0 20px;
    margin: 0 0;
    list-style: none;
    z-index: 1000;
  }
  .header-dropdown-menu.active2 {
    height: 190px;
  }
  .header-menu-space {
    height: 0;
    overflow: hidden;
    transition: height 0.5s ease;
    width: 100%;
    margin: 0 0;
    padding: 0 0;
  }
  .header-menu-space.active2 {
    height: 190px;
  }
  .header-menu-item.dropdown,.header-dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
  .header-item-image {
    color: #ffffff;
    width: 200px;
    height: auto;
    margin: 0px 0px;
    padding: 2px 0px;
    border-radius: 10px;
    font-size: 25px;
  }
  .header-item-image a {
    display: flex;
    align-items: center;
    justify-content: left;
    text-decoration: none;
    color: rgb(20, 58, 59);
    width: 200px;
    height: auto;
    margin: 0px 0px;
    padding: 10px 0px;
    border-radius: 10px;
    font-size: 25px;
  }
  .header-hover-image {
    display: none;
  }
  .lang-toggle {
    position: relative;
    width: 100px;
    height: 35%;
    background-color: #837762;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    margin: 0 3vw;
    font-family: sans-serif;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s;
  }
  .lang-toggle .toggle-btn {
    position: absolute;
    width: 55%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 100px;
    transition: transform 0.3s;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.603);
    transform: translateX(0%);
  }
  .lang-toggle span {
    font-size: 15px;
    font-weight: 300;
    z-index: 1;
    width: 50%;
    text-align: center;
    font-weight: bold;
  }
  .lang-toggle.active .toggle-btn {
    transform: translateX(80%);
  }

    /* //////中部區域1_開場影片////// */
    .video-background {
        position: relative;
        width: 100%;
        height: 100vw;
        z-index: 0;
        overflow: hidden;
    }
    .background-video {
        position: absolute;
        top: -70%;
        left: 0;
        width: 150%;
        height: 220%;
        opacity: 0.3;
        z-index: -2;
    }
    .video-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.65);
        z-index: -1;
    }
    .video-text {
        position: relative; 
        text-align: center;
        color: white;
        top: 35%;
    }
    .video-text h1 {
        font-size: 5vw;
        margin-bottom: 1rem;
        opacity: 0;
        transform: translateY(20px);
        animation: videotext 1s ease-out forwards;
    }
    .video-text h2 {
        font-size: 3vw;
        margin-bottom: 1.5rem;
        opacity: 0;
        transform: translateY(20px);
        animation: videotext 1s ease-out forwards;
        animation-delay: 0.6s;
    }
    @keyframes videotext {
        to {
        opacity: 1;
        transform: translateY(0);
        }
    }

    /* //////中間區域2_產品介紹////// */
    .introduce1-text {
        width: 100%;
        padding: 0em 0em;
        margin: 0 0;
        display: inline-block;
        border-radius: 0px;
        text-align: center;
    }
    .introduce1-text h1 {
        margin: 0rem 0rem;
        font-size: 3.5vw;
        font-weight: 500;
        color: #ffffff;
    }
    .introduce1-text h2 {
        margin: 0rem 0rem;
        font-size: 2.5vw;
        font-weight: 100;
        color: #ffffff;
    }
    .product-image {
        width: 100%;
        height: 100vh;
        overflow: hidden;
    }
    .slider-container {
        width: 100%;
        height: 100vh;
        overflow: hidden;
        position: relative;
    }
    .slider {
        user-select: none;
        touch-action: pan-y;
        display: flex;
        transition: transform 0.5s ease;
        width: 300%;
    }
    .slide {
        position: relative;
        width: 100% / 3;
        width: 33.3333%;
        flex-shrink: 0;
    }
    .slide img {
        width: 100%;
        height: 80vh;
        object-fit: cover;
        object-position: top;
    }
    .slider-nav {
        display: none;
    }
    .slider-nav button {
        display: flex;
        justify-content: center;
        width: 10%;
        background-color: #ffffff00;
        color: #989899;
        border: 2px solid #00000000;
        cursor: pointer;
        border-radius: 50px;
        transition: background-color 0.3s;
        font-weight: 1000;
        margin: 0rem 1rem;
    }
    .slider-nav button:hover {
        background-color: #ffffff40;
    }
    .slider-progress-indicator {
        display: none;
    }
    .image-overlay-btn1 {
        position: absolute;
        top: 0px;
        right: 89vw;
        width: 10%;
        height: 80vh;
        background-color: rgba(0, 0, 0, 0);
        color: rgba(255, 255, 255, 0.3);
        border: none;
        cursor: pointer;
        font-size: 5rem;
        display: flex;
        justify-content: left;
        align-items: center;
        background-size: 0% 100%;
        background-repeat: no-repeat;
        background-position: left;
        transition: background-size 0.4s ease, background-color 0.3s ease, transform 0.3s ease;
    }
    .image-overlay-btn1:hover {
        background-image: linear-gradient(to left, #ffffff00, #ffffff40);
        background-size: 100% 100%;
        color: rgba(255, 255, 255, 0.7);
    }
    .image-overlay-btn2 {
        position: absolute;
        top: 0;
        right: 0;
        width: 10%;
        height: 80vh;
        background-color: rgba(0, 0, 0, 0);
        color: rgba(255, 255, 255, 0.3);
        border: none;
        cursor: pointer;
        font-size: 5rem;
        display: flex;
        justify-content: right;
        align-items: center;
        background-size: 0% 100%;
        background-repeat: no-repeat;
        background-position: right;
        transition: background-size 0.4s ease, background-color 0.3s ease, transform 0.3s ease;
    }
    .image-overlay-btn2:hover {
        background-image: linear-gradient(to right, #ffffff00, #ffffff40);
        background-size: 100% 100%;
        color: rgba(255, 255, 255, 0.7);
    }
    .slide-text {
        position: absolute;
        bottom: 5%;
        left: 8%;
    }
    .slide-text h1 {
        font-size: 3.5vh;
        font-weight: 500;
        color: #ffffff;
    }
    .slide-text h2 {
        font-size: 2vh;
        font-weight: 200;
        color: #ffffff;
    }
    .slide-text-btn {
        display: inline-block;
        padding: 5px 10px;
        background-color: #ffffff20;
        color: #fff;
        text-decoration: none;
        border: 1px solid #fff;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 300;
        transition: background-color 0.3s ease, transform 0.3s ease;
    }
    .slide-text-btn:hover {
        background-color: #ffffff44;
        transform: scale(1.05);
    }
    .slider-nav {
        background-color: #ffffff20;
        display: flex;
        justify-content: center;
        position: absolute;
        bottom: 15vh;
        width: 100vw;
    }
    .slider-nav button {
        display: flex;
        justify-content: center;
        width: 10%;
        background-color: #ffffff00;
        color: #989899;
        border: 2px solid #00000000;
        cursor: pointer;
        border-radius: 50px;
        transition: background-color 0.3s;
        font-weight: 1000;
        margin: 0rem 2rem;
    }
    .slider-nav button:hover {
        background-color: #ffffff40;
    }
    .slider-progress-indicator {
        position: absolute;
        bottom: 13vh;
        width: 100vw;
        display: flex;
        justify-content: center;
    }
    .slider-progress-indicator .dot {
        width: 10%;
        height: 3px;
        border-radius: 10px;
        margin: 0rem 2rem;
        transition: background-color 0.3s ease;
    }
    .slider-progress-indicator .dot.active {
        background-color: #ca870b;
    }   

    /* //////中間區域3_產品技術////// */
    .half-layout {
        background-color: #00252b50;
        display: flex;
        flex-direction: column;
        flex-direction: column-reverse;
        flex-wrap: wrap;
        width: 90%;
        height: 100vw;
        position: relative;
        bottom: 0;
        left: 5%;
        border-radius: 2vw;
        margin: 0 0vw 20vw 0;
    }
    .half-layout-reverse {
        background-color: #00252b50;
        display: flex;
        flex-direction: column;
        flex-direction: column-reverse;
        flex-wrap: wrap;
        width: 90%;
        height: 100vw;
        position: relative;
        bottom: 0;
        left: 5%;
        border-radius: 2vw;
        margin: 0 0vw 20vw 0;
    }
    .half-video {
        object-fit: cover;
        flex: 1 1 60%;
        box-sizing: border-box;
        border-radius: 2vw;
        overflow: hidden;
    }
    .half-video video {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    .half-text {
        flex: 1 1 40%;
        box-sizing: border-box;
        position: relative;
        top: -5vw;
    }
    .half-text h1 {
        font-size: 3vw;
        font-weight: 800;
        display: flex;
        justify-content: center;
        color: white;
        position: absolute;
        top: 0px;
        left: 5%;
    }
    .half-text h2 {
        font-size: 2vw;
        font-weight: 200;
        display: flex;
        justify-content: left;
        color: white;
        width: 80%;
        position: absolute;
        top: 35%;
        left: 5%;
        max-height: 20%;
    }
    .half-text-btn {
        position: absolute;
        top: 80%;
        left: 5%;
        display: flex;
        justify-content: center;
        padding: 1vh 1vw;
        background-color: #ffffff20;
        color: #fff;
        text-decoration: none;
        border: 1px solid #fff;
        border-radius: 2vw;
        font-size: 2vw;
        font-weight: 300;
        width: 15%;
        transition: background-color 0.3s ease, transform 0.3s ease;
    }
    .half-text-btn:hover {
        background-color: #ffffff44;
        transform: scale(1.05);
    }

    /* //////中間區域4_智慧應用///// */
    .application {
        background-color: #ffffff;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: 40vw;
        margin: 0 0 20vw 0;
        overflow: hidden;
        clip-path: polygon(0 0, 50% 5%, 100% 0, 100% 100%, 50% 95%, 0 100%);
    }
    .application-icon {
        background-color: #121f36;
        display: flex;
        align-items: center;
        justify-content: space-around;
        position: absolute;
        top: 8vw;
        width: 100%;
        height: 15vw;
    }
    .application-icon img {
        width: 15%;
        height: auto;
    }
    .application-text {
        display: flex;
        align-items: center;
        justify-content: space-around;
        position: absolute;
        bottom: 10vw;
        width: 100%;
        height: 10vw;
    }
    .application-text h1 {
        display: flex;
        justify-content: center;
        width: 20%;
        height: auto;
        font-size: 2vw;
        font-weight: 500;
    }
    .application-btn {
        display: flex;
        justify-content: center;
        position: absolute;
        top: 75%;
        left: 44%;
        width: 10%;
        height: auto;
        padding: 1vw 1vw;
        background-color: #121f36;
        color: #ffffff;
        text-decoration: none;
        border-radius: 2vw;
        font-size: 1.5vw;
        font-weight: 500;
        transition: background-color 0.3s ease, transform 0.3s ease;
    }
    .application-btn:hover {
        background-color: #5c5c5c;
        transform: scale(1.05);
    }

    /* //////中間區域5_新聞媒體////// */
    .news-slider-container {
        display: flex;
        align-items: center;
        position: relative;
        width: 90%;
        height: 60vw;
        margin: 0 auto;
        z-index: 10;
        overflow: hidden;
    }
    .news-slider-track {
        position: absolute;
        left: -0.8vw;
        width: 100%;
        height: 60vw;
        display: flex;
        align-items: center;
        transition: transform 0.4s ease-in-out;
    }
    .news-card {
        min-width: calc(100% / 1);
        padding: 1vw;
    }
    .news-card-background {
        position: relative;
        background-color: #c0bf98;
        border-radius: 2vh;
        height: 60vw;
    }
    .news-card a {
        text-decoration: none;
    }
    .news-card img {
        position: absolute;
        width: 100%;
        height: 70%;
        border-radius: 2vh;
    }
    .news-card h1 {
        position: absolute;
        top: 75%;
        color: #ffffff;
        font-size: 3vw;
        padding: 1vw;
        display: flex;
        justify-content: center;
        margin-top: -3%;
    }
    .news-card h2 {
        position: absolute;
        top: 93%;
        color: #ffffff;
        font-size: 2vw;
        padding: 1vw;
        display: flex;
        justify-content: left;
        margin-top: -3%;
    }
    .news-slider-controls {
        position: relative;
        bottom: 32vw;
        width: 100%;
        height: 30px;
        display: flex;
        justify-content: space-between;
        font-size: 50vw;
    }
    .news-slider-controls button{
        all: unset;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 5vw;
        font-weight: 1000;
        color: #ffffff;
        padding: 1vw;
        transition: font-size 0.3s ease, transform 0.3s ease;
    }
    .news-slider-controls button:hover {
        font-size: 7vw;
        color: #888340;
    }
    .news-dots {
        display: flex;
        justify-content: center;
        margin-top: 0px;
        gap: 2vw;
        margin: 0 0 20vw 0;
    }
    .news-dot {
        width: 2vw;
        height: 2vw;
        background-color: #ccc;
        border-radius: 50%;
        cursor: pointer;
        transition: background-color 0.3s;
    }
    .news-dot.active {
        background-color: #ecd929;
    }

    /* //////底部區域////// */
    footer {
        position: relative;
        background: linear-gradient(to right, #2b3e57f0, #9e9d77f0);
        padding: 20vh 5vw;
    }
    .footer-menu {
        position: absolute;
        top: 15%;
        left: 0%;
        width: 100%;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .footer-links a {
        color: #ffffff;
        text-decoration: none;
        font-size: 3vw;
        font-weight: 700;
        padding: 0 1vw;
        position: relative;
    }
    .footer-vertical-line {
        background-color: #bcbcbc;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 0%;
        left: 96%;
        width: 2%;
        height: 100%;
        z-index: 20;
    }
    .footer-horizontal-line {
        background-color: #bcbcbc;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 30%;
        width: 80%;
        height: 1%;
        left: 10%
    }
    .footer-container {
        margin-top: 5%;
        margin-left: 10%;
        font-size: 3vw;
        font-weight: 200;
        color: #ffffff;
    }
    .footer-copyright {
        position: absolute;
        top: 90%;
        left: 20%;
        font-size: 1vw;
        color: #959595;
    }
    .footer-logo {
        position: absolute;
        top: 70%;
        left: 40%; 
    }
    .footer-img {
        width: 50%;
        height: auto;
    }
}




