.advantage-section {
	padding: 30px 1rem;
	width: 90%;
	margin: 0 auto;
	background: #FFF;
}

.advantage-section .advantage-bar .advantage-logo,
.advantage-section .advantage-bar .advantage-title {
	margin: 0;
}

.advantage-section .advantage-header h2 {
	text-align: left;
	position: relative;
	color: #0a3d62;
	z-index: 10;
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	font-weight: bold;
	margin: 0;
}

.advantage-section .advantage-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.advantage-section .btn-advantage {
	font-size: 1rem;
	white-space: nowrap;
	--fg: #eaf1ff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	padding: .8rem 1.1rem;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, .08);
	color: var(--fg);
	background: linear-gradient(135deg, rgb(0, 53, 86), #007acc);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 12px 24px rgba(0, 0, 0, .28);
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
	cursor: pointer;
	text-decoration: none;
	white-space: nowrap;
}

.advantage-section .btn-advantage:hover {
	transform: scale(1.05) translateY(-2px);
	box-shadow: 0 16px 30px rgba(0, 0, 0, .4);
	background: linear-gradient(135deg, #007acc, #00c3ff);
}

.advantage-section .advantage-title {
	display: inline-block;
	color: #718096;
	font-size: clamp(0.9rem, 3vw, 1.5rem);
	margin: 0;
	vertical-align: middle;
}

.advantage-section .advantage-container {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	gap: 40px;
	margin: 26px auto;
	align-items: stretch;
	box-sizing: border-box;
	justify-content: center;
	align-items: center;
	width: 100%;
}

.advantage-section .advantage-top {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	gap: 40px;
}

.advantage-section .advantage-buttom {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	gap: 40px;
}


.advantage-container .advantage-item {
	position: relative;
	overflow: hidden;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 2px 8px rgba(0, 0, 0, .25);
	display: flex;
	flex-direction: column;
	align-items: center;
	transition: opacity 0.6s ease, transform 0.6s ease;
	opacity: 0;
	transform: translateY(40px);
	width: 100%;
	aspect-ratio: 4 / 3;
	height: auto;
}

.advantage-container .advantage-item.loaded {
	opacity: 1;
	transform: translateY(0);
}

.advantage-container .advantage-item:hover {
	transform: scale(1.02);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
	z-index: 10;
}

.advantage-container .advantage-item img {
	inset: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.advantage-container .advantage-item::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
	z-index: 1;
	transition: opacity 0.3s ease;
	pointer-events: none;
	border-radius: 8px;
}

.advantage-container .advantage-item::after {
	content: attr(data-mask-text);
	position: absolute;
	top: 20%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: rgba(0, 195, 255, 1);
	font-size: clamp(1.5rem, 5vw, 2.7rem);
	font-weight: bold;
	z-index: 2;
	opacity: 1;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: opacity 0.3s ease, transform 0.3s ease;
	pointer-events: none;
	text-align: center;
	white-space: nowrap;
}

.advantage-container .advantage-item:hover::before,
.advantage-container .advantage-item:hover::after {
	opacity: 0;
}

.advantage-container .advantage-item:hover::after {
	transform: translate(-50%, -70%) scale(0.8);
}

.advantage-container .advantage-text {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	color: #fff;
	padding: 12px 16px;
	box-sizing: border-box;
	margin: 0;
	opacity: 0;
	transform: translateY(30px);
	transition: transform 0.4s ease, opacity 0.4s ease;
	background: rgba(0, 0, 0, 0.25);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	z-index: 3;
	border: 1px solid rgba(255, 255, 255, 0.1);

	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 6px;
}

.advantage-container .advantage-item:hover .advantage-text {
	opacity: 1;
	transform: translateY(0);
}

.advantage-container .advantage-text h3 {
	margin: 0 0 8px;
	font-size: clamp(1.2rem, 3vw, 1.5rem);
	font-weight: bold;
	color: #eaf1ff;
}

.advantage-description {
	margin: 0;
	color: #eaf1ff;
	font-size: 1rem;
	line-height: 1.2;

	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.advantage-learn-more {
	display: inline-block;
	align-self: flex-end;
	margin-top: 2px;
	padding: 6px 12px;

	background-color: rgba(255, 255, 255, 0.1);
	color: #ffffff;
	font-weight: 500;
	text-decoration: none;
	border-radius: 6px;
	transition: background-color 0.3s ease, transform 0.3s ease;
}

.advantage-learn-more:hover {
	background-color: rgba(255, 255, 255, 0.2);
	transform: scale(1.05);
	color: red;
}

.advantage-learn-more i {
	margin-left: 6px;
	font-size: 0.8em;
	transition: transform 0.3s ease;
}

.advantage-learn-more:hover i {
	transform: translateX(4px);
}

.advantage-section .advantage-text p {
	margin: 0;
	font-size: clamp(0.9rem, 2vw, 1rem);
	color: #5d8eef;
	line-height: 1.4;
}


@media (max-width: 768px) {
	.advantage-section .btn-advantage {
		padding: 0.6rem 1rem;
		font-size: 0.9rem;
	}

	.advantage-section .advantage-container {
		gap: 20px;
	}

	.advantage-section .advantage-top {
		flex-direction: column;
		gap: 20px;
	}

	.advantage-section .advantage-buttom {
		flex-direction: column;
		gap: 20px;
	}

	.advantage-section .advantage-item {
		max-width: 65vh;
	}

	.advantage-section .advantage-item img {
		height: 100%;
		object-fit: cover;
	}

	.advantage-section .advantage-item .advantage-text {
		padding: 8px 12px;
		font-size: 0.9rem;
	}

	.advantage-learn-more {
		font-size: 0.9rem;
		padding: 6px 12px;
	}
}