/* ===================================================
   VIA Custom Footer — Frontend Styles
   =================================================== */

/* ---------- PREFOOTER TRANSITION ---------- */
.via-cf-prefooter {
	position: relative;
	height: 80px;
	background: linear-gradient(to bottom, transparent 0%, rgba(26, 26, 46, 0.15) 40%, rgba(26, 26, 46, 0.5) 100%);
	margin-top: -1px;
	overflow: hidden;
}

.via-cf-wave {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 60px;
	display: block;
}

/* ---------- MAIN FOOTER ---------- */
.via-custom-footer {
	background: #1a1a2e;
	color: #c8c8d4;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
	font-size: 14px;
	line-height: 1.7;
	margin-top: 0;
}

.via-cf-main {
	padding: 50px 0 40px;
}

.via-cf-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
}

/* ---------- COLUMNS ---------- */
.via-cf-col {
	flex: 1;
	min-width: 250px;
}

.via-cf-col-about {
	flex: 1.2;
}

.via-cf-col-title {
	color: #ffffff;
	font-size: 16px;
	font-weight: 600;
	margin: 0 0 20px 0;
	padding-bottom: 12px;
	border-bottom: 2px solid #e94560;
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* ---------- CỘT 1: ABOUT ---------- */
.via-cf-logo {
	margin-bottom: 15px;
}

.via-cf-logo img {
	max-width: 180px;
	max-height: 60px;
	height: auto;
	filter: brightness(1.1);
}

.via-cf-company-name {
	color: #ffffff;
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 10px 0;
}

.via-cf-desc {
	color: #a0a0b4;
	font-size: 14px;
	line-height: 1.8;
	margin: 0;
}

/* ---------- CỘT 2: LIÊN HỆ ---------- */
.via-cf-contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.via-cf-contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 14px;
	color: #c8c8d4;
}

.via-cf-icon {
	flex-shrink: 0;
	width: 20px;
	text-align: center;
	font-size: 15px;
	line-height: 1.7;
}

.via-cf-contact-list a {
	color: #c8c8d4;
	text-decoration: none;
	transition: color 0.25s ease;
}

.via-cf-contact-list a:hover {
	color: #e94560;
}

/* ---------- CONTACT SLIDER ---------- */
.via-cf-contact-slider {
	position: relative;
	min-height: 120px;
}

.via-cf-contact-panel {
	display: none;
	animation: viaCfFadeIn 0.5s ease;
}

.via-cf-contact-panel.active {
	display: block;
}

@keyframes viaCfFadeIn {
	from { opacity: 0; transform: translateY(6px); }
	to   { opacity: 1; transform: translateY(0); }
}

.via-cf-branch-name {
	font-size: 14px;
	font-weight: 600;
	color: #e94560;
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	letter-spacing: 0.3px;
}

.via-cf-contact-dots {
	display: flex;
	gap: 8px;
	margin-top: 16px;
}

.via-cf-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	cursor: pointer;
	transition: all 0.3s ease;
}

.via-cf-dot.active,
.via-cf-dot:hover {
	background: #e94560;
	transform: scale(1.2);
}

/* ---------- CỘT 3: LIÊN KẾT ---------- */
.via-cf-links-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.via-cf-links-list li {
	margin-bottom: 10px;
}

.via-cf-links-list a {
	color: #c8c8d4;
	text-decoration: none;
	transition: all 0.25s ease;
	position: relative;
	padding-left: 16px;
}

.via-cf-links-list a::before {
	content: '›';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	font-size: 16px;
	font-weight: 700;
	color: #e94560;
	transition: transform 0.25s ease;
}

.via-cf-links-list a:hover {
	color: #e94560;
	padding-left: 20px;
}

.via-cf-links-list span {
	color: #a0a0b4;
}

/* ---------- CỘT 4: SOCIAL ---------- */
.via-cf-social-links {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.via-cf-social-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #c8c8d4;
	text-decoration: none;
	padding: 8px 16px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.08);
	transition: all 0.3s ease;
	font-size: 14px;
}

.via-cf-social-link svg {
	flex-shrink: 0;
	transition: transform 0.3s ease;
}

.via-cf-social-link:hover {
	transform: translateX(5px);
	color: #ffffff;
}

.via-cf-social-link:hover svg {
	transform: scale(1.15);
}

/* Social brand colors on hover */
.via-cf-social-facebook:hover {
	background: rgba(24, 119, 242, 0.15);
	border-color: rgba(24, 119, 242, 0.3);
	color: #4599ff;
}

.via-cf-social-zalo:hover {
	background: rgba(0, 132, 255, 0.15);
	border-color: rgba(0, 132, 255, 0.3);
	color: #0084ff;
}

.via-cf-social-youtube:hover {
	background: rgba(255, 0, 0, 0.12);
	border-color: rgba(255, 0, 0, 0.25);
	color: #ff4444;
}

.via-cf-social-tiktok:hover {
	background: rgba(254, 44, 85, 0.12);
	border-color: rgba(254, 44, 85, 0.25);
	color: #fe2c55;
}

/* ---------- FOOTER BOTTOM ---------- */
.via-cf-bottom {
	background: #12122a;
	padding: 18px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.via-cf-bottom .via-cf-container {
	justify-content: center;
}

.via-cf-copyright {
	margin: 0;
	font-size: 13px;
	color: #6e6e82;
	text-align: center;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
	.via-cf-container {
		gap: 30px;
	}

	.via-cf-col {
		min-width: 200px;
	}
}

@media (max-width: 768px) {
	.via-cf-main {
		padding: 35px 0 25px;
	}

	.via-cf-container {
		flex-wrap: wrap;
		gap: 25px;
	}

	.via-cf-col {
		min-width: 100%;
	}

	.via-cf-col-contact,
	.via-cf-col-links {
		min-width: 0;
		flex: 1 1 45%;
	}

	.via-cf-col-about {
		text-align: center;
	}

	.via-cf-logo {
		display: flex;
		justify-content: center;
	}

	.via-cf-col-title {
		font-size: 15px;
	}

	.via-cf-social-links {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 10px;
	}

	.via-cf-social-link {
		flex: 1;
		min-width: 120px;
		justify-content: center;
	}

	.via-cf-social-link:hover {
		transform: translateY(-2px);
	}
}

@media (max-width: 480px) {
	.via-cf-main {
		padding: 25px 0 20px;
	}

	.via-cf-container {
		padding: 0 15px;
	}

	.via-cf-social-link {
		min-width: 100px;
		padding: 6px 12px;
		font-size: 13px;
	}
}