html {
    scroll-behavior: smooth;
    scroll-padding-top: 160px;
}

body {
    padding-right: 0px !important;
    font-size: 16px;
    font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
    letter-spacing: .5px;
    position: relative;
    min-height: 100vh;
    overflow-x: clip;
    max-width: 100vw;
}

/* ---- material symbols setting ---- */
.material-symbols-rounded {
    font-variation-settings:
        'FILL'0,
        'wght'400,
        'GRAD'0,
        'opsz'20
}

.material-symbols-rounded.fill {
    font-variation-settings:
        'FILL'1,
        'wght'400,
        'GRAD'0,
        'opsz'20
}

/* ---- material symbols setting end ---- */

/* ---- color root ---- */
:root {
    --main-color: #00A0E8;
    --vice-color: #383635;
    --gray-color: #5e5e5e;
    --dark-color: #403C3B;
    --lightblue-color: #eaf8ff;
    --orange-color: #f6816f;
}

/* ---- color root end ---- */
/* ---- basic setting ---- */
.section-page {
    padding: 65px 0;
}

@media (max-width: 992px) {
    .section-page {
        padding: 40px 0;
    }
}

.modal {
    padding-right: 0px !important;
}

.modal-content {
    border: none;
    border-radius: .8rem;
    overflow: hidden;
    padding: 2rem;
}

@media (max-width: 576px) {
    .modal-content {
        padding: 1rem;
    }
}

.modal-xmark {
    position: absolute;
    right: 10px;
    top: 10px;
}

.modal-t {
    font-size: 20px;
    letter-spacing: 3px;
    font-weight: 700;
    color: var(--main-color);
    text-align: center;
    margin: 0 0 20px;
    position: relative;
}

.modal-t::after {
    position: absolute;
    display: block;
    content: '';
    width: 35px;
    height: 35px;
    top: -3px;
    left: 45%;
    transform: rotate(35deg);
    border-radius: 8px;
    border: 1px solid rgb(0 160 232 / 30%);
}

a {
    color: #333;
    cursor: pointer;
    text-decoration: none;
    transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
}

a:focus,
a:hover {
    text-decoration: none;
    outline: 0;
    color: var(--main-color);
    cursor: pointer;
}

img {
    border: 0;
    padding: 0;
    margin: 0;
    vertical-align: middle;
    width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
li,
label {
    padding: 0;
    margin: 0;
    list-style: none;
}

input,
select,
textarea,
button {
    border-radius: 0;
    outline: none;
}

input:active,
select:active,
textarea:active,
button:active,
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

button {
    border: none;
    background-color: transparent;
}

select {
    -webkit-appearance: none;
    background-color: #fff;
    color: #333;
    background-image: url(../img/select-icon.svg);
    background-repeat: no-repeat;
    background-position: 99%;
    background-size: 16px;
}

/* 隱藏數字箭頭 */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.fm-group {
    margin-bottom: 15px;
}

.fm-group label {
    display: block;
    color: #929292;
    margin-bottom: 5px;
    font-size: 15px;
}

.fm-group textarea,
.fm-group input,
.fm-group select {
    color: #353535;
    width: 100%;
    font-size: 16px;
    padding: 5px 12px !important;
    background-color: #fff;
    border: 1px solid #dedede;
    transition: .3s ease;
    border-radius: 5px;
}

.fm-group textarea::placeholder,
.fm-group input::placeholder {
    color: #ccc;
}

.fm-group textarea:disabled,
.fm-group input:disabled,
.fm-group select:disabled {
    opacity: 1;
    background-color: #eee;
    color: #999;
    border: none;
    padding: 6px !important;
}

.checkbox {
    display: inline-flex;
    align-items: center;
    margin: 0 5px 10px 0;
}

.checkbox input[type='checkbox'] {
    width: 20px;
    height: 10px;
    margin: 0 10px 0 0;
    position: relative;
}

.checkbox input[type='checkbox']::before {
    position: absolute;
    top: -7px;
    left: -1px;
    width: 22px;
    height: 22px;
    content: '';
    display: block;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #fff;
    transition: .3s ease;
}

.checkbox input[type='checkbox']::after {
    position: absolute;
    top: -6.5px;
    left: -1px;
    width: 22px;
    height: 22px;
    content: '\e5ca';
    font-family: 'Material Symbols Rounded';
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    color: var(--main-color);
    opacity: 0;
    transition: .3s ease;
}

.checkbox input[type='checkbox']:checked:before,
.checkbox input[type='checkbox']:checked:after {
    opacity: 1;
    border-color: rgb(0 160 232 / 50%);
}

.checkbox label {
    margin: 0;
    letter-spacing: 2px;
    color: #333;
    transition: .3s ease;
}

.checkbox input[type='checkbox']:checked+label {
    color: var(--main-color);
}

div:where(.swal2-container) button:where(.swal2-styled) {
    padding: 5px 15px !important;
    font-size: 15px !important;
}

.swiper-pagination-bullet-active {
    background-color: var(--main-color);
}

.sect-t {
    font-size: 32px;
    color: var(--main-color);
    position: relative;
    font-weight: 700;
    letter-spacing: 6px;
    display: inline-block;
    padding-bottom: 15px;
}

.sect-t::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--main-color), #0077b3);
    border-radius: 2px;
}

.sect-t::before {
    position: absolute;
    content: '';
    display: block;
    width: 100px;
    height: 100px;
    top: -30px;
    left: -20px;
    border: 1px solid var(--main-color);
    opacity: .15;
    border-radius: 25px;
    transform: rotate(55deg);
}

.text-center .sect-t::before {
    display: none;
}

.sect-sub {
    text-align: right;
    margin-top: 15px;
    color: var(--dark-color);
    letter-spacing: 2px;
    font-size: 17px;
}

.text-center .sect-sub {
    text-align: center;
}

.sect-sub a {
    color: var(--main-color);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .sect-t {
        font-size: 25px;
        font-weight: 600;
        text-align: center;
    }

    .sect-t::before {
        width: 50px;
        height: 50px;
        border-radius: 10px;
        top: -40%;
        left: 35%;
    }

    .sect-sub {
        font-size: 15px;
        text-align: center;
    }
}

/* bg */

.bg {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

.light-bg {
    background-color: #eaf8ff;
}

.sect-bg1 {
    background-image: url(../img/sect-bg.svg);
}

.sect-bg2 {
    background-image: url(../img/sect-bg2.svg);
}

.sect-bg3 {
    background-image: url(../img/sect-bg3.svg);
}

.sect-bg4 {
    background-image: url(../img/sect-bg4.svg);
}

.sect-shadow {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.gray-bg {
    background-image: url(../img/gray-bg.webp);
}

.main-bg {
    background-color: var(--main-color);
}

/* text */

[class*=-h2] {
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 35px;
}

[class*=-h3] {
    letter-spacing: 1px;
    font-weight: 500;
    font-size: 20px;
    line-height: 32px;
}

[class*=-h4] {
    letter-spacing: 2px;
    font-weight: 400;
    font-size: 17px;
    line-height: 32px;
}

[class*=-h5] {
    line-height: 30px;
    letter-spacing: 1.5px;
    font-weight: 400;
    font-size: 16px;
}

[class*=-h6] {
    line-height: 32px;
    letter-spacing: 2.5px;
    font-weight: 400;
    font-size: 15px;
}

[class*=white-] {
    color: #fefefe;
}

[class*=dark-] {
    color: var(--dark-color);
}

[class*=gray-] {
    color: #555;
}

[class*=red-] {
    color: #ff3c2d;
}

[class*=main-] {
    color: var(--main-color);
}

[class*=-lighter] {
    font-weight: 300;
}

[class*=-bolder] {
    font-weight: 600;
}

[class*=-xlbolder] {
    font-weight: 800;
}

[class*=-ls0] {
    letter-spacing: 0;
}

[class*=-ls05] {
    letter-spacing: 0.5px;
}

[class*=-ls1] {
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    [class*=-h2] {
        font-size: 25px;
    }

    [class*=-h3] {
        font-size: 20px;
    }

    [class*=-h4] {
        font-size: 15px;
    }
}

.small,
small {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
}

/* line */

.line-small {
    display: block;
    width: 80px;
    border-bottom: 1px solid #ccc;
    margin: 15px 0 17px;
}

.line-big {
    display: block;
    width: 80px;
    border: 3px solid #eee;
    margin: 15px 0 17px;
}

/* btn */

.btn-list {
    display: flex;
    justify-content: end;
    align-items: center;
    flex-wrap: wrap;
}

.btn {
    background-color: var(--main-color);
    color: #fff;
    border-radius: 12px;
    width: fit-content;
    padding: 8px 20px;
    margin-left: 8px;
    transition: .3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn:focus,
.btn:active {
    box-shadow: none;
    color: #fff;
}

.btn:hover {
    opacity: .85;
    color: #fff;
}

.btn-cancel {
    background-color: var(--gray-color);
}

.btn-lineGreen {
    background-color: #06C755;
}


.w-85 {
    width: 85% !important;
}

.input-btn-flex {
    display: flex;
    height: 40px;
    align-items: center;
}

.input-btn-flex input {
    height: 40px !important;
    border-radius: 5px 0 0 5px;
    border-right: none;
}

.input-btn-flex button {
    width: 100px;
    min-width: 100px;
    background-color: #dedede;
    color: #555;
    height: 100%;
    border-radius: 0 5px 5px 0;
    letter-spacing: 2px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
}

.input-text-flex {
    display: flex;
    align-items: center;
    width: 100%;
    background-color: var(--bg-dark-3);
    padding: 5px 12px 5px 5px;
    border-radius: 10px;
}

.input-text-flex input {
    border: none;
    text-align: center;
}

.input-text-flex span {
    display: block;
    font-size: 20px;
    margin: 0 0 0 10px;
    color: var(--gray-color);
}

.center-box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background-color: #fff;
    border-radius: 10px;
}

.lightbg-box {
    background-color: rgb(0 160 232 / 5%);
    padding: 2rem;
    border-radius: 10px;
}

/* ---- basic setting end ---- */
/* ---- gotop ---- */
.gotop {
    position: fixed;
    right: 10px;
    bottom: 40px;
    transition: display 0.5s ease-in-out;
    z-index: 10;
}

.gotop img {
    width: 50px;
    display: block;
}

@media (max-width: 992px) {
    .gotop {
        bottom: 70px;
    }
}

@media (max-width: 768px) {
    .gotop {
        right: 10px;
    }

    .gotop img {
        width: 45px;
    }
}

/* ---- gotop end ---- */
/* ---- right link ---- */
.right-link {
    position: fixed;
    right: 10px;
    bottom: 120px;
    z-index: 10;
}

.right-link li a {
    display: flex;
    align-items: center;
    color: #fff;
    width: fit-content;
    height: 40px;
    background-color: var(--main-color);
    border-radius: 10px;
    margin: 0 0 0 auto;
    padding: 20px 10px;
    transition: .3s ease;
}

.right-link li:not(:last-of-type) a {
    margin: 0 0 15px auto;
}

.right-link li a img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.right-link li span {
    display: none;
    width: 0;
    margin-left: 0px;
    font-size: 15px;
    letter-spacing: 2px;
    transition: .3s ease;
}

.right-link li span img {
    width: 100%;
    height: 25px;
    object-fit: contain;
}

.right-link li:hover span {
    display: block;
    animation: rightLink .6s ease .0s 1 both;
}

@media (max-width: 992px) {
    .right-link {
        bottom: 130px;
    }
}

@media (max-width: 768px) {
    .right-link {
        display: none;
    }
}

@keyframes rightLink {
    from {
        width: 0%;
        margin-left: 0px;
    }

    to {
        width: 100%;
        margin-left: 10px;
    }
}

/* ---- right link end ---- */
/* ---- bottom link ---- */
.bottom-link {
    display: none;
}

@media (max-width: 768px) {
    .bottom-link {
        display: flex;
        position: fixed;
        z-index: 10;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 -5px 15px -5px rgba(0, 0, 0, 0.08);
    }
}

.bottom-link li {
    width: calc(100% / 3);
}

.bottom-link li a {
    display: flex;
    height: 50px;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.bottom-link li:not(:last-of-type) a {
    border-right: 1px solid #eaeaea;
}

.bottom-link li a img {
    width: 20px;
    object-fit: contain;
    margin-right: 10px;
}

@media (max-width: 576px) {
    .bottom-link li a {
        font-size: 14px;
    }

    .bottom-link li a img {
        width: 16px;
    }
}

/* ---- bottom link end ---- */
/* ---- header ---- */
header {
    height: 75px;
    position: relative;
    background: #fff;
    z-index: 100;
}

.fixed-top {
    box-shadow: 0 0 10px -5px rgba(0, 0, 0, 0.4);
    padding-right: 0px !important;
    background: #fff;
    transition: .3s ease;
}

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

@media (max-width: 1200px) {
    .header-flex {
        display: inline-flex;
        justify-content: start;
        width: 100%;
    }
}

.logo {
    width: 260px;
    min-width: 260px;
    height: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .3s ease;
}

.logo a {
    width: 100%;
}

.logo img {
    object-fit: contain;
    width: 85%;
    transition: .3s ease;
}

@media (max-width: 1200px) {
    .logo {
        min-width: 300px;
        width: 300px;
    }

    .logo img {
        width: 80%;
    }
}

@media (max-width: 576px) {
    .logo {
        min-width: 220px;
        width: 220px;
    }

    .logo img {
        width: 100%;
    }
}

header .nav-menu {
    margin: 0;
    padding: 0;
    height: 100%;
}

@media(min-width: 1200px) {
    header .nav-menu>ul {
        display: flex;
        margin: 0;
        padding: 0;
        height: 100%;
    }
}

header .nav-menu>ul>li {
    white-space: nowrap;
    list-style: none;
}

header .nav-menu a {
    display: block;
    color: var(--main-color);
    padding: 0 15px;
    transition: 0.3s;
    font-size: 16px;
    font-weight: 600;
}

header .nav-menu>ul>li>a {
    display: flex;
    align-items: center;
    color: var(--dark-color);
    height: 100%;
    padding: 0 12px;
    transition: 0.3s ease;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .5px;
    line-height: 75px;
}

header .nav-menu .active>a,
header .nav-menu li:hover>a {
    color: var(--main-color);
    text-decoration: none;
}

header .nav-menu .drop-down {
    position: relative;
}

header .nav-menu .drop-down ul {
    display: none;
    position: absolute;
    left: calc(-12%);
    top: 100%;
    height: auto;
    z-index: 99;
    border-radius: 5px;
    overflow: hidden;
    transition: ease all 0.3s;
    list-style: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

header .nav-menu .drop-down ul li {
    min-width: 180px;
    position: relative;
    /* height: 50px; */
}

header .nav-menu .drop-down ul li {
    display: block;
}

header .nav-menu .drop-down ul a {
    display: flex;
    align-items: center;
    justify-content: start;
    color: var(--vice-color);
    background-color: var(--lightblue-color);
    height: auto;
    font-size: 16px;
    padding: 10px 15px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: none;
}

header .nav-menu .drop-down ul a:hover,
header .nav-menu .drop-down ul .active>a,
header .nav-menu .drop-down ul li:hover>a {
    color: rgba(255, 255, 255, 1);
    background-color: var(--main-color);
}

header .nav-menu .drop-down>a:after {
    content: "\e5cf";
    font-family: "Material Symbols Rounded";
    font-size: 22px;
    padding-left: 5px;
}

/* 選單hover效果 */
header .nav-menu>ul>.drop-down:hover>ul {
    display: block;
    animation-name: header-animate;
    animation-duration: .5s;
    animation-delay: 0ms;
    animation-timing-function: cubic-bezier(0.39, 0.575, 0.565, 1);
}

/* pdt-nav-item */
header .nav-menu ul.pdt-nav-item>.drop-down>a::after {
    display: none;
}

header .nav-menu>ul>.drop-down>ul.pdt-nav-item {
    left: -170%;
    overflow: unset;
    display: none;
    background-color: #eaf8ff;
    height: 210px;
}

header .nav-menu>ul>.drop-down:hover>ul.pdt-nav-item {
    display: flex;
}

header .nav-menu>ul>.drop-down:hover>ul.pdt-nav-item .drop-down {
    position: relative;
}

header .nav-menu>ul>.drop-down:hover>ul.pdt-nav-item .active>a {
    color: var(--main-color)
}

header .nav-menu>ul>.drop-down>ul.pdt-nav-item a {
    background-color: transparent;
}

header .nav-menu>ul>.drop-down>ul.pdt-nav-item>.drop-down>a {
    font-size: 15px;
    flex-wrap: wrap;
    color: #666;
}

header .nav-menu>ul>.drop-down>ul.pdt-nav-item>.drop-down:hover>a {
    color: var(--main-color);
}

header .nav-menu>ul>.drop-down>ul.pdt-nav-item>.drop-down>a::after {
    display: block;
    content: '';
    width: 100%;
    height: 1px;
    margin: 5px 0 0;
    border-bottom: 1px solid #ccc;
}

header .nav-menu>ul>.drop-down>ul.pdt-nav-item .drop-down ul {
    display: block;
    position: absolute;
    top: 40px;
    left: 0;
}

header .nav-menu .drop-down ul.pdt-nav-item .drop-down ul li a {
    padding: 6px 15px;
}

header .nav-menu .drop-down ul.pdt-nav-item .drop-down ul li:hover a {
    color: var(--main-color)
}

@keyframes header-animate {
    from {
        transform: translateY(-30px);
    }

    to {
        transform: translateY(0px);
    }
}

.top-contact-btn {
    display: flex;
    align-items: center;
    background-color: var(--orange-color);
    color: #fff;
    height: 40px;
    padding: 0 15px;
    border-radius: 15px;
    transition: .3s ease;
}

.top-contact-btn:hover {
    background-color: var(--main-color);
    color: #fff;
}

.mobile-nav {
    position: fixed;
    top: 75px;
    bottom: 0;
    z-index: 1032;
    overflow-y: auto;
    width: 280px;
    background: transparent;
    transition: 0.4s;
    right: -280px;
    align-items: center;
    background-color: #f8f8f8;
}

.mobile-nav::-webkit-scrollbar {
    width: 7px;
}

.mobile-nav::-webkit-scrollbar-button {
    background: transparent;
    border-radius: 4px;
}

.mobile-nav::-webkit-scrollbar-track-piece {
    background: transparent;
}

.mobile-nav::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.5);
}

.mobile-nav::-webkit-scrollbar-track {
    box-shadow: transparent;
}

.mobile-nav * {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-nav ul {
    display: block;
    width: 100%;
}

.mobile-nav ul li {
    width: 100%;
}

.mobile-nav a {
    display: block;
    position: relative;
    color: var(--gray-color);
    letter-spacing: 2px;
    padding: 15px 20px;
    font-weight: 500;
    transition: 0.3s;
}

@media (max-width: 576px) {
    .mobile-nav a {
        margin-left: auto;
    }
}

.mobile-nav a:hover,
.mobile-nav .active>a,
.mobile-nav li:hover>a {
    color: var(--main-color);
    text-decoration: none;
}

.mobile-nav>ul>li>a {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

.mobile-nav .drop-down>a:after {
    content: "\e5cf";
    font-family: "Material Symbols Rounded";
    margin-left: 5px;
}

.mobile-nav .drop-down ul {
    display: none;
    overflow: hidden;
    margin: 10px 0;
}

.mobile-nav .drop-down li {
    margin-left: 20px;
}

.mobile-nav .drop-down li a {
    padding: 8px 15px;
}

.mobile-nav .sns-link-t {
    padding: 35px 20px 5px;
    font-size: 15px;
    font-weight: 400;
    color: var(--gray-color);
}

.mobile-nav .sns-link {
    padding: 0px 20px;
    display: flex;
    align-items: center;
}

.mobile-nav .sns-link li {
    width: fit-content;
    margin-right: 10px;
}

.mobile-nav .sns-link a {
    padding: 0;
}

.mobile-nav .sns-link a img {
    display: block;
    width: 30px;
}

/* 手機版 mega-menu 樣式 */
.mobile-nav .mega-menu {
    position: relative;
}

.mobile-nav .mega-menu .mega-menu-content {
    display: none;
    position: static;
    background: #fff;
    box-shadow: none;
    padding: 10px 0;
    border: none;
    flex-direction: column;
}

.mobile-nav .mega-menu.active .mega-menu-content {
    display: block;
}

.mobile-nav .mega-menu-column {
    padding: 0 15px;
    border-right: none;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.mobile-nav .mega-menu-column:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.mobile-nav .mega-menu-title {
    font-size: 14px;
    color: var(--main-color);
    padding: 8px 0;
    margin-bottom: 5px;
    border-bottom: none;
}

.mobile-nav .mega-menu-column ul li a {
    padding: 6px 10px !important;
    font-size: 13px !important;
}

.mobile-nav-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    right: 0px;
    top: 0px;
    z-index: 1033;
    border: 0;
    background: none;
    font-size: 35px;
    transition: all 0.3s;
    outline: none !important;
    line-height: 1;
    width: 75px;
    height: 75px;
}

.mobile-nav-toggle:hover {
    cursor: pointer;
}

.mobile-nav-active .mobile-nav-toggle {
    background-color: #f8f8f8;
}

.mobile-nav-toggle .mobilenav-line span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #555;
    transition: .3s ease;
}

.mobile-nav-toggle .mobilenav-line.active span {
    background-color: var(--main-color);
}

.mobile-nav-toggle .mobilenav-line span:nth-of-type(2) {
    margin: 7px 0;
}

.mobile-nav-toggle .mobilenav-line.active span:nth-of-type(2) {
    opacity: 0;
}

.mobile-nav-toggle .mobilenav-line.active span:nth-of-type(1) {
    transform: rotate(45deg) translateY(6px) translateX(5px);
}

.mobile-nav-toggle .mobilenav-line.active span:nth-of-type(3) {
    transform: rotate(-45deg) translateY(-8px) translateX(6px);
}

.mobile-nav-overly {
    width: 100%;
    height: 100%;
    z-index: 1031;
    top: 75px;
    right: 0;
    position: fixed;
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    display: none;
}

.mobile-nav-active {
    overflow: hidden;
}

.mobile-nav-active .mobile-nav {
    display: block;
    padding: 30px 20px;
    right: 0;
}

/* ---- Mega Menu ---- */
.mega-menu {
    position: static !important;
}

.mega-menu>a::after {
    content: "\e5cf" !important;
    font-family: "Material Symbols Rounded" !important;
    font-size: 20px !important;
    padding-left: 1px !important;
}

.mega-menu-content {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0%;
    z-index: 100;
    border-top: 2px solid var(--main-color);
}

.mega-menu:hover .mega-menu-content {
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: center;
}

header .nav-menu .mega-menu .mega-menu-content {
    position: absolute;
    left: 0;
    right: 0;
}

header .nav-menu .mega-menu:hover>ul {
    display: none !important;
}

.mega-menu-column {
    flex: 1;
    min-width: 0;
    padding: 0 12px;
    border-right: 1px solid #eee;
}

.mega-menu-column:last-child {
    border-right: none;
}

.mega-menu-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--main-color);
    padding-bottom: 5px;
    margin-bottom: 5px;
    border-bottom: 1px solid #eee;
    letter-spacing: 2px;
}

.mega-menu-column ul {
    display: block !important;
    position: static !important;
    padding: 0;
    margin: 0;
    list-style: none;
    background-color: transparent !important;
    box-shadow: none !important;
    height: auto !important;
}

.mega-menu-column ul li {
    display: block !important;
    margin-bottom: 0;
    min-width: unset !important;
}

.mega-menu-column ul li a {
    display: block !important;
    padding: 5px 0 !important;
    font-size: 14px !important;
    color: #666 !important;
    font-weight: 400 !important;
    letter-spacing: 1px;
    transition: color 0.2s ease;
    background-color: transparent !important;
    height: auto !important;
}

.mega-menu-column ul li a:hover {
    color: var(--main-color) !important;
}

/* 解決方案選單 */
.solution-menu {
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.solution-menu .mega-menu-column {
    flex: none;
    min-width: 240px;
    padding: 0 25px;
}

/* Mega Menu 響應式 */
@media (max-width: 1400px) {
    .mega-menu-content {
        padding: 20px 2%;
    }

    .mega-menu-column {
        padding: 0 10px;
    }

    .mega-menu-title {
        font-size: 13px;
    }

    .mega-menu-column ul li a {
        font-size: 12px !important;
        padding: 5px 0 !important;
    }
}

@media (max-width: 1200px) {
    .mega-menu-content {
        display: none !important;
    }
}

/* ---- header end ---- */


/* ---- breadcrumb ---- */

.breadcrumb-area {}

.breadcrumb {
    justify-content: end;
    margin: 0;
    padding: 8px 0;
    background-color: transparent;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: '|';
    color: #ccc;
}

.breadcrumb-item a {
    font-size: 13px;
    letter-spacing: 3px;
    color: #666;
}

.breadcrumb-item.active a {
    color: var(--main-color);
}

/* ---- breadcrumb end ---- */


/* ---- pagination ---- */
.pagination {
    justify-content: center;
    margin: 10px 0;
}

.pagination li a {
    display: block;
    text-align: center;
    border-bottom: 2px solid #eee;
    color: #aaa;
    width: 30px;
    margin: 0 2px;
    transition: .3s ease;
}

.pagination li.active a,
.pagination li:hover a {
    color: var(--main-color);
    border-bottom-color: rgb(0 160 232 / 10%);
}

.pagination li a .material-symbols-rounded {
    font-size: 13px;
}

/* ---- pagination end ---- */

/* ---- banner ---- */
.banner-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.banner-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.banner-bg-slide.active {
    opacity: 1;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(316deg,
        rgb(255 255 255 / 3%) 0%,
        rgb(255 255 255 / 45%) 50%,
        rgb(255 255 255 / 70%) 100%);
    z-index: 2;
}

.banner-content {
    position: relative;
    z-index: 3;
    padding: 80px 0;
    max-width: 700px;
}

.banner-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgb(255 255 255 / 40%);
    color: var(--main-color);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 160, 232, 0.3);
    line-height: 1;
}

.banner-label .material-symbols-rounded {
    font-size: 18px;
}

.banner-title {
    font-size: 48px;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.3;
    margin-bottom: 20px;
}

.banner-title span {
    color: var(--main-color);
    position: relative;
}

.banner-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 10px;
    background: rgba(0, 160, 232, 0.15);
    z-index: -1;
}

.banner-subtitle {
    font-size: 17px;
    color: #414141;
    line-height: 1.8;
    margin: 0 0 25px;
}

.banner-subtitle strong {
    color: var(--main-color);
    font-weight: 600;
}

.banner-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.banner-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    background: linear-gradient(135deg, var(--main-color) 0%, #00aaff 100%);
    color: #fff;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 25px rgba(0, 160, 232, 0.35);
}

.banner-btn-primary:hover {
    background: linear-gradient(135deg, #0088cc 0%, #00aaff 100%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 160, 232, 0.45);
}

.banner-btn-primary .material-symbols-rounded {
    font-size: 20px;
}

.banner-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    /* background: transparent;*/
    background: linear-gradient(135deg, var(--orange-color) 0%, #ff3a2c 100%);
    color: #fff;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    /* border: 2px solid #ddd;*/
}

.banner-btn-secondary:hover {
    background: linear-gradient(135deg, #ff3a2c 0%, #ff2200 100%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 160, 232, 0.45);
}

.banner-btn-secondary .material-symbols-rounded {
    font-size: 18px;
    transition: transform 0.3s ease;
}

/*.banner-btn-secondary:hover .material-symbols-rounded {
    transform: translateX(5px);
}*/

.banner-trust {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    animation-delay: 0.8s;
}

.bt-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #575757;
}

.bt-item .material-symbols-rounded {
    font-size: 20px;
    color: var(--main-color);
}

.banner-btn a:hover {
    opacity: .8 !important;
}

.banner-img {
    position: absolute;
    right: 15%;
    top: 150px;
    width: 500px;
    height: 500px;
    z-index: 10;
    -webkit-animation-delay: .7s;
    animation-delay: .7s;
}

.bannerSwipper {
    width: 100%;
    height: 100%;
    border-radius: 50px;
}

.bannerSwipper .swiper-slide img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.banner-deco-box {
    width: 150px;
    height: 150px;
    background-color: rgb(0 160 232 / 50%);
    position: absolute;
    right: 10%;
    border-radius: 30px;
    top: 65px;
    z-index: 2;
    -webkit-animation-delay: .6s;
    animation-delay: .6s;
}

.banner-square {
    position: absolute;
    left: 10%;
    top: 480px;
    width: 100px;
    height: 100px;
    border-radius: 25px;
    transform: rotate(55deg);
    ;
    background-color: var(--main-color);
}

@media (max-width: 992px) {
    .banner-section {
        min-height: 500px;
    }

    .banner-title {
        font-size: 38px;
    }

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

@media (max-width: 768px) {
    .banner-section {
        min-height: 450px;
    }

    .banner-overlay {
        background: linear-gradient(305deg, rgb(255 255 255 / 48%) 0%, rgba(255, 255, 255, 0.88) 100%);
    }

    .banner-content {
        padding: 40px 0;
        text-align: center;
    }

    .banner-label {
        font-size: 12px;
        padding: 6px 12px;
        margin-bottom: 15px;
    }

    .banner-subtitle {
        font-size: 14.5px;
    }

    .banner-subtitle br {
        display: none;
    }

    .banner-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .banner-btn {
        justify-content: center;
        gap: 10px;
        margin-bottom: 20px;
    }

    .banner-btn-primary,
    .banner-btn-secondary {
        padding: 8px 15px;
        font-size: 14px;
    }

    .banner-trust {
        justify-content: center;
        gap: 12px;
    }

    .bt-item {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .banner-section {
        min-height: 300px;
    }

    .banner-title {
        font-size: 24px;
    }



    .banner-trust {
        display: none;
    }
}

/* ---- banner end ---- */

/* ---- inbanner ---- */

.inbanner {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.inbanner-deco {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 25px;
    transform: rotate(55deg);
    display: block;
    border: 2px solid rgb(0 160 232 / 50%);
    top: -5%;
    z-index: 1;
    right: 10%;
}

.inbanner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1200px) {
    .inbanner {
        height: 200px;
    }

    .inbanner-deco {
        right: 5%;
        border-width: 1px;
    }
}


.inbanner-text-area {
    position: absolute;
    width: 100%;
    top: 30%;
    left: 0;
}

.inbanner h1 {
    font-size: 45px;
    color: #666;
    font-weight: 700;
    letter-spacing: 5px;
    position: relative;
    width: fit-content;
    z-index: 0;
    padding: 10px 15px;
}

.inbanner h1::after {
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    content: '';
    width: 100%;
    height: 100%;
    border-radius: 0px;
    /* background-color: rgb(255 255 255 / 40%); */
    z-index: -1;
}

@media (max-width: 768px) {
    .inbanner h1 {
        font-size: 35px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .inbanner h1 {
        font-size: 25px;
        color: #fff;
        text-shadow: 0 0 15px rgb(0 0 0 / 55%);
    }
}

/* ---- inbanner end ---- */

/* ---- category ---- */
.category-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--main-color);
    padding: .3rem;
    color: #fff;
    border-radius: 5px;
    margin: 10px 0;
}

.category-btn:hover {
    cursor: pointer;
}

.category {
    display: flex;
    align-items: center;
    justify-content: center;
}

.category li a {
    display: block;
    margin: 0 10px 10px 0;
    border: 1px solid rgba(190, 190, 190, 1);
    padding: 5px 15px;
    border-radius: 5px;
    transition: .3s ease;
    color: var(--gray-color);
    letter-spacing: 2px;
}

.category li:hover a,
.category li.active a {
    border-color: rgb(0 160 232 / 40%);
    color: #ffffff;
    background: #00a0e9;
}

@media (max-width: 992px) {
    .category {
        display: none;
    }

    .category li a {
        display: block;
        margin: 0 0 10px;
    }
}

@media (min-width: 992px) {
    .category {
        display: flex !important;
    }
}

/* ---- category end ---- */

/* ---- index ---- */

.i-service-box {
    position: relative;
    padding: 25px;
    border-radius: 20px;
    z-index: 0;
    transition: .3s ease;
}

.is-title {
    text-align: center;
    font-weight: 700;
    color: var(--dark-color);
    font-size: 22px;
    letter-spacing: 3px;
    margin: 0 0 10px;
    transition: .3s ease;
}

.is-subtitle {
    line-height: 30px;
    font-size: 17px;
    color: #333;
    letter-spacing: 2px;
}

.i-service-box:hover {
    cursor: pointer;
}

.i-service-box:hover .is-title {
    color: var(--main-color);
}

.i-service-box img {
    display: block;
    margin: 0 auto 40px;
    width: 150px;
    object-fit: contain;
    transition: .3s ease;
}

.i-service-box:hover img {
    transform: scale(1.15) !important;
}

@media (max-width: 576px) {
    .is-title {
        font-size: 18px;
    }

    .i-service-box img {
        width: 100px;
        margin: 0 auto 10px;
    }
}

.is-box-bg {
    position: absolute;
    width: 150px;
    height: 150px;
    display: block;
    top: 7%;
    transform: rotate(35deg);
    left: calc(50% - 75px);
    z-index: -1;
    transition: .3s ease;
}

.is-box-bg::before {
    position: absolute;
    width: 30px;
    height: 30px;
    border-left: 1px solid rgb(0 160 232 / 50%);
    border-bottom: 1px solid rgb(0 160 232 / 50%);
    display: block;
    content: '';
    bottom: 0;
    left: 0;
    transition: .3s ease;
}

.is-box-bg::after {
    position: absolute;
    width: 30px;
    height: 30px;
    border-top: 1px solid rgb(0 160 232 / 50%);
    border-right: 1px solid rgb(0 160 232 / 50%);
    display: block;
    content: '';
    top: 0;
    right: 0;
    transition: .3s ease;
}

@media (max-width: 576px) {
    .is-box-bg {
        width: 80%;
        height: 80%;
        top: 15%;
        left: 8%;
    }
}

.i-service-box:hover .is-box-bg::before,
.i-service-box:hover .is-box-bg::after {
    scale: 1.2 !important;
    cursor: pointer;
    border-color: var(--main-color);
}


.im-divice {
    position: relative;
}

.im-img,
.im-md-img {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    display: none;
}

.im-img.active,
.im-md-img.active {
    display: block;
    animation: imImgShow 4.5s ease 0ms 1 both;
}

@media (max-width: 576px) {
    .im-divice img {
        width: 90%;
    }
}

@keyframes imImgShow {
    0% {
        opacity: 0;
    }

    75% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.im-deco {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 30px;
    border: 1px solid var(--main-color);
    left: 10%;
    top: 55%;
    transform: rotate(35deg);
}

.im-deco2 {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 30px;
    border: 1px solid var(--main-color);
    transform: rotate(35deg);
    right: 10%;
    bottom: 10%;
}

@media (max-width: 1680px) {
    .im-deco {
        left: 5%;
    }
}

@media (max-width: 1200px) {
    .im-deco {
        top: 60%;
    }
}

@media (max-width: 768px) {
    .im-deco {
        width: 100px;
        height: 100px;
    }
}

.im-sect {
    background-size: cover;
    background-color: #f2fafe;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-image: url(../img/im-bg.svg);

}

@media (max-width: 576px) {
    .im-sect {
        background-image: url(../img/im-md-bg.svg);
    }
}

.ip-sect {
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 35px rgb(0 0 0 / 5%) inset;
}

.ip-deco {
    position: absolute;
    bottom: 400px;
    right: 0px;
    width: 350px;
    height: 350px;
    background-color: rgb(0 160 232 / 5%);
    border-radius: 65px;
    transform: rotate(35deg);
}

.ip-deco2 {
    position: absolute;
    width: 450px;
    height: 450px;
    background-color: rgb(0 160 232 / 5%);
    border-radius: 65px;
    transform: rotate(55deg);
    top: 100px;
    left: -20px;
}

.ip-box-wrap {
    transition: .3s ease;
    border-radius: 20px 20px 15px 15px;
    box-shadow: 10px 10px 0px 0px rgba(0, 0, 0, 0.05);
}

.ip-box-wrap:hover {
    cursor: pointer;
    transform: translateY(-5px);
}

.ip-box {
    position: relative;
    display: block;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgb(0 160 232 / 30%);
    padding: 2rem 2rem 0.5rem;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 20px 20px 0 0;
    transition: .3s ease;
}

.ip-box-wrap.recommend .ip-box {
    border-color: rgba(246, 129, 111, 0.5);
}

.ip-box-wrap.recommend .ip-box::after {
    position: absolute;
    top: 0px;
    left: 25px;
    display: block;
    padding: 3px 25px;
    content: "推薦";
    font-size: 14px;
    color: #fff;
    border-radius: 0 0 5px 5px;
    background-color: var(--orange-color);
}

.ipb-set {
    width: 100%;
    margin-right: 20px;
    border-bottom: 1px solid #ddd;
}

.ipb-price {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    margin-top: 10px;
}

.ipb-price span {
    font-size: 16px;
    display: block;
    text-align: right;
    margin: -28px 87px 0;
}


.ipb-title {
    font-weight: 600;
    color: var(--main-color);
    font-size: 20px;
    letter-spacing: 1px;
    margin-bottom: 15px;
    top: 11px;
    position: absolute;
    right: 30px;
}


.ip-box-wrap.recommend .ipb-title {
    color: var(--orange-color);
}

@media (max-width: 768px) {

    .ipb-price,
    .ipb-title {
        text-align: center;
    }

    .ipb-price span {
        margin: -15px 0 0;
    }
}

.ipb-ct {
    padding: 10px;
}

.ipb-ct span {
    display: block;
    text-align: center;
    background-color: rgb(0 160 232 / 10%);
    padding: 5px 10px;
    color: var(--dark-color);
    border-radius: 10px;
}

.ipb-ct span:not(:last-of-type) {
    margin: 0 0 15px;
}

.ip-box-wrap.recommend .ipb-ct span {
    background-color: rgba(246, 129, 111, 0.1);
}

.ip-total {
    text-align: center;
    font-weight: 500;
    color: #212529;
    margin: 10px 0 0;
    font-size: 18px;

}

.ip-box-b {
    display: flex;
    align-items: center;
    justify-content: end;
}

.ip-btn {
    display: block;
    width: 100%;
    text-align: center;
    background-color: var(--main-color);
    color: #fff;
    padding: 10px 35px;
    border-radius: 0 0 15px 15px;
}

.ip-box-wrap.recommend .ip-btn {
    background-color: var(--orange-color);
}

.ip-box-wrap:hover .ip-btn {
    color: #fff;
    opacity: .85;
}

@media (max-width: 1200px) {
    .ip-box {
        flex-wrap: wrap;
        padding: 2rem 2rem 1rem;
    }

    .ipb-set,
    .ipb-ct {
        width: 100%;
    }
}

.ip-plus-top {
    width: 100%;
    font-size: 20px;
    font-weight: 500;
    display: flex;
    color: var(--orange-color);
    align-items: center;
    justify-content: center;
}

.ip-plus-t {
    width: fit-content;
    margin: 0 auto;
    text-align: center;
    font-size: 30px;
    color: var(--dark-color);
    letter-spacing: 3px;
    font-weight: 600;
    position: relative;
}

.ip-plus-t::after {
    position: absolute;
    content: '';
    display: block;
    width: 100%;
    height: 20px;
    left: 0;
    bottom: 0px;
    background-color: rgba(246, 129, 111, 0.2);
}

@media (max-width: 576px) {
    .ip-plus-t {
        font-size: 20px;
    }
}

.ip-plus-ct {
    text-align: center;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 2rem;
    border-radius: 15px;
    color: var(--dark-color);
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.05);
    transition: .3s ease;
}

.ip-plus-ct:hover {
    transform: translateY(-5px);
    cursor: pointer;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.08);
}

.ippc-t {
    font-size: 22px;
    letter-spacing: 3px;
    font-weight: 600;
    margin: 0 0 15px;
    color: var(--orange-color);
}

.ippc-desc {
    color: #666;
    letter-spacing: 2px;
    margin: 0 0 15px;
}

.ippc-price {
    font-size: 25px;
    text-align: center;
    font-weight: 800;
}

.ippc-price span {
    display: inline-block;
    margin: 0 0 0 8px;
    font-size: 30px;
    color: var(--main-color);
    animation: ipbPrice .7s ease 0ms infinite both;
}

@keyframes ipbPrice {
    0% {
        transform: scale(1);
    }

    90% {
        transform: scale(1.05);
    }
}

/* ---- index end ---- */



/* ---- ab ---- */

.aba-sect {
    overflow: hidden;
}

@media (max-width: 1200px) {
    .ab-acunetix-img {
        display: block;
        width: 60%;
        margin: 0 0 0 auto;
    }

    .ab-acunetix-t {
        width: 70%;
        margin: 0 0 20px auto;
    }
}

@media (max-width: 768px) {
    .ab-acunetix-img {
        width: 90%;
    }
}

.aba-deco {
    position: absolute;
    bottom: 0;
    left: -5%;
    width: 150px;
    height: 150px;
    border: 1px solid rgb(0 160 232 / 30%);
    border-radius: 25px;
    transform: rotate(55deg);
}

.abs-box img {
    display: block;
    border-radius: 10px;
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.05);
    transition: .3s ease;
}

.abs-box:hover img {
    box-shadow: 10px 10px 0px rgb(0 160 232 / 20%)
}

.abs-box+[class*=dark-] {
    transition: .3s ease;
}

.abs-box:hover+[class*=dark-] {
    color: var(--main-color)
}

/* ---- ab end ---- */


/* ---- case ---- */
.icasebox {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.icase-t {
    position: absolute;
    top: 7%;
    left: 5%;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 20px;
    letter-spacing: 2px;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    height: 86%;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: .5s ease;
    opacity: 0;
    transform: rotateY(50deg);
}

.icasebox:hover .icase-t {
    opacity: 1;
    transform: rotateY(0deg);
}

.case-box {
    position: relative;
    overflow: hidden;
}

.case-box.service {
    overflow: hidden;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgb(0 160 232 / 25%);
}

.case-box img {
    transition: .3s ease;
}

.case-desc {
    padding: 15px;
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
    outline: 1px solid rgb(0 160 232 / 15%);
    outline-offset: -10px;
    background-color: rgba(255, 255, 255, .95);
    opacity: 0;
    transform: scale(1);
    z-index: 1;
    transition: .4s ease;
}

.case-box.service .case-desc {
    outline: none;
    outline-offset: 0;
}

.case-box:hover .case-desc {
    opacity: 1;
    transform: scale(0.95);
}

.case-box.service:hover .case-desc {
    transform: scale(1);
}

.case-desc::after {
    position: absolute;
    content: '';
    display: block;
    width: 130px;
    height: 130px;
    background-color: rgb(0 160 232 / 5%);
    bottom: -20px;
    right: -20px;
    transform: rotate(55deg);
    z-index: -1;
    border-radius: 20px;
}

@media (max-width: 992px) {
    .case-desc {
        position: relative;
        opacity: 1;
        transform: scale(1);
        padding: 10px 0;
        border-bottom: 1px solid #ddd;
        outline: none;
    }

    .case-box.service .case-desc {
        border-bottom: none;
        background-color: rgb(0 160 232 / 55%);
    }

    .case-box:hover .case-desc {
        transform: scale(1);
        opacity: unset;
    }

    .case-desc::after {
        display: none;
    }
}

.case-t {
    margin: 0 0 10px;
    font-size: 22px;
    color: var(--main-color);
    font-weight: 500;
    letter-spacing: 2px;
}

@media (max-width: 992px) {
    .case-t {
        color: var(--dark-color);
        font-size: 17px;
        font-weight: 400;
        margin: 0px;
    }

    .case-box.service .case-t {
        color: #fff;
    }
}


.case-view {
    color: rgb(0 160 232 / 90%);
    border: 2px solid rgb(0 160 232 / 20%);
    display: inline-flex;
    justify-content: center;
    width: 35px;
    height: 35px;
    align-items: center;
}

@media (max-width: 992px) {
    .case-view {
        position: absolute;
        top: -100%;
        right: 10px;
        border: none;
        background-color: rgb(0 160 232 / 50%);
        color: #fff;
        z-index: 3;
    }

    .case-view:nth-of-type(2) {
        right: 55px;
    }
}


.case-view .material-symbols-rounded {
    font-variation-settings:
        'FILL'0,
        'wght'200,
        'GRAD'0,
        'opsz'20;
    font-size: 25px;
}

.case-view:hover {
    color: #fff;
    background-color: var(--main-color);
}

.small-gutter {
    margin-right: -5px;
    margin-left: -5px;
}

.small-gutter [class*=col-] {
    padding-right: 5px;
    padding-left: 5px;
}

/* ---- case end ---- */
/* ---- case-detail ---- */
.case-dt-img {
    height: 90vh;
    overflow-y: scroll;
    text-align: justify;
}

.case-dt-img::-webkit-scrollbar {
    display: none;
}

.case-dt-img img {
    margin: 0 0 15px;
}

.case-dt-desc {
    height: 100%;
    background-image: url(../img/sect-bg4.svg);
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 15%;
    position: relative;
    overflow: hidden;
}

@media (min-width: 992px) {
    .case-dt-desc {
        box-shadow: 10px 10px 20px rgb(0 0 0 / 5%) inset;
    }
}

.case-dt-deco {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 20px;
    transform: rotate(35deg);
    border: 1px solid rgb(0 160 232 / 15%);
    bottom: 10%;
    right: 10%;
}

.case-dt-desc h1 {
    color: var(--dark-color);
    font-weight: 700;
}

.case-dt-text {
    font-size: 15px;
    margin: 20px 0 10px;
    letter-spacing: 2px;
    color: var(--gray-color);
}

.case-dt-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 7px 10px;
    font-size: 15px;
    border-radius: 5px;
    border: 1px solid rgb(0 0 0 / 15%);
    color: var(--gray-color);
    letter-spacing: 2px;
}

.case-dt-btn:hover {
    color: var(--main-color);
    border-color: rgb(0 160 232 / 30%);
}

.case-dt-btn .material-symbols-rounded {
    font-size: 14px;
}

@media (max-width: 1200px) {
    .case-dt-desc {
        padding: 15px 10%;
    }

    .case-dt-desc h1 {
        font-size: 30px;
    }
}

@media (max-width: 992px) {
    .case-dt-desc {
        padding: 35px 15px;
    }

    .case-dt-img {
        height: 100%;
        padding: 0 15px;
    }

    .case-dt-img img {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .case-dt-desc {
        padding: 35px 15px;
    }

    .case-dt-desc h1 {
        font-size: 25px;
    }
}

.badge {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 14px;
    font-weight: 400;
    background-color: rgb(0 160 232 / 10%);
    padding: 6px 10px;
    border-radius: 6px;
    margin: 0 10px 5px 0px;
}

.badge::before {
    content: '\e9ef';
    font-family: 'Material Symbols Rounded';
}

/* ---- case-detail end ---- */

/* ---- qa ---- */
.qa-box {
        border-radius: 12px;
    background: #ffffff2e;
    box-shadow: 3px 3px 0 0 #dadada;
    padding: 15px 25px;
    transition: all 0.3s;
    height: 100%;
    border: 1px solid #bfbfbf;
}

.qa-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-left-color: var(--main-color);
}

@media (max-width: 992px) {
    .qa-box {
        padding: 22px 18px;
    }
}

.qa-box-t {
    color: var(--dark-color);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    transition: .3s ease;
}

.qa-box:hover .qa-box-t {
    color: var(--main-color);
}

@media (max-width: 576px) {
    .qa-box-t {
        font-size: 15px;
    }
}

/* ---- qa end ---- */


/* ---- main ---- */

.main-link {
    display: flex;
}

.main-img {
    width: 350px;
    height: 200px;
    overflow: hidden;
}

.main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-desc {
    padding: 2% 5%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-desc .main-t {
    letter-spacing: 1px;
    font-size: 20px;
    color: var(--dark-color);
    font-weight: 600;
    transition: .3s ease;
}

.main-link:hover .main-t {
    color: var(--main-color);
}

.main-desc .main-sub {
    font-size: 15px;
    color: var(--gray-color);
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .main-link {
        flex-wrap: wrap;
    }

    .main-img {
        width: 100%;
        height: 300px;
    }

    .main-desc {
        padding: 2% 0px;
    }
}

@media (max-width: 576px) {
    .main-img {
        width: 100%;
        height: 250px;
    }
}

/* ---- main end ---- */


/* ---- waterfall-photo ---- */

#waterfall-photo {
    width: 100%;
    margin: 0px auto;
    column-count: 5;
    /*欄數*/
    column-gap: 15px;
    /*每欄間隔*/
}

@media (max-width: 1200px) {
    #waterfall-photo {
        column-count: 4;
    }
}

@media (max-width: 992px) {
    #waterfall-photo {
        column-count: 2;
    }
}

.wf-photo {
    padding: 6px 0;
    box-sizing: border-box;
    margin: 0 auto 5px;
    break-inside: avoid;
    /*定義頁面、列或是區域發生中斷時的元素表現方式。 
    auto->元素中斷、acoid->元素不中斷*/
}

.wf-photo img {
    width: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    border-radius: 10px;
    box-shadow: 0 0 12px -5px rgba(0, 0, 0, 0.3);
}

/* ---- waterfall-photo end ---- */

/* ---- service ---- */
.s1-icon img {
    display: block;
    width: 60%;
    margin: 0 auto 10px;
    filter: drop-shadow(10px 10px 0 rgb(0 0 0 / 5%));
}

@media (max-width: 576px) {
    .s1-icon img {
        width: 80%;
    }
}

.s2-screen-sect {
    position: relative;
}

.s2-deco {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 35px;
    border: 1px solid rgb(0 160 232 / 35%);
    top: 30%;
    left: 35%;
    transform: rotate(35deg);
}

@media (max-width: 992px) {
    .s4-icon img {
        width: 80%;
        display: block;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {

    .s4-icon img,
    .s2-icon img {
        width: 80%;
        display: block;
        margin: 0 auto;
    }
}


.s2-seo-sect {
    background-image: url(../img/s2-seo-bg.webp);
    background-position: 30%;
    box-shadow: 0 10px 20px rgb(0 0 0 / 15%) inset;
}

@media (max-width: 1200px) {
    .s2-seo-sect {
        background-position: 90%;
    }
}

.border-box {
    border: 1.5px solid #00a0e8;
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 4px 4px 0 0 #bae2f8;
}

.border-box.light {
    border-color: #eee;
    color: #fff;
    font-size: 17px;
}

.border-box.lightbg {
    background-color: rgba(255, 255, 255, 0.7);
}

.s3-info-sect {
    position: relative;
    overflow: hidden;
}

.s3-info-img {
    display: block;
    object-fit: cover;
    height: 400px;
    object-position: top;
    opacity: .8;
}

.s3-info {
    position: absolute;
    top: 15%;
    left: 0;
    width: 100%;
}

.s3-info-deco {
    position: absolute;
    left: 5%;
    top: 25%;
    width: 350px;
    height: 350px;
    border-radius: 45px;
    border: 1px solid rgba(0, 160, 232, 0.2);
    transform: rotate(55deg);
    z-index: 1;
}

.card-header {
    background-color: rgb(0 160 232);
}

.btn-qa {
    font-size: 16px;
    color: #fff;
}

@media (max-width: 1200px) {
    .s3-info {
        top: 10%;
    }

    .s3-info-img {
        height: 650px;
        object-position: 20%;
    }
}

@media (max-width: 768px) {
    .s3-info-img {
        height: 600px;
        object-position: 30%;
    }

    .s3-info {
        top: 60px;
    }
}

@media (max-width: 576px) {
    .s3-info-img {
        height: 675px;
        object-position: 60%;
        opacity: .3;
    }
}

.flip-card {
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: .3s ease;
}

.flip-card-front {
    transition: .5s ease;
}


.flip-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;

}

.flip-card-num {
    font-weight: 700;
    font-size: 30px;
}

.flip-card-t {
    letter-spacing: 2px;
    font-size: 22px;
    font-weight: 700;
}

.flip-card-img {
    height: 270px;
    object-fit: cover;
}

.flip-card.short .flip-card-img {
    height: 150px;
}

.flip-card-back {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    border: 1px solid rgb(0 160 232 / 15%);
    border-radius: 15px;
    background-color: #fff;
    opacity: 0;
    transform: rotateX(180deg);
    transition: .5s ease;
    z-index: 1;
}

@media (min-width: 992px) {
    .flip-card:hover .flip-card-front {
        transform: rotateX(180deg);
        opacity: 0;
    }

    .flip-card:hover .flip-card-back {
        transform: rotateX(0deg);
        opacity: 1;
    }
}


.flip-card-back .flip-card-head {
    color: var(--main-color);
}

.flip-card-desc {
    border-top: 1px solid #eee;
    padding: 10px 20px;
    font-size: 15px;
    line-height: 25px;
    letter-spacing: 2.5px;
    color: #666;
    display: flex;
    text-align: justify;
}

@media (max-width: 992px) {
    .flip-card-img {
        height: 100%;
    }

    .flip-card-back {
        position: relative;
        opacity: 1;
        border-radius: 0 0 15px 15px;
        border: none;
        transform: none;
    }

    .flip-card-desc {
        border-top: none;
        padding: 15px 20px;
    }
}

.rwd-table {
    background-color: rgba(255, 255, 255, 0.95);
    width: 100%;
    border: 1px solid rgb(0 160 232 / 10%);
}

.rwd-table td,
.rwd-table th {
    vertical-align: middle;
    padding: 12px 10px;
    text-align: center;
}

.rwd-table thead {
    background-color: rgb(0 160 232 / 5%);
}

.rwd-table thead th {
    font-size: 20px;
    font-weight: 400;
    color: var(--main-color)
}

.rwd-table tbody tr {
    border-bottom: 1px solid rgb(0 160 232 / 10%);
}

@media (max-width: 992px) {
    .rwd-table {
        border: none;
    }

    .rwd-table thead {
        display: none;
    }

    .rwd-table tbody td {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .rwd-table tbody td::before {
        display: block;
        content: attr(data-title);
        color: rgb(0 160 232 / 70%);
    }

    .rwd-table tbody td:first-of-type {
        display: block;
        font-size: 20px;
        font-weight: 700;
        background-color: rgb(0 160 232 / 10%);
        color: var(--main-color);
    }
}

.s7-bg {
    height: 450px;
    position: relative;
}

.s7-bg-img {
    height: 450px;
    object-fit: cover;
    position: absolute;
}

.s7-text {
    display: flex;
    align-items: center;
    height: 450px;
}


@media (max-width: 992px) {

    .s7-bg,
    .s7-bg-img {
        height: 500px;
    }

    .s7-text {
        padding: 150px 0 0 0;
    }
}

@media (max-width: 768px) {
    .s7-text {
        padding: 200px 0 0 0;
    }
}

@media (max-width: 576px) {

    .s7-bg,
    .s7-bg-img {
        height: 500px;
    }

    .s7-text {
        padding: 150px 0 0 0;
    }
}

.mockup-sect {
    overflow: hidden;
}

.mockup-area {
    position: relative;
}

.mockup-img {
    object-fit: cover;
    object-position: top right;
    height: 950px;
}

.mockup-text {
    position: absolute;
    right: -10%;
    padding: 3rem 5rem;
    border-radius: 30px;
    box-shadow: 0 0 20px rgb(0 0 0 / 5%);
    background-color: rgba(255, 255, 255, 0.9);
    width: 800px;
    height: fit-content;
    top: 40%;
}

.mockup-deco {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid rgb(0 160 232 / 50%);
    border-radius: 20px;
    right: -10%;
    bottom: 15%;
    transform: rotate(35deg);
    z-index: 2;
}

@media (max-width: 1200px) {
    .mockup-img {
        height: 750px;
    }

    .mockup-text {
        right: -15%;
        padding: 2rem 3.5rem;
        width: 600px;
    }
}

@media (max-width: 992px) {
    .mockup-img {
        height: 550px;
    }

    .mockup-text {
        position: relative;
        top: unset;
        right: unset;
        padding: 30px 10%;
        width: 100%;
        box-shadow: none;
    }
}

@media (max-width: 768px) {
    .mockup-img {
        height: 450px;
    }

    .mockup-text {
        padding: 20px 0;
    }
}

@media (max-width: 576px) {
    .mockup-img {
        height: 300px;
    }
}

/* ---- service end ---- */


/* ---- contact ---- */


.form-box {
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #eee;
    background-color: rgba(255, 255, 255, 0.8);
}

.c-map iframe {
    border: none;
    width: 100%;
    height: 92vh;
}

.c-info-wrap {
    max-height: 92vh;
    padding: 10% 15%;
    overflow-y: scroll;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(../img/c-info-bg.svg);
}

.c-info-wrap::-webkit-scrollbar {
    display: none;
}

@media (max-width: 768px) {
    .form-box {
        padding: 1.5rem 1rem;
    }

    .c-map {
        padding: 0 0 80px;
    }

    .c-map iframe {
        height: 450px;
    }

    .c-info-wrap {
        max-height: unset;
        padding: 50px 15px 50px 15px;
    }
}


.c-info-list li {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #dedede;
}

.c-info-list li .cif-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    color: #aaa;
    margin: 0 10px 0 0;
}

/* ---- contact end ---- */

/* ---- footer ---- */
footer {
    position: absolute;
    right: 0;
    left: 0;
}


/* Footer 主要區域 */
.footer-main {
    background: linear-gradient(180deg, #002561 0%, #0f172a 100%);
    padding: 50px 0 30px;
}

.footer-brand {
    padding-right: 30px;
}

.footer-logo {
    height: 58px;
    margin-bottom: 12px;
    filter: brightness(0) invert(1);
    width: auto;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--main-color);
    transform: translateY(-3px);
}

.footer-social a img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* Footer 連結區 */
.footer-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--main-color);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 4px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--main-color);
    padding-left: 5px;
}

/* Footer 聯絡資訊 */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.footer-contact-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-list li .material-symbols-rounded {
    width: 40px;
    height: 40px;
    background: rgba(0, 160, 232, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main-color);
    font-size: 20px;
    flex-shrink: 0;
}

.footer-contact-list li strong {
    display: block;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
}

.footer-contact-list li a,
.footer-contact-list li span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-list li a:hover {
    color: var(--main-color);
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--main-color) 0%, #0077b3 100%);
    color: #fff;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-cta-btn:hover {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 160, 232, 0.3);
}

.footer-cta-btn .material-symbols-rounded {
    font-size: 18px;
}

/* Footer 底部 */
.footer-bottom {
    background: #0a0f1a;
    padding: 20px 0;
}

.footer-bottom .copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-bottom-links li a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-bottom-links li a:hover {
    color: var(--main-color);
}

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

    .footer-brand {
        padding-right: 0;
        text-align: center;
        margin-bottom: 10px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-title {
        margin-top: 20px;
    }

    .footer-bottom-links {
        justify-content: center;
        margin-top: 5px;
    }
    .footer-desc {
    margin-bottom: 15px;
}
.footer-contact-list {
    margin: 0px;
}
.footer-bottom {
    padding: 10px 0 60px;
}
}

/* ---- footer end ---- */
.g-recaptcha-response {
    display: block !important;
    position: absolute;
    margin: -78px 0 0 0 !important;
    width: 302px !important;
    height: 76px !important;
    z-index: -999999;
    opacity: 0;
}

.sitemap-category {
    display: flex;
    align-items: center;
    justify-content: start;
    flex-wrap: wrap;
}

.sitemap-category li a {
    display: block;
    margin: 0 10px 10px 0;
    border: 1px solid rgba(190, 190, 190, 0.4);
    padding: 5px 25px;
    border-radius: 5px;
    transition: .3s ease;
    color: var(--gray-color);
    letter-spacing: 2px;
}

.sitemap-category li:hover a,
.sitemap-category li.active a {
    border-color: rgb(0 160 232 / 40%);
    color: var(--main-color);
}

/* ---- 數據統計區 ---- */
.stats-sect {
    background: linear-gradient(135deg, var(--main-color) 0%, #0077b3 50%, #005588 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-sect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="1" fill="rgba(255,255,255,0.08)"/></svg>');
    background-size: 80px 80px;
}

.stat-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.stat-icon .material-symbols-rounded {
    font-size: 28px;
    color: #fff;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 1px;
}

/* ---- 首頁服務項目卡片 ---- */
.is-sect {
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.service-card-img {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card-img:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 160, 232, 0.2);
}

.sci-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: #e0f2fe;
}

/* 備用漸層背景 */
.sci-image-web {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.sci-image-system {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.sci-image-seo {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.sci-image-it {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.sci-image-network {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.sci-image-security {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
}

.sci-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 160, 232, 0.1) 0%, rgba(0, 160, 232, 0.4) 100%);
    transition: all 0.3s ease;
}

.service-card-img:hover .sci-overlay {
    background: linear-gradient(180deg, rgba(0, 160, 232, 0.2) 0%, rgba(0, 160, 232, 0.6) 100%);
}

.sci-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--orange-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.sci-badge-green {
    background: #22c55e;
}

.sci-icon-float {
    position: absolute;
    bottom: -25px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    z-index: 3;
    transition: all 0.3s ease;
}

.sci-icon-float .material-symbols-rounded {
    font-size: 28px;
    color: var(--main-color);
}

.service-card-img:hover .sci-icon-float {
    transform: scale(1.1) rotate(10deg);
    background: var(--main-color);
}

.service-card-img:hover .sci-icon-float .material-symbols-rounded {
    color: #fff;
}

.sci-content {
    padding: 20px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sci-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sci-title .material-symbols-rounded {
    color: var(--main-color);
    font-size: 24px;
}

.sci-desc {
    font-size: 14px;
    color: var(--gray-color);
    line-height: 1.5;
    margin-bottom: 5px;
}

.sci-list {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
    flex: 1;
}

.sci-list li {
    padding: 4px 0;
    font-size: 14px;
    color: #555;
    position: relative;
    padding-left: 18px;
}

.sci-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--main-color);
    border-radius: 50%;
}

.sci-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--main-color);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-top: auto;
    justify-content: flex-end;
}

.sci-btn:hover {
    color: #0077b3;
    gap: 10px;
}

.sci-btn .material-symbols-rounded {
    font-size: 18px;
    transition: all 0.3s ease;
}

/* ---- 為什麼選擇我們 ---- */
.why-sect {
    background: #fff;
    position: relative;
}

.why-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--main-color);
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.why-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.why-title span {
    color: var(--main-color);
}

.why-desc {
    font-size: 16px;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-feature-item {
    display: flex;
    gap: 13px;
    padding: 20px 12px;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.why-feature-item:hover {
    background: #fff;
    border-color: rgba(0, 160, 232, 0.2);
    box-shadow: 0 10px 30px rgba(0, 160, 232, 0.1);
    transform: translateX(10px);
}

.wfi-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--main-color) 0%, #27b6fe 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wfi-icon .material-symbols-rounded {
    font-size: 26px;
    color: #fff;
}

.wfi-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.wfi-content p {
    font-size: 14px;
    color: var(--gray-color);
    line-height: 1.5;
    margin: 0;
}

.why-image-wrap {
    position: relative;
    padding: 20px;
}

.why-image {
    border-radius: 20px;
    overflow: hidden;
}

.why-image img {
    width: 100%;
    height: auto;
    display: block;
}

.why-float-card {
    position: absolute;
    background: #fff;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 13px rgb(0 0 0 / 20%);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.why-float-card .material-symbols-rounded {
    font-size: 32px;
    color: var(--main-color);
}

.why-float-card strong {
    display: block;
    font-size: 14px;
    color: var(--dark-color);
}

.why-float-card span {
    font-size: 12px;
    color: var(--gray-color);
}

.why-float-1 {
    bottom: 10%;
    left: -10px;
    animation: floatCard 4s ease-in-out infinite;
}

.why-float-2 {
    top: 15%;
    right: 0;
    animation: floatCard 5s ease-in-out infinite reverse;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* ---- 首頁解決方案卡片 ---- */
.solution-sect {
    background: linear-gradient(180deg, #1a365d 0%, #234876 50%, #2d5a8e 100%);
    position: relative;
    overflow: hidden;

}

.solution-sect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: 50px 50px;
}

.solution-sect .sect-t,
.solution-sect .sect-sub {
    color: #fff;
}

.solution-sect .sect-t::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.3));
}

.solution-deco {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.solution-deco-1 {
    width: 200px;
    height: 200px;
    top: 5%;
    left: 3%;
    animation: floatSolution 10s ease-in-out infinite;
}

.solution-deco-2 {
    width: 120px;
    height: 120px;
    bottom: 10%;
    right: 5%;
    animation: floatSolution 7s ease-in-out infinite reverse;
}

@keyframes floatSolution {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translateY(-30px) scale(1.1);
        opacity: 0.8;
    }
}

.solution-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px 30px;
    text-align: left;
    border: none;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--main-color), #0077b3);
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.solution-card-highlight {
    background: linear-gradient(180deg, #fff 0%, #f0f9ff 100%);
    border: 2px solid var(--main-color);
    transform: scale(1.02);
}

.solution-card-highlight:hover {
    transform: scale(1.02) translateY(-10px);
}

.solution-ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--orange-color);
    color: #fff;
    padding: 5px 40px;
    font-size: 12px;
    font-weight: 600;
    transform: rotate(45deg);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.solution-header {
    align-items: center;
    justify-content: start;
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
}

.solution-tag {
    background: var(--lightblue-color);
    color: var(--main-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.solution-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--main-color) 0%, #27b6fe 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 160, 232, 0.3);
    transition: all 0.3s ease;
}

.solution-card:hover .solution-icon {
    transform: scale(1.1) rotate(-5deg);
}

.solution-icon .material-symbols-rounded {
    font-size: 32px;
    color: #fff;
}

.solution-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 12px;
}

.solution-desc {
    font-size: 14px;
    color: var(--gray-color);
    line-height: 1.7;
    margin-bottom: 20px;
}

.solution-list {
    text-align: left;
    padding-left: 0;
    flex: 1;
}

.solution-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 14px;
    color: #444;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.solution-list li:last-child {
    border-bottom: none;
}

.solution-list li .material-symbols-rounded {
    font-size: 18px;
    color: #22c55e;
}

.solution-list li:hover {
    color: var(--main-color);
    padding-left: 5px;
}

.solution-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.solution-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--main-color);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.solution-btn:hover {
    color: #0077b3;
    gap: 12px;
}

.solution-btn .material-symbols-rounded {
    font-size: 18px;
}

.solution-cta-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    margin-bottom: 15px;
}

.btn-light {
    background: #fff;
    color: var(--main-color);
    border: none;
}

.btn-light:hover {
    background: var(--lightblue-color);
    color: var(--main-color);
}

/* ---- 首頁關於區塊 ---- */
.ia-sect {
    background: #fff;
    position: relative;
}

.ia-sect .ia-img {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.ia-sect .ia-img::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--main-color), #0077b3);
    border-radius: 20px;
    z-index: -1;
}

.ia-sect .ia-img::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--lightblue-color), #d0edfc);
    border-radius: 15px;
    z-index: -1;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--lightblue-color) 0%, #d0edfc 100%);
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-color);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 160, 232, 0.1);
}

.about-feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 160, 232, 0.15);
}

.about-feature-item .material-symbols-rounded {
    color: var(--main-color);
    font-size: 22px;
}

/* ---- CTA 區塊 ---- */
.cta-sect {
    background: linear-gradient(135deg, var(--main-color) 0%, #0077b3 50%, #005588 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.cta-sect::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-sect::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.cta-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    position: relative;
    z-index: 1;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--main-color);
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 700;
    transition: all 0.3s ease;
    margin-right: 15px;
    margin-bottom: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.cta-btn:hover {
    background: var(--lightblue-color);
    color: var(--main-color);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn-outline {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 500;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.cta-btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-color: #fff;
    transform: translateY(-3px);
}

/* ---- 客戶信任區塊 ---- */
.trust-sect {
    background: #fff;
    padding: 50px 0;
}

.trust-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--main-color);
    letter-spacing: 3px;
    margin-bottom: 5px;
}

.trust-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 30px;
}

.trust-logo {
    background: #f8fafc;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.trust-logo:hover {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 160, 232, 0.2);
}

.trust-logo img {
    max-width: 100%;
    max-height: 50px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.trust-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--lightblue-color) 0%, #d0edfc 100%);
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.trust-badge-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 160, 232, 0.2);
}

.trust-badge-item .material-symbols-rounded {
    font-size: 20px;
    color: var(--main-color);
}

/* ---- 首頁案例區塊 ---- */
.ic-sect {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
}

.ic-sect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(0, 160, 232, 0.03) 0%, transparent 100%);
}

.icasebox {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.icasebox:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 160, 232, 0.15);
}

/* ---- 首頁聯絡表單區塊 ---- */
.contact-form.sect-bg2 {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #dbeafe 100%);
    position: relative;
}

.contact-form .form-box {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* ---- 響應式調整 ---- */
@media (max-width: 991px) {
    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 13px;
    }

    /*.sci-image {
        height: 150px;
    }*/

    .why-title {
        font-size: 28px;
    }

    .why-float-card {
        display: none;
    }

    .solution-card {
        padding: 30px 20px;
    }

    .solution-card-highlight {
        transform: none;
    }

    .solution-card-highlight:hover {
        transform: translateY(-10px);
    }

    .cta-title {
        font-size: 24px;
    }

    .cta-sect .text-lg-right {
        text-align: center !important;
    }

    .cta-content {
        text-align: center;
    }

    .contact-form .form-box {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .why-feature-item {
        flex-direction: column;
        text-align: center;
    }

    .wfi-icon {
        margin: 0 auto;
    }

    .why-feature-item:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 576px) {
    .stat-number {
        font-size: 28px;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
    }

    .stat-icon .material-symbols-rounded {
        font-size: 22px;
    }

    .sci-title {
        font-size: 18px;
    }

    .sci-content {
        padding: 20px;
    }

    .why-title {
        font-size: 24px;
    }

    .solution-title {
        font-size: 18px;
    }

    .solution-ribbon {
        font-size: 10px;
        padding: 4px 35px;
        right: -40px;
    }

    .cta-title {
        font-size: 20px;
    }

    .cta-desc {
        font-size: 14px;
    }

    .cta-btn {
        font-size: 16px;
        padding: 12px 20px;
    }

    .contact-form .form-box {
        padding: 20px 15px;
        border-radius: 15px;
    }
}

.btn-lg {
    padding: 15px 35px;
    font-size: 16px;
}

/* ============================================
   Blog Page Styles
   ============================================ */

/* Page Header */
/*.page-header {
    position: relative;
    padding: 140px 0 60px;
    color: #fff;
    background-image: linear-gradient(157deg, rgb(0 160 232 / 0%) 0%, rgb(0 160 232 / 65%) 100%),
    url(../img/blog-banner.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}*/
.page-header {
    position: relative;
    padding: 140px 0 60px;
    color: #fff;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* 背景圖 */
}

.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    /* top:0; right:0; bottom:0; left:0 */
    background: linear-gradient(157deg, rgba(0, 160, 232, 0) 0%, rgba(0, 160, 232, 0.65) 100%);
    z-index: 0;
}

/* 讓內容顯示在遮罩上方 */
.page-header * {
    position: relative;
    z-index: 1;
}

.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 15px;
    font-size: 13px;
    letter-spacing: 1px;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 13px;
    letter-spacing: 1px;
}

.page-header .breadcrumb-item a:hover {
    color: #fff;
}

.page-header .breadcrumb-item.active {
    color: #fff;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
    content: "/";
}

.page-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-desc {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* Blog Filter */
.blog-filter {
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.filter-btn {
    background: #fff;
    border: 1px solid #ddd;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    color: var(--dark-color);
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: var(--main-color);
    color: var(--main-color);
}

.filter-btn.active {
    background: var(--main-color);
    border-color: var(--main-color);
    color: #fff;
}

/* Blog Card */
.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.blog-card-img {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--main-color);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.blog-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--gray-color);
    margin-bottom: 10px;
}

.blog-meta time {
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 10px;
}

.blog-card-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-card:hover .blog-card-title a {
    color: var(--main-color);
}

.blog-card-excerpt {
    font-size: 14px;
    color: var(--gray-color);
    line-height: 1.7;
    margin-bottom: 15px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--main-color);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: gap 0.3s;
}

.blog-read-more:hover {
    gap: 10px;
    color: var(--main-color);
    text-decoration: none;
}

.blog-read-more .material-symbols-rounded {
    font-size: 18px;
}

/* Blog Pagination */
.blog-pagination {
    margin-top: 40px;
}

.blog-pagination .pagination {
    gap: 8px;
}

.blog-pagination .page-link {
    border: none;
    border-radius: 5px;
    padding: 5px;
    color: var(--dark-color);
    font-weight: 500;
    transition: all 0.3s;
}

.blog-pagination .page-link:hover {
    background: var(--lightblue-color);
    color: var(--main-color);
}

.blog-pagination .page-item.active .page-link {
    background: var(--main-color);
    color: #fff;
}

.blog-pagination .page-item.disabled .page-link {
    background: transparent;
    color: #ccc;
}

.blog-pagination .page-link .material-symbols-rounded {
    font-size: 20px;
    vertical-align: middle;
}

/* Sidebar Sticky - 側邊欄固定跟隨 (JS 控制) */
/*.sidebar-col {
    position: relative;
}*/

.sidebar-inner {
    position: -webkit-sticky;
    /* 支援 Safari */
    position: sticky;
    top: 100px;
    align-self: flex-start;
    /* 確保在 flex 容器中正常運作 */
}

.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--main-color);
    position: relative;
}

/* Search Form */
.search-form {
    display: flex;
    gap: 0;
}

.search-form input {
    flex: 1;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 8px 0 0 8px;
    padding: 12px 15px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.search-form input:focus {
    border-color: var(--main-color);
}

.search-form button {
    background: var(--main-color);
    border: none;
    border-radius: 0 8px 8px 0;
    padding: 12px 18px;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s;
}

.search-form button:hover {
    background: #0088cc;
}

.search-form button .material-symbols-rounded {
    font-size: 20px;
    vertical-align: middle;
}

/* Popular Posts */
.popular-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-posts li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.popular-posts li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-posts a {
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: inherit;
}

.popular-posts img {
    width: 70px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.popular-posts .post-info {
    flex: 1;
}

.popular-posts .post-title {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-color);
    line-height: 1.4;
    margin-bottom: 5px;
    transition: color 0.3s;
}

.popular-posts a:hover .post-title {
    color: var(--main-color);
}

.popular-posts time {
    font-size: 12px;
    color: var(--gray-color);
}

/* Category List */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    color: var(--dark-color);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.category-list a:hover {
    background: var(--lightblue-color);
    color: var(--main-color);
}

.category-list span {
    font-size: 12px;
    color: var(--gray-color);
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud a {
    display: inline-block;
    padding: 6px 14px;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 13px;
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.3s;
}

.tag-cloud a:hover {
    background: var(--main-color);
    color: #fff;
}

/* Sidebar CTA */
.sidebar-cta {
    background: linear-gradient(135deg, #00A0E8 0%, #0077b6 100%);
    color: #fff;
    text-align: center;
}

.sidebar-cta h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.sidebar-cta p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.sidebar-cta .btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--main-color);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.sidebar-cta .btn-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Blog Page Responsive */
@media (max-width: 991px) {
    .page-header {
        padding: 120px 0 40px;
    }

    .page-title {
        font-size: 2rem;
    }

    .blog-list aside {
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .page-header {
        padding: 100px 0 30px;
    }

    .page-title {
        font-size: 1.6rem;
    }

    .page-desc {
        font-size: 1rem;
    }

    .filter-tabs {
        gap: 8px;
    }

    .filter-btn {
        padding: 6px 15px;
        font-size: 13px;
    }

    .blog-card-title {
        font-size: 1rem;
    }

    .sidebar-widget {
        padding: 20px;
    }
}

/* ============================================
   Blog Detail Page Styles
   ============================================ */

/* Article Header */
.page-header-article {
    padding-bottom: 50px;
}

.article-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 15px;
}

.page-header-article .page-title {
    font-size: 2rem;
    line-height: 1.4;
    margin-bottom: 20px;
}

.article-meta-header {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    opacity: 0.9;
}

.article-meta-header .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-meta-header .material-symbols-rounded {
    font-size: 18px;
}

/* Article Main Content */
.article-main {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.article-featured-img {
    margin: 0 0 30px;
    border-radius: 10px;
    overflow: hidden;
}

.article-featured-img img {
    width: 100%;
    height: auto;
    display: block;
}

.article-featured-img figcaption {
    text-align: center;
    font-size: 13px;
    color: var(--gray-color);
    padding: 10px 0 0;
}

/* Article Body Typography */
.article-body {
    font-size: 16px;
    line-height: 1.9;
    color: #444;
}

.article-body .lead {
    font-size: 18px;
    color: var(--dark-color);
    font-weight: 500;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.article-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 40px 0 20px;
    padding-left: 15px;
    border-left: 4px solid var(--main-color);
}

.article-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 30px 0 15px;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body blockquote {
    background: var(--lightblue-color);
    border-left: 4px solid var(--main-color);
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
}

.article-body blockquote p {
    font-size: 18px;
    font-style: italic;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.article-body blockquote cite {
    font-size: 14px;
    color: var(--gray-color);
    font-style: normal;
}

.article-body a {
    color: var(--main-color);
    text-decoration: underline;
}

.article-body a:hover {
    color: #0077b6;
}

/* Article Image */
.article-img {
    margin: 30px 0;
    text-align: center;
}

.article-img img {
    max-width: 100%;
    border-radius: 10px;
}

.article-img figcaption {
    font-size: 13px;
    color: var(--gray-color);
    margin-top: 10px;
}

/* Article Highlight Box */
.article-highlight {
    background: linear-gradient(135deg, #00A0E8 0%, #0077b6 100%);
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
}

.article-highlight h3 {
    color: #fff;
    margin: 0 0 15px;
    font-size: 1.2rem;
}

.article-highlight p {
    margin: 0;
    opacity: 0.95;
}

/* Article Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    margin-top: 30px;
}

.article-tags .tags-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    color: var(--dark-color);
}

.article-tags .tags-label .material-symbols-rounded {
    font-size: 18px;
}

.article-tags a {
    display: inline-block;
    padding: 6px 14px;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 13px;
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.3s;
}

.article-tags a:hover {
    background: var(--main-color);
    color: #fff;
}

/* Article Share */
.article-share {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.share-label {
    font-weight: 500;
    color: var(--dark-color);
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    transition: all 0.3s;
}

.share-btn:hover {
    transform: scale(1.1);
}

.share-btn img {
    width: 20px;
    height: 20px;
}

.share-btn .material-symbols-rounded {
    font-size: 20px;
    color: var(--dark-color);
}

.share-btn.share-copy:hover {
    background: var(--main-color);
}

.share-btn.share-copy:hover .material-symbols-rounded {
    color: #fff;
}

/* Article Author */
.article-author {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-top: 25px;
}

.author-avatar {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.author-avatar img {
    max-width: 100%;
    max-height: 100%;
}

.author-info {
    flex: 1;
}

.author-label {
    font-size: 12px;
    color: var(--gray-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 5px 0 10px;
}

.author-bio {
    font-size: 14px;
    color: var(--gray-color);
    line-height: 1.6;
    margin: 0;
}

/* Article Navigation */
.article-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.article-navigation a {
    display: block;
    padding: 10px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    transition: all 0.3s;
}

.article-navigation a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.article-navigation .nav-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--gray-color);
    margin-bottom: 8px;
}

.article-navigation .nav-label .material-symbols-rounded {
    font-size: 16px;
}

.article-navigation .nav-title {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--dark-color);
    line-height: 1.5;
}

.article-navigation a:hover .nav-title {
    color: var(--main-color);
}

.article-navigation .nav-prev {
    text-align: left;
}

.article-navigation .nav-next {
    text-align: right;
}

.article-navigation .nav-next .nav-label {
    justify-content: flex-end;
}

/* Related Articles */
.related-articles {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.related-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--main-color);
}

.related-articles .blog-card {
    box-shadow: none;
    border: 1px solid #eee;
}

.related-articles .blog-card-content {
    padding: 15px;
}

.related-articles .blog-card-title {
    font-size: 0.95rem;
}

/* Table of Contents */
/* Table of Contents specific styles */

.toc-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-nav li {
    margin-bottom: 0;
}

.toc-nav a {
    display: block;
    padding: 10px 15px;
    color: var(--dark-color);
    text-decoration: none;
    font-size: 14px;
    border-left: 2px solid transparent;
    transition: all 0.3s;
}

.toc-nav a:hover {
    background: #f8f9fa;
    color: var(--main-color);
}

.toc-nav a.active {
    background: var(--lightblue-color);
    color: var(--main-color);
    border-left-color: var(--main-color);
    font-weight: 500;
}

/* Blog Detail Responsive */
@media (max-width: 991px) {
    .page-header-article .page-title {
        font-size: 1.6rem;
    }

    .article-main {
        padding: 20px;
    }

    .article-author {
        flex-direction: column;
        text-align: center;
    }

    .author-avatar {
        margin: 0 auto;
    }

    .article-navigation {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .page-header-article {
        padding-bottom: 30px;
    }

    .page-header-article .page-title {
        font-size: 1.4rem;
    }

    .article-meta-header {
        gap: 12px;
        font-size: 13px;
    }

    .article-body {
        font-size: 15px;
    }

    .article-body .lead {
        font-size: 16px;
    }

    .article-body h2 {
        font-size: 1.3rem;
    }

    .article-body blockquote {
        padding: 20px;
    }

    .article-body blockquote p {
        font-size: 16px;
    }

    .article-highlight {
        padding: 20px;
    }

    .article-share {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-author {
        padding: 20px;
    }

    .author-avatar {
        width: 60px;
        height: 60px;
    }

    .related-articles {
        padding: 20px;
    }

    .related-articles .row {
        margin: 0 -10px;
    }

    .related-articles .col-md-4 {
        padding: 0 10px;
    }
}

/* ============================================
   Video Page Styles
   ============================================ */
.ig-reel-container {
    width: 100%;
    /*max-width: 400px; */
    margin: 20px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


.ig-reel-iframe {
    width: 100%;
    aspect-ratio: 9 / 16;
    display: block;
}


@supports not (aspect-ratio: 9 / 16) {
    .ig-reel-iframe {
        height: 600px;
    }
}

/* Video Card */
.video-card {
    display: block;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

/* Thumbnail */
.video-card-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #000;
}

.video-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.video-card:hover .video-card-thumb img {
    transform: scale(1.05);
}

/* Play Overlay */
.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    transition: background 0.3s;
}

.video-card:hover .video-play-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.video-play-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.video-card:hover .video-play-btn {
    transform: scale(1.1);
    background: #fff;
}

.video-play-btn .material-symbols-rounded {
    font-size: 32px;
    color: var(--main-color);
    margin-left: 3px;
}

/* Duration Badge */
.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

/* Video Info */
.video-card-info {
    padding: 20px;
}

.video-tag {
    display: inline-block;
    background: var(--lightblue-color);
    color: var(--main-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 10px;
}

.video-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-card:hover .video-card-title {
    color: var(--main-color);
}

.video-card-desc {
    font-size: 14px;
    color: var(--gray-color);
    margin: 0;
    line-height: 1.6;
}

/* Video CTA */
.video-cta {
    background: linear-gradient(135deg, #0056b3 0%, #003d80 100%);
    color: #fff;
    padding: 60px 0;
}

.video-cta-icon {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.video-cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.video-cta-desc {
    font-size: 1.05rem;
    opacity: 0.85;
    margin-bottom: 25px;
}

.video-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #0056b3;
    padding: 14px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.video-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: #0056b3;
}

.video-cta-btn .material-symbols-rounded {
    font-size: 22px;
}

/* Video Page Responsive */
@media (max-width: 767px) {
    .video-cta {
        padding: 40px 0;
    }

    .video-cta-icon {
        font-size: 36px;
    }

    .video-cta-title {
        font-size: 1.4rem;
    }

    .video-card-info {
        padding: 15px;
    }

    .video-card-title {
        font-size: 1rem;
    }
}

/*--s4-4---*/
.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 8px 30px rgba(0, 160, 232, 0.12);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(0, 160, 232, 0.2);
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto;
    border-radius: 50%;
    background: rgb(255 131 61);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00A0E8;
    font-size: 32px;
}



.feature-card p {
    line-height: 1.7;
}
.hardware-card {
                        background: #fff;
                    }

                    .hardware-card img {
                        object-fit: cover;
                    }

                    .hardware-overlay {
                        position: absolute;
                        inset: 0;
                        background: rgba(0, 0, 0, 0.45);
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        color: #fff;
                    }

                    .hardware-overlay h5 {
                        margin: 0;
                        font-weight: 600;
                        letter-spacing: 1px;
                    }

                    .hardware-card:hover .hardware-overlay {
                        background: rgba(0, 0, 0, 0.6);
                    }