/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
/*************** ADD CUSTOM CSS HERE.   ***************/
body {
	font-family: "Inter", sans-serif;
	font-size: 15px;
}
.section > .section-content > .row > .col {
	padding-bottom: 0;
}
p {
	margin-bottom: 10px;
}
p:last-child {
	margin-bottom: 0;
}
.icon-box-left p {
	margin-bottom: 0;
}
h1, h2, h3, h4, h5 {
	line-height: inherit;
}
.banner h1, .banner h2, .banner h3, .banner h4, .banner h5 {
	line-height: inherit;
	margin-top: 0;
}
.absolute-footer {
	display: none;
}
.menu-footer ul {
	margin-bottom: 0;
}
.menu-footer ul li {
	display: inline-block;
	list-style: none;
	margin-bottom: 0;
}
.footer-wrapper p {
	margin-bottom: 0;
}
.header-top {
	background-image: linear-gradient(to right, #1BA1E6 , #0B57AC);
}
.header-main .nav-size-medium>li>a {
	font-size: 16px;
	font-weight: normal;
}
.header-main .nav>li.active>a {
	font-weight: bold;
}
.button.primary:not(.is-outline) {
	background-image: linear-gradient(to right, #1BA1E6 , #0B57AC);
	height: 40px;
    line-height: 40px;
    font-weight: 600;
	border: transparent;
}
.button.primary:not(.is-outline) span:after {
	content: '';
	display: inline-block;
	width: 20px;
	height: 20px;
	background-image: url(images/Icon.png);
	margin-left: 5px;
    position: relative;
    top: 5px;
}
.button.is-outline {
	height: 40px;
	line-height: 40px;
	border: 1px solid;
    font-weight: 600;
}
.button.is-outline span:after {
	content: '';
	display: inline-block;
	width: 20px;
	height: 20px;
	background-image: url(images/Icon.png);
	margin-left: 5px;
    position: relative;
    top: 5px;
}
.button.primary.is-link:not(.is-outline) {
	background: transparent;
	margin-bottom: 0;
	margin-right: 0;
	height: auto;
	line-height: inherit;
	color: #333;
}
.button.primary.is-link:not(.is-outline) span:after {
	content: '\f061';
	font-family: FontAwesome;
	margin-left: 5px;
	top: 0;
}

/* Định dạng tổng thể thanh liên hệ */
.top-contact-bar {
    display: flex;
    justify-content: center; /* Căn giữa toàn bộ cụm */
    align-items: center;
    gap: 40px; /* Khoảng cách giữa các cột */
    font-size: 12px;
    line-height: 1.4;
}

/* Định dạng từng mục */
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px; /* Khoảng cách giữa icon và chữ */
}

/* Định dạng Icon */
.contact-item i {
    font-size: 16px;
}

/* Định dạng số điện thoại in đậm, to hơn một chút */
.contact-item strong {
    font-size: 12px;
    font-weight: bold;
}

.col-dv .col-inner:hover {
	background-color: #EDFEFF !important;
}
.col-dv .col-inner:hover h4 {
	color: var(--primary-color) !important;
}
.col-dv .icon-box-left h4 {
	margin-bottom: 0;
}
.col-dv .icon-box-left {
	display: flex;
	align-items: center;
}
.check-list ul {
	margin-bottom: 0;
}
.check-list ul li {
	list-style: none;
	margin-left: 0;
}
.check-list ul li:before {
	content: '\f00c';
	display: inline-block;
	font-family: FontAwesome;
	margin-right: 10px;
	color: #126BF4;
}
.col-spdv .col-inner:hover {
	background-color: #EDFEFF !important;
}
.col-spdv .icon-box-center .icon-box-img {
	height: 100px;
	width: 100px !important;
	border-radius: 999px;
	background-color: #E6E8EA;
	display: flex;
	align-items: center;
	justify-content: center;
}
.col-spdv .col-inner:hover .icon-box-center .icon-box-img {
	background-color: #0068C8;
}
.col-spdv .icon-box-center .icon-box-img img {
	width: 60px;
	transition: filter 0.3s ease-in-out;
	filter: brightness(0) saturate(100%) invert(29%) sepia(95%) saturate(2060%) hue-rotate(200deg) brightness(93%) contrast(101%);
}
.col-spdv .col-inner:hover .icon-box-center .icon-box-img img {
	filter: brightness(0) invert(1);
}
.col-spdv .col-inner:hover h4 {
	color: var(--primary-color) !important;
}
.icon-box-img img, .icon-box-img svg {
	padding-top: 0;
}

/* ---- Khung card ---- */
.box-blog-post {
	background: #ffffff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 2px 14px rgba(15, 23, 42, .06);
	transition: background .3s ease, box-shadow .3s ease, transform .3s ease;
	height: 100%;
}
.box-blog-post:hover {
	background: #e9fbf9; /* nền mint khi hover, giống card 1 trong mẫu */
	box-shadow: 0 8px 24px rgba(15, 23, 42, .10);
	transform: translateY(-3px);
}

/* ---- Ảnh ---- */
.box-blog-post .box-image,
.box-blog-post .box-image .image-cover {
	border-radius: 0; /* ảnh vuông cạnh trên, bo theo card */
}
.box-blog-post .box-image img {
	transition: transform .5s ease;
}
.box-blog-post:hover .box-image img {
	transform: scale(1.05);
}

/* ---- Vùng text ---- */
.box-blog-post .box-text {
	padding: 16px 20px 20px;
}
.box-blog-post .blog-post-inner {
	display: flex;
	flex-direction: column;
	text-align: left;
}

/* Date lên trên cùng */
.box-blog-post .post-meta {
	order: 1;
	font-size: 12px;
	color: #94a3b8;
	opacity: 1;
	margin: 0 0 8px;
}

/* Title */
.box-blog-post .post-title {
	order: 2;
	font-size: 16px;
	line-height: 1.55;
	font-weight: 500;
	color: #1f2937;
	margin: 0;
	text-transform: none;
	transition: color .3s ease;
}
.box-blog-post:hover .post-title {
	color: #1e3a8a; /* title chuyển navy khi hover */
	font-weight: bold;
}

.box-blog-post p.from_the_blog_excerpt {
	order: 3;
}

/* Ẩn divider mặc định của Flatsome */
.box-blog-post .is-divider {
	display: none;
}

/* ---- Link Xem chi tiết ---- */
.box-blog-post .taki-readmore {
	order: 4;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 14px;
	font-size: 12px;
	font-weight: 500;
	color: #2563eb;
	transition: gap .25s ease;
}
.box-blog-post .taki-readmore::before {
	content: '\2192'; /* mũi tên → */
	font-size: 14px;
	line-height: 1;
}
.box-blog-post:hover .taki-readmore {
	gap: 10px; /* mũi tên đẩy ra khi hover */
}

h1.page-title {
	text-align: left;
	font-size: 35px;
	text-transform: none;
	margin-bottom: 0;
}
.entry-meta {
	text-transform: none;
}
b, strong {
	font-weight: bold;
}
.page-title-bar {
	padding: 10px 0;
	border-bottom: 1px solid #ebebeb;
	font-size: 12px;
}
/* ===== H4 gradient khi hover ===== */
.col-sm .col-inner h4 {
	transition: opacity 0.3s ease-in-out;
}
.col-sm .col-inner:hover h4 {
	background: linear-gradient(135deg, #0B57AC 0%, #1BA1E6 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

/* ===== Icon gradient khi hover (dùng mask) ===== */
.col-sm .icon-box-center .icon-box-img .img-inner,
.col-sm .icon-box-center .icon-box-img {
	position: relative;
}
.col-sm .icon-box-center .icon-box-img img {
	transition: opacity 0.3s ease-in-out;
}
.icon-gradient-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, #0B57AC 0%, #1BA1E6 100%);
	-webkit-mask: var(--icon) center / contain no-repeat;
	mask: var(--icon) center / contain no-repeat;
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
	pointer-events: none;
}
.col-sm .col-inner:hover .icon-box-img img {
	opacity: 0;
}
.col-sm .col-inner:hover .icon-gradient-overlay {
	opacity: 1;
}
.widget {
    position: relative;
    background: #fff;
    margin: 0 0 20px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.08);
    border-radius: 3px;
	padding: 15px 15px;
}
.widget span.widget-title {
	display: block;
	text-transform: none;
	font-size: 18px;
}
.portfolio-top {
	padding-top: 30px;
}
.portfolio-inner ul li {
	margin-left: 30px;
}
.contact-form {
	margin-top: 15px;
}
.contact-form input.wpcf7-form-control {
	font-size: 13px;
	border-radius: 99px;
}
.contact-form input.wpcf7-form-control.wpcf7-submit {
	position: absolute;
	top: 0;
	margin: 0;
	right: 0;
	background-color: #1BA1E6;
	color: #fff;
	border-radius: 0 30px 30px 0;
	border: none;
}

@media (min-width: 850px) {
	.banner-custom .text-box {
		left: 2%;
	}
}

/* Responsive: Chuyển thành hàng dọc trên màn hình nhỏ */
@media (max-width: 768px) {
    .top-contact-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media only screen and (max-width: 480px) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}
.social-item {
	display: inline-block;
	margin-left: 10px;
}
.social-item a {
	color: #fff;
}