/**
 * Theme Name:     K-Tech
 * Author:         K-Tech
 * Template:       flatsome
 * Text Domain:	   k-tech
 * Description:    Theme Build by hi
 * Theme URI:      https://k-tech.net.vn/
 * Author URI:     https://k-tech.net.vn/
 * Version:        2025
 * License:        2NRJM-B46WR-K6VQR-Y4T3D-QRWPX
 * License URI:    https://k-tech.net.vn/
 */

/*************** ADD CUSTOM CSS HERE.   ***************/
.header-nav.header-nav-main {
	justify-content: center;
}
.header-main .header-nav .menu-item a {
	font-size: 18px;
	font-weight: 600;
}

.section-banner .section-bg.fill {
	background-color: transparent;
	background-image: linear-gradient(180deg, #eaedff -10%, #f3f5ff00 100%);
}
.section-banner::before {
	position: absolute;
	content: '';
	width: 100px;
	height: 230px;
	background: url(./public/images/123.svg);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	bottom: 0px;
	left: 5%;
}
.text-banner h2 {
	font-size: 40px;
	font-weight: 700;
	line-height: 55px;
}
.text-banner h3 {
	color: #5372ff;
	font-size: 21px;
	font-weight: 600;
	line-height: 26px;
}
.text-banner p {
	color: #252f40;
	font-size: 18px;
	font-weight: 500;
	line-height: 30px;
}
.button span {
	display: inline-block;
	line-height: 1.6;
	font-size: 14px;
}
.btnhover.button.primary:hover {
	background: white;
	color: var(--primary-color);
	border: 1px solid var(--primary-color);
}
.text-number h1 {
	font-size: 42px;
	font-weight: bold;
}
.text-services h3 {
	color: #5271ff;
	font-size: 18px;
	font-weight: 700;
	line-height: 21px;
}
.text-services h2 {
	color: #272765;
	font-size: 35px;
	font-weight: 700;
	line-height: 42px;
}
.row-services-icon .text {
	height: 120px;
}
.row-services-icon .col-inner.box-shadow-2:hover {
	background-color: var(--primary-color) !important;
	color: white !important;
}
.row-services-icon .col-inner.box-shadow-2:hover .text h3 span {
	color: white !important;
}
.row-services-icon .col-inner.box-shadow-2:hover .icon-box-img img {
	filter: drop-shadow(2px 4px 6px black);
}
/* PROCESS */
.text-timeline1 p,
.text-timeline2 p,
.text-timeline3 p {
	font-size: 24px;
	font-weight: 700;
	line-height: 28px;

	color: #ffffff;
	background-color: #55cdff;
	background: linear-gradient(180deg, #5371ff -4.55%, #99acff 58.97%);
	display: inline-block;
	padding: 10px 20px;
	border-radius: 50%;
	position: relative;
}
.text-timeline1 p::before {
	position: absolute;
	content: '';
	width: 750px;
	height: 2px;
	background: linear-gradient(180deg, #5371ff -4.55%, #99acff 58.97%);
	bottom: 20px;
	left: 49px;
}
.row-process-img .box-image img {
	height: 200px;
	object-fit: contain;
}
.iconbox-com {
	padding: 20px 20px 20px 20px;
	border-radius: 18px;
	box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.16),
		0 3px 6px rgba(0, 0, 0, 0.23);
}
p.days {
	background-color: #e8ecfe;
	display: inline-block;
	padding: 0 10px;
	border-radius: 99px;
	color: #252f40;
}
.pricing-table {
	background-color: unset;
	border: unset;
	overflow: hidden;
	padding-bottom: 0;
}
.pricing-table:hover {
	box-shadow: unset;
}
.pricing-table .title {
	border-bottom: unset;
	padding: 30px 0 0 0;
	font-size: 26px;
}
.pricing-table .price {
	color: var(--primary-color);
	font-weight: bold;
	padding: 0;
}
.pricing-table .description {
	padding: 0;
	font-size: 16px;
}
.accordion-title {
	border-top: unset;
}
.accordion-title span {
	text-decoration: underline;
}
.accordion {
	height: 200px;
	overflow: scroll;
	-ms-overflow-style: none; /* IE, Edge */
	scrollbar-width: none; /* Firefox */
}
.accordion::-webkit-scrollbar {
	display: none; /* Chrome, Safari, Opera */
}
.col-inner.box-shadow-3:hover {
	background-color: var(--primary-color) !important;
}
.col-inner.box-shadow-3:hover .pricing-table .price,
.col-inner.box-shadow-3:hover .description.is-small,
.col-inner.box-shadow-3:hover .accordion-title span {
	color: white !important;
}
.col-inner.box-shadow-3:hover .button {
	background-color: white !important;
	color: var(--primary-color) !important;
	border: 1px solid var(--primary-color) !important;
}
.tab-home ul {
	gap: 20px;
	background: WHITE;
	display: inline-block;
	width: max-content !important;
	margin: AUTO;
	padding: 8px;
	border-radius: 99px;
}
.gallery-home-trust .box-image.image-cover img {
	height: 200px;
	object-fit: contain;
}
.section-title-normal span {
	border-bottom: NAVAJOWHITE;
	margin-bottom: -2px;
	margin-right: 15px;
	padding-bottom: 7.5px;
}
.section-title-normal {
	border-bottom: none;
}
.section-title a {
	display: block;
	font-size: 16px;
	margin-left: auto;
	padding-left: 15px;
	display: inline-block;
	background: white;
	color: var(--primary-color);
	padding: 10px;
	border-radius: 99px;
	border: 2px solid var(--primary-color);
}
.blog-post-home .col-inner,
.blog-post-home .col-inner .box {
	border-radius: 12px;
}
.blog-post-home .col-inner img {
	border-top-left-radius: 12px;
	border-top-right-radius: 12px;
}
.box-blog-post .is-divider {
	height: 1px;
	margin-bottom: 0.5em;
	margin-top: 0.5em;
	width: 100%;
	max-width: none;
}
/* NEW */
.header-bottom-nav > li > a {
	line-height: 16px;
	text-decoration: none !important;
	color: black !important;
}
.header-bottom {
	z-index: 999999;
	margin-top: -2rem;
}
.transparent .header-main {
	height: 110px !important;
}
.text-banner-home h3 {
	font-size: 51px;
	color: var(--primary-color);

	margin: 0;
	padding: 0;
	text-transform: uppercase;
	line-height: 48px;
}
.text-banner-home h2 {
	font-size: 51px;
	color: white;
	margin: 0;
	padding: 0;
	text-transform: uppercase;
	font-weight: 400;
	line-height: 48px;
	font-family: 'Montserrat', sans-serif;
	font-weight: 300;
	font-style: normal;
}
.text-banner-home h4 {
	color: var(--primary-color);
	font-size: 51px;
	margin: 0 0 23px;
	padding: 0;
	text-transform: uppercase;
	line-height: 48px;
}
.margintop {
	margin-top: -3rem !important;
}
.text-home-about h2 {
	color: var(--primary-color) !important;
	text-transform: uppercase;
	font-size: 32px;
}
.text-home-about p {
	text-align: justify;
}

/* IMAGE BLOCK NONE */

/* Block hiển thị ban đầu */
.imagebox-block {
	display: block;
	transition: opacity 0.3s ease;
}

/* Block ẩn ban đầu */
.imagebox-none {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.95);
	border-radius: 12px;
	justify-content: center;
	align-items: center;
	transition: opacity 0.8s ease;
	background: var(--primary-color);
	height: 330px;
}

/* Khi hover vào container chính */
.col-imagebox:hover .imagebox-block {
	display: none;
}

.col-imagebox:hover .imagebox-none {
	display: flex;
	flex-direction: column;
}
.slider-opacity .flickity-slider > :not(.is-selected) {
	opacity: 1 !important;
}
.col-before-after .col-inner::before {
	content: '';
	position: absolute;
	left: -153px;
	bottom: 79px;
	width: 108px;
	height: 117px;
	background-image: url('./assets/img/left-line.png');
	background-position: 0 0;
	background-repeat: no-repeat;
}
.col-before-after .col-inner::after {
	content: '';
	position: absolute;
	right: -153px;
	bottom: 79px;
	width: 108px;
	height: 117px;
	background-image: url('./assets/img/right-line.png');
	background-position: 0 0;
	background-repeat: no-repeat;
}
.star-rating:before,
.woocommerce-page .star-rating:before {
	color: var(--primary-color) !important;
	content: '';
	float: left;
	left: 0;
	position: absolute;
	top: 0;
}
.star-rating span:before {
	color: var(--primary-color) !important;

	content: '';
	left: 0;
	position: absolute;
	top: 0;
}
.wpcf7-form-control-wrap input {
	border-radius: 8px;
}
.wpcf7-form-control-wrap textarea {
	border-radius: 8px;
}
.header-bottom {
	background-color: transparent !important;
}
.header-wrapper.stuck .header-bottom {
	margin-top: -1rem !important;
}
.header-nav.header-bottom-nav {
	gap: 20px;
}
.wpcf7-form-control.wpcf7-submit {
	border-radius: 8px;
}
.widget-area {
	background-color: #fff;
	border-radius: 5px;
	overflow: hidden;
	border: 1px solid var(--primary-color);
	border-top-width: 5px;
	padding: 10px;
}
.widget-area .is-divider.small {
	background-color: var(--primary-color);
}
.text-ft-img img {
	filter: invert(1) !important;
}
@media (max-width: 767px) {
	.text-banner-home h3 {
		font-size: 36px;
	}
	.text-banner-home h2 {
		font-size: 36px;
	}
	.text-banner-home h4 {
		font-size: 36px;
	}
}

#popup-overlay {
	display: none;
}

#popup-overlay.show {
	display: flex;
}
#popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6); /* Overlay mờ */
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s;
}

#popup-overlay.show {
	opacity: 1;
	visibility: visible;
}

#popup-overlay .popup-content {
	background-color: white;
	border-radius: 0.75rem; /* rounded-lg */
	max-width: 44rem; /* max-w-md */
	width: 100%;
	position: relative;
	padding: 1rem; /* p-6 */
	box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
	max-height: 90vh;
}

#close-popup {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	font-size: 2.5rem;
	color: #e54e4e;
	cursor: pointer;
	transition: color 0.3s;
	z-index: 999;
}

#close-popup:hover {
	color: #ff0000;
}

/* Responsive */
@media (max-width: 640px) {
	#popup-overlay .popup-content {
		width: 90%;
		margin: 0 5%;
	}
	#close-popup {
		right: -2rem;
	}
}
.bg-white {
	padding: 1.25rem 0;
	background: black !important;
	border-radius: 12px;
}
.row-cf7-page h3 {
	color: black !important	;
}
.row-cf7-page label {
	color: black !important	;
}
