.ask-ai-wrapper {
	display: flex;
	align-items: center;
	width: 100%;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	gap: 12px;
}


.ask-ai-wrapper .ai-input-container {
	position: relative;
	display: flex;
	align-items: center;
	background: #ffffff;
	border: 2px solid #e9ecef;
	border-radius: 70px;
	padding: 5px 14px;
	transition: all 0.3s ease;
	overflow: hidden;
	width: inherit;
}

.ask-ai-wrapper .ai-input-container::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(0, 221, 255, 0.1), transparent);
	transition: left 0.5s ease;
	z-index: 1;
}

.ask-ai-wrapper .ai-input-container:hover::before {
	left: 100%;
}

.ask-ai-wrapper .ai-input {
	flex-grow: 1;
	background: transparent;
	border: none;
	outline: none;
	font-family: sans-serif;
	font-size: 1em;
	color: #333;
	padding: 6px 10px;
	width: 100%;
	position: relative;
	z-index: 2;
	transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ask-ai-wrapper .ai-input::placeholder {
	color: #888;
	font-style: italic;
}

.ask-ai-wrapper .icon-container {
	position: relative;
	width: 30px;
	height: 30px;
	transition: all 0.5s cubic-bezier(0.7, -0.5, 0.3, 1.5);
	cursor: pointer;
	z-index: 2;
}

.ask-ai-wrapper .ai-icon path {
	fill: #4a4a4a;
	transform-origin: center;
	transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.ask-ai-wrapper .underline-effect {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--color-primary-1);
	transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
	z-index: 1;
}

.ask-ai-wrapper .ripple-circle {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	background: rgba(154, 255, 243, 0.3);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 0;
}

.ask-ai-wrapper .floating-dots {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 1;
}

.ask-ai-wrapper .floating-dots span {
	position: absolute;
	width: 3px;
	height: 3px;
	background: var(--color-primary-1);
	border-radius: 50%;
	opacity: 0;
	transition:
		opacity 0.3s ease,
		transform 0.6s cubic-bezier(0.7, -0.5, 0.3, 1.5);
}

.ask-ai-wrapper .bg-fade {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg,
			rgba(107, 255, 245, 0.05),
			rgba(255, 235, 235, 0.1));
	opacity: 0;
	transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
	z-index: 0;
}

.icon-container svg {
	stroke: var(--color-primary-1);
}

.ask-ai-wrapper .ai-input-container:hover,
.ask-ai-wrapper .ai-input:focus-within .ai-input-container {
	border-color: var(--color-primary-1);
	box-shadow: 0 6px 20px rgba(154, 255, 243, 0.3);
	transform: translateY(-4px);
}

.ask-ai-wrapper .ai-input:focus {
	color: var(--color-primary-1);
}

.work-title {
	font-weight: 600
}

.work-descr {
	background-color: var(--color-primary-1);
	border-radius: 30px;
	border: var(--color-primary-1) 1px solid;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease-in-out;
	padding: 5px 15px;
	margin-top: 10px;
}

.work-intro span {
	font-size: 1em !important;
}

.works-grid.hide-titles.hover-white .work-descr {
	color: #fff;
	font-weight: 500;
	font-size: 0.9em;
}

.btn-close-animated {
	position: relative;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 50%;
	width: 28px;
	height: 28px;
	background: #a8f0f64e;
	border: 2px solid transparent;

}

.fa-xmark {
	color: #017e89;
}

.search-button {
	margin-top: 0;
}

.btn-close-animated:hover {
	transform: rotate(90deg) scale(1.1);
	background: #a8f0f64e;
	border-color: var(--color-primary-1);
}

.btn-close-animated:active {
	transform: rotate(90deg) scale(0.95);
}

.offcanvas {
	z-index: 99999;
}

.offcanvas-title {
	font-weight: 600;
	font-size: 1.4em;
}

.offcanvas-end {
	width: 650px;
}

.offcanvas-body {
	padding: 0 85px;
}

.offcanvas-header {
	padding-left: 85px;
	padding-right: 30px;
}

.social-links h6 {
	color: var(--color-primary-1)
}

.social-links a:hover {
	color: var(--color-primary-1);
	transition: all 0.3s ease-in-out;
}

.company-name {
	font-weight: 600;
}

.title-drcorate {
	width: 50px;
	height: auto;
}

.mr-1 {
	margin-right: 10px;
}

#start .social a:hover {
	color: var(--color-primary-1);
}

.btn-mod.btn-w.btn-hover-anim {
	border: 1px solid var(--color-primary-1);
	color: var(--color-secondary-1);
}

.btn-mod.btn-w.btn-hover-anim:hover {
	border-color: var(--color-primary-1);
}

.btn-mod.btn-w.btn-hover-anim:before {
	background: #e6f7f7;
}

.team-1-role::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 6px;
	border-radius: 50%;
	background-color: var(--color-primary-1);
	vertical-align: middle;
}


.filter-container {
	padding: 24px;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgb(96 187 179 / 10%);
	margin: 20px auto;
	width: 100%;
	border: 1px solid #f7e7e6;
}

.select-wrapper {
	gap: 30px;
	align-items: center;
	flex-wrap: wrap;
}

.select-group {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 280px;
	flex: 1;
}

.select-label {
	font-size: 1em;
	font-weight: 500;
	color: #495057;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	white-space: nowrap;
	min-width: 80px;
	margin: 0;
}

.choices {
	position: relative;
	flex: 1;
	max-width: 100%;
	border-radius: 65px
}

.choices__inner {
	background: white;
	border: 2px solid #e9ecef;
	border-radius: 65px;
	padding: 12px 16px;
	min-height: 48px;
	font-size: 1em;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	position: relative;
	overflow: hidden;
	width: 100%;
	display: flex;
	align-items: center;
}

.choices__inner:hover {
	border-color: var(--color-primary-2-a);
	box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
	border-radius: 65px;
}

.choices[data-type*="select-one"].is-open .choices__inner {
	border-color: var(--color-primary-2-a);
	box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.choices__list--single {
	width: 100%;
	/* 確保選單列表填滿寬度 */
	padding: 0;
}

.choices__list--single .choices__item {
	color: #495057;
	font-weight: 500;
	display: flex;
	align-items: center;
}

.choices[data-type*="select-one"] {
	width: 100%;
}

.choices[data-type*="select-one"]:after {
	border-color: var(--color-primary-1) transparent transparent transparent;
	right: 16px;
	margin-top: -2.5px;
	position: absolute;
	top: 60%;
	transform: translateY(-50%);
	transition: transform 0.2s ease-in-out;
}

.choices__list--dropdown {
	background: white;
	border: none;
	border-radius: 10px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
	margin-top: 8px;
	overflow: hidden;
	z-index: 1000;
}

.choices__list--dropdown .choices__item {
	padding: 12px 16px;
	font-size: 0.9em;
	transition: all 0.2s ease;
}

.choices__list--dropdown .choices__item:last-child {
	border-bottom: none;
}

.choices__list--dropdown .choices__item--highlighted {
	background: linear-gradient(135deg, var(--color-primary-1), var(--color-primary-1-a));
	color: white;
}

.choices__list--dropdown .choices__item:hover {
	background: #f8f9fa;
}

.choices__list--dropdown .choices__item--highlighted:hover {
	background: linear-gradient(135deg, var(--color-primary-1), var(--color-primary-1-a));
}

/* 響應式設計 */
@media (max-width: 992px) {
	.select-wrapper {
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
	}

	.select-group {
		min-width: auto;
		width: 100%;
		max-width: none;
	}

	.select-label {
		min-width: 100px;
	}

	.choices {
		max-width: none;
	}
}

@media (max-width: 768px) {
	.ask-ai-wrapper{
		display: inline-block
	}
	.select-group {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.select-label {
		min-width: auto;
	}

	.filter-container {
		padding: 16px;
	}

	.offcanvas-end {
		width: 100%;
	}
}

.choices__inner::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(0, 221, 255, 0.1), transparent);
	transition: left 0.5s ease;
}

.choices:hover .choices__inner::before {
	left: 100%;
}

.choices:focus-within .choices__inner {
	border-color: var(--color-primary-1);
	box-shadow: 0 0 0 3px rgba(0, 247, 255, 0.1);
}

.filter-title {
	font-size: 1.125em;
	font-weight: 600;
	color: #343a40;
	margin-bottom: 16px;
	position: relative;
	padding-left: 12px;
}

.filter-title::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 20px;
	background: linear-gradient(135deg, var(--color-primary-1));
	border-radius: 2px;
}

.choices__list--dropdown, .choices__list[aria-expanded] {
	border-radius: 10px;
	margin-top: 10px;
	width: 96%;
	padding-left: 2px;

}

.choices__list--dropdown .choices__item--selectable.is-highlighted, .choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
	background-color: #e0f2f5;
}

@media(width<=576px) {
	.offcanvas-body {
		padding: 0 35px;
	}

	.offcanvas-header {
		padding-left: 35px;
	}
}

a.reset {
	background-color: #01837e63;
	color: #fff;
	width: 10%;
	text-align: center;
	padding: 8px 0;
	border-radius: 30px;
	transition: all 0.3s ease-in-out;
	margin: 0 auto;
	margin-top: 20px;
}

a.reset:hover {
	color: #fff;
	background-color: var(--color-primary-2-a);
}

@media(width<=768px){
	a.reset{
		width: 30%;
	}
}
.work-item a,
.work-item a:hover {
	color: #fff;
	border: none;
}
.works-grid.hide-titles.hover-white .work-title {
	color: #fff;
}