        /* 自定義樣式 */
        .hidden {
            display: none;
        }

        .navbar-brand {
            display: flex;
            align-items: center;
        }

        .logo-img {
            width: 60px;
            height: 60px;
        }

        .company-logo {
            width: 120px;
            height: 120px;
            margin-right: 40px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .company-name {
            font-weight: bold;
            font-size: 1.8rem;
            color: #2c3e50;
            margin: 0;
        }

        
        /* 導航菜單樣式 */
        .navbar {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            z-index: 99;
        }

        
        .nav-link {
            font-size: 1rem;                     /* 電腦預設 16px */
            font-weight: 500;
            color: hwb(0 100% 0%);
            background-color: lab(73.33% 10.48 -36.09 / 0.0);
            padding: 12px 20px !important;
            border-color: #fcfdfd;
            border-radius: 6px;
            transition: all 0.3s ease;
            position: relative;
        }

        .navbar .navbar-nav .nav-link:hover {
            color: #f3f309;
            background-color: lab(73.33% 10.48 -36.09 / 0.3);
            border-radius: 6px;
            transform: translateY(-2px);
        }


        .become-member {
            padding: 0em 2em 0em 2em;
            margin-top: 12px;
            height: 30px;
            color: white;
            overflow: hidden;
            position: relative;
            min-width: min-content;
            font-weight: 500;
            font-size: 0.95rem;
            border-radius: 20px;
            flex-direction: column;
            background-color: blueviolet;
        }

        .become-member:hover {
            color: #f3f309;
            transform: translateY(-2px);
        }

        .become-member:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #f3f309;
            transform: translateY(100%);
            transition: transform 0.3s ease;
        }

        .navbar .language img {
            width: 20px;
        }

        .member-dropdown .dropdown-menu {
            min-width: 200px;
        }

        .member-dropdown .dropdown-item:hover {
            background-color: #f8f9fa;
        }

        .member-dropdown .btn-primary {
            background-color: #007bff;
            border-color: #007bff;
        }

        .top-contact-bar .language .dropdown-toggle {
            background-color: blueviolet;
            color: white;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            margin-left: 10px;
            font-size: 0.9rem;
        }

        .top-contact-bar .language .dropdown-toggle:hover {
            color: #f3f309;
            background-color: blueviolet;
            border-radius: 6px;
            transform: translateY(-2px);
        }

        .dropdown-arrow {
            transition: transform 0.3s ease;
        }

        .dropdown-arrow.rotated {
            transform: rotate(180deg);
        }


        body {
            top: 0px !important;
        }

        /* 下拉菜單樣式 */
        .dropdown-menu {
            border: none;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            border-radius: 8px;
            margin-top: 8px;
        }

        .dropdown-item {
            padding: 12px 20px;
            transition: all 0.3s ease;
            font-weight: 500;
            font-size: 20px;
        }

        .dropdown-item img {
            width: 25px;
            height: 25px;
            border-radius: 6px;
        }

        .dropdown-item:hover {
            background: linear-gradient(135deg, #abb8f3 0%, #caa7ec 100%);
            color: white;
            transform: translateX(5px);
            border-radius: 10px;
        }

        /* 標題logo樣式 */
        .hero-title-with-logo {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: 30px;
        }

        .hero-title-with-logo img {
            width: 120px;
            height: 120px;
            border-radius: 10%;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .hero-logo {
            margin-top: 15%;
            width: 120px;
            height: 120px;
            flex-shrink: 0;
        }

        /* 輪換背景區域 */
        .hero-background {
            position: relative;
            height: 100vh;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .background-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            opacity: 0;
            transition: opacity 2s ease-in-out;
        }

        .background-slide.active {
            opacity: 1;
        }

        .hero-overlay {
            position: absolute;
            top: 10;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.4);
            z-index: 1;
        }

        .hero-content {
            position: relative;
            margin-top: 10%;
            z-index: 2;
            text-align: center;
            color: white;
            padding: 0 20px;
        }

        .hero-content h1 {
            font-size: 3.5rem;
            font-weight: bold;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
        }

        .hero-content p {
            font-size: 1.5rem;
            margin-bottom: 30px;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
        }

        /* 內容區域 */
        .content-section {
            padding: 60px 0;
            min-height: 500px;
        }

        .hero-section {
            background: linear-gradient(135deg,
                    rgba(102, 126, 234, 0.1) 0%,
                    rgba(118, 75, 162, 0.1) 100%);
            border-radius: 15px;
            padding: 50px;
            text-align: center;
            margin: 40px 0;
        }

        .hero-title {
            color: #2c3e50;
            font-size: 2.5rem;
            margin-bottom: 20px;
        }

        .hero-subtitle {
            color: #6c757d;
            font-size: 1.2rem;
            margin-bottom: 30px;
        }

        .carousel-inner {
            align-content: center;
            padding: 30px 10px;
        }

        .card-img-top {
            max-width: 900px;
            height: 420px;
            margin-left: 15%;
            object-fit: cover;
        }

        /* 自定義箭頭按鈕 */
        .carousel-control-prev,
        .carousel-control-next {
            width: 50px;
            height: 50px;
            background: rgba(0, 0, 0, 0.5);
            border-radius: 50%;
            top: 50%;
            transform: translateY(-50%);
            opacity: 0.8;
            transition: opacity 0.3s ease;
        }

        .carousel-control-prev:hover,
        .carousel-control-next:hover {
            opacity: 1;
        }

        .carousel-control-prev-icon.custom-arrow,
        .carousel-control-next-icon.custom-arrow {
            width: 30px;
            height: 30px;
            background-size: 100%, 100%;
            background-image: none;
        }

        .carousel-control-prev-icon.custom-arrow::after {
            content: '<';
            font-size: 24px;
            color: white;
            font-weight: bold;
        }

        .carousel-control-next-icon.custom-arrow::after {
            content: '>';
            font-size: 24px;
            color: white;
            font-weight: bold;
        }

        /* 緩慢滑動效果 */
        .carousel-item {
            transition: transform 1s ease-in-out;
            /* 設置滑動過渡為 1 秒，緩慢移動 */
        }

        /* Message Box */
        .message-box {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }

        .message-content {
            background: #fff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
            text-align: center;
            max-width: 400px;
            width: 90%;
        }

        .message-content span {
            display: block;
            margin-bottom: 15px;
            font-size: 16px;
            color: #333;
        }

        .message-close-btn {
            background: #007bff;
            color: #fff;
            border: none;
            padding: 8px 16px;
            border-radius: 4px;
            cursor: pointer;
        }

        .message-close-btn:hover {
            background: #0056b3;
        }

        .gallery thead tr td {
            background-color: rgb(123, 201, 227);
        }

        .gallery tbody tr:hover td{
            background-color: rgb(224, 242, 176);
        }

        .gallery tbody tr:hover td .input-group{
            flex-wrap: nowrap;
        }

        .gallery td img {
            width: 100px;
            height: auto;
            margin: 5px auto;
            display: block;
            cursor: pointer;
            transition: 0.4s;
        }

        @media (max-width:1250px) {
            .become-member {
                width: 150px;
            }

            .card-img-top {
                max-width: 900px;
                height: 420px;
                margin-left: 10%;
            }

            .mapbox-right-top {
                padding: 20px;
                margin-left: 10%;
            }
        }

        @media (max-width:1200px) {
            .become-member {
                width: 150px;
            }

            .card-img-top {
                max-width: 800px;
                height: 400px;
                margin-left: 10%;
            }
        }

        @media (max-width:1000px) {
            .become-member {
                width: 150px;
            }

            .hero-logo {
                width: 80px;
                height: 80px;
            }

            .hero-title-with-logo {
                gap: 20px;
            }

            .hero-content h1 {
                font-size: 2rem;
            }

            .hero-content p {
                font-size: 1.2rem;
            }

            .carousel-inner {
                padding: 0 10px;
            }

            .card-img-top {
                max-width: 1000px;
                height: 300px;
                margin-left: 5%;
            }


            .carousel-control-prev,
            .carousel-control-next {
                width: 30px;
                height: 30px;
            }

            .carousel-control-prev-icon.custom-arrow::after,
            .carousel-control-next-icon.custom-arrow::after {
                font-size: 20px;
            }
        }

        @media (max-width: 991.98px) {           /* lg 以下 */
            .nav-link {
                font-size: 0.95rem;              /* ≈15px */
                padding-left: 0.75rem !important;
                padding-right: 0.75rem !important;
            }
        }

        /* 響應式設計 */
        @media (max-width: 768.98px) {
            .nav-link {
                font-size: 0.9rem;               /* ≈14.4px */
                padding-left: 0.6rem !important;
                padding-right: 0.6rem !important;
            }

            .become-member {
                width: 150px;
            }

            .hero-logo {
                margin-top: 10%;
                width: 80px;
                height: 80px;
            }

            .hero-title-with-logo {
                gap: 20px;
            }

            .hero-content h1 {
                font-size: 2rem;
            }

            .hero-content p {
                font-size: 1.2rem;
            }

            .carousel-inner {
                padding: 0 10px;
            }

            .card-img-top {
                max-width: 780px;
                height: 220px;
                margin-left: 5%;
            }

            .carousel-control-prev,
            .carousel-control-next {
                width: 30px;
                height: 30px;
            }

            .carousel-control-prev-icon.custom-arrow::after,
            .carousel-control-next-icon.custom-arrow::after {
                font-size: 20px;
            }
        }

        @media (max-width: 576px) {
            .nav-link {
                font-size: 0.85rem;              /* ≈13.6px，更小一點 */
            }
            .navbar {
                padding-top: 0.5rem;
                padding-bottom: 0.5rem;
            }
            .hero-title-with-logo {
                flex-direction: column;
                gap: 15px;
            }

            .hero-logo {
                width: 60px;
                height: 60px;
            }

            .hero-content h1 {
                font-size: 1.5rem;
                text-align: center;
            }

            .language-selector {
                margin-top: 10px;
                margin-left: 0 !important;
            }

            .current-language-btn {
                padding: 6px 12px;
                font-size: 12px;
                min-width: 100px;
            }

            .language-dropdown-content {
                min-width: 130px;
            }

            .carousel-inner {
                padding: 0 10px;
            }

            .card-img-top {
                max-width: 600px;
                height: 180px;
                margin: 5px;
            }

            .carousel-control-prev,
            .carousel-control-next {
                width: 30px;
                height: 30px;
            }

            .carousel-control-prev-icon.custom-arrow::after,
            .carousel-control-next-icon.custom-arrow::after {
                font-size: 20px;
            }
        }

        /* 走馬燈樣式 */