/* 全局變量 */
:root {
    --primary-color: #1d2d5e;
    --secondary-color: #ffffff;
    --section-bg: #f5f5f5;
    --transition: all 0.3s ease-in-out;

    --family-font: Cinzel, sans-serif;
    --family-font-secondary: Montserrat, sans-serif;
}

/* 字體 */
@font-face {
    font-family: 'Cinzel';
    src: url('/static/fonts/Cinzel-VariableFont_wght.ttf') format('truetype');
    font-display: swap;
    /* 避免閃爍，先顯示系統字體再切換 */
    font-weight: 100 900;
    /* 可變字重範圍：100 到 900 */
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/static/fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-display: swap;
    font-weight: 100 900;
    /* 支援所有粗細 */
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/static/fonts/Montserrat-Italic-VariableFont_wght.ttf') format('truetype');
    font-display: swap;
    font-weight: 100 900;
    font-style: italic;
}

.container {
    margin: 0 auto;
    /* max-width: 1696px; */
    padding: 0 48px;
    width: 100%;
    box-sizing: border-box;
}

/* 基礎樣式 */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--family-font);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

ul {
    padding-left: 0;
    margin: 0;
}

ul li {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
}




/* header */
.header {
    height: 97px;
    /* background-color: var(--section-bg); */
    background-color: #fff;
    position: relative;
    z-index: 1000;

    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header.scroll {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    width: 120px;
    display: block;
}

.nav-logo img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: all 0.3s ease-in-out;
}

.main-navigation ul {
    display: flex;
    height: 100%;
    align-items: center;
    gap: 40px;
}

.main-navigation ul li>a {
    font-weight: 600;
    font-size: 17px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    letter-spacing: 1px;
    color: #1a1a1a;
    transition: all 0.3s ease-in-out;
    position: relative;
}

.main-navigation ul li>a:hover {
    color: var(--primary-color);
}

.main-navigation ul li.active>a {
    color: var(--primary-color);
}

.main-navigation ul li.ing>a {
    color: var(--primary-color);
}

.nav-arrow-icon {
    width: 18px;
    height: 18px;
    margin-left: 2px;
    margin-bottom: 2px;
}

.header-action ul {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-action ul li a {
    display: flex;
    align-items: center;
}

.header-action .header-language {
    color: var(--primary-color);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 19px;
    font-family: var(--family-font-secondary);
}

/* Header Language Switcher */
.header-language-wrapper {
    position: relative;
}

.header-language-wrapper .language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background-color: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-family: var(--family-font-secondary);
    color: #1a1a1a;
}

.header-language-wrapper .language-switcher:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.header-language-wrapper .language-switcher svg:first-child {
    color: var(--primary-color);
}

.header-language-wrapper .language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    min-width: 140px;
    z-index: 1000;
    overflow: hidden;
}

.header-language-wrapper:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 下拉菜單相關樣式 */
.nav-item-with-dropdown {
    position: relative;
}

.nav-link-with-arrow {
    cursor: pointer;
}

/* 遮罩層 */
.dropdown-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 998;
    pointer-events: none;
    cursor: url('/static/images/cursor-close.svg') 25 25, not-allowed;
}

.dropdown-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* 下拉菜單容器 */
.dropdown-menu {
    position: fixed;
    top: 97px;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    /* background-color: var(--section-bg); */
    background-color: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    pointer-events: none;
    border-radius: 0 0 10px 10px;
    overflow: hidden;

    display: flex;
    padding: 40px 48px;
    justify-content: space-around;
}

.nav-item-with-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* 下拉菜單內容 */
.dropdown-list ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.dropdown-list ul li a {
    position: relative;
}

.dropdown-list ul li a:hover {
    transform: translateX(4px);
}

.dropdown-list ul li a::after {
    content: '';
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    transition: all 0.5s ease-in-out;
}

.dropdown-list ul li a:hover::after {
    width: 99%;
}

.dropdown-list ul li.ing a::after {
    width: 99%;
}

.dropdown-list-title {
    font-size: 16px;
    color: #1a1a1a;
    opacity: 0.8;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 500;
    display: block;
    cursor: unset;
}

.dropdown-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dropdown-img-item {
    width: 330px;
    height: 330px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.dropdown-img-item::before {
    content: '';
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.15);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.dropdown-img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease-in-out;
}

.dropdown-img-item:hover img {
    transform: scale(1.05);
}

.dropdown-img-item h2 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #ffffff;
    font-size: 18px;
    z-index: 2;
    font-family: var(--family-font-secondary);
    font-weight: 500;
}

/* 箭頭旋轉動畫 */
.nav-item-with-dropdown.active .nav-arrow-icon {
    transform: rotate(180deg);
    transition: transform 0.3s ease-in-out;
}

/* dropdown-list 動畫 - 從上往下出現，延遲1秒 */
.dropdown-list {
    opacity: 0;
    transform: translateY(-20px);
}

.nav-item-with-dropdown.active .dropdown-list {
    animation: slideDownFadeIn 0.3s ease-out 0.2s forwards;
}

/* li 動畫 - 每個從上往下依次出現 */
.dropdown-list ul li {
    opacity: 0;
    transform: translateY(-15px);
}

.nav-item-with-dropdown.active .dropdown-list ul li:nth-child(1) {
    animation: slideDownFadeInLi 0.3s ease-out 0.3s forwards;
}

.nav-item-with-dropdown.active .dropdown-list ul li:nth-child(2) {
    animation: slideDownFadeInLi 0.3s ease-out 0.35s forwards;
}

.nav-item-with-dropdown.active .dropdown-list ul li:nth-child(3) {
    animation: slideDownFadeInLi 0.3s ease-out 0.4s forwards;
}

.nav-item-with-dropdown.active .dropdown-list ul li:nth-child(4) {
    animation: slideDownFadeInLi 0.3s ease-out 0.45s forwards;
}

.nav-item-with-dropdown.active .dropdown-list ul li:nth-child(5) {
    animation: slideDownFadeInLi 0.3s ease-out 0.5s forwards;
}

.nav-item-with-dropdown.active .dropdown-list ul li:nth-child(6) {
    animation: slideDownFadeInLi 0.3s ease-out 0.6s forwards;
}

/* 動畫關鍵幀 */
@keyframes slideDownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDownFadeInLi {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}




/* Footer */
.footer {
    background-color: #ffffff;
    color: #1a1a1a;
    padding: 80px 0 30px;
    position: relative;
    /* border-top: 1px solid rgba(0, 0, 0, 0.08); */
}

.footer-container {
    margin: 0 auto;
    padding: 0 48px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
    gap: 60px;
    margin-bottom: 30px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Footer Logo Section */
.footer-col-logo {
    max-width: 500px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 25px;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-logo img {
    width: 160px;
    height: auto;
}

.footer-col-logo h5 {
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
}

.footer-col-logo p {
    font-size: 15px;
    line-height: 1.7;
    color: #6c757d;
    margin-bottom: 30px;
    font-family: var(--family-font-secondary);
}

.footer-social {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border-radius: 50%;
    color: #1d2d5e;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.social-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(29, 45, 94, 0.4);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

/* Footer Columns */
.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--family-font);
}

.footer-col-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col-links ul li {
    margin: 0;
}

.footer-col-links ul a {
    font-size: 15px;
    color: #6c757d;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    font-family: var(--family-font-secondary);
    padding-left: 0;
}

.footer-col-links ul a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-col-links ul a:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

.footer-col-links ul a:hover::before {
    width: 100%;
}

/* Footer Contact */
.footer-col-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-col-contact ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #6c757d;
    font-family: var(--family-font-secondary);
    line-height: 1.6;
}

.footer-col-contact ul li svg {
    flex-shrink: 0;
    margin-top: 0px;
    color: var(--primary-color);
    opacity: 0.8;
}

.footer-col-contact ul li a {
    flex: 1;
    transition: all 0.3s ease;
    position: relative;
}

.footer-col-contact ul li a:hover {
    color: var(--primary-color);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-copyright p {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
    font-family: var(--family-font-secondary);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-legal a {
    font-size: 14px;
    color: #6c757d;
    transition: color 0.3s ease;
    font-family: var(--family-font-secondary);
}

.footer-legal a:hover {
    color: var(--primary-color);
}

.footer-legal .separator {
    color: rgba(0, 0, 0, 0.2);
    font-size: 14px;
}

/* Language Switcher */
.footer-language {
    position: relative;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background-color: #f5f5f5;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-family: var(--family-font-secondary);
    color: #1a1a1a;
}

.language-switcher:hover {
    background-color: #e9ecef;
    border-color: var(--primary-color);
}

.language-switcher svg:first-child {
    color: var(--primary-color);
}

.language-text {
    font-weight: 500;
}

.language-dropdown {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 8px;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    width: 100%;
    z-index: 100;
    overflow: hidden;
}

.footer-language:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: block;
    padding: 10px 16px;
    color: #1a1a1a;
    font-size: 14px;
    font-family: var(--family-font-secondary);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background-color: #f5f5f5;
    color: var(--primary-color);
}

.language-option.active {
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-top {
        grid-template-columns: 1.8fr 1fr 1fr;
        gap: 40px;
    }

    .footer-col-contact {
        grid-column: 1 / -1;
        margin-top: 20px;
    }

    .footer-col-contact ul {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .footer {
        padding: 60px 0 25px;
    }

    .footer-container {
        padding: 0 20px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
        padding-bottom: 40px;
    }

    .footer-col-logo {
        max-width: 100%;
    }

    .footer-title {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .footer-col-links ul {
        gap: 10px;
    }

    .footer-col-contact ul {
        flex-direction: column;
        gap: 15px;
    }

    .footer-col-contact ul li svg {
        width: 15px;
        height: 15px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-bottom-right {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-language {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .language-dropdown {
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
        width: 37%;
    }

    .footer-language:hover .language-dropdown {
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 50px 0 20px;
    }

    .footer-logo img {
        width: 120px;
    }

    .footer-col-logo p {
        font-size: 14px;
    }

    .footer-col-links ul a,
    .footer-col-contact ul li {
        font-size: 14px;
    }

    .footer-copyright p,
    .footer-legal a {
        font-size: 13px;
    }

    .language-switcher {
        padding: 6px 12px;
        font-size: 13px;
    }
}




.layui-layer-msg .layui-layer-content {
    font-family: var(--family-font-secondary);
}









/* scroll-to-top */
.scroll-to-top {
    position: fixed;
    bottom: 60px;
    right: 40px;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.scroll-to-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    /* border: 2px solid var(--primary-color); */
}

.scroll-to-top-btn:hover {
    background-color: #fff;
    color: var(--primary-color);
    box-shadow: 0 0 10px rgba(29, 45, 94, 0.3);
}


/* whatsapp */
.whatsapp-fixed {
    position: fixed;
    bottom: 120px;
    right: 40px;
    z-index: 998;
    transition: all 0.3s ease;
}

.whatsapp-fixed-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.whatsapp-fixed-btn:hover {
    background-color: #fff;
    color: var(--primary-color);
    box-shadow: 0 0 10px rgba(29, 45, 94, 0.3);
}



/* 高级按钮样式 */
.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 40px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--family-font-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a4a7a 100%);
    border: 2px solid transparent;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(29, 45, 94, 0.3),
        0 2px 8px rgba(29, 45, 94, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-decoration: none;
    z-index: 1;
}

/* 按钮背景光晕效果 */
.primary-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

/* 按钮底部光晕 */
.primary-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 80%;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

/* 悬停状态 */
.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 45, 94, 0.4),
        0 4px 12px rgba(29, 45, 94, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #2a4a7a 0%, var(--primary-color) 100%);
    border-color: rgba(255, 255, 255, 0.2);
}

/* 悬停时背景光晕展开 */
.primary-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* 悬停时底部光晕显示 */
.primary-btn:hover::after {
    opacity: 1;
}

/* 点击状态 */
.primary-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(29, 45, 94, 0.3),
        inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* 按钮文字动画 */
.primary-btn span {
    position: relative;
    z-index: 1;
    display: inline-block;
    transition: transform 0.3s ease;
}

.primary-btn:hover span {
    transform: scale(1.05);
}


.customers-btn .primary-btn {
    padding: 12px 30px;
    font-size: 14px;
}

.navi-hide .navi-trigger-out {
    display: none;
}

.trans-mask-out {
    display: none;
}

.menu-panel {
    display: none;
}

.mobile-index-contact {
    display: none;
}



@media screen and (max-width: 1200px) {
    .main-navigation ul {
        display: none;
    }
}

@media (min-width: 993px) and (max-width: 1280px) {
    .container {
        padding: 0 20px;
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {

    .navi-top-menu .navi ul .menu-item:not(.show-submenu-active),
    .navi-hide-pop2 .navi ul .menu-item:not(.show-submenu-active),
    .navi-top-menu .navi .menu-item-back,
    .navi-hide-pop2 .navi .menu-item-back {
        margin-left: 0;
    }

    .trans-mask-out {
        display: flex;
    }

    .menu-panel {
        display: block;
    }

    .dropdown-overlay {
        display: none;
    }

    .mobile-index-contact {
        display: flex;
        margin-left: auto;
    }

    .mobile-index-contact a {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-index-contact svg {
        width: 26px;
        height: 26px;
        color: var(--primary-color);
    }

    .primary-btn {
        padding: 14px 36px;
        font-size: 14px;
        letter-spacing: 1px;
    }

    .container {
        padding: 0 15px;
    }

    .scroll-to-top {
        right: 20px;
        bottom: 20px;
    }

    .scroll-to-top-btn {
        width: 40px;
        height: 40px;
    }

    .scroll-to-top-btn svg {
        width: 20px;
        height: 20px;
    }

    .whatsapp-fixed {
        right: 20px;
        bottom: 65px;
    }

    .whatsapp-fixed-btn {
        width: 40px;
        height: 40px;
    }

    .whatsapp-fixed-btn svg {
        width: 20px;
        height: 20px;
    }

    .main-navigation ul {
        display: none;
    }



    .header {
        height: 70px;
        background-color: transparent;
    }

    .alt-logo-menu-mobile .navi-trigger,
    .alt-logo-menu-mobile .portfolio-icon {
        fill: var(--primary-color) !important;
    }

    .navi-trigger-out {
        margin-left: auto !important;
    }

    .header-container {
        justify-content: unset;
        gap: 0 !important;
    }

    .navi-wrap>ul {
        display: flex;
        flex-direction: column;
    }

    /* .menu-arrow-in{
        display: none;
    } */

    .navi-hide .navi-trigger-out {
        display: block;
    }

    .menu-panel-bottom {
        padding: 0 15px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .show_mobile_menu .menu-panel-inn {
        width: 100%;
        padding: 0 15px;
    }

    .show-submenu>li.show-submenu-active>.sub-menu {
        padding: 20px 0;
    }

    .navi-hide .navi-trigger-out {
        margin-top: 0px;
        margin-left: 20px !important;
    }

    .show_mobile_menu .navi-trigger-out {
        display: block;
        margin-top: 0;
    }

    .show_mobile_menu .navi-trigger,
    .navi-trigger-svg {
        width: 22px;
        height: 22px;
    }

    /* 初始十字 */
    .svg-style02-line1 {
        transform: translateX(56%) rotate(90deg);
    }

    .svg-style02-line2 {
        transform: translateY(44%);
    }

    .show_mobile_menu .svg-style02-line1 {
        /* animation: .2s linear both line1_t; */
        display: none;
    }

    .show_mobile_menu .svg-style02-line2 {
        animation: .2s linear both line2_t;
    }

    @keyframes line1_t {
        0% {
            /* transform: translate(190.021px, 190px) rotate(45deg) scale(1.28, 1) translate(-189.958px, -25px); */
            transform: translateX(55%) rotate(90deg);
        }

        100% {
            /* transform: translate(190.021px, 190px) rotate(45deg) scale(1.28, 1) translate(-189.958px, -25px); */
            transform: translateX(0%) translateY(45%) rotate(0deg);
        }
    }

    @keyframes line2_t {
        0% {
            /* transform: translate(189.697px, 190.034px) rotate(-45deg) scale(1.28, 1.00165) translate(-190.303px, -24.9925px); */
            transform: translateY(44%);
        }

        100% {
            /* transform: translate(189.697px, 190.034px) rotate(-45deg) scale(1.28, 1.00165) translate(-190.303px, -24.9925px); */
            transform: translateY(44%);
        }

    }

    .mobile-language ul {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .mobile-language ul li {
        font-size: 17px;
        font-weight: 500;
        text-transform: uppercase;
        color: #666;
        position: relative;
        padding: 0 10px;
    }

    .mobile-language ul li::after {
        content: '';
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 0;
        width: 1px;
        height: 70%;
        background-color: #666;
    }

    .mobile-language ul li:last-child::after {
        display: none;
    }

    .show_mobile_menu:not(.navi-show-icon) .menu-panel {
        position: fixed !important;
        background-color: #fff;
        z-index: 999;
    }

    .header-action {
        display: none;
    }

    .header.scroll {
        background-color: #fff;
    }

    .trans-mask {
        z-index: 9999;
    }

    .search-top-btn-class svg {
        width: 24px;
        height: 24px;
    }

    .footer-col-logo h5 {
        font-size: 17px;
        margin-bottom: 7px;
    }





    /* reset-mobile */
    .responsive-ux .navi .menu li>a {
        font-size: 26px;
        text-transform: uppercase;
        line-height: 1.5;
    }

    .menu-item-has-children>a:after {
        display: none;
    }

    .module-inside.single-image-inside {
        padding: 0px !important;
    }

    .navi-wrap .menu li:nth-child(odd) {
        margin-bottom: 0;
        padding: 7px 0;
    }

    .navi-wrap .menu li:nth-child(even) {
        margin-top: 0;
        padding: 7px 0;
    }

    .menu-arrow {
        margin-left: 10px;
    }

    .menu-arrow::before,
    .menu-arrow::after {
        display: none;
    }

    .menu-arrow svg {
        width: 15px;
        height: 15px;
    }

    .menu-item-back a {
        width: 10px;
    }

    .show-submenu>li.show-submenu-active>.sub-menu {
        display: flex;
        flex-direction: column;
    }

    .show-submenu>li.show-submenu-active>.sub-menu a {
        font-size: 22px;
    }

    .menu-panel-bottom {
        height: 118px;
        align-items: flex-start !important;
    }

    .menu-panel:not(.menu-panel-bottom-centered) .menu-panel-bottom .search-top-btn-class {
        line-height: 0;
    }


    .menu-item a {
        position: relative;
    }

    .menu-item.multi-item a::before {
        content: '';
        position: absolute;
        left: -10px;
        top: 48%;
        transform: translateY(-50%);
        width: 3px;
        height: 60%;
        border-radius: 10px;
        background-color: var(--primary-color);
    }

    .menu-item.multi-item a::after {
        content: '';
        position: absolute;
        right: -10px;
        top: 48%;
        transform: translateY(-50%);
        width: 3px;
        height: 60%;
        border-radius: 10px;
        background-color: var(--primary-color);
    }


}

@media screen and (max-width: 992px) {
    .footer-top {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 0;
    }

    .footer-col {
        flex: 1 auto;
    }
}

@media (max-width: 480px) {
    .primary-btn {
        padding: 12px 28px;
        font-size: 13px;
    }
}


@media (min-width: 768px) and (max-width: 992px) {
    .menu-panel-bottom {
        height: 60px;
    }

    .responsive-ux .navi .menu li>a {
        font-size: 22px;
    }

    .menu-arrow svg {
        width: 15px;
        height: 15px;
    }
}

@media (max-width: 767px) {
    .footer-top {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 0;
    }

    .footer-col {
        flex: 1 auto;
    }
}




/* 分頁樣式 -start */
#pages {
    display: flex;
    justify-content: center;
    padding: 40px 0 60px 0;
    margin: 0 auto;
}

#pages .pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

#pages .pagination li {
    display: inline-block;
}

#pages .pagination li a,
#pages .pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
    color: #333;
}

#pages .pagination li a:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(240, 130, 52, 0.3);
}

#pages .pagination li.active span {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

#pages .pagination li.disabled span {
    background-color: #f5f5f5;
    color: #999;
    border-color: #e0e0e0;
    cursor: not-allowed;
    opacity: 0.6;
}

#pages .pagination li.disabled:hover span {
    transform: none;
    box-shadow: none;
}

/* 前一頁/後一頁按鈕樣式 */
#pages .pagination li:first-child a,
#pages .pagination li:first-child span,
#pages .pagination li:last-child a,
#pages .pagination li:last-child span {
    font-size: 16px;
    font-weight: 700;
}

/* 響應式設計 */
@media (max-width: 768px) {
    #pages {
        padding: 30px 15px 50px 15px;
    }

    #pages .pagination {
        gap: 6px;
    }

    #pages .pagination li a,
    #pages .pagination li span {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    #pages {
        padding: 20px 10px 40px 10px;
    }

    #pages .pagination {
        gap: 4px;
    }

    #pages .pagination li a,
    #pages .pagination li span {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 12px;
        border-radius: 6px;
    }

    #pages .pagination li:first-child a,
    #pages .pagination li:first-child span,
    #pages .pagination li:last-child a,
    #pages .pagination li:last-child span {
        font-size: 14px;
    }
}
/* 分頁樣式 -end */