:root {
	--width-max: 1440px;
	--font-primary: "Google Sans Flex", Arial, sans-serif;
	--color-primary: #00AFEF;
	--color-secondary: #00AFEF;
	--color-gray1: #222;
	--color-gray2: #555;
	--color-gray3: #777;
	--color-gray4-1: #e5e5e5;
	--color-gray4-2: #c9c9c9;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-primary) !important;
	background: #fff;
	.button,
	button,
	input[type="button"],
	input[type="reset"],
	input[type="submit"] {
		all: unset;
		box-sizing: border-box;
		cursor: pointer;
	}
}
body .select-resize-ghost, .select2-container .select2-choice, .select2-container .select2-selection, input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea{
	box-shadow: none !important;
	min-height: 50px;
	border-radius: 4px !important;
	&:focus{
		box-shadow:none;
		border: 1px solid #000;
	}
}
body h1,
body h2,
body h3,
body h4,
body h5,
body div,
body p,
body a,
body span,
body li,
body button {
	font-family: var(--font-primary);
}

body.sitemap-open {
	overflow: hidden;
}

#wrap {
	/* overflow: hidden; */
}

.site-main {
	max-width: var(--width-max);
	margin: 80px auto;
}

.th-entry-header h1 {
	margin: 0 0 24px;
	font-size: 40px;
	line-height: 1.2;
}
.admin-bar #header {
	top: 32px;
}
.admin-bar .gnav-sub {
	top: 115px;
}
#header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	color: #fff;
	background: transparent;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

#header.is-scrolled,
#header:hover {
	color: #111;
	background: #fff;
	border-bottom: 1px solid #e9e9e9;
}

#header .header-inner {
	width: min(var(--width-max), calc(100% - 32px));
	height: 82px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 40px;
}

#header .header-logo {
	margin: 0;
	font-size: 24px;
	line-height: 1;
	font-weight: 800;
	width: 150px;
	height: 60px;

}

#header .header-logo img {
	object-fit: contain;
	width: 100%;
	height: 100%;
}

#header a {
	color: inherit;
	text-decoration: none;
	&:hover{
		color: var(--color-secondary);
	}
}
/* Trang home */
body.home #header{
	&:hover a{
		color: #000;
	}
	&.is-scrolled a{
		color: #000;
	}
	a {
		color: #fff;
		&:hover{
			color: var(--color-secondary);
		}
	}
} 

/* Các trang còn lại */
body:not(.home, .page-template-page-about, .page-template-page-business, .th-project-taxonomy-template, .th-project-detail-template){
	#header {
		border-bottom: 1px solid #e9e9e9;
		background: #fff;
	}
	#header a {
		color: #000;
		&:hover{
			color: var(--color-secondary);
		}
	}
	.btn-menu {
		color: #000;
	}
	#content {
		margin-top: 80px;
	}
}

#gnav {
	margin: auto;
}
.header-right{
	display: flex;
	align-items: center;
	gap: 24px;
	flex:0 0 auto;
}
.gnav-list,
.gnav-sub ul,
.glang ul,
.dep1-list,
.dep2-list,
.footer-links ul,
.footer-contact .info {
	list-style: none;
	margin: 0;
	padding: 0;
}

.gnav-list {
	display: flex;
	align-items: center;
	gap: 54px;
}

.gnav-list > li {
	position: relative;
	font-weight: 700;
	height: 82px;
	display: flex;
	align-items: center;
	font-size: 17px;
	line-height: 1;
}

.gnav-list > li > a {
	display: flex;
	align-items: center;
	height: 100%;
	transition: color 0.2s ease;
}

.menu-down {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: currentColor;
	transition: transform 0.2s ease, color 0.2s ease;
}

.menu-down svg {
	display: block;
}

.gnav-list > li.has-children > .menu-down {
	margin-left: 7px;
	color: rgba(255, 255, 255, 0.82);
}

#header.is-scrolled .gnav-list > li.has-children > .menu-down,
#header:hover .gnav-list > li.has-children > .menu-down {
	color: #999;
}

.gnav-list > li.has-children:hover > .menu-down,
.gnav-list > li.current-menu-ancestor > .menu-down {
	color: var(--color-secondary);
	transform: rotate(180deg);
}

.gnav-list > li:hover > a,
.gnav-list > li.current-menu-item > a,
.gnav-list > li.current-menu-ancestor > a {
	color: var(--color-secondary);
}

.gnav-sub {
	position: fixed;
	top: 82px;
	left: 0;
	right: 0;
	min-width: 0;
	padding: 0;
	opacity: 0;
	pointer-events: none;
	transform: translateY(-4px);
	transition: opacity 0.18s ease, transform 0.18s ease;
	background: #fff;
	border-top: 1px solid #e9e9e9;
	border-bottom: 1px solid #e9e9e9;
	color: #444;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}

.gnav-list > li:hover .gnav-sub {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.gnav-sub ul {
	width: min(var(--width-max), calc(100% - 32px));
	min-height: 80px;
	margin: 0 auto;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(28px, 5vw, 86px);
	background: transparent;
	border: 0;
}

.gnav-sub li + li {
	margin-top: 0;
}

.gnav-sub a {
	font-size: 16px;
	font-weight: 500;
	white-space: nowrap;
	color: #4f5964;
	transition: color 0.2s ease;
}

.gnav-sub a:hover {
	color: var(--color-secondary);
}

.glang ul {
	display: flex;
	gap: 12px;
	font-weight: 700;
	font-size: 14px;
}

.glang a:not(.active) {
	opacity: 1;
	color: inherit;
}

.glang a.active {
	color: var(--color-secondary);
}

.btn-menu {
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	color: inherit;
	position: relative;
	cursor: pointer;
}

.btn-menu span {
	position: absolute;
	clip: rect(1px, 1px, 1px, 1px);
	width: 1px;
	height: 1px;
	overflow: hidden;
}
/* 
.btn-menu:before,
.btn-menu:after {
	content: "";
	position: absolute;
	left: 6px;
	right: 6px;
	height: 2px;
	background: currentColor;
}

.btn-menu:before {
	top: 12px;
}

.btn-menu:after {
	bottom: 12px;
} */

.sitemap {
	position: fixed;
	inset: 0;
	z-index: 150;
	display: none;
	color: #222;
	background: #fff;
	overflow: auto;
}
.admin-bar .sitemap {
	top: 32px;
}
.sitemap.is-open {
	display: block !important;
}

.sitemap:before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 30%;
	background:var(--color-secondary);
}

.sitemap:after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 25%;
	height: 68%;
	/* background:
		radial-gradient(circle at 0 100%, rgba(255, 139, 21, 0.75), transparent 62%),
		linear-gradient(32deg, rgba(199, 0, 32, 0.42) 0 38%, transparent 39%); */
	pointer-events: none;
}

.sitemap-head {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 30% 1fr;
	min-height: 99px;
	border-bottom: 1px solid #e8e8e8;
}

.sitemap-brand {
	padding: 22px clamp(32px, 5vw, 104px);
	display: flex;
	align-items: flex-start;
	color: #fff;
	font-size: 28px;
	font-weight: 800;
}

.sitemap-brand a {
	color: inherit;
	text-decoration: none;
}

.sitemap-brand img {
    width: 150px;
    height: 60px;
    display: block;
    filter: brightness(0) invert(1);
    object-fit: contain;
}

.sitemap-actions {
	display: flex;
	align-items: stretch;
	justify-content: flex-end;
	.gtranslate_wrapper{
		display: flex;
		align-items: center;
		gap: 10px;
		padding: 10px;
	}
}

.sitemap-lang {
	display: flex;
	align-items: center;
	padding-right: 42px;
	color: #222;
}

.sitemap-close {
	position: relative;
	width: 99px;
	border: 0;
	background: var(--color-secondary);
	color: #fff;
	cursor: pointer;
}

.sitemap-close span {
	position: absolute;
	clip: rect(1px, 1px, 1px, 1px);
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.sitemap-close:before,
.sitemap-close:after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 30px;
	height: 2px;
	background: currentColor;
	transform-origin: center;
}

.sitemap-close:before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.sitemap-close:after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.sitemap nav {
	position: relative;
	z-index: 1;
	width: 100%;
	margin: 0;
}

.dep1-list {
	display: block;
}

.dep1-list > li {
	display: grid;
	grid-template-columns: 30% 1fr;
	min-height: 145px;
	
	ul{
		border-bottom: 1px solid #e8e8e8;
	}
}

.dep1-list > li > .dep1-title,
.dep1-heading {
	display: flex;
	align-items: center;
	padding-left: clamp(48px, 12.5vw, 236px);
	font-size: 22px;
	line-height: 1.45;
	font-weight: 800;
	margin: 0;
	color: #fff;
}

.dep1-title {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.dep1-heading .dep1-title {
	flex: 1;
}

.dep1-title:hover {
	color: var(--color-secondary);
}

.dep1-toggle {
	display: none;
	flex: 0 0 auto;
	border: 0;
	background: transparent;
	cursor: default;
	color: inherit;
}

.dep1-toggle .menu-down {
	display: none;
}

.dep2-list {
	display: grid;
	grid-template-columns: repeat(5, minmax(140px, 1fr));
	gap: 28px 42px;
	align-content: center;
	padding: 30px clamp(42px, 6vw, 80px);
}

.dep2-list li + li {
	margin-top: 0;
}

.dep2-list a {
	color: #2f3338;
	font-size: 19px;
	line-height: 1.35;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.2s ease;
}

.dep2-list a:hover {
	color: var(--color-secondary);
}

#footer {
	position: relative;
	z-index: 2;
	background: #161616;
	color: #fff;
}

.footer-container {
	width: min(var(--width-max), calc(100% - 32px));
	margin: 0 auto;
	padding: 54px 0;
	display: grid;
	grid-template-columns: 220px 1fr auto;
	gap: 40px;
	align-items: start;
}

.footer-logo img {
	max-width: 150px;
	height: auto;
}

.footer-logo-text {
	font-size: 24px;
	font-weight: 800;
}

.footer-contact p {
	margin: 0;
}

.footer-contact .name {
	font-weight: 800;
	margin-bottom: 8px;
}

.footer-contact .address,
.footer-contact .info,
.footer-copyright {
	color: rgba(255, 255, 255, 0.72);
}

.footer-contact .info {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin-top: 14px;
}

.footer-links li + li {
	margin-top: 10px;
}

.footer-links a {
	color: #fff;
	text-decoration: none;
}

.footer-copyright {
	grid-column: 2 / 4;
	margin: -18px 0 0;
}

.go-top {
	position: fixed;
	right: 30px;
	bottom: 40px;
	z-index: 20;
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #fff;
	color: #111;
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.go-top svg {
	display: block;
}

.modal {
	display: none;
}

.modal.is-open {
	position: fixed;
	inset: 0;
	z-index: 120;
	display: grid;
	place-items: center;
	padding: 26px;
	background: rgba(0, 0, 0, 0.68);
}

.modal-wrap {
	width: min(820px, 100%);
	max-height: min(760px, calc(100vh - 52px));
	overflow: auto;
	background: #fff;
	color: #222;
}

.modal-header {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 24px 28px;
	border-bottom: 1px solid #e5e5e5;
}

.modal-header h2 {
	margin: 0;
	font-size: 24px;
	line-height: 1.25;
}

.modal-close {
	margin-left: auto;
	border: 0;
	background: #222;
	color: #fff;
	padding: 10px 14px;
	cursor: pointer;
}

.modal-contents {
	padding: 28px;
	line-height: 1.6;
}

@media (max-width: 1100px) {
	.sitemap-brand img{
		height: 45px;
	}
	#header .header-inner {
		height: 70px;
		justify-content: space-between;
	}
	#header .header-logo{
		width:60px;
        height:45px;
        /*flex:0 0 120px;*/
        margin:0;
	}
	#gnav {
		display: none;
	}

	.dep1-list {
		display: block;
	}

	.sitemap:before,
	.sitemap:after {
		display: none;
	}

	.sitemap {
		background: #fff;
		color: #222;
	}

	.sitemap-head {
		display: flex;
		min-height: 58px;
		height: 58px;
		background: #fff;
		border-bottom: 1px solid #ededed;
	}

	.sitemap-brand {
		flex: 1;
		align-items: center;
		padding: 0 0 0 26px;
		color: #111;
	}

	.sitemap-brand img {
		width: 86px;
		filter: none;
	}

	.sitemap-actions {
		align-items: stretch;
	}

	.sitemap-lang {
		padding-right: 26px;
	}

	.sitemap-lang .glang ul,
	.glang ul {
		font-size: 13px;
		gap: 14px;
	}

	.sitemap-close {
		width: 58px;
		height: 58px;
	}

	.sitemap-close:before,
	.sitemap-close:after {
		width: 18px;
	}

	.sitemap nav {
		padding: 46px 22px 0;
	}

	.dep1-list > li {
		display: block;
		min-height: 0;
		border-bottom: 1px solid #ededed;
	}

	.dep1-list > li > .dep1-title,
	.dep1-heading {
		width: 100%;
		min-height: 68px;
		padding: 0 12px;
		justify-content: space-between;
		font-size: 20px;
		line-height: 1.2;
		color: #2a2d31;
	}

	.dep1-heading {
		gap: 14px;
	}

	.dep1-toggle {
		width: 44px;
		height: 44px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
	}

	.dep1-toggle .menu-down {
		display: inline-flex;
		color: #b8bdc3;
	}

	.dep1-list > li.is-active .dep1-toggle .menu-down {
		transform: rotate(180deg);
	}

	.dep2-list {
		display: none;
		grid-template-columns: 1fr;
		gap: 14px;
		padding: 0 12px 22px;
	}

	.dep1-list > li.is-active .dep2-list {
		display: grid;
	}

	.dep2-list a {
		font-size: 15px;
		color: #5a6169;
	}

	.footer-container {
		grid-template-columns: 1fr;
	}

	.footer-copyright {
		grid-column: auto;
		margin-top: 0;
	}
}

/* Thien Hung footer */
#footer {
	background-color: #020914;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	color: #fff;
	overflow: hidden;
}

#footer:before {
	content: "";
	position: absolute;
	inset: 0;
	/* background:
		linear-gradient(180deg, rgba(0, 6, 15, 0.7), rgba(0, 6, 15, 0.94)),
		radial-gradient(circle at 50% 85%, rgba(0, 178, 255, 0.16), transparent 36%); */
	pointer-events: none;
}

#footer .footer-container {
	position: relative;
	z-index: 1;
	/* width: min(1010px, calc(100% - 52px)); */
	padding: 72px 0 42px;
	display: grid;
	grid-template-columns: 1.15fr 0.65fr 0.8fr;
	gap: 48px;
	align-items: start;
}

.footer-main {
	min-width: 0;
}

.footer-company {
	margin: 0 0 24px;
	color: #10b9f4;
	font-size: clamp(27px, 2.7vw, 34px);
	line-height: 1.28;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0;
}

.footer-profiles {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.footer-profiles a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 30px;
	padding: 10px 20px;
	border: 1px solid rgba(255, 255, 255, 0.78);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	&:hover{
		color: #10b9f4;
	}
}

.footer-profiles span {
	color: #10b9f4;
	font-size: 13px;
}

.footer-links ul {
	display: grid;
	gap: 18px;
}

.footer-links a {
	color: rgba(255, 255, 255, 0.76);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0;
}

.footer-links a:after {
	content: "⌄";
	margin-left: 8px;
	color: #10b9f4;
}

.footer-links {
	position: relative;
}

.footer-links ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-links li {
	position: relative;
}

.footer-links li + li {
	margin-top: 0;
}

.footer-links a,
.footer-menu-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	border: 0;
	background: transparent;
	color: rgba(255, 255, 255, 0.76);
	font-size: 16px;
	font-family: inherit;
	line-height: 1.45;
	text-transform: uppercase;
	letter-spacing: 0;
	text-decoration: none;
	cursor: pointer;
}

.footer-links a:hover,
.footer-menu-toggle:hover {
	color: #10b9f4;
}

.footer-links a:after {
	content: none;
}

.footer-menu-arrow {
	width: 10px;
	height: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	color: #10b9f4;
	line-height: 1;
	transition: transform 0.2s ease;
}

.footer-menu-arrow svg {
	display: block;
	width: 100%;
	height: 100%;
}

.footer-links li.is-open > .footer-menu-toggle .footer-menu-arrow {
	transform: rotate(180deg);
}

.footer-submenu {
	position: absolute;
	top: calc(100% + 12px);
	left: 0;
	z-index: 5;
	display: none !important;
	min-width: 230px;
	padding: 14px 16px !important;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(4, 13, 24, 0.97);
	box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.footer-links li.is-open > .footer-submenu {
	display: grid !important;
	gap: 10px;
}

.footer-submenu a {
	color: rgba(255, 255, 255, 0.9);
	font-size: 12px;
	text-transform: none;
	white-space: nowrap;
}

.footer-brand {
	display: grid;
	justify-items: end;
	gap: 28px;
}

.footer-brand img {
	width: 84px;
	max-width: 100%;
	height: auto;
}

.footer-logo-text {
	color: #10b9f4;
	font-size: 22px;
	text-align: right;
}

.footer-email {
	color: #fff;
	font-size: 14px;
	text-decoration: none;
	text-transform: uppercase;
	&:hover{
		color: #10b9f4;
	}
}

.footer-social {
	display: flex;
	align-items: center;
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
	display: none;
}

/* .footer-social a {
	width: 22px;
	height: 22px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.82);
	color: #07111d;
	font-size: 11px;
	font-weight: 900;
	text-decoration: none;
} */

.footer-offices {
	grid-column: 1 / 4;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 48px;
	padding-top: 34px;
}

.footer-office h3 {
	margin: 0 0 4px;
	font-size: 20px;
	line-height: 1.35;
	font-weight: 700;
	color:#fff;
}

.footer-office p {
	margin: 0;
	color: #fff;
	font-size: 16px;
	line-height: 1.7;
}

.footer-office .office-label {
	margin-bottom: 18px;
	color: rgba(255, 255, 255, 0.58);
	font-size: 14px;
	text-transform: uppercase;
}

.footer-map {
	grid-column: 1 / 4;
}

.footer-map img,
.footer-map iframe {
	display: block;
	width: 100%;
	height: clamp(190px, 17vw, 225px);
	border: 0;
}

.footer-map img {
	object-fit: cover;
	/* filter: grayscale(1) brightness(1.08); */
}

.footer-bottom {
	grid-column: 1 / 4;
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	color: #fff;
}

.footer-bottom p,
.footer-copyright,
.footer-year {
	margin: 0;
	color: #fff;
	font-size: 14px;
}
.wpcf7-submit{
	background: var(--color-secondary) !important;
	color: #fff !important;
	font-size: 14px;
	font-weight: 800;
	padding: 12px 24px !important;
	border: 0;
	border-radius: 4px !important;
	cursor: pointer;
}
@media (max-width: 900px) {
	#footer .footer-container {
		width: min(100% - 44px, 620px);
		padding: 54px 0 34px;
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.footer-brand {
		justify-items: start;
		gap: 18px;
	}

	.footer-submenu {
		position: static;
		min-width: 0;
		margin-top: 12px !important;
		padding: 12px 0 0 14px !important;
		border: 0;
		border-left: 1px solid rgba(255, 255, 255, 0.18);
		background: transparent;
		box-shadow: none;
	}

	.footer-offices,
	.footer-map,
	.footer-bottom {
		grid-column: auto;
	}

	.footer-offices {
		grid-template-columns: 1fr;
		gap: 26px;
		padding-top: 6px;
	}

	.footer-map img,
	.footer-map iframe {
		height: 210px;
	}

	.footer-bottom {
		flex-direction: column;
		gap: 10px;
	}
}
