/*
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.   ***************/

/***đường chạy sóng ****/
.separator-waves {
    position: relative;
    width: 100%;
    height: 15vh;
    margin-bottom: -7px;
    min-height: 100px;
    max-height: 150px
}

.separator-waves-parallax>use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite
}

.separator-waves-parallax>use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s
}

.separator-waves-parallax>use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s
}

.separator-waves-parallax>use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s
}

.separator-waves-parallax>use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px,0,0)
    }

    100% {
        transform: translate3d(85px,0,0)
    }
}

#particles-js,.particles-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    pointer-events: none;
    z-index: -1
}

.particles-wrapper div {
    height: 100%
}
/***/
.tcbx {
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    padding: 20px;
    border-radius: 10px;
}

/* Đường kẻ từ giữa chạy ra */
.tcbx::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0%;
    height: 4px;
    background: #049ff9;
    transform: translateX(-50%);
    transition: width 0.35s ease;
}

/* Hover: đẩy lên + bóng mạnh hơn */
.tcbx:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* Hover: đường kẻ mở rộng */
.tcbx:hover::after {
    width: 100%;
}
/* Màu chữ tiêu đề  */
.mctc h2{
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Bo ảnh  */
.hab img {
    border-radius: 10px;
}

/* THU NHỎ TOÀN BỘ */
.image-block.small {
    width: 350px;     /* giảm từ 600px xuống 350px */
    margin: 60px auto;
    position: relative;
}

/* khung chứa 2 ảnh */
.img-wrapper {
    position: relative;
    width: 100%;
}

/* Ảnh trên (fade in down) */
.img-top {
    width: 45%;
    border-radius: 14px;
    opacity: 0;
    transform: translateY(-30px);
    transition: 0.7s 
ease;
    position: relative;
    z-index: 3;
    margin-left: 115px;
}

/* Ảnh dưới (fade in up) */
.img-bottom {
    width: 45%;
    border-radius: 14px;
    position: absolute;
    right: 37px;
    bottom: -53px;
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s 
ease 0.2s;
    z-index: 2;
}
/* Dấu chấm */
.dots {
    width: 130px;                /* nhỏ lại */
    height: 100px;
    opacity: 0;
    transform: scale(0.5);
    transition: 0.8s ease 0.3s;
    background-size: 10px 10px;
    position: absolute;
}

.dots-left {
    left: 76px !important;
    bottom: -55px;
    background-image: radial-gradient(circle, #f36c21 1px, transparent 1px);
}

.dots-right {
    right: -5px;
    top: -15px;
    background-image: radial-gradient(circle, #16c67a 1px, transparent 1px);
}

/* Khi load */
.image-block.loaded .img-top {
    opacity: 1;
    transform: translateY(0);
}

.image-block.loaded .img-bottom {
    opacity: 1;
    transform: translateY(0);
}

.image-block.loaded .dots {
    opacity: 1;
    transform: scale(1);
}

.ab {
    background-color: #ccecff;
    border-radius: 14px;
}
.flickity-prev-next-button .arrow, .flickity-prev-next-button svg {
    fill: rgb(4 159 249);
    border-color: rgb(4 159 249);
    transition: all .3s;
}

.tt .nav > li > a, .mobile-sidebar-levels-2 .nav > li > ul > li > a {
    font-weight: 700;
    font-style: normal;
    padding: 17px;
}
.ft1 {
    background-image: url(/wp-content/uploads/2025/12/circles-shape-bg.png);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    border-radius: 30px;
}

.ft4 {
    background-image: url(/wp-content/uploads/2025/12/circles-shape-bg.png);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    margin: 8px;
}
.ft2{
    background: /* ánh sáng dọc chính từ trên xuống */ radial-gradient(800px 900px at 50% -20%, rgba(1, 95, 230, 0.45), transparent 70%), /* vệt sáng dọc ở dưới tạo chiều sâu */ radial-gradient(600px 700px at 50% 120%, rgba(0, 85, 190, 0.35), transparent 75%), /* bóng xanh đậm hai cạnh trái/phải */ radial-gradient(400px 800px at -20% 50%, rgba(0, 40, 90, 0.45), transparent 70%), radial-gradient(400px 800px at 120% 50%, rgba(0, 40, 90, 0.45), transparent 70%), /* lớp nền tối tổng thể */ linear-gradient(180deg, #0b0e13, #0e121a, #0b0e13);
}
/***/
.number-box {
    font-family: Arial, sans-serif;
    font-weight: 300;
    margin: 0;
    color: #ff7a00;
}

/* Số 700 dùng class cũ */
.number-box .count-up.active {
    font-size: 70px;
}

/* Dấu + */
.number-box .plus {
    font-size: 43px;
    margin-left: 3px;
    position: relative;
    top: -19px;
}

/* MWp */
.number-box .unit {
    font-size: 45px;
    margin-left: 5px;
    letter-spacing: 0.5px;
}
.ftlv {
    color: white ;
}

.ftlv :hover {
    color: rgb(89, 185, 249) ;
}

.ftlvv .ux-menu-link--active .ux-menu-link__link, .ux-menu-link:hover .ux-menu-link__link {
    color: hsl(199.29deg 100% 50%);
} 


.ft2mn {
    font-size: 22px;
    color: #ffffff;
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

/* Gạch chân ẩn */
.ft2mn::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #ff7a00; /* màu cam */
    transition: width 0.3s ease;
}

/* Hover đổi màu + hiện gạch */
.ft2mn:hover {
    color: #ff7a00;
}

.ft2mn:hover::after {
    width: 100%;
}

.tcbx1 {
    position: relative;
    display: inline-block;
    color: #babbbd;
    transition: color 0.3s ease; /* cho mượt */
}

/* Hover đổi màu chữ */
.tcbx1:hover {
    color: #049ff9;
}

/* Đường kẻ bắt đầu từ giữa */
.tcbx1::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #049ff9;
    transform: translateX(-50%);
    transition: width 0.35s ease;
}

/* Khi hover: line mở rộng 2 bên */
.tcbx1:hover::after {
    width: 100%;
}
/**Nút **/
.btn-hover-slide {
    position: relative;
    overflow: hidden;
    display: inline-block;
    background: #049ff9 !important; /* màu gốc */
    transition: background 0.3s ease;
}

/* Lớp màu chạy qua */
.btn-hover-slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #0454ce; /* màu chạy */
    transition: all 0.5s ease;
    z-index: 1;
}

/* Khi hover màu chạy từ trái → phải */
.btn-hover-slide:hover::before {
    left: 100%;
}

/* Nội dung nằm trên lớp chạy */
.btn-hover-slide span {
    position: relative;
    z-index: 2;
    color: #fff;
}

.is-divider {
    background-color: rgb(0 0 0 / 0%);
    display: block;
    height: 3px;
    margin: 1em 0;
    max-width: 30px;
    width: 100%;
}

.post-meta.is-small.op-8 {
    position: relative;
    padding-left: 20px; /* chừa chỗ cho icon */
}

.post-meta.is-small.op-8:before {
    content: "";  /* icon bạn muốn */
    font-family: 'fl-icons'; /* Flatsome icon font */
    position: absolute;
    left: 0;
    top: 0;
    font-size: 14px;
    color: #666; /* chỉnh màu tùy bạn */
    line-height: 1;
}
.box-text a:not(.button), .box-text h1, .box-text h2, .box-text h3, .box-text h4, .box-text h5, .box-text h6 {
    line-height: 1.3;
    margin-bottom: .1em;
    margin-top: .1em;
    font-size: 23px;
}

.post-meta.is-small.op-8 {
    position: relative;
    padding-left: 20px;
    color: #049ff9;}

.op-8 {
    opacity: .8;
    font-weight: 800;
    font-size: 14px;
}

.post-meta.is-small.op-8:before {
    content: "";
    font-family: 'fl-icons';
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 15px;
    color: #36b2fa;
    line-height: 1;
}

.has-format, .image-cover, .video-fit {
    background-position: 50% 50%;
    background-size: cover;
    height: auto;
    margin-top: 10px;
    overflow: hidden;
    padding-top: 100%;
    position: relative;
}

/****/
.scroll-menu {
    white-space: nowrap;         /* không xuống dòng */
    overflow-x: auto;            /* cho kéo ngang */
    -webkit-overflow-scrolling: touch; /* mượt trên iPhone */
    padding-bottom: 5px;
}

.scroll-menu a {
    display: inline-block;
    margin-right: 20px;
}

.header-main .nav > li > a {
    line-height: 16px;
    color: white;
}
/*trang giới thiệu*/
.gtn {
    box-shadow: 0 5px 70px rgba(38, 42, 76, .1);
}
.vp-dot-list {
    list-style: none;
    padding: 0;
    margin: -17px;
}

.vp-dot-list li {
    position: relative;
    padding-left: 34px; /* tạo khoảng cách cho icon */
    margin-bottom: 18px;
    font-size: 17px;
    line-height: 1.6;
    color: #3a3a3a;
}

/* Hình tròn + dấu check ✔ */
.vp-dot-list li::before {
    content: "✔";
    width: 18px;
    height: 18px;
    background: #0166de;   /* màu xanh */
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 12px;
    color: #fff;           /* màu trắng */
    font-weight: bold;
}

/**/
.vp-tabs {
    display: flex;
    justify-content: center;
    gap: 45px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.vp-tab {
    font-size: 20px;
    color: #777;
    cursor: pointer;
    position: relative;
    padding: 5px 0;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.vp-tab.active {
    color: #1f2b6c; /* màu xanh đậm như hình */
    font-weight: 600;
}

.vp-tab.active::after {
    content: '';
    width: 60px;
    height: 3px;
    background:#049ff9; /* màu cam giống hình */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -12px;
    border-radius: 3px;
}

/* Tab nội dung */
.vp-tab-content {
    display: none;
    text-align: center;
    font-size: 20px;
    color: #6b6b6b;
    line-height: 1.7;
}

.vp-tab-content.active {
    display: block;
}


.vp-values {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
    margin: 40px 0;
}

.vp-item {
    text-align: center;
}

.vp-icon {
    width: 90px;
    height: 90px;
    background: #ff7a00; 
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.vp-icon img {
    width: 45px;   /* chỉnh tùy icon lớn nhỏ */
    height: auto;
    filter: brightness(0) invert(1); /* chuyển icon thành màu trắng */
}

/* text dưới icon */
.vp-item p {
    margin-top: 15px;
    font-size: 20px;
    font-weight: 600;
    color: #1f2b6c;
}

/* line phân cách */
.vp-line {
    flex: 1;
    height: 1px;
    background: #dcdcdc;
    margin: 0 10px;
}


.timeline {
    position: relative;
    width: 100%;
    padding: 40px 0;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #d0d0d0;
    transform: translateX(-50%);
}

.timeline-item {
    width: 50%;
    position: relative;
    padding: 20px 40px;
    box-sizing: border-box;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item::before {
    content: "";
    position: absolute;
    top: 30px;
    width: 10px;
    height: 10px;
    background: #e60000;  /* chấm đỏ */
    border-radius: 50%;
    border: 3px solid white;
    z-index: 5;
}

.timeline-item.left::before {
    right: -6px;
}

.timeline-item.right::before {
    left: -6px;
}

.timeline-item .content {
    background: white;
    padding: 20px;
    border: 1px solid #cfcfcf;
    border-radius: 6px;
    max-width: 420px;
}

.timeline-item h3 {
    margin: 0 0 10px;
    color: #0d2b6c;
    font-size: 18px;
    font-weight: 700;
}


.blink-title {
    font-size: 48px;
    font-weight: 700;
    color: #61a0ff;
    text-align: center;
    animation: neonBlink 1.6s infinite ease-in-out;
    letter-spacing: 2px;
}

@keyframes neonBlink {
    0%, 100% {
        text-shadow: 
            0 0 8px #78cbff,
            0 0 15px #78d4ff,
            0 0 25px #78d2ff,
            0 0 40px rgba(80, 147, 255, 0.8);
        opacity: 1;
    }
    50% {
        text-shadow: 
            0 0 3px #78cbff,
            0 0 7px #78cbff,
            0 0 12px rgba(80, 147, 255, 0.8);
        opacity: 0.6;
    }
}


.duantb {
    font-size: 35px;
    font-weight: 700;
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    transition: opacity 0.3s ease-in-out;
}

.duantb.blink {
    opacity: 0;   /* chớp tắt */
}


/* Chỉ áp dụng khi hover đúng item đó */
.bvdatb:hover .post-title a {
    color: #ff7a00;
}

/* Gạch chân chỉ chạy trong item được hover */
.bvdatb:hover .post-title a::after {
    width: 100%;
}

.bvdatb:hover .post-title a::before {
    opacity: 1;
    transform: translateX(0);
}

.ba .img-inner.box-shadow-2.dark {
    border-radius: 27px;
}

.scroll-menu {
    white-space: nowrap;         /* không xuống dòng */
    overflow-x: auto;            /* cho kéo ngang */
    -webkit-overflow-scrolling: touch; /* mượt trên iPhone */
    padding-bottom: 5px;
}

.scroll-menu a {
    display: inline-block;
    margin-right: 20px;
}


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
.number-box .count-up.active {
    font-size: 47px;
}
.number-box .plus {
    font-size: 18px;
    margin-left: 3px;
    position: relative;
    top: -19px;
    font-weight: 300 !important;
}
.ft4 {
    border-radius: 30px;
    background-image: url(/wp-content/uploads/2025/12/circles-shape-bg.png);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    margin: 8px;
}
}