/** Flip Cube Text**/
.flip-cube-text {
    --text-size: 1rem;
    position: relative;
    width: 100%;
    height: 7.25rem;
    overflow: hidden;
    text-align: center;
}

.flip-cube-text .text {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotate-the-words 10s infinite; 
    display: block;
    transform: translateY(100%);
}

/* Delay cho từng item */
.flip-cube-text .text:nth-child(1) {
    animation-delay: 0s;
}

.flip-cube-text .text:nth-child(2) {
    animation-delay: 2.5s;
}

.flip-cube-text .text:nth-child(3) {
    animation-delay: 5s;
}

.flip-cube-text .text:nth-child(4) {
    animation-delay: 7.5s;
}

/* Keyframes cho hiệu ứng trượt dọc */
@keyframes rotate-the-words {
    0% {
        transform: translateY(100%);
    }
    2%, 25% {
        transform: translateY(0%);
    }
    27%, 50% {
        transform: translateY(-100%);
    }
    52%, 75% {
        transform: translateY(-200%);
    }
    77%, 100% {
        transform: translateY(-300%);
    }
}

.flip-cube-text .text h1,
.flip-cube-text .text h2 {
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: center;
    font-size: 3rem;
    line-height: 1.2;
    letter-spacing: 0.02em;
}
@media screen and (max-width: 767px) {
    .flip-cube-text .text h1,
    .flip-cube-text .text h2 {
        font-size: 1.5rem;
    }
    .flip-cube-text{
        height: 3.625rem;
    }
}
@media (min-width: 768px) and (max-width: 1200px){
    .flip-cube-text .text h1,
    .flip-cube-text .text h2 {
        font-size: 2rem;
    }
}
@media (min-width: 1201px) and (max-width: 1600px){
    .flip-cube-text .text h1,
    .flip-cube-text .text h2 {
        font-size: 2.5rem;
    }
	#col-1246936627 > .col-inner{
		padding : 16px 42px 16px 42px !important''
	}
	.nw-dual-heading h2 {
		margin-bottom : 30px !important;
	}
}
/** End Flip Cube Text**/

/*  Testimonials  */
.nw-testimonials .swiper-wrapper {
  transition-timing-function: linear !important;
}
.nw-testimonial-header{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}
.nw-testimonial-image{
    width: 50px;
}
.nw-testimonial-meta{
    flex-grow: 1;
    font-family: Philosopher, sans-serif;
    font-weight: 700;
    font-size: 18px;
}
.star-rating span:before{
    color: #FFE15E !important
}
.star-rating{
    margin: 0 0 0.5em 0;
}
.nw-testimonials .swiper-wrapper{
	display: flex;
	align-items: stretch;
}
.nw-testimonial-box{
    padding: 48px;
    border-color: rgba(173, 199, 175, 0.5);
    border-top: 0.25px solid rgba(173, 199, 175, 0.5);
    border-bottom: 0.25px solid rgba(173, 199, 175, 0.5);
    border-left: 0.25px solid rgba(173, 199, 175, 0.5);
	height: auto;
}
.nw-testimonial-content p{
    margin-bottom: 0;
}
.nw-coverflow-image img{
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.nw-coverflow-slider{
    padding-top: 5%;
}
.nw-coverflow-slider .swiper-slide .nw-coverflow-content{
    opacity: 0;
}
.nw-coverflow-slider .swiper-slide-active .nw-coverflow-content{
    opacity: 1;
    text-align: center;
}
.nw-coverflow-slider .swiper-slide-active .nw-coverflow-image{
    box-shadow: 0px 20px 100px 0px #4C754E40;
    margin-bottom: 50px;
}
.nw-coverflow-slider h3{
    color: #003619;
    text-transform: capitalize;
    margin-bottom: 8px;
}
.nw-coverflow-slider .nw-item-content{
    margin-bottom: 24px;
}
.nw-explore-btn{
    color: #18582E;
    display: inline-block;
    text-decoration: none;
    font-weight: bold;
    font-family: Be Vietnam Pro, sans-serif;
    font-size: 16px;
    text-align: center;
    padding: 12px 16px;
    position: relative;
}

.swiper-slide-active {
  transform: scale(1.1);
}

.swiper-slide-next .nw-coverflow-image,
.swiper-slide-prev .nw-coverflow-image {
  transform: scale(0.85);
}

.swiper-slide {
  transition: transform 0.5s ease-in-out;
}

.nw-coverflow-slider .swiper-slide-prev:after{
    position: absolute;
    content: '';
    background: linear-gradient(90deg, #FAFDF7CC 75%, #FAFDF700 100%);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.nw-coverflow-slider .swiper-slide-next:after{
    position: absolute;
    content: '';
    background: linear-gradient(90deg,#FAFDF700 0%, #FAFDF7CC 25%);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.nw-coverflow-slider .swiper-button-prev,
.nw-coverflow-slider .swiper-button-next{
    width: 44px;
    height: 44px;
    box-shadow: 0px 4px 10px 0px #18582E40;
    border-radius: 50%;
    padding: 16px;
    z-index: 99;
    background: #FAFDF7;
    color: #18582E;
}
.nw-coverflow-slider .swiper-button-prev svg,
.nw-coverflow-slider .swiper-button-next svg{
    height: 15px;
}
.nw-coverflow-slider .swiper-button-prev{
    left: 7%;
}
.nw-coverflow-slider .swiper-button-next{
    right: 7%;
}
.nw-coverflow-slider .swiper-button-next, .nw-coverflow-slider .swiper-button-prev, .nw-coverflow-slider ~.swiper-button-next,.nw-coverflow-slider ~.swiper-button-prev{
    top: 45%;
}
@media (max-width: 640px){
    .nw-coverflow-slider .swiper-button-prev,
    .nw-coverflow-slider .swiper-button-next{
        width: 32px;
        height: 32px;
        padding: 4px;
    }
    .nw-coverflow-slider .swiper-button-prev svg,
    .nw-coverflow-slider .swiper-button-next svg{
        height: 14px;
    }
    .nw-coverflow-slider .swiper-button-prev{
        left: 7%;
        top: 26%;
    }
    .nw-coverflow-slider .swiper-button-next{
        right: 7%;
        top: 26%;
    }
    .nw-coverflow-slider .swiper-slide-active .nw-coverflow-image{
        margin-bottom: 25px;
    }
}

/* Dual Heading */
.nw-dual-heading{
    position: relative;
}
.nw-dual-heading h1,
.nw-dual-heading h2,
.nw-dual-heading h3,
.nw-dual-heading h4,
.nw-dual-heading h5,
.nw-dual-heading h6{
    font-size: 1em
}
.nw-dual-heading .nw-dual-heading__title,
.nw-dual-heading .nw-dual-heading__subtitle{
    display: block;
    text-transform: uppercase;
    margin-bottom: 0;
}
.nw-dual-heading .nw-dual-heading__title{
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, #02290E 26.39%, #078F31 78.24%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    opacity: 0.1;
}
.nw-dual-heading .nw-dual-heading__subtitle{
    font-weight: bold;
    font-family: Be Vietnam Pro, sans-serif;
    background: linear-gradient(90deg, #18582E -0.01%, #08D136 50%, #18582E 100.01%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: absolute;
    top: 50%;
    transform: translateY(-10%);
    z-index: 3;
}
.nw-dual-heading:not(.center) .nw-dual-heading__subtitle{
    padding-left: 36px
}
.nw-dual-heading.center .nw-dual-heading__subtitle{
    position: absolute;
    width: max-content;
    max-width: 100%;
    top: 50%;
    left: 50%;
    transform: translateY(-10%) translateX(-50%);
}
@media (max-width: 1024px){
    .nw-dual-heading.center .nw-dual-heading__subtitle{
        max-width: 70%;
    }
    .nw-dual-heading .nw-dual-heading__title{
        font-size: 0.6em;
    }
}
@media (max-width: 768px){
    .nw-dual-heading .nw-dual-heading__title{
        font-size: 0.6em;
    }
    .nw-dual-heading.center .nw-dual-heading__subtitle{
        max-width: 70%;
        transform: translateY(10%) translateX(-50%);
    }
}
@media (max-width: 480px){
    .nw-dual-heading h1,
    .nw-dual-heading h2,
    .nw-dual-heading h3,
    .nw-dual-heading h4,
    .nw-dual-heading h5,
    .nw-dual-heading h6,
    .nw-dual-heading .nw-dual-heading__title{
        font-size: 1em;
    }
}

.nw-partner-logo{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
}
.nw-partner-logo .img{
    flex: 1;
}
@media (max-width: 767px){
    .nw-partner-logo .img{
        flex-grow: 1;
        flex-basis: 0;
        flex: 0 0 calc(33.33% - 40px);
        width: calc(33.33% - 40px) !important;
    }
}
.nw-reward-item{
    height: 100%;
}
.nw-rewards .swiper-wrapper{
    align-items: center;
    justify-content: center;
}
.nw-rewards .swiper-slide{
    width: fit-content !important; /* Quan trọng: item lấy width theo nội dung */
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}
.nw-rewards .swiper-wrapper {
  transition-timing-function: linear !important;
}

/* Search Form */
.nw-searchform-wrapper form{
    margin-bottom: 0;
    padding: 16px;
    background: #ffffff;
    border-radius: 50px;
    box-shadow: 0px 30px 40px 0px #3C403729;
    border: 0.5px solid rgba(175, 189, 178, 0.5);
}
.nw-searchform-wrapper input,
.nw-searchform-wrapper select{
    border: none;
    outline: none;
    font-size: 16px;
    box-shadow: none;
    padding-left: 0;
}
.nw-searchform-wrapper input:focus{
    box-shadow: none;
}

.nw-searchform-wrapper .flex-col{
    padding: 0 24px;
}
@media (max-width: 767px){
    .nw-searchform-wrapper .flex-col{
        padding: 0;
    }
}
.nw-searchform-wrapper .flex-col:last-child{
    padding-right: 0;
}
.nw-searchform-wrapper .flex-col:nth-child(2),
.nw-searchform-wrapper .flex-col:nth-child(3){
    position: relative;
}
.nw-searchform-wrapper .flex-col:nth-child(2)::before,
.nw-searchform-wrapper .flex-col:nth-child(3)::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 30px;
    background: #AFBDB2;
}
.nw-searchform-wrapper .nw-submit-btn-wrap{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    border-radius: 50px;
    padding: 2px;
}
.nw-searchform-wrapper .nw-submit-btn-wrap::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #18582E -0.01%, #08D136 50%, #18582E 100.01%);
    border-radius: 50px;
}
.nw-searchform-wrapper .nw-submit-btn-wrap .ux-search-submit.button.icon{
    border-radius: 50px;
    margin-right: 0;
    margin-left: 0;
}
.ux-search-submit.button.icon{
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    line-height: 26px;
}
.ux-search-submit.button.icon i{
    font-size: 26px;
    width: 27px;
    height: 27px;
}
@media (max-width: 767px){
    .ux-search-submit.button.icon{
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
        line-height: 1em;
    }
    .ux-search-submit.button.icon i{
        font-size: 15px;
        width: 15px;
        height: 15px;
    }
    .nw-searchform-wrapper .flex-col:nth-child(2)::before, .nw-searchform-wrapper .flex-col:nth-child(3)::before{
        display: none;
    }
    .nw-searchform-wrapper form{
        padding: 4px 8px;
    }
}
.nw-scroll-text .swiper-slide{
    text-align: center;
    position: relative;
    font-family: Be Vietnam Pro;
    font-weight: 700;
    font-style: Bold;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 0%;
    padding: 0 16px;
    width: fit-content;
    color: #FAFDF7;
}
@media (max-width: 1024px){
    .nw-scroll-text .swiper-slide{
        font-size: 14px;
    }
}
.nw-scroll-text .swiper-slide::before{
    content: "";
    position: absolute;
    top: 4px;
    left: 0;
    width: 14px;
    height: 14px;
    background: url("../img/star.svg") no-repeat center center;
    background-size: contain;
}
.nw-scroll-text .swiper-slide p{
    margin-bottom: 0;
}
.nw-scroll-text{
    z-index: 2;
    background-color: #18582E;
}
.nw-scroll-text .swiper-wrapper{
    z-index: 3;
    padding: 32px;
}
.nw-scroll-text .swiper-wrapper {
  transition-timing-function: linear !important;
}

.scroll-text-wrap .section-bg{
    
}
.scroll-text-wrap .section-bg .fill{
    transform: rotate(-1deg);
    width: 120%;
    height: calc(100% - 60px);
    top: 30px;
    left: -10%;
}
.nw-featured-project-item .nw-image{
    margin-bottom: 1.5rem;
}
.nw-featured-project-content .nw-btn{
    text-align: right;
}
@media (max-width: 767px){
    .nw-featured-project-content .nw-btn{
        text-align: left;
    }
    .nw-featured-project-content .col{
        padding-bottom: 15px !important;
    }
}

.nw-complex-property-item{
    background-color: #fff;
    padding: 16px;
    border: 1px solid #ADC7AF80;
    box-shadow: 0px 4px 20px 0px #B3B3B340;
    border-radius: 24px;
}
.nw-complex-property-item .col{
    padding-bottom: 0;
}
.nw-complex-property-item .view-detail{
    margin-top: 16px;
   
}
.nw-complex-property-item .view-detail a{
    display: block;
    background: #18582E;
    color: #FAFDF7;
    font-family: Be Vietnam Pro, sans-serif;
    font-weight: 700;
    font-size: 16px;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    text-transform: uppercase;
}
.cp-label{
    font-family: Be Vietnam Pro, sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 12px;
    color: #18582E;
    background: #E8F3DC;
    border-radius: 8px;
    margin-bottom: 16px;
}
.cp-item{
    margin-bottom: 8px;
}
.cp-item-value{
    font-weight: 500;
    color: #02290E;
}
.cp-item-label{
    color: #696969;
    font-weight: 400;
}

.property-image{
    margin-bottom: 1.25rem;
}
.property-image a{
    display: block;
}
.complex-property-image img,
.property-image img{
    border-radius: 8px;
    transform: scale(1.05);
    transition: all 0.3s ease-in-out;
}
.complex-property-overlay,
.sub-property-overlay,
.property-overlay{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 16px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}
.complex-property-image:hover .complex-property-overlay,
.cp-sub-property-item:hover .sub-property-overlay,
.nw-property-item:hover .property-overlay{
    opacity: 1;
    visibility: visible;
    
}
.complex-property-image:hover,
.nw-property-item:hover .property-image {
    box-shadow: 0px 4px 20px 0px #00000040;
}
.complex-property-image:hover img,
.nw-property-item:hover .property-image img{
    transform: scale(1);
}
.complex-property-overlay span,
.sub-property-overlay span,
.property-overlay span{
    display: inline-block;
    font-family: Be Vietnam Pro;
    font-weight: 700;
    font-style: Bold;
    font-size: 12px;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid #ffffff;
}

.property-price{
    color: #18582E;
}
.property-title,
.property-title a{
    color: #02290E;
}
@media (max-width: 767px){
    .property-content .h4{
        font-size: 14px;
    }
    .property-address,
    .property-status,
    .property-price{
        font-size: 12px;
    }
    .nw-property-item{
        padding: 0 8px 24px !important
    }
    .property-address{
        margin-bottom: 12px;
    }
    .nw-property-listing{
        margin: 0 8px;
        width: calc(100% - 16px);
    }
}
.cp-sub-property-item p.property-types,
.cp-sub-property-item p.property-status{
    font-size: 14px;
    letter-spacing: -0.01em;
}
.cp-sub-property-item .property-title a{
    font-family: Be Vietnam Pro, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: -0.01em;
}
.nw-complex-property-item{
    margin-bottom: 50px;
}
p.property-address{
    margin-bottom: 0.5em;
}
.single-anchor-bar{
    text-align: center;
    position: fixed;
    bottom: 35px;
    z-index: 9000;
    width: 100%;
}
.single-anchor-bar__inner{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #16261AE5;
    box-shadow: 0px 4px 50px 0px #00000040;
    border-radius: 100px;
}
.single-anchor-bar__item{
    text-align: center;
    transition: background-image 0.5s ease-in-out;
   
}
.single-anchor-bar__item a{
    padding: 24px;
    font-family: var(--font-family-base);
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: -0.01em;
    color: #878D87;
    display: inline-block;
    border-radius: 100px;
    white-space: nowrap
}
.single-anchor-bar__item.active{
    border: solid 2px transparent;
    border-radius: 100px;
    background-image: linear-gradient(90deg, #18582E -0.01%, #08D136 50%, #18582E 100.01%);
}
.single-anchor-bar__item.active a{
    background-color: #18582E;
    color: #FAFEFB;
    position: relative;
    display: block;
}
.single-anchor-bar__item.active a:before{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 100px;
    content: '';
}
.nw-single-title{
    position: relative;
    text-align: center;
}
.nw-single-title .nw-single-title__front-text{
    position: relative;
    z-index: 1;
    font-family: 'Philosopher', sans-serif;
    font-weight: 400;
    font-size: 130px;
    line-height: 1.2em;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    background: linear-gradient(180deg, #02290E 26.39%, #078F31 78.24%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.1;
}
.nw-single-title .nw-single-title__back-text{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2em;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    background: linear-gradient(90deg, #18582E -0.01%, #08D136 50%, #18582E 100.01%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 1;
}

@media (min-width: 768px) and (max-width: 1200px){
    .single-anchor-bar__item a{
        padding: 12px;
    }
    .nw-single-title .nw-single-title__front-text{
        font-size: 60px;
    }
    .nw-single-title .nw-single-title__back-text{
        font-size: 16px;
    }
}
@media (max-width: 767px){
    
    .nw-single-title .nw-single-title__front-text{
        font-size: 42px;
    }
    .nw-single-title .nw-single-title__back-text{
        font-size: 14px;
    }
}

.nw-unit-item--content{
    opacity: 0;
    transition: all 0.3s ease-in-out;
}
.nw-unit-item{
    background-color: #1B281B;
}
.nw-unit-item.swiper-slide-active{
    z-index: 9;
}
.nw-unit-item .nw-unit-item--content{
    padding: 130px 0;
    overflow: hidden;
    width: 100%;
    color: #878D87;
}
.nw-unit-item.swiper-slide-active .nw-unit-item--content{
    opacity: 1;
}

.nw-unit-item--content h4{
    color: #FAFEFB;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2em;
}
.unit-types-heading{
    position: absolute;
    top: 120px;
    left: 0%;
    z-index: 9;
}
.nw-unit-item--image-wrap{
    position: relative;
    height: 0;
    padding-top: 100%;
}
.nw-unit-item--image-wrap img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.nw-unit-item--content-wrap{
    display: flex;
    align-items: flex-end;
}

.nw-unit-types-wrap .swiper-pagination{
    position: absolute;
    bottom: 100px;
    width: 50%;
    z-index: 10000;
}
.nw-unit-types-wrap .swiper-pagination .swiper-pagination-bullet{
    background: #878D87;
    width: 10px;
    height: 10px;
    transition: all 0.25s;
}
.nw-unit-types-wrap .swiper-pagination .swiper-pagination-bullet-active{
    background: #DFE4E0;
    width: 16px;
    height: 10px;
    border-radius: 4px;
}

@media (max-width: 767px){
    .unit-types-heading{
        top: 50px;
    }
    .nw-unit-item.swiper-slide-active .nw-unit-item--content{
        padding: 100px 0 30px 0;
    }
    .nw-unit-types-wrap .swiper-pagination{
        bottom: 20px;
        width: 100%;
    }
}
@media (min-width: 640px) and (max-width: 990px){
    .unit-types-heading{
        top: 50px;
    }
}