/*
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.   ***************/
ul.header-nav.header-nav-main {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.footer-widgets.footer.footer-1 {
    display: none;
}


.cf7-du-an .cf7-input,
.cf7-du-an .wpcf7-text,
.cf7-du-an .wpcf7-email,
.cf7-du-an .wpcf7-tel {
    width: 100%;
    box-sizing: border-box;
    height: 36px;
    border-radius: 12px;
    border: none;
    padding: 0 18px;
    margin-bottom: 12px;
    background: #ffffff;
    font-size: 15px;
    outline: none;
   box-shadow: 0 0 4px 1px #1ed189;
}

.cf7-du-an .cf7-input::placeholder {
    color: #777777;
    font-size: 12px;
}

/*.cf7-du-an .cf7-product-group {
    margin: 10px 0 18px;
}*/

.cf7-du-an .cf7-product-title {
    color: #ffffff;
    font-size: 12px;
    margin-bottom: 8px;
    text-align: left;
    font-weight: 300;
    margin-top: -7px;
}

/* ===== RADIO PILL (dạng [radio ... class:cf7-radio-pill]) ===== */

/* bắt cả trường hợp bị bọc trong <p> */
.cf7-du-an .wpcf7-radio.cf7-radio-pill,
.cf7-du-an p .wpcf7-radio.cf7-radio-pill {
    display: block;
}

/* từng item */
.cf7-du-an .wpcf7-radio.cf7-radio-pill .wpcf7-list-item {
    margin: 0 0 10px 0;
    padding: 0;
    box-sizing: border-box;
}

/* 2 cái đầu chia đôi, cái 3 full width */
.cf7-du-an .wpcf7-radio.cf7-radio-pill .wpcf7-list-item:nth-child(1),
.cf7-du-an .wpcf7-radio.cf7-radio-pill .wpcf7-list-item:nth-child(2) {
    display: inline-block;
    width: 50%;
}

.cf7-du-an .wpcf7-radio.cf7-radio-pill .wpcf7-list-item:nth-child(1) {
    padding-right: 6px;
}

.cf7-du-an .wpcf7-radio.cf7-radio-pill .wpcf7-list-item:nth-child(2) {
    padding-left: 6px;
}

.cf7-du-an .wpcf7-radio.cf7-radio-pill .wpcf7-list-item:nth-child(3) {
    display: block;
    width: 100%;
}

/* Ẩn radio gốc */
.cf7-du-an .wpcf7-radio.cf7-radio-pill input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.cf7-du-an .wpcf7-radio.cf7-radio-pill label {
    display: block;
    position: relative;
    padding: 10px 10px 10px 10px;
    border-radius: 12px;
       background: #097c4d;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.cf7-du-an .wpcf7-radio.cf7-radio-pill label::after {
    content: "";
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-sizing: border-box;
}

/* khi chọn: nền cam + chấm trắng */
.cf7-du-an .wpcf7-radio.cf7-radio-pill input[type="radio"]:checked+.wpcf7-list-item-label,
.cf7-du-an .wpcf7-radio.cf7-radio-pill input[type="radio"]:checked+span {
    /* đề phòng version CF7 khác nhau */
}

.cf7-du-an .wpcf7-radio.cf7-radio-pill input[type="radio"]:checked+.wpcf7-list-item-label,
.cf7-du-an .wpcf7-radio.cf7-radio-pill input[type="radio"]:checked+span {
    /* không dùng – vì CF7 bọc text trong span bên trong label; ta đổi màu label qua selector dưới */
}

.cf7-du-an .wpcf7-radio.cf7-radio-pill input[type="radio"]:checked~span,
.cf7-du-an .wpcf7-radio.cf7-radio-pill input[type="radio"]:checked~.wpcf7-list-item-label {
    /* fallback */
}

/* Cách chắc cú: chọn label có input:checked bên trong */
.cf7-du-an .wpcf7-radio.cf7-radio-pill label:has(input[type="radio"]:checked) {
    background: #ff8a00;
}

.cf7-du-an .wpcf7-radio.cf7-radio-pill label:has(input[type="radio"]:checked)::before {
    content: "";
    position: absolute;
       right: 7px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
}


.wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 11px;
    font-weight: normal;
    display: block;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    font-size: 12px;
}

.cf7-du-an .cf7-submit,
.cf7-du-an input.wpcf7-submit {
    margin-top: 5px;
    width: 100%;
    height: 27px;
    border-radius: 30px;
    border: none;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.18);
       background: linear-gradient(90deg, #feb667, #ED8A1C);
    transition: transform .3s, box-shadow .3s;
    animation: 1s ease-in-out infinite pulseGlow, 2s infinite wiggle;
    position: relative;
    overflow: hidden;
}

@keyframes pulseGlow {

    0%,
    100% {    right: 0px;
        box-shadow: 0 0 10px #ff8c0080, 0 0 20px #ff8c004d;
    }

    50% {
        box-shadow: 0 0 18px #ff8c00cc, 0 0 30px #ff8c0066;
    }
}


@keyframes wiggle {

    0%,
    100% {
        transform: rotate(0);
    }

    15% {
        transform: rotate(1deg);
    }

    30% {
        transform: rotate(-1deg);
    }

    45% {
        transform: rotate(1deg);
    }

    60% {
        transform: rotate(-1deg);
    }
}

.cf7-du-an .cf7-submit-wrap {
    position: relative;
    margin-bottom: -49px;
    z-index: 1;
    overflow: hidden;
}

.cf7-du-an .cf7-submit-wrap::before {
    content: "";
    background: linear-gradient(120deg, #fff0, #ffffff80, #fff0);
    width: 30%;
    height: 42%;
    position: absolute;
    top: 5px;
    left: -75%;
    transform: skew(-25deg);
    animation: 2s infinite shine;
    pointer-events: none;
    z-index: 9999;
}

.col-big>.col-inner {
    border-radius: 12px !important;
    border: 1px solid #61c1ef;
}

.col-top>.col-inner {
    border-radius: 12px 12px 0px 0px;
}

.col-bottom>.col-inner {
    border-radius: 0px 0px 12px 12px;
}

@keyframes shine {
    0% {
        left: -75%;
    }

    100% {
        left: 125%;
    }
}

.section-grad {
   background: linear-gradient(to right, #027848, #39b98f);

}

.text-top p {
    margin-bottom: 12px;
}

.text-line h3 {
    position: relative;
}

.text-line h3::before {
    content: '';
  background-color: #EA2629;
    height: 1px;
    width: 50px;
    position: absolute;
    left: 0;
    top: 104%;
    transform: translateY(-50%);
    display: block;
}


.col-video {
    position: relative;
}

.col-video::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("https://longvancenterpoint.erasvietnam.com/wp-content/uploads/2025/11/backdrop-video-doi-mau-cam.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
	  
}

.col-video video,
.col-video iframe {
    position: relative;
    z-index: 2;
    width: 100%;
    display: block;
    height: 378px;
       margin-top: -277px;
}

.col-grad {
        background: linear-gradient(to bottom, #39b98f, #027848);
}


.text-number {
    position: relative;
    width: 100px;
    /* điều chỉnh tùy ý */
    height: 100px;
    /* điều chỉnh tùy ý */
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-number h3 {
    position: relative;
    font-size: 28px;
    /* chỉnh tùy */
    color: #fff;
    margin: 0;
    z-index: 2;
    /* nằm trên vòng tròn */
}

.text-number h3::before {
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid #EA2629;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.text-number h3::after {
    content: "phút";
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #fff;
    padding: 2px 0px;
    border-radius: 4px;
}

.text-number:not(.text-number-2):not(.text-number-3) h3::after {
       background: #239F73;
}

.text-number-2 h3::after {
       background: #158F61 !important;
}

.text-number-3 h3::after {
        background: #0A8152 !important;
}

.col-inner.text-left .text {
    position: relative;
}

.col-inner.text-left .text::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
}

.col-inner.text-left::after {
    content: "";
    position: absolute;
    left: 11px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #fff;
    opacity: 0.6;
    /* nhìn mềm hơn, có thể tăng/giảm */
}


.text-box-ok {
    position: relative;
    z-index: 5;
    overflow: visible;
}

.text-box-ok .text-box-content {
    position: relative;
    z-index: 7;
}

.text-box-ok::before {
      content: "";
    position: absolute;
    left: 50%;
 bottom: -24px;
    transform: translateX(-50%);
        width: 357px;
    height: 530px;
    background-image: url(https://longvancenterpoint.erasvietnam.com/wp-content/uploads/2025/11/backdrop-vi-tri-doi-mau-cam.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: bottom center;
    z-index: 6;
    pointer-events: none;
}


.row-5-icon {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.row-5-icon>.col {
    flex: 0 0 20%;
    max-width: 20%;
}


.icon-box-dau-tu .icon-inner {
    background: #027848;
    border-radius: 50%;
    padding: 30px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 120px;
}

/* Đảm bảo ảnh không phá vòng */
.icon-box-dau-tu .icon-inner img {
    display: block;
    max-width: 100%;
    height: auto;
}


.col-1 {
    counter-reset: numCounter 0;
}

.col-1 p {
    position: relative;
    padding-left: 36px;
    margin: 12px 0;
    counter-increment: numCounter;
}

.col-1 p::before {
    content: counter(numCounter);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    background: #EA2629;
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.col-2 {
    counter-reset: numCounter 6;
}

.col-2 p {
    position: relative;
    padding-left: 36px;
    margin: 12px 0;
    counter-increment: numCounter;
}

.col-2 p::before {
    content: counter(numCounter);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
   background: #EA2629;
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.col-1 .text,
.col-2 .text {
    margin-bottom: 20px;
}

.slider-nha-lien-ke {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    position: relative;
}

.tab-nha-lien-ke .nav-simple li.tab {
    margin-right: 0;
}

/* ====== RESET KHUNG TAB ====== */
.tab-nha-lien-ke .nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    border: none;
}

.tab-nha-lien-ke .nav li.tab a {
    background: #ffffff;
   color: #027848;
    font-weight: 600;
    padding: 10px 40px;
    display: block;
    position: relative;
    border: none !important;
    clip-path: polygon(12% 0, 100% 0, 90% 100%, 0 100%);
    transition: 0.25s;
    font-size: 14px;
    font-style: italic;
}

.tab-nha-lien-ke .nav li.active a {
        background: #EA2629;
    color: #ffffff;
    padding: 14px 68px;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
    z-index: 2;
    font-size: 20px;
    font-style: italic;
}

.tab-nha-lien-ke .nav li.tab {
    margin: 0 -13px !important;
}

.tab-nha-lien-ke .nav li.tab:not(.active) a:hover {
    opacity: 0.9;
}




.slider-nha-lien-ke .box-text {
    background-color: transparent;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, transform .3s ease;
}

.slider-nha-lien-ke .flickity-slider>.is-selected .box-text {
   background-color: #065736;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.slider-nha-lien-ke .flickity-slider>.is-selected .box.box-text-bottom>.box-text {
    bottom: 0 !important;
}


.slider-style-container .flickity-slider>:not(.is-selected),
.slider-style-focus .flickity-slider>:not(.is-selected),
.slider-style-shadow .flickity-slider>:not(.is-selected) {
    opacity: 1;
}




.slider-vertical::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 100%;
   background: #1D9162;
    z-index: 2;
    pointer-events: none;
}

.nav-vertical+.tab-panels {
    border-left: unset;
    flex: 1;
    margin-top: 0 !important;
    padding: 0 30px 30px;
}

.nav-vertical>li+li {
    border-top: unset;
}


.tab-vertical .nav.nav-vertical li.tab a {
    display: block;
    padding: 10px 10px;
    font-size: 21px;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    border-left: 2px solid #ffffff80;
    transition: 0.3s ease;
}

.tab-vertical .nav.nav-vertical li.tab.active a {
    color: #ffffff;
    border-left: 3px solid #ffffff;
}

.tab-vertical .nav.nav-vertical li.tab a:hover {
    color: #ffffff;
    border-left-color: rgba(255, 255, 255, 0.3);
}


.slider-vertical {
         margin-top: -300px;
    position: relative !important;
    z-index: 0;
    margin-left: 23px;
}

.col-co-hoi-left {
    position: relative;
    z-index: 999;
}


.slider-vertical .flickity-button {
    opacity: 1 !important;
}

.slider-vertical .flickity-button {
    bottom: -466px;
}

.slider-vertical .flickity-button-icon {
    fill: #ffffff !important;
    width: 35px;
    height: 35px;
    margin-top: 10px;
}

.slider-vertical .flickity-prev-next-button:hover,
.slider-vertical .flickity-prev-next-button:active {
    border-color: #FFC72C !important;

}

.flickity-prev-next-button.previous,
.flickity-prev-next-button.next {
    transform: unset;
}

.slider-vertical .flickity-prev-next-button:hover .flickity-button-icon,
.slider-vertical .flickity-prev-next-button:active .flickity-button-icon {
    fill: #FFC72C !important;
}

.slider-vertical .flickity-button:focus,
.slider-vertical .flickity-button:hover {
    background: transparent !important;
}

.slider-vertical .flickity-button:focus {
    outline: none !important;
    box-shadow: none !important;
}


.flickity-prev-next-button.previous {
        left: -324px;
}

.flickity-prev-next-button.next {
   left: -272px;
}

.flickity-button-icon {
    fill: #ffffff !important;
    width: 35px;
    height: 35px;
    margin-top: 10px;
}



.slider-vertical .flickity-slider {
    counter-reset: slide-counter;
}

.slider-vertical .flickity-slider .row {
    position: relative;
    /* để đặt số lên ảnh */
    counter-increment: slide-counter;
}


.slider-vertical .flickity-slider .row::after {
    content: counter(slide-counter, decimal-leading-zero);
    position: absolute;
    bottom: 30px;
    left: 45px;
    background: #ea2629ab;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    padding: 5px 15px;
    z-index: 5;
    pointer-events: none;
}


.form-blue-box {
    padding: 24px 10px;
    border-radius: 5px;
    max-width: 420px;
}

.form-longvan p {
    margin: 0 0 12px;
}

.form-longvan .wpcf7-form-control.wpcf7-text,
.form-longvan .wpcf7-form-control.wpcf7-tel,
.form-longvan .wpcf7-form-control.wpcf7-email,
.form-longvan .wpcf7-form-control.wpcf7-select {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #ffffff;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 16px;
    font-size: 15px;
    font-weight: 500;
     color: rgba(2, 120, 72, 0.605);
    outline: none;
    box-shadow: none;
    box-sizing: border-box;
}
.form-longvan ::placeholder {
    color: rgba(2, 120, 72, 0.605);
}

.form-longvan .wpcf7-form-control:focus {
    border-color: #ffffff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.form-longvan .wpcf7-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 40px;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230b64b0' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
}

.form-longvan .wpcf7-select option {
  color: rgba(2, 120, 72, 0.605);
}

.form-longvan .wpcf7-submit:focus {
    outline: none;
    box-shadow: none;
}

.form-longvan select::-ms-expand {
    display: none;
}

.section-footer {
    position: relative;
    overflow: hidden;
}

.section-footer .section-bg,
.section-footer .section-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.section-footer .section-content {
    position: relative;
    z-index: 3;
}

.section-footer::before,
.section-footer::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    z-index: 1;
}

.section-footer::after {
    top: 0px;
    margin: 0 auto;
    width: 0;
    height: 0;
    border-left: 50vw solid transparent;
    border-right: 50vw solid transparent;
      border-top: 70px solid #1D9162;
}



@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
div#logo {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    width: 80%;
    margin: 0;
}
	
	ul.mobile-nav.nav.nav-right {
    width: 300px;
}
	
	
	.banner-first {
    height: 50% !important;
    min-height: unset !important;
    padding-top: 50% !important;
}
	
	.row-5-icon>.col {
    flex: 0 0 50%;
    max-width: 100%;
}
	
	.tab-nha-lien-ke .nav li.tab a {
    background: #ffffff;
    color: #027848;
    font-weight: 600;
    padding: 10px 18px;
    display: block;
    position: relative;
    border: none !important;
    clip-path: polygon(12% 0, 100% 0, 90% 100%, 0 100%);
    transition: 0.25s;
    font-size: 14px;
    font-style: italic;
}
	
	.tab-nha-lien-ke .nav li.active a {
    background: #EA2629;
    color: #ffffff;
    padding: 14px 20px;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
    z-index: 2;
    font-size: 14px;
    font-style: italic;
}
	
	.slider-vertical {
    margin-top: 0px;
    position: relative;
    z-index: 1;
    margin-right: 40px;
}
	
	.slider-vertical .flickity-slider .row::after {
    content: counter(slide-counter, decimal-leading-zero);
    position: absolute;
    bottom: 30px;
    left: 24px;
    background: #ea2629ab;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    padding: 0px 10px;
    z-index: 5;
    pointer-events: none;
}
	
	    .tab-vertical .tab-panels {
        margin-left: -118px;
        margin-bottom: 20px;
    }
	
	ul.nav.nav-simple.nav-vertical.nav-uppercase.nav-size-xlarge.nav-left {
    margin-bottom: 18px;
}
	
	.popup-content > * {
    text-align: center;
}

}


.col-bottom>.col-inner {
    height: 252px;
}