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

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

.ai-nav {
	top: 70px;
	background-color: #5a189a;
	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: #80ffdb;
}

@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: #ffffff;
	background-color: #10002b;
}

.ai-foreword h2 {
	font-size: 2.5rem;
	color: #c77dff;
}

.ai-foreword h4 {
	color: #d4d4d4;
	font-weight: 400;
}

/* 照片輪播 */

.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: #f3def7;
	opacity: 0.7;
	transition: all 0.3s ease-in-out;
	padding: 5px;
}

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

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

/* ====================================================
# 關鍵應用
==================================================== */
.ai-keyword {
	position: relative;
	padding: 4rem 2rem 8rem;
	background: #10002b;
	background: linear-gradient(to bottom, #10002b 20%, #3c096c 100%);
	overflow: hidden;
}

.ai-keyword::before {
	position: absolute;
	content: url(../img/AIot/aideco.png);
	bottom: 0;
	left: 0;
	opacity: 0.4;
	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;
	padding: 18px 30px;
	border-radius: 25px;
	margin: 10px;
	cursor: pointer;
	font-size: 22px;
	color: #ffffff;
	letter-spacing: 0.08rem;
	background: rgba(255, 255, 255, 0.2);
	box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(15px);
}

.keyword span:hover {
	color: #7b2cbf;
	background: rgba(255, 255, 255, 0.8);
}

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

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

.ai-item {
	margin: 20px 0;
	padding: 20px;
	border-radius: 20px;
	min-height: 207px;
	background: rgba(255, 255, 255, 0.1);
	box-shadow: 0 15px 15px rgba(0, 0, 0, 0.4);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(15px);
}

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

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

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

/* ====================================================
# 參展品牌
==================================================== */
.ai-brands {
	background: #ffffff;
	background: linear-gradient(to top, #ffffff 0%, #dac7ff 100%);
}

.brands-swiper-container {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

.brandsSwiper {
	position: relative;
	padding: 1rem 1rem 4rem;
	flex: 1;
	overflow: hidden;
	margin: 0 15px;
}

.brands-swiper-container .swiper-button-next,
.brands-swiper-container .swiper-button-prev {
	position: static !important;
	width: 44px;
	flex-shrink: 0;
}

.brands-swiper-container .swiper-button-next,
.brands-swiper-container .swiper-button-prev {
	color: #7b2cbf;
}

.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: #5a189a;
}

.brands-item {
	position: relative;
	text-align: center;
	border-radius: 20px;
	transition: all 0.2s;
	background-color: #ffffff;
	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: top 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: #e0aaff;
	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: #9d4edd;
}

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

.form-name::after {
	content: '';
	display: inline-block;
	background: #e1c5fc;
	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: 20px;
	box-shadow: 2px 2px 6px rgba(128, 255, 219, 80%);
	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);
	box-shadow: inset 0 0 0 2px #80ffdb;
}

.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: #7b2cbf;
}

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

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

.ai-card:hover .ai-go {
	color: #5aedc9;
}

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