﻿/*----- Chữ chạy----- */
.news-ticker {
	width: 100%;
	overflow: hidden; /* Ẩn phần thừa bên ngoài */
	white-space: nowrap; /* Không cho xuống dòng */
	display: flex;
	background: #f8f9fa; /* Màu nền tùy chọn */
	padding: 10px 0;
	margin-bottom:20px;
}

.ticker-content {
	display: inline-block;
	padding-left: 0;
	animation: ticker-move 60s linear infinite; /* 30s là tốc độ, càng nhỏ càng nhanh */
}

	.ticker-content a {
		text-decoration: none;
		color: #333;
		font-weight: bold;
		margin: 0 10px;
	}

.gumax-button a {
	padding: 10px 45px;
	background-color: #002a5c;
	border-radius: 5px;
	color: #fff;
	transition: .5s;
	margin-top: 10px;
}
.gumax-button a:hover {
	background-color: transparent;
	border: 1px solid #df2d37;
	color: #002c5d;
	transition: .5s;
}
/* Định nghĩa chuyển động */
@keyframes ticker-move {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-100%);
	}
}

/* Tạm dừng khi di chuột vào (tùy chọn) */
.news-ticker:hover .ticker-content {
	animation-play-state: paused;
}
/*-----Kết Thúc Chữ chạy----- */
/*.single-box img {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	object-fit: cover;
	transition: .3s ease-in-out;
}*/
.dieuhuong {
	padding: 10px 0;
	background: #f8fbf1;
	border-bottom: 1px solid #ccc;
	margin-bottom: 30px;
}

.over-3row {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	min-height: 19px;
}

.over-2row {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	min-height: 19px;
}

.over-1row {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	overflow: hidden;
	min-height: 19px;
}

.blog-detail-section .embed-responsive {
	padding-bottom: 0% !important;
}

.embed-responsive-16by9 {
	padding-top: 0% !important;
}
.danhmuc-bg {
	background-image: url('image/Home-1.jpg');
	background-position: center;
	background-size: cover;
	padding-bottom: 30px;
	padding-top: 40px;
	background-color: #ecf6f5;
}
.danhmuc-bg h2{
	margin-bottom: 20px;
}
.team-section.chuyengia .single-box, .team-section.daily .single-box {
	box-shadow: 0px 5px 60px 0px rgb(255 255 255 / 10%);
	position: relative;
	transition: .5s;
	border-radius: 10px;
}
	.team-section.chuyengia .single-box .text-content, .team-section.daily .single-box .text-content {
		padding: 20px 20px 20px 30px;
		background: #ecf6f5;
		border-bottom-left-radius: 10px;
		border-bottom-right-radius: 10px;
	}
.daily .single-box img {
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	object-fit: cover;
	transition: .3s ease-in-out;
}
.contact-section .contact {
	background-color: #fff;
	border-radius: 10px;
	padding: 40px 40px 50px 40px;
	margin: 104px 0px;
}
/* Tạo hiệu ứng quay */
.spinner-border {
	display: inline-block;
	width: 1rem;
	height: 1rem;
	vertical-align: text-bottom;
	border: .2em solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: spinner-border .75s linear infinite;
	margin-right: 5px;
}

@keyframes spinner-border {
	to {
		transform: rotate(360deg);
	}
}

/* Làm mờ nút khi đang gửi */
.btn-SaveContact:disabled {
	cursor: not-allowed;
	opacity: 0.7;
}
.mt-30{margin-top:30px;}
.mb-30{margin-bottom:30px;}
.mb-20{margin-bottom:20px;}
.tag .container{margin-bottom:30px;}
.tag .row{margin-bottom:30px;}

.mxh .icon a {
	padding: 5px 0px 34px 17px;
	display: inline-block;
}

	.mxh .icon a i {
		border: 1px solid #02BFC6;
		display: inline-block;
		font-size: 15px;
		height: 40px;
		line-height: 41px;
		text-align: center;
		width: 40px;
		border-radius: 5px;
		color: #fff;
		transition: 0.5s;
	}
.mxh .icon a i:hover {
	background: #02BFC6;
	border-color: #02BFC6;
	color: #fff;
	transition: 0.5s;
}
.danhmuc .owl-carousel .owl-item img {
	display: inline;
	width: 100px;
	background: #eaf5f6a6;
	border-radius: 8px;
	padding: 0px;
	margin: 20px;
}
.relation a{margin-bottom:10px;}
.relation i{color:#df2d37;}
.blog-detail-section .main-section .text-detail .block {margin-bottom: 20px;}
.blog-detail-section .right-side {background: #e5e8f363;border:#dee2e6;padding-top:10px;}
.subscrib-section h2{margin-bottom:20px;}
.menuhome .text-right a{margin-bottom:10px;}
.menuhome .service-slider .slider-item .image {
	margin-bottom: 10px;
}
.blog-item .image{margin-bottom:10px;}


.theme-btn .btn-title {
	position: relative;
	color: #fff;
}
.theme-btn {
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	text-align: center;
	white-space: nowrap;
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
	z-index: 0;
}
.btn-style-one {
	position: relative;
	font-size: 16px;
	line-height: 28px;
	padding: 20px 14px;
	letter-spacing: -1px;
	overflow: hidden;
	background: #df2d37;
}

/*Support bottom*/
.support-bottom {
	border-top: 1px solid #ddd;
	z-index: 1000;
	background: rgba(221, 221, 221, 0.73);
	text-align: center;
}

	.support-bottom a {
		padding: 10px;
	}

	.support-bottom .borl {
		border-left: 1px solid #ddd;
	}

	.support-bottom .call {
		background: #003e42;
		width: 50%;
	}

		.support-bottom .call strong {
			color: #fff;
		}

	.support-bottom .fb {
		background: #0072ff;
	}

.suport .fb i.fab {
	color: #fff !important;
}

.support-bottom .zl {
	background: #00c1ff;
}

.support-bottom .ms {
	background: #ff6a00;
}

.support-bottom .map {
	background: #00b8d4;
}
/* Container nút Call trên Mobile */
.support-bottom .call .nav-link {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	text-decoration: none;
}

/* Tạo khối tròn cho Icon và hiệu ứng lan tỏa */
.ripple-icon {
	position: relative;
	width: 30px;
	height: 30px;
	background: #ff0000; /* Màu nền đỏ cho icon nổi bật */
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 10px; /* Khoảng cách với số điện thoại */
	z-index: 1;
}

	/* Hiệu ứng vòng tròn lan tỏa giống Desktop */
	.ripple-icon::before,
	.ripple-icon::after {
		content: "";
		border: 2px solid #ff0000;
		position: absolute;
		z-index: -1;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		width: 100%;
		height: 100%;
		border-radius: 50%;
		animation: zoomBigMobile 2.5s linear infinite;
	}

	.ripple-icon::after {
		animation-delay: 1.2s;
	}

/* Animation ZoomBig tùy chỉnh cho kích thước Mobile */
@keyframes zoomBigMobile {
	0% {
		transform: translate(-50%, -50%) scale(1);
		opacity: 1;
		border-width: 2px;
	}

	100% {
		transform: translate(-50%, -50%) scale(2.5);
		opacity: 0;
		border-width: 1px;
	}
}

/* Giữ icon điện thoại luôn trắng */
.ripple-icon i {
	color: #fff !important;
	font-size: 14px;
}

/* Đảm bảo thanh support-bottom không bị che mất hiệu ứng lan tỏa */
.support-bottom {
	overflow: visible !important;
}

	.support-bottom .row {
		margin: 0;
		overflow: visible;
	}
/*Support Right*/
.support-right {
	display: none;
	text-align: center;
	position: fixed;
	bottom: 180px;
	right: 5px;
	width: 44px;
	z-index: 1000;
}

	.support-right .nav-link {
		display: block;
		padding: 10px 0rem;
	}

.call .fa-phone:before {
	color: #fff !important;
}

.support-right .fb {
	background-color: #0072ff;
	border-radius: 50%;
	margin-bottom: 10px;
	color: #fff;
}

.fb .fa-facebook-messenger:before {
	content: "\f39f";
	color: #fff !important;
}

.fb .fa-facebook-f:before {
	color: #fff !important;
}

.support-right .zl {
	background-color: #00c1ff;
	border-radius: 50%;
	margin-bottom: 10px;
}

.support-right .ms {
	background-color: #ff6a00;
	border-radius: 50%;
	margin-bottom: 10px;
}

.support-right .map {
	background-color: #00b8d4;
	border-radius: 50%;
	margin-bottom: 10px;
}

.none-xs {
	display: none;
}

@media (min-width: 768px) {
	.support-bottom {
		display: none;
	}

		.support-bottom .call {
			width: 50% !important;
		}

	.support-right {
		display: block;
	}

	.none-xs {
		display: block;
	}
}

.owl-height {
	height: auto !important;
}

.input-group .btn {
	background: var(--theme-color1);
	color: #fff;
}

/* Thiết lập nền tảng cho nút call */
.support-right .call {
	background-color: #df2d37; /* Bạn có thể đổi thành màu đỏ #df2d37 nếu muốn đồng bộ */
	border-radius: 50%;
	margin-bottom: 10px;
	position: relative;
	z-index: 10;
}

	/* Hiệu ứng vòng tròn lan tỏa 1 (Sử dụng đúng logic zoomBig bạn cung cấp) */
	.support-right .call::before,
	.support-right .call::after {
		content: "";
		/* Màu đỏ theo yêu cầu của bạn */
		border: 2px solid #ff0000;
		position: absolute;
		z-index: -1;
		left: 50%;
		top: 50%;
		/* Căn giữa vòng tròn */
		transform: translateX(-50%) translateY(-50%);
		display: block;
		/* Kích thước vòng lan tỏa (đã điều chỉnh cho cân đối nút 44px) */
		width: 80px;
		height: 80px;
		border-radius: 50%;
		/* Sử dụng animation zoomBig */
		animation: zoomBig 3s linear infinite;
	}

	/* Vòng 2 trễ nhịp để tạo hiệu ứng lớp sóng */
	.support-right .call::after {
		animation-delay: 1.5s;
	}

	/* Giữ icon điện thoại nằm trên cùng */
	.support-right .call .nav-link {
		position: relative;
		z-index: 11;
	}


/* KEYFRAMES GỐC TỪ NÚT GO TOP */
@keyframes zoomBig {
	0% {
		transform: translate(-50%, -50%) scale(0.5);
		opacity: 1;
		border-width: 3px;
	}

	40% {
		opacity: 0.5;
		border-width: 2px;
	}

	65% {
		border-width: 1px;
	}

	100% {
		transform: translate(-50%, -50%) scale(1.2); /* Tăng nhẹ tỷ lệ để thấy rõ sự lan tỏa */
		opacity: 0;
		border-width: 1px;
	}
}
/* Container cố định góc phải trên */
.fixed-top-right {
	position: fixed;
	top: 15px;
	right: 20px;
	z-index: 10001; /* Nằm trên các thành phần khác */
}

/* Style nút chính */
.btn-register-now {
	display: flex;
	align-items: center;
	padding: 8px 20px;
	background: linear-gradient(45deg, #df2d37, #ff416c);
	color: #fff !important;
	text-decoration: none !important;
	font-weight: bold;
	font-size: 14px;
	border-radius: 50px;
	box-shadow: 0 4px 15px rgba(255, 75, 43, 0.4);
	position: relative;
	transition: all 0.3s ease;
	/* Gán đồng thời 2 hiệu ứng */
	animation: pulse-red 2s infinite, shake-node 3s infinite;
}

	.btn-register-now i {
		margin-right: 8px;
		font-size: 18px;
	}

/* Hiệu ứng lan tỏa (Pulse) */
@keyframes pulse-red {
	0% {
		box-shadow: 0 0 0 0 rgba(255, 75, 43, 0.7);
	}

	70% {
		box-shadow: 0 0 0 15px rgba(255, 75, 43, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(255, 75, 43, 0);
	}
}

/* Hiệu ứng rung lắc (Shake) */
@keyframes shake-node {
	0%, 90%, 100% {
		transform: rotate(0);
	}

	92% {
		transform: rotate(-5deg);
	}

	94% {
		transform: rotate(5deg);
	}

	96% {
		transform: rotate(-5deg);
	}

	98% {
		transform: rotate(5deg);
	}
}

/* Hiệu ứng khi di chuột vào */
.btn-register-now:hover {
	transform: scale(1.05);
	background: linear-gradient(45deg, #ff416c, #ff4b2b);
	box-shadow: 0 6px 20px rgba(255, 75, 43, 0.6);
}

/* Responsive cho Mobile */
@media (max-width: 768px) {
	.fixed-top-right {
		top: 10px;
		right: 10px;
	}

	.btn-register-now {
		padding: 8px 15px;
		font-size: 12px;
	}
}



/* Container mặc định ở giữa trái */
.fixed-left-center-to-bottom {
	position: fixed;
	left: 20px;
	top: 70%;
	transform: translateY(-50%);
	z-index: 1001;
	transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Hiệu ứng di chuyển mượt */
}

	/* Khi cuộn chuột xuống, JS sẽ thêm class này */
	.fixed-left-center-to-bottom.is-bottom {
		top: auto;
		bottom:150px; /* Vị trí khi ở dưới đáy (tránh đè nút call mobile) */
		transform: translateY(0);
	}

/* Style nút dọc */
.btn-vertical-shake {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 20px 8px;
	background: linear-gradient(to bottom, #002a5c, #187dc1);
	color: #fff !important;
	text-decoration: none !important;
	font-weight: bold;
	font-size: 14px;
	border-radius: 8px;
	box-shadow: 4px 0 15px rgba(255, 75, 43, 0.4);
	/* Quay văn bản dọc */
	writing-mode: vertical-rl;
	text-orientation: mixed;
	transform: rotate(180deg);
	/* Hiệu ứng rung và lan tỏa */
	animation: pulse-red-vertical 2s infinite, shake-vertical 3s infinite;
}

	.btn-vertical-shake i {
		margin-bottom: 10px;
		font-size: 18px;
		transform: rotate(90deg); /* Xoay icon lại cho xuôi */
	}

/* Animation Lan tỏa */
@keyframes pulse-red-vertical {
	0% {
		box-shadow: 0 0 0 0 rgba(255, 75, 43, 0.7);
	}

	70% {
		box-shadow: 15px 0 0 10px rgba(255, 75, 43, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(255, 75, 43, 0);
	}
}

/* Animation Rung lắc */
@keyframes shake-vertical {
	0%, 90%, 100% {
		transform: rotate(180deg);
	}

	92% {
		transform: rotate(175deg);
	}

	94% {
		transform: rotate(185deg);
	}

	96% {
		transform: rotate(175deg);
	}

	98% {
		transform: rotate(185deg);
	}
}

.btn-vertical-shake:hover {
	padding-left: 15px;
	background: linear-gradient(to bottom, #ff416c, #ff4b2b);
}
/* Responsive cho Mobile */
@media (max-width: 768px) {
	.fixed-left-center-to-bottom {
		left:5px;
	}

}

.slider .owl-dots {
	text-align: center;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 2%;
	transition: 0.5s;
}
.slider .owl-dots .owl-dot.active {
	background: #dc3545;
	height: 12px;
	width: 12px;
	border-radius: 50%;
}
.slider .owl-dots .owl-dot {
	display: inline-block;
	position: relative;
	height: 12px;
	width: 12px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid #dc3545;
	margin-right: 20px;
	transition: 0.5s;
}