/* body.single-post #wrapper,
body.single-du-an #wrapper{
    background-color: #FFFFFF !important;
}
body.single-du-an #wrapper #main{
    background-color: #FFFFFF !important;
} */

.header-nav-main{
    display: flex;
    justify-content: space-around!important;
    gap: 36px;
    background-color: #1A1919;
}
.header-nav-main > li > a{
    font-size: 14px!important;
    padding-left: 24px!important;
    padding-right: 24px!important;
    color:#FFF !important;
}
.header-nav-main > li:hover > a{
    color: #FFF !important;
    background-color: var(--primary-color) !important;
}
/*menu unlimited*/
header#header .nav-dropdown {
        display: block;
    }
header#header .nav-dropdown ul.sub-menu {
        position: absolute;
        left: 100%;
        top: 0;
        background: #fff;
        width: 250px;
        padding: 0;
        display: none !important;
       
    }
 header#header .nav-dropdown ul.sub-menu a {
        white-space: normal;
        margin: 0;
        padding: 10px 15px;
        border: 0;
       
    }
header#header .nav-dropdown li:hover > ul.sub-menu{
        display: block !important;
    }
 header#header .nav-dropdown li {
        border-right: 0;
        white-space: normal;
        width: 100%;
        display: block;
        position: relative;
    }

    #sc_video{
    width: 100%;
    height: auto;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.sc_home-project-title{
    font-size:40px;
    padding-top: 15px;
}
.sc_home-project-title:before{
    content: "";
    display: inherit;
    width: 100%;
    border-top: 1px solid;
    right: 0;
    position: absolute;
    top: 0;
}
/*menu unlimited*/
.box_video_full{
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.sc_home-slide-item .content-box {
    height: 167px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    background: linear-gradient(
    90deg,
    rgba(1, 45, 22 ) 0%,
    rgba(1, 45, 22 ) 50%,
    rgba(1, 45, 22 ) 100%
  );
    width: 850px;
    max-width: 100%;
    overflow: hidden;
}
.sc_home-slide-item .content-box h3{
    width:100%;
    border-bottom:1px solid #fff;
    padding: 6px 10px;
    color:#fff;
}
.sc_home-slide-item .content-box > .col:nth-child(1){
    border-right:1px solid #fff;
}
.sc_home-slide-item .content-box .col-inner {
    justify-content: space-between;
    display: flex;
    flex-direction: column;
}
.sc_home-slide-item .content-box .col-inner p{
    padding:0px 15px;
}

.sc_home-statics .section-content{
    padding-top: 15px;
    padding-bottom: 15px;
    border-top: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.sc_home-review-section .section-bg:before{
    content:'';
    height:100%;
    position: absolute;
    z-index: 1;
    width:100%;
    /* background: linear-gradient(180deg, 
    rgba(0, 0, 0, 1) 0%, 
    rgba(0, 0, 0, 1) 8.135%, 
    rgba(0, 0, 0, 0) 51.893%, 
    rgba(0, 0, 0, 1) 100%);     */
    background: linear-gradient(180deg,
    rgba(10, 15, 12, 1) 0%,
    rgba(10, 15, 12, 1) 8.135%,
    rgba(10, 15, 12, 0) 51.893%,
    rgba(10, 15, 12, 1) 100%);
}

.footer-top{
    border-bottom: 1px solid var(--primary-color);
    display: flex;
    align-items: center;
    padding-top: 106px;
    margin-bottom: 37px;
    justify-content: space-between;
}
.footer-top .title{
    color: #E8DFCF;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 70px;
    line-height: 1;
    margin-bottom: 24px;
}
.footer-bottom :not(h5){
    font-size:14px;
}
.footer-bottom h5{
    text-transform: uppercase;
}
.sc_home-statics-box .title{
    font-size: 50px;
    display: flex;
    margin-right: 10px;
    font-weight:bold;
}
.sc_home-statics-box .col .col-inner p{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin:0px;
}

/* Tùy biến Slider Dự Án KingHome */
.sc_home-project-slider-wrapper {
    position: relative;
    width: 100%;
    padding: 10px 0;
}

/* Bo tròn góc và hiệu ứng chuyển động mượt mà cho item */
.sc_home-project-slider-wrapper .sc_home-project-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    margin-bottom: 30px; /* Trả lại margin bottom mặc định */
}

.sc_home-project-slider-wrapper .sc_home-project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.sc_home-project-slider-wrapper .sc_home-project-item img {
    border-radius: 8px;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.sc_home-project-slider-wrapper .sc_home-project-item:hover img {
    transform: scale(1.06);
}

/* Tùy biến Lớp phủ thông tin khi hover */
.sc_home-project-slider-wrapper .sc_home-project-item .content {
    background-color: rgba(255, 186, 0, 0.75); /* Màu vàng thương hiệu */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-radius: 8px;
    position: absolute;
    bottom:0;
    transform: rotateX(90deg);
    transform-origin: bottom;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.sc_home-project-slider-wrapper .sc_home-project-item:hover .content {
    transform: rotateX(0deg);
}

.sc_home-project-slider-wrapper .sc_home-project-item .content .title {
    position: relative;
    top: unset;
    text-align: center;
    padding: 0;
    width: 100%;
}

.sc_home-project-slider-wrapper .sc_home-project-item .content .title a {
    color: #111 !important;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sc_home-project-slider-wrapper .sc_home-project-item .content .title a:hover {
    color: #000 !important;
}

/* Tùy biến nút điều hướng Nav của Owl Carousel */
.sc_home-project-slider-wrapper .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease !important;
    z-index: 10;
}

.sc_home-project-slider-wrapper .owl-nav button:hover {
    background: #ffba00 !important;
    color: #fff !important;
    box-shadow: 0 6px 15px rgba(255, 186, 0, 0.3);
    transform: translateY(-50%) scale(1.05);
}

.sc_home-project-slider-wrapper .owl-nav button.owl-prev {
    left: -20px;
}

.sc_home-project-slider-wrapper .owl-nav button.owl-next {
    right: -20px;
}

.breadcrumb {
    margin-bottom: 15px;
}
.single_sidebar {
    position: sticky!important;
    top: 105px !important;;
    height: 100%;
}
.single_sidebar .widget-title{
    background-color: var(--cl-2);
    text-align: center;
    color: var(--cl-1);
    font-size: 18px;
    font-weight: bold;
    padding: 10px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    width:100%;
}
.single_sidebar .is-divider {
    display: none;
}
.wp-caption em {
    display: block;
    background-color: var(--cl-1);
    color: var(--cl-2);
    padding: 10px;
}


.single_sidebar .wpcf7 .wpcf7-form {
    font-family: 'Bai Jamjuree', sans-serif !important;
    background: #fff;
    border: 1.5px solid #ffba00;
    padding: 20px 18px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    max-width: 310px;
    margin: 0px auto;
}

.single_sidebar .wpcf7 input[type="text"], .single_sidebar .wpcf7 input[type="email"], .single_sidebar .wpcf7 input[type="tel"], .single_sidebar .wpcf7 select, .single_sidebar .wpcf7 textarea {
    width: 100% !important;
    height: 42px !important;
    padding: 10px 12px !important;
    border-radius: 8px !important;
    border: 1px solid #ddd !important;
    background-color: #f8f8f8 !important;
    margin-bottom: 12px !important;
    font-size: 14px !important;
    font-family: 'Bai Jamjuree', sans-serif !important;
    outline: none;
    display: block !important;
}
.flex-container {
    display: flex !important;
    gap: 15px;
    margin-bottom: 1px;
    flex-wrap: nowrap !important;
}
.flex-item {
    flex: 1;
    min-width: 0;
}
.breadcrumb a:after {
    display: inline-block;
    font: normal normal normal 14px / 1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\f105";
    color: var(--cl-1);
    font-size: 25px;
    vertical-align: sub;
    margin-left: 10px;
    margin-right: 5px;
}
.mgt-50{
    margin-top:50px;
}

.service-wrap .col .box .box-text{
    height:100%;
    width:100%;
    position: absolute;
    top:0;
    padding:0px;
    display: flex;
}
.service-wrap .col .box .box-text .box-text-inner{
    display: flex;
    flex-direction: column;
    position: relative;
    flex: 1 1 0;
    transition: border-color 0.28s ease, box-shadow 0.28s ease;
    border: 0.0625rem solid rgba(255, 255, 255, 0.15);
    color: #FFF;
    height:100%;
    overflow: hidden;
    cursor: pointer;
}
.service-wrap .col .box .icon-box{
    padding: 2.25rem 1rem;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}
.service-wrap .col .box .box-text-inner p{
    margin-top:auto;
    padding: 1rem;
    border-top: 0.0625rem solid #FFF;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) -23.81%, rgba(0, 0, 0, 0.6) 37.05%);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    align-items: center;
    position: relative;    
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 0.8125rem;
    font-style: normal;
    font-weight: 600;
    line-height: 0.9375rem;
    letter-spacing: -0.040625rem;
    z-index:1;
}
.service-wrap .col .box:after{
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    content: "";
    position: absolute;
    inset: 0;
    opacity: 1;
    transition: opacity 0.35s ease;
}
.service-wrap .col:hover .col-inner{
    border-color: #FFF;
    box-shadow: 0 0 0.75rem rgba(255, 186, 0, 0.65), 0 0 1.6rem rgba(255, 186, 0, 0.35);
}
.sc_tab_content .col:not(:last-child):after{
    position: absolute;
    content: "";
    width: 31px;
    height: 20px;
    right: -10px;
    top: 55px;
    background-image: url(../img/icon_right_2.png);
}


.sc_home-project-item img{
    height:420px;
    max-width:100%;
    object-fit: cover;
    -webkit-transition: all 0.3s ease-in-out 0s;
}

.hero-section-block .section-bg:before{
    content:'';
    width: 100%;
    height:100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: linear-gradient(180deg,
    rgba(10, 15, 12, 1) 0%,
    rgba(10, 15, 12, 1) 8.135%,
    rgba(10, 15, 12, 0) 51.893%,
    rgba(10, 15, 12, 1) 100%);
}
.hero-section-block .section-bg img{
    opacity: 0.28;
}
.hero-section-block .section-content{
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 720px;
    padding: 80px 40px;
    text-align: center;
}
.title-sec{
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight: 700;
    font-size: 60px;
    line-height: normal;
    text-transform: uppercase;
    color: #F5F5F4;
    margin: 0 0 20px 0;
}
.quote-cta-content{
    background: var(--primary-color);
}
.quote-cta-content .col-inner{
    position: relative;
    padding: 40px 50px;
    overflow: hidden;
}
.quote-cta-text-wrapper {
    width: 100%;
    max-width: 631px;
    margin: 0 auto;
}
.quote-cta-quote {
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight: 600;
    font-style: italic;
    font-size: 18px;
    line-height: 1.5;
    color: #fff;
    margin: 0 0 20px 0;
}
.quote-cta-author {
    text-align: right;
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight: 600;
    font-style: italic;
    font-size: 20px;
    line-height: 1.5;
    color: #fff;
    margin: 0 0 30px 0;
}
.text-des-hero{
    max-width:900px;
}
.title-sec-hero{
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight: 700;
    font-size: 60px;
    line-height: normal;
    text-transform: uppercase;
    color: #ffba00;
    margin: 0 0 20px 0;
}
.text-des-hero p{
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.44;
    color: #ffffff;
    max-width: 587px;
    margin:10px auto;
}

.footer-bottom input[type="text"],
.footer-bottom input[type="email"],
.footer-bottom input[type="tel"],
.footer-bottom select{
    width:100%;
    flex: 1 1 calc(50% - 1rem);
    line-height: 2.8125rem;
    padding: 0 1.5rem;
    border: 0;
    border-bottom: 1px solid #545454;
    background-color: #FFF;
    color: #717171;
    font-family: inherit;

    box-sizing: border-box;
}
.footer-bottom .wpcf7-form .wpcf7-form-control-wrap{
    display: flex;
}
/* Responsive adjustments */
@media (max-width: 1199px) {
    .sc_home-project-slider-wrapper .owl-nav button.owl-prev {
        left: -10px;
    }
    .sc_home-project-slider-wrapper .owl-nav button.owl-next {
        right: -10px;
    }
}

@media (max-width: 767px) {
    .sc_home-project-slider-wrapper .owl-nav button {
        display: none !important;
    }
}

/* Style cho Đối tác Slider (Partner Logo Slider) */
.sc_partner-logo-slider.hasdot .owl-dots {
    text-align: center;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.sc_partner-logo-slider.hasdot .owl-dot {
    background: #333333 !important; /* Màu xám đen cho các chấm không active */
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 6px;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
    cursor: pointer;
    opacity: 0.5;
}
.sc_partner-logo-slider.hasdot .owl-dot.active {
    background: var(--cl-1, #ff9900) !important; /* Màu vàng cam cho chấm active */
    width: 12px;
    height: 12px;
    opacity: 1;
}

/* Hiển thị ảnh logo đối tác căn giữa */
.sc_partner-logo-slider .ux-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}
.sc_partner-logo-slider .ux-logo-img,
.sc_partner-logo-slider img {
    margin: 0 auto;
}

/* --- 3D Carousel (sc_carousel-3d) --- */
.sc_carousel-3d {
  margin-bottom: 3.875rem;
  position: relative;
}

/* --- 3D Carousel Items --- */
.sc_carousel-3d .item {
    height: 390px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 70px;
    font-weight: bold;
    color: #fff;
    border-radius: 10px;
    transition: .45s ease-in-out;
    transform-origin: center center;
}

/* Default rotate */
.sc_carousel-3d .owl-item .item {
    padding: 0;
    margin: 0;
    transform: perspective(900px) rotateY(35deg) scale(.86);
    opacity: .35;
}

.sc_carousel-3d .owl-item .item img {
    height: 100%;
    object-fit: cover;
}

/* Center item */
.sc_carousel-3d .owl-item.center .item {
    transform: perspective(950px) rotateY(0deg) scale(1);
    opacity: 1;
    z-index: 5;
}

/* Right-side items */
.sc_carousel-3d .owl-item.center ~ .owl-item.active .item {
    transform: perspective(950px) rotateY(-25deg) scale(.92);
    opacity: .75;
}

.sc_carousel-3d .owl-item.center ~ .owl-item .item {
    transform: perspective(950px) rotateY(-25deg) scale(.92);
}

/* --- 3D Carousel Navigation --- */
.sc_carousel-3d .owl-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 42px;
}

.sc_carousel-3d .owl-nav .owl-prev,
.sc_carousel-3d .owl-nav .owl-next {
    width: 89px !important;
    height: 54px !important;
    background: #212121 !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.sc_carousel-3d .owl-nav .owl-prev {
    left: -100px !important;
}

.sc_carousel-3d .owl-nav .owl-next {
    right: -100px !important;
}

.sc_carousel-3d .owl-nav .owl-prev::before,
.sc_carousel-3d .owl-nav .owl-next::before {
    content: '' !important;
    width: 33px !important;
    height: 32px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='33' height='32' viewBox='0 0 33 32' fill='none'%3E%3Cpath d='M24.4235 13.5816L7.32491e-05 13.5816L7.30737e-05 17.5891L24.4235 17.5891L13.6605 28.3371L16.4977 31.1704L32.1045 15.5853L16.4977 0.000239645L13.6605 2.83353L24.4235 13.5816Z' fill='%23FFBA00'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    background-position: center !important;
    position: absolute !important;
    transition: all 0.3s ease !important;
}

.sc_carousel-3d .owl-nav .owl-prev {
  transform: rotate(-180deg) !important;
}

.sc_carousel-3d .owl-nav .owl-prev i,
.sc_carousel-3d .owl-nav .owl-next i {
    display: none !important;
}
