/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.elementor-widget-off-canvas {
	--e-off-canvas-animation-duration: 500ms;
}

.text-gradient h2, .text-gradient h3 {
	background: linear-gradient(to bottom, #FFF 0%, #FAE2D4 100%); 
  background-clip: text;
  color: transparent !important;
}

.sec-half-left {
  padding-left: calc((100% - 1350px) / 2);
}

.gtranslate_wrapper {
	margin-top: -5px;
}
.gtranslate_wrapper .glink {
	margin-left: 5px;
}
.gtranslate_wrapper .glink img {
	border-radius: 2px;
}

.circular-button {
  position: relative;
  width: 200px;
  height: 200px;
}
.circular-button .circle-svg {
  width: 100%;
  height: 100%;
  transform: rotate(0deg);
  animation: spin 10s linear infinite;
}
.circular-button .circle-svg text {
  fill: rgba(255, 255, 255, 0.50);
  font-size: 10px;
  font-family: sans-serif;
  letter-spacing: 2px;
  font-family: "Josefin Sans", Sans-serif;
}
.circular-button .center-button {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1;
  perspective: 1000px; /* Tạo chiều sâu cho hiệu ứng xoay */
  font-family: "Josefin Sans", Sans-serif;
}
.circular-button .center-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #FF671D, #7B391A);
  transition: transform 0.3s ease;
  z-index: -1;
  border-radius: 50%;
  transform-origin: center;
}
.circular-button .center-button:hover::before {
  transform: rotate(135deg);
}
.circular-button .center-button svg {
  margin-left: 5px;
  margin-bottom: 5px;
  transition: transform 0.3s ease;
}
.circular-button .center-button:hover svg {
  transform: rotate(45deg);
}

.why-choose-wrapper {
  position: relative;
  padding: 30px;
}
.why-choose-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 3px solid rgba(75, 75, 75, 0.50);
  border-radius: 25px;
  transition: all 0.3s ease;
  background: linear-gradient(180deg, #222 0%, #121212 100%);
  opacity: 0;
}
.why-choose-wrapper:hover::before {
  opacity: 1;
}

.slide-bottom-nav .elementor-swiper-button-prev {
  left: 10px !important;
  top: auto !important;
  bottom: -50px !important;
}
.slide-bottom-nav .elementor-swiper-button-next {
  left: 70px !important;
  right: auto !important;
  top: auto !important;
  bottom: -50px !important;
}

.marquee-wrapper {
  width: 100%;
  overflow: hidden;
}
.marquee {
  display: flex;
  width: fit-content;
  animation: scroll-left 20s linear infinite;
}
.marquee span {
  white-space: nowrap;
  color: white;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 20px;
  margin-right: 30px;
}

.main-counter {
  position: relative;
}
.main-counter .elementor-widget-container {
  position: relative;
  z-index: 2;
}
.main-counter::after {
  content: '';
  display: block;
  position: absolute;
  z-index: 1;
  top: -30%;
  left: -25px;
  aspect-ratio: 1;
  height: 150%;
  border-radius: 20px;
  border: 10px solid var(--e-global-color-primary);
}

.btn-blog-mile {
  transform: rotate(90deg) translateX(100%);
  transform-origin: top right;
}
.btn-blog-mile .elementor-button-text {
  transition: all 0.3s ease;
  width: 0;
  white-space: nowrap;
  opacity: 0;
  margin-top: 5px;
}
.btn-blog-mile .elementor-button {
  width: 35px;
}
.btn-blog-mile .elementor-button-content-wrapper {
  justify-content: start;
}
.blog-item-readmore .elementor-button-icon {
  transition: all 0.3s ease;
}

.blog-item {
  position: relative;
  overflow: hidden;
}
.blog-item::before {
  content: '';
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all 0.3s ease;
  background: url(/wp-content/uploads/2025/04/blog-bg-dark.svg) no-repeat;
  background-position: bottom center;
  background-size: contain;
}
.blog-item::after {
  content: '';
  position: absolute;
  z-index: 2;
  bottom: -100%;
  left: -100%;
  width: 100%;
  height: 100%;
  transition: all 0.3s ease;
  background: url(/wp-content/uploads/2025/04/blog-bg-light.svg) no-repeat;
  background-position: bottom center;
  background-size: contain;
}
.blog-item .e-con-inner {
  position: relative;
  z-index: 9;
}

.blog-item:hover .btn-blog-mile .elementor-button-text {
  width: 100%;
  opacity: 1;
}
.blog-item:hover .btn-blog-mile .elementor-button {
  width: 110px;
}
.blog-item:hover .btn-blog-mile .elementor-button-icon {
  display: none;
}
.blog-item:hover .blog-item-readmore .elementor-button-icon {
  transform: rotate(90deg);
}
.blog-item:hover::before {
  bottom: -100%;
  left: -100%;
}
.blog-item:hover::after {
  bottom: 0;
  left: 0;
}

.wn-loading {
  opacity: 0;
  overflow: hidden;
}
#loading-screen {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: #111111;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}
.loading-content {
    text-align: center;
}
.loading-logo {
  width: 250px;
  height: auto;
  margin-bottom: 20px;
}
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #ccc;
  border-top: 5px solid var(--e-global-color-primary);
  border-radius: 50%;
  animation: spin-loading 1s linear infinite;
  margin: 0 auto;
}

.wn-port-tab .wn-port-tab-title {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 25px;
  color: var(--e-global-color-primary);
  font-weight: bold;
}
.wn-port-tab .wn-port-tab-content {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 18px;
  color: #fff;
}

@media (max-width: 1024px) {
  .sec-half-left {
    padding-left: 15px;
  }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes spin-loading {
  100% { transform: rotate(360deg); }
}


/* NTKH Style */
/* Fix */
.elementor-654 .elementor-element.elementor-element-9a4bfe1 {
	transform: translate3d(-306.015px, 0px, 0px) rotate(-9.3362deg);
}

/* Style for timeline */
#content .ctl-wrapper {
	max-width:1200px;
}

#content .ctl-wrapper .ctl-horizontal-wrapper:where(.ctl-design-3,.ctl-design-6,.ctl-design-8) .ctl-labels {
	background-color:transparent;
}



#content .ctl-content {
	background: transparent;
    backdrop-filter: blur(50px);
	border:none;
	border-top:4px solid #ff671d !important;
}



 
#content .ctl-wrapper .ctl-horizontal-wrapper.ctl-design-3 .ctl-label-big:after {
	border-top: #ff671d66;
}

#content .ctl-title {
	background:transparent!important;
	
	margin-top:-45px;
	z-index:10;
	width: auto;
}

#content .ctl-title a {
	text-decoration:underline;
	background:#ff671d!important;
	
	color:white;
	padding: 12px 16px !important;
	font-family:"Josefin Sans", Sans-serif;
	font-size:1.2rem;
	border-radius:3px;
	display:flex;
	align-items:center;
	gap:10px;
}

#content .ctl-title a:hover {
	opacity:1!important;
	-webkit-filter: none;
	
}

#content .ctl-title a::before {
	font-family: 'Font Awesome 6 Free';
	  content:"\f062";
	font-weight:900;
	 -webkit-font-smoothing: antialiased;
	font-size:16px;
	width:16px;
	height:16px;
	transition:all .2s ease-in-out;

}
#content .ctl-title a:hover::before {
	transform:rotate(90deg);
	margin-top:2px;
	
	transition:all .2s ease-in-out;
}




 .ctl-description {
}

 .ctl-media {
    height: 100%;
    
    
}

#content  .ctl-labels div {
    font-size: 48px;
	color:#ff671d!important;
	font-weight:bold;
	font-family:"Josefin Sans", Sans-serif;
	
}

#content .ctl-wrapper .ctl-icon {
	height:42px;
	width:42px;
}

#content .ctl-wrapper .ctl-media a img {
	width:100%;
	aspect-ratio:3/2;
	object-fit: cover;
}

 .ctl-wrapper .ctl-year-text {
    background-color: #1111116e;
    backdrop-filter: blur(20px);
}

#content .ctl-h-line {
     background-color: #ff671d66;
    backdrop-filter: blur(20px);
}

#content .ctl-icon {
  background-color: #ff671d;
   border-color: #ff671d66;;
	border-radius:50%;
}

 .ctl-arrow {
    display: none;
}

#content .ctl-button-next {
    top: 50%;
    background-color: #ff671d;
	border:none;
     padding: 40px 20px 40px;
}
#content .ctl-button-next:hover {
    top: 50%;
    background-color: #ff671d!important;
	border:none;
     padding: 40px 20px 40px;
}

#content .ctl-button-prev {
    top: 50%;
    background-color: #ff671d;
	border:none;
    padding: 40px 20px 40px;
}
#content .ctl-button-prev:hover {
    top: 50%;
    background-color: #ff671d!important;
    padding: 40px 20px 40px;
}


@media (max-width:767px) {
   
	#content .ctl-wrapper .ctl-horizontal-timeline {
		margin:0;
		width:100%;
	}
	
#content .ctl-labels div {
    white-space:break-spaces;
    font-size: 25px;
}
#content  .ctl-labels {
    width:100%;
	color:#ff671d;
}
	
	
	#content .ctl-title a {
		font-size:1rem;
		padding: 8px 12px !important;
		gap:8px;
		
	}
	#content .ctl-title {
		margin-top:0px;
	}
	
	
	#content .ctl-button-prev {
		left:0;
	}
	#content .ctl-button-next {
		right:0;
	}
}

@media (max-width:1024px) {
	.elementor-654 .elementor-element.elementor-element-9a4bfe1 {
 		transform: translate3d(-100.015px, 0px, 0px) rotate(-9.3362deg);
	}
}


/* Style News Letter */
.wpcf7-form-control.wpcf7-submit {
	margin-top:8px;
    background-color: var(--e-global-color-primary);
    color: #ffffff;
    text-transform:uppercase;
    border: none;
    width: 100%;
    min-height: 40px;
}

 .wpcf7-form-control-wrap .newsletter-input {
	background:transparent;
	border:none;
	border-radius:0;
	border-bottom:1px solid white;
	 outline:none;
	 color:white;
}


