/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root{
	--cl-x: #FB0315;
	--cl-y: #D00715;
	--cl-z: #95020C;
	--fs-title: clamp(1.375rem, 1.25rem + 0.625vw, 2rem);
	--fs-sub-title: clamp(0.875rem, 0.8rem + 0.375vw, 1.25rem);
}

body{
	font-family: "Inter", sans-serif;
	line-height: normal;
}

p:last-of-type{
	margin-bottom: 0;
}

.row-inner-full > .col > .col-inner{
	height: 100%;
}

.row-slider .flickity-slider > .col{
	padding-bottom: 0 !important;
}

.header-button > a{
	width: 2.5rem;
	height: 2.5rem;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1rem !important;
}


.html.custom > .hotline-header{
	display: inline-block;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	border: 1px solid var(--cl-z);
	border-radius: 50rem;
	font-size: 1.125rem;
	font-weight: 600;
	line-height: normal;
	transition: all .3s ease-in-out;
}

.html.custom > .hotline-header i{
	font-size: 1.25rem;
	color: var(--cl-z);
}

.html.custom > .hotline-header:hover{
	background-color: var(--cl-z);
	color: #fff !important;
	i{
		color: #fff;
	}
}


.box-content-main h2{
	margin-bottom: 0.5rem;
	font-size: var(--fs-title);
}

.box-title h2{
	margin-bottom: 0;
	font-size: var(--fs-title);
	font-weight: 700;
}

.box-title h3{
	margin-bottom: 0.25rem;
	font-size: var(--fs-sub-title);
	font-weight: 700;
}


.icon-achievement{
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.icon-achievement .icon-box-img{
	width: unset !important;
	max-width: 5rem;
	height: clamp(2.5rem, 2.3rem + 1vw, 3.5rem);
}

.icon-achievement .icon,
.icon-achievement .icon-inner{
	width: 100%;
	height: 100%;
}

.icon-achievement .icon-box-img img{
	padding-top: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.icon-achievement .icon-box-text{
	flex-wrap: 1;
	padding-left: 0 !important;
	font-size: clamp(1rem, 0.975rem + 0.125vw, 1.125rem);
	font-weight: 600;
}

.icon-achievement .icon-box-text h3{
	font-size: clamp(1.5rem, 1.4rem + 0.5vw, 2rem);
	font-weight: 700;
	margin-bottom: 0;
}

.img-cover-thanh-tuu{
	position: absolute;
	bottom: calc(-1 * clamp(5rem, 3.5rem + 7.5vw, 12.5rem));
	right: 0;
}

.box-blog-post .box-image{
	border-radius: 0.5rem;
}

.box-blog-post .box-text{
	padding-bottom: 0;
}

.box-blog-post .box-text .post-title{
	font-size: clamp(1rem, 0.975rem + 0.125vw, 1.125rem);
}

.box-blog-post:hover .box-text .post-title a{
	color: var(--cl-x) !important;
}

.is-divider{
	display: none;
}


.box-text-benefit{
	background-color: #fff;
	border-radius: 0.5rem;
	padding: 1.5rem;
	transition: all .3s ease-in-out;
}

.box-text-benefit:hover{
	box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.box-text-benefit h3{
	font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
}

/*===*/
.post-slide{
	.badge.post-date{
		top: 0;
		left: 0.5rem;
		transform: translateY(-100%);
		.badge-inner{
			padding: 0.25rem;
			background-color: #F3F3F3;
			color: #717171;
		}

		.badge-inner:after{
			content: "";
			position: absolute;
			left: 0;
			bottom: 0;
			width: 100%;
			height: 6px;
			background-color: var(--cl-x);
			transform: translateY(100%);
		}

		span{
			display: block;
		}

		br{
			display: none;
		}

		.post-date-day{
			margin-bottom: 0.25rem;
			padding-bottom: 0.25rem;
			font-size: 2rem;
			border-bottom: 1px solid #717171;
		}
		.post-date-month{
			font-size: 0.5rem;
		}
	}

	.box-image{
		border-radius: 0.5rem 0.5rem 0 0;
	}

	.box-text{
		padding: 1rem;
		background-color: #F3F3F3;
		border-radius: 0 0 0.5rem 0.5rem;
		.post-title{
			font-size: clamp(1rem, 0.975rem + 0.125vw, 1.125rem);
			a{
				margin: 0;
			}
		}
		.button{
			position: relative;
			min-height: unset;
			padding: 0.25rem 0;
			border-radius: 50rem;
			font-size: 0.875rem;
			color: #1E1E1E;
			font-weight: 500;
			line-height: normal;
			transition: all .2s ease-in-out;
		}

		.button:before{
			content: "";
			display: inline-block;
			vertical-align: middle;
			width: 1.5rem;
			height: 1.5rem;
			margin-right: 0.5rem;
			background-image: url('/wp-content/uploads/2025/10/icon-view.png');
			background-repeat: no-repeat;
			background-position: center center;
			background-size: contain;
			transition: all .3s ease-in-out;
		}
		.button:hover{
			padding: 0.25rem 0.5rem 0.25rem 0.25rem;
			background-color: #D00715 !important;
			color: #fff;
		}
	}
}



.section-review .section-bg{
	height: 125%;
}


.review-slide .flickity-page-dots{
	bottom: 0;
}

.box-review{
	position: relative;
	margin-bottom: 1.5rem;
	padding: 1.5rem;
	background-color: #fff;
	border-radius: 1rem;
	color: #000;
	.star-rating span:before{
		color: #FDD264;
	}
}

.box-review:after{
	content: "";
	position: absolute;
	left: 4rem;
	bottom: 0;
	width: 2rem;
	height: 1rem;
	background-color: #fff;
	transform: translateY(99%);
	clip-path: polygon(0 0, 30% 100%, 100% 0);
}


.box-user-review{
	display: flex;
	align-items: center;
	padding: 0 2rem;
	.icon-box-img{
		width: clamp(3.5rem, 3.3rem + 1vw, 4.5rem) !important;
		height: clamp(3.5rem, 3.3rem + 1vw, 4.5rem) !important;
		border-radius: 50%;
		outline: 1px solid #fff;
		outline-offset: 2px;
		overflow: hidden;
		.icon, .icon-inner{
			width: 100%;
			height: 100%;
		}
		img{
			width: 100%;
			height: 100%;
			object-fit: cover;
			padding-top: 0;
		}
	}

	.icon-box-text h3{
		margin-bottom: 0.25rem;
		font-size: clamp(1rem, 0.975rem + 0.125vw, 1.125rem);
	}
}




/*===*/
.wrapper-form-register > .col-inner{
	background-image: url('/wp-content/uploads/2025/10/bg-loi-ich.png');
}

.wpcf7-form{
	margin-bottom: 0;
}
.form-register .form-control{
	box-shadow: none;
	height: unset;
	padding: 0.75rem 1rem;
	border-radius: 0.25rem;
	font-size: inherit;
}

.form-register input[type=submit]{
	margin-bottom: 0;
	background-color: #4BFC57;
	color: var(--cl-y);
	border-radius: 0.25rem;
}


body.home .section-partner .section-bg{
	background-image: unset !important;
}

.galler-partner .gallery-box{
	margin: 2px;
	padding: 1rem;
	background-color: #fff;
	box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
	.box-image{
		padding-top: 40% !important;
		img{
			object-fit: contain;
		}
	}
}


.row:after{
	content: unset;
}

.icon-footer{
	display: flex;
	align-items: center;
}

.icon-footer .icon-box-img{
	width: clamp(1rem, 0.8rem + 1vw, 2rem) !important;
}

.ux-menu .ux-menu-link__link{
	min-height: unset;
	transition: all .3s ease-in-out;
}

.ux-menu .ux-menu-link__link:hover{
	transform: translateX(0.5rem);
	color: var(--cl-x) !important;
}


.form-footer .form-control{
	border-radius: 0.25rem;
	font-size: inherit;
}

.form-footer input[type=submit]{
	width: 100%;
	margin: 0;
	background-color: #4BFC57;
	color: var(--cl-y);
	border-radius: 0.25rem;
}

.copyright-footer{
	color: #fff;
	font-weight: 300;
	font-size: clamp(0.75rem, 0.7rem + 0.25vw, 1rem);
}



/*====*/
.banner-page{
	height: clamp(10rem, 9rem + 5vw, 15rem);
}

.banner-page h1.title-banner-page{
	margin-top: 0;
	margin-bottom: 0.5rem;
	font-weight: 700;
	font-size: clamp(1.25rem, 1.1rem + 0.75vw, 2rem);
}

.banner-page .text-box{
	width: 97% !important;
}

.banner-page p{
	margin-top: 0;
	font-size: clamp(0.75rem, 0.725rem + 0.125vw, 0.875rem);
}

.title-banner-page-hidden{
	position: absolute;
	left: 0;
	top: 0;
	width: 0;
	height: 0;
	opacity: 0;
}


/*post*/
.title-archive{
	text-align: center;
	font-size: var(--fs-title);
}

ul.list-chill-cate{
	list-style: none;
	margin: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
}

ul.list-chill-cate li{
	margin: 0;
}

ul.list-chill-cate li a{
	display: inline-block;
	padding: 0.5rem 1rem;
	border: 1px solid var(--cl-y);
	border-radius: 0.25rem;
	color: var(--cl-y);
	font-weight: 700;
	transition: all .3s ease-in-out;
}

ul.list-chill-cate li.active a,
ul.list-chill-cate li:hover a{
	background-color: var(--cl-y);
	color: #fff;
}



.no-results .searchform{
	margin-top: 1.5rem;
}


/*==== Contact*/
.form-contact .form-control{
	height: unset;
	padding: clamp(0.5rem, 0.45rem + 0.25vw, 0.75rem) 1rem;
	box-shadow: none;
	transition: all .3s ease-in-out;
	border-radius: 0.375rem;
	font-size: inherit;
}

.form-contact input[type=submit]{
	margin: 0;
	border-radius: 0.375rem;
}

.box-map iframe{
	width: 100%;
}



/*button contact*/
.button-contact-fixed{
    position: fixed;
    bottom: 6%;
    right: 0.25rem;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.box-ring {
    width: clamp(4rem, 3.8rem + 1vw, 5rem);
    height: clamp(4rem, 3.8rem + 1vw, 5rem);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: visibility .5s;
    position: relative;
}

.box-ring-outline {
    position: absolute;
    width: clamp(4rem, 3.8rem + 1vw, 5rem);
    height: clamp(4rem, 3.8rem + 1vw, 5rem);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transform-origin: 0 0;
    border: 2px solid rgba(30, 30, 30, 0.5);
    background-color: transparent;
    border-radius: 50%;
    opacity: .5;
    transition: all .5s;
    animation: coccoc-alo-circle-anim 1.2s infinite ease-in-out;
}

.box-ring-inline {
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(3rem, 2.8rem + 1vw, 4rem);
    height: clamp(3rem, 2.8rem + 1vw, 4rem);
    transform: translate(-50%, -50%);
    transform-origin: 0 0;
    border: 2px solid transparent;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    transition: all .5s;
    animation: coccoc-alo-circle-fill-anim 2.3s infinite ease-in-out;
}

.box-ring-image{
    width: clamp(2.5rem, 2.4rem + 0.5vw, 3rem);
    height: clamp(2.5rem, 2.4rem + 0.5vw, 3rem);
    padding: 6px;
    border: 2px solid transparent;
    border-radius: 50%;
    background-color: #000;
    opacity: 1;
    animation: coccoc-alo-circle-img-anim 1s infinite ease-in-out;
}

.box-ring-image img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.box-ring-label{
	position: absolute;
	right: 2rem;
	height: 2.25rem;
	z-index: -1;
	padding: 0.25rem 3rem 0.25rem 1rem;
	border-radius: 50rem;
	white-space: nowrap;
	color: #fff;
	display: flex;
	align-items: center;
}



@keyframes coccoc-alo-circle-anim {
    0% {
        transform: rotate(0) scale(.5) skew(1deg) translate(-50%, -50%);
        opacity: .1
    }
    30% {
        transform: rotate(0) scale(.7) skew(1deg) translate(-50%, -50%);
        opacity: .5
    }
    100% {
        transform: rotate(0) scale(1) skew(1deg) translate(-50%, -50%);
        opacity: .1
    }
}

@keyframes coccoc-alo-circle-fill-anim {
    0% {
        transform: rotate(0) scale(.7) skew(1deg) translate(-50%, -50%);
    }
    50% {
        transform: rotate(0) scale(1) skew(1deg) translate(-50%, -50%);
    }
    100% {
        transform: rotate(0) scale(.7) skew(1deg) translate(-50%, -50%);
    }
}

@keyframes coccoc-alo-circle-img-anim {
    0% {
        transform: rotate(0) scale(1) skew(1deg)
    }
    10% {
        transform: rotate(-25deg) scale(1) skew(1deg)
    }
    20% {
        transform: rotate(25deg) scale(1) skew(1deg)
    }
    30% {
        transform: rotate(-25deg) scale(1) skew(1deg)
    }
    40% {
        transform: rotate(25deg) scale(1) skew(1deg)
    }
    50% {
        transform: rotate(0) scale(1) skew(1deg)
    }
    100% {
        transform: rotate(0) scale(1) skew(1deg)
    }
}