/* 
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 */
.e-n-menu-content.e-active
{
	max-width: 1200px !important;
    left: 50% !important;
    transform: translateX(-55%) !important;
    right: 0 !important;
}
.do b{
	color: var(--e-global-color-6485a075);
}
a{text-decoration: none !important}
.datamore{display: none}
.khung-item
{
	  aspect-ratio: 16/17;
}
.item-keodai:hover .item-keodai-more
{
	max-height: 200px;
}
.item-keodai-more
{
	display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease-in-out;
}
.hr-gradien
{
	    border-bottom: 1px solid;
    border-image-source: linear-gradient(90deg, hsla(0, 0%, 100%, .7), hsla(0, 0%, 60%, 0));
    border-image-slice: 1;
}
.width-16-9
{
	aspect-ratio: 16/9;
}
.width-4-3
{
	aspect-ratio: 4/4;
}
.item-process
{
	filter: grayscale(100%);opacity: .7;
	max-width: 360px;
}
.item-process.active{
	filter: grayscale(0);
    opacity: 1;
    transition: filter .5s ease, opacity .5s ease;
    animation: process-item-scale .6s cubic-bezier(.4, 0, .2, 1);
}
.item-process.item-2
{
	margin-left: auto
}
.item-process.item-4
{
	margin-right: auto
}
.item-process.item-1::after,
.item-process.item-3::after,
.item-process.item-5::after {
    content: '';
    position: absolute;
    top: 100%; /* Đẩy xuống dưới item */
    left: 50%;
    transform: translateX(-50%);
    
    /* Vẽ hình mũi tên */
    width: 0; 
    height: 0; 
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 15px solid #fff; /* Màu mũi tên mặc định */

}
.item-process.item-2::after,
.item-process.item-4::after{
    content: '';
    position: absolute;
    bottom: 100%; /* Đẩy xuống dưới item */
    left: 50%;
    transform: translateX(-50%);
    
    /* Vẽ hình mũi tên */
    width: 0; 
    height: 0; 
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 15px solid #fff; /* Màu mũi tên mặc định */

}
.item-process .item-so
{
	transform: translateX(-50%);
	display: flex;
    align-items: center;
    justify-content: center;
    font-size:20px;
    font-weight: 500;
    color: #fff;
    z-index: 1;
    width: 45px;
    height: 45px;
    background: var( --e-global-color-6485a075 );
    border-radius: 50%;
    border: 7px solid #fff;
    outline: 1px solid var( --e-global-color-6485a075 );
}
.progress-line {
    position: absolute;
    top: 50%;
    left: 0;
    height: 4px;
    background: #ff5722; /* Màu cam giống ảnh */
    transform: translateY(-50%);
    z-index: -1;
    width: 0; /* Ban đầu bằng 0 */
    transition: width 0.6s linear, height 0.6s linear;
}
.e-n-accordion-item-title
{
	justify-content: space-between !important;
}
@keyframes process-item-scale {
    0% {
        transform: scale(1)
    }

    30% {
        transform: scale(1.08)
    }

    to {
        transform: scale(1)
    }
}
.elementor-widget-n-menu .e-n-menu-heading
{
	background: #fff
}
@media (max-width: 1024px) {
	.item-process .item-so
	{
		transform: translateX(0%);
		transform: translateY(-50%);
	}
	.item-process
	{
		max-width: fit-content;
	}
	.item-process.item-2
	{
		margin-left: auto;
		margin-right: auto;
		        max-width: fit-content;
	}
	.item-process.item-4
	{
		margin-left: auto;
		margin-right: auto;
		        max-width: fit-content;
	}
	.progress-line {
        top: 0;
        left: 50%; /* Căn giữa theo trục đứng */
        width: 4px; /* Độ dầy thanh khi đứng */
        height: 0;
        transform: translateX(-50%);
    }
    
    /* Đảm bảo container trên mobile xếp dọc */
    .item-process {
        flex-direction: column;
        align-items: center;
    }
    .col-right-propress-bar
    {
    	display: flex;
    	justify-content: center !important;
    	flex-direction: column;
    }
    .item-process.item-1,
	.item-process.item-3,
	.item-process.item-5
    {
    	box-shadow: 22px 11px 24px -1px rgba(0, 0, 0, 0.12) !important;
    }
    .item-process.item-1::after,
	.item-process.item-3::after,
	.item-process.item-5::after {
	    top: 50%; /* Đẩy xuống dưới item */
	    left: 100%;
	    transform: translateY(-50%);	    
	    /* Vẽ hình mũi tên */
	    width: 0; 
	    height: 0; 
	    border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-left: 15px solid #fff;
        /* border-left: none; */
        border-right: none;

	}
	.item-process.item-2::after,
	.item-process.item-4::after{
    content: '';
    position: absolute;
    top: 50%; /* Đẩy xuống dưới item */
            right: 100%;
        left: auto;
    transform: translateY(-50%);
    
    /* Vẽ hình mũi tên */
    width: 0; 
    height: 0; 
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 15px solid #fff; /* Màu mũi tên mặc định */
    border-left: none;

	}
	.item-process.item-2 ,
	.item-process.item-4
    {
    	box-shadow: -22px 11px 24px -1px rgba(0, 0, 0, 0.12) !important;
    	        
    }
    .item-process.item-2 .item-so,
    .item-process.item-4 .item-so
    {
    	right: calc(100% + 28px) !important;
        left: auto !important;
    	top: 50%;
        bottom: auto;
    }
    .item-process.item-1 .item-so,
	.item-process.item-3 .item-so,
	.item-process.item-5 .item-so
    {
		left:calc(100% + 28px) !important;
    }
    .e-n-menu-content.e-active
    {
    	transform: none !important;
    }
    .col-menu
    {
    	justify-content: flex-end;
    }
    .col-menu .elementor-widget-n-menu
    {
    	max-width:fit-content !important;
    }
}
@media (max-width: 768px) {
	.item-process.item-2 .item-so,
    .item-process.item-4 .item-so
    {
    	right: calc(100% + 3px) !important;        
    }
    .item-process.item-1 .item-so,
	.item-process.item-3 .item-so,
	.item-process.item-5 .item-so
    {
		left:calc(100% + 3px) !important;
    }
}