.ai-kv img {
    display: block;
    margin: 0 auto;
}

/* ====================================================
# nav
==================================================== */
:root {
    scroll-padding-top: 8rem;
}

.ai-nav {
    top: 70px;
    background-color: #00c6be;
    z-index: 2;
}

.ai-nav .navbar-nav li.nav-item {
    position: relative;
}

.ai-nav .navbar-nav li.nav-item::before {
    content: "|";
    color: #ffffff;
    position: absolute;
    top: 0.4rem;
}

.navbar-nav li:first-child::before {
    display: none;
}

.ai-nav .navbar-nav .nav-link {
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    transition: all 0.2s;
}

.ai-nav .navbar-nav .nav-link:hover,
.ai-nav .navbar-nav .nav-link:focus {
    color: #EEE8A9;
}

@media(max-width:926px) {
    .ai-nav {
        top: 46px;
    }
}

@media(max-width:576px) {

    .ai-nav .navbar-nav li.nav-item::before {
        content: "";
    }

    .ai-nav .navbar-nav .nav-link {
        text-align: center;
    }
}

/* ====================================================
# 前言
==================================================== */
.ai-foreword {
    color: #121212;
    background-image: linear-gradient(0deg, #0c3483 0%, #a2b6df 40%, #ffffff 60%);
}

.foreword-title {
    border-left: 4px solid #00c6be;
    padding-left: 15px;
}

.foreword-title h1 {
    color: #4d3e81;
}

.foreword-title h2 {
    color: #95a5d3;
}

/* 照片輪播 */

.AISwiper {
    height: 300px;
}

@media (max-width:1600px) {
    .AISwiper {
        height: 250px;
    }
}

@media (max-width:1250px) {
    .AISwiper {
        height: 200px;
    }
}

@media (max-width:950px) {
    .AISwiper {
        height: 220px;
    }
}

@media (max-width:768px) {
    .AISwiper {
        height: 240px;
    }
}

@media (max-width:520px) {
    .AISwiper {
        height: 340px;
    }
}

.AISwiper .swiper-pagination-bullet {
    background-color: #f4f9ff;
    opacity: 0.7;
    transition: all 0.3s ease-in-out;
    padding: 5px;
}

.AISwiper .swiper-pagination-bullet:hover {
    background-color: #61ecbd;
    opacity: 1;
}

.AISwiper .swiper-pagination-bullet-active {
    width: 40px;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
    left: 0;
    background-color: #61ecbd;
}

/* ====================================================
# 關鍵應用
==================================================== */
.ai-keyword {
    position: relative;
    padding: 4rem 2rem 8rem;
    background-color: #0c3483;
    background-image: linear-gradient(to bottom, #0c3483 0%, #0a2968 50%, #131e42 100%);
}

.ai-keyword::before {
    position: absolute;
    content: url(../img/AIot/aideco.png);
    bottom: 0;
    left: 0;
    opacity: 0.5;
    filter: blur(2px);
}

.ai-keyword h2 {
    text-align: center;
    margin-bottom: 15px;
    color: #fff;
}

.keyword {
    text-align: center;
}

.keyword span {
    cursor: default;
    display: inline-block;
    background-color: #fff;
    padding: 18px 30px;
    border-radius: 25px;
    margin: 15px;
    font-size: 22px;
    letter-spacing: 0.08rem;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.keyword span:hover {
    color: #fff;
    background-color: #00c6be;
}



/* ====================================================
# 專區亮點
==================================================== */

.ai-feature {
    color: #fff;
    background-color: #F1FAFF;
    background-image: url(../img/AIot/aibg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.ai-item {
    margin: 20px 0;
    padding: 20px;
    border-radius: 10px;
    background-color: #ffffff;
    min-height: 207px;
}

@media (max-width:768px) {
    .ai-item {
        min-height: auto;
    }
}

.ai-item h4 {
    color: #00b495;
    text-align: center;
}

.ai-item p {
    color: #002358;
    margin-bottom: 0;
}

/* ====================================================
# 參展品牌
==================================================== */
.brandsSwiper {
    position: relative;
    padding: 1rem 4rem 4rem;
}

.brandsSwiper::before,
.brandsSwiper::after {
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    content: "";
    display: block;
    background-color: #fff;
    z-index: 2;
}

.brandsSwiper::before {
    left: 0;
}

.brandsSwiper::after {
    right: 0;
}

.brandsSwiper .swiper-pagination-bullet {
    width: 15px;
    height: 15px;
    text-align: center;
    line-height: 15px;
    opacity: 1;
    background: rgba(0, 0, 0, 0.2);
}

.brandsSwiper .swiper-pagination-bullet-active {
    background: #007aff;
}

.brandsSwiper .swiper-button-next,
.brandsSwiper .swiper-button-prev {
    color: #00b5c0;
}

.brands-item {
    position: relative;
    text-align: center;
    border-radius: 10px;
    transition: all 0.2s;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    padding: 10px;
    min-height: 220px;
}

.brands-item:hover {
    transform: translateY(-3px);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

@media (max-width:768px) {
    .brands-item {
        min-height: auto;
    }
}

.brands-item a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.brands-item p {
    font-size: 16px;
}

.brands-item:hover p {
    color: #2185C8;
}

/* ====================================================
# 主題論壇 ai-forum
==================================================== */
.ai-forum {
    color: #fff;
    background-color: #193055;
    background-image: url(../img/AIot/aibg02.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.ai-pills {
    margin: 2rem 1rem 2.5rem;
}

.ai-pills .nav-link {
    font-size: 20px;
    font-weight: 500;
    background-color: #71faca;
    padding: 0.6rem 3rem;
    border-radius: 25px;
    margin: 1rem;
    min-width: 250px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 5px;
    transition: all 0.3s ease-in-out;
}

.ai-pills .nav-link:hover {
    transform: translate(0px, 2px);
    box-shadow: none;
}

.ai-pills .nav-link.active,
.ai-pills .show>.nav-link {
    background-color: #00b5c0;
}

.form-name {
    position: relative;
    color: #f9f871;
    text-align: center;
    margin-bottom: 30px;
}

.form-name::after {
    content: "";
    display: inline-block;
    background: #84db7f;
    position: absolute;
    bottom: -8px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    border-radius: 5px;
}

.ai-card {
    position: relative;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 25px;
    box-shadow: 3px 3px 3px #cfcfcf;
    margin-bottom: 1.5rem;
    transition: all 0.2s ease-out;
}

.ai-card a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ai-card:hover {
    transform: translateY(-3px);
    border: 1px solid #5A74D7;
}

.ai-card-img {
    width: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 1px solid #999;
}

.ai-card-img img {
    width: 100%;
}

.ai-time {
    color: #666666;
    text-align: center;
}

.ai-info h4 {
    color: #00c6be;
}

.ai-info p {
    color: #333;
    margin: 0;
}

.ai-go {
    color: #00D7D9;
    font-weight: 600;
    font-size: 1.5rem;
}

@media (max-width: 576px) {
    .ai-go {
        text-align: right;
    }
}