/**
 * @Project NUKEVIET 4.x
 * @Author VINADES.,JSC (contact@vinades.vn)
 * @Copyright (C) 2014 VINADES.,JSC. All rights reserved
 * @License GNU/GPL version 2 or any later version
 * @Createdate Tue, 08 Apr 2014 15:13:43 GMT
 */

@media screen and (max-width: 550px) {
    .fix-head{
        overflow-y: auto;
        height: 600px;
    }
}

.tablereview {
    width: 100%;
    border-collapse: collapse;
}
.tablereview thead th { position: sticky; top: 0; background: #fff }
.tablereview, .tablereview th, .tablereview td {
    border: 1px solid #ccc;
    padding: 5px;
}
.input-group-addon {
    padding: 8px 12px;
    font-size: 13px;
    font-weight: normal;
    line-height: 1;
    color: #555555;
    text-align: center;
    background-color: #eeeeee;
    border: 1px solid #cccccc;
    border-radius: 4px 0 0 4px;
    border-right: none;
}
.fa-lg.fa-horizon {
    width: 22px;
    color: #3873cc;
}
.input-group-addon:not(:first-child):not(:last-child), .input-group-btn:not(:first-child):not(:last-child), .input-group .form-control:not(:first-child):not(:last-child) {
    border-radius: 0;
}

input[type=text].required, input[type=password].required, input[type=email].required, input[type=number].required, input[type=search].required, input[type=tel].required, input[type=time].required, input[type=url].required, input[type=url].required, textarea.required, select.required, label.required {
    background-image: url(../images/icons/required.png);
    background-position: right center;
    background-repeat: no-repeat;
}

.heading-project{
    padding: 10px 0;
    text-align: center;
    background-color: #ddd;
}

section{
    width: 100%;
}
.wizard {
    margin: 20px auto;
    background: #fff;
}

.wizard .nav-tabs {
    position: relative;
    margin: 40px auto;
    margin-bottom: 0;
    border-bottom-color: #e0e0e0;
}

.wizard > div.wizard-inner {
    position: relative;
}

.connecting-line {
    height: 2px;
    background: #e0e0e0;
    position: absolute;
    width: 80%;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: 50%;
    z-index: 1;
}

.wizard .nav-tabs > li.active > a, .wizard .nav-tabs > li.active > a:hover, .wizard .nav-tabs > li.active > a:focus {
    color: #555555;
    cursor: default;
    border: 0;
    border-bottom-color: transparent;
}

span.round-tab {
    width: 70px;
    height: 70px;
    line-height: 70px;
    display: inline-block;
    border-radius: 100px;
    background: #fff;
    border: 2px solid #e0e0e0;
    z-index: 2;
    position: absolute;
    left: 0;
    text-align: center;
    font-size: 25px;
}
span.round-tab i{
    color:#555555;
}
.wizard li.active span.round-tab {
    background: #fff;
    border: 2px solid #5bc0de;

}
.wizard li.active span.round-tab i{
    color: #5bc0de;
}

span.round-tab:hover {
    color: #333;
    border: 2px solid #333;
}

.wizard .nav-tabs > li {
    width: 33%;
}

.wizard li:after {
    content: " ";
    position: absolute;
    left: 46%;
    opacity: 0;
    margin: 0 auto;
    bottom: 0px;
    border: 5px solid transparent;
    border-bottom-color: #5bc0de;
    transition: 0.1s ease-in-out;
}

.wizard li.active:after {
    content: " ";
    position: absolute;
    left: 46%;
    opacity: 1;
    margin: 0 auto;
    bottom: 0px;
    border: 10px solid transparent;
    border-bottom-color: #5bc0de;
}

.wizard .nav-tabs > li a {
    width: 70px;
    height: 70px;
    margin: 20px auto;
    border-radius: 100%;
    padding: 0;
}

.wizard .nav-tabs > li a:hover {
    background: transparent;
}

.wizard .tab-pane {
    position: relative;
    padding-top: 10px;
}

.wizard h3 {
    margin-top: 0;
}
.step1 .row {
    margin-bottom:10px;
}
.step_21 {
    border :1px solid #eee;
    border-radius:5px;
    padding:10px;
}
.step33 {
    border:1px solid #ccc;
    border-radius:5px;
    padding-left:10px;
    margin-bottom:10px;
}
.dropselectsec {
    width: 68%;
    padding: 6px 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    color: #333;
    margin-left: 10px;
    outline: none;
    font-weight: normal;
}
.dropselectsec1 {
    width: 74%;
    padding: 6px 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    color: #333;
    margin-left: 10px;
    outline: none;
    font-weight: normal;
}
.mar_ned {
    margin-bottom:10px;
}
.wdth {
    width:25%;
}
.birthdrop {
    padding: 6px 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    color: #333;
    margin-left: 10px;
    width: 16%;
    outline: 0;
    font-weight: normal;
}


/* according menu */
#accordion-container {
    font-size:13px
}
.accordion-header {
    font-size:13px;
    background:#ebebeb;
    margin:5px 0 0;
    padding:7px 20px;
    cursor:pointer;
    color:#fff;
    font-weight:400;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border-radius:5px
}
.unselect_img{
    width:18px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.active-header {
    -moz-border-radius:5px 5px 0 0;
    -webkit-border-radius:5px 5px 0 0;
    border-radius:5px 5px 0 0;
    background:#F53B27;
}
.active-header:after {
    content:"\f068";
    font-family:'FontAwesome';
    float:right;
    margin:5px;
    font-weight:400
}
.inactive-header {
    background:#333;
}
.inactive-header:after {
    content:"\f067";
    font-family:'FontAwesome';
    float:right;
    margin:4px 5px;
    font-weight:400
}
.accordion-content {
    display:none;
    padding:20px;
    background:#fff;
    border:1px solid #ccc;
    border-top:0;
    -moz-border-radius:0 0 5px 5px;
    -webkit-border-radius:0 0 5px 5px;
    border-radius:0 0 5px 5px
}
.accordion-content a{
    text-decoration:none;
    color:#333;
}
.accordion-content td{
    border-bottom:1px solid #dcdcdc;
}



@media( max-width : 585px ) {

    .wizard {
        width: 90%;
        height: auto !important;
    }

    span.round-tab {
        font-size: 16px;
        width: 50px;
        height: 50px;
        line-height: 50px;
    }

    .wizard .nav-tabs > li a {
        width: 50px;
        height: 50px;
        line-height: 50px;
    }

    .wizard li.active:after {
        content: " ";
        position: absolute;
        left: 35%;
    }
}
.tab-info-project li{
    width: 50% !important;
}
.show_button_project input[type=radio]{
    width: 30px;
    height: 30px;
}
.show_button_project label{
    background: #ccc;
    padding: 5px 9px;
    width: 100%;
    height: 44px;
    line-height: 23px;
}
.grid-edit input[type="text"], input.mark, input.mark:focus {
    background: transparent none repeat scroll 0 0;
    border: medium none;
    border-radius: 0;
    box-shadow: none;
    height: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
    width: 100%;
}
input:-internal-autofill-selected {
    background-color: #fff;
}
.break-item{
    padding-top: 12px;
    border-bottom: 10px solid #efefef;
}
.textnote{
    font-size: 12px;
    color: #ca8989;
}

/* as fb */
.uiInlineTokenizer .uiToken {
    top: 2px;
}

.uiInlineTokenizer {
    border: 1px solid #BDC7D8;
    cursor: text;
}
.uiCloseButtonSmall {
    background-image: url("../images/svs/delfb.png");
    height: 11px;
    margin-top: 1px;
    width: 11px;
}
.uiCloseButton {
    cursor: pointer;
    display: inline-block;
    margin: 0;
    padding: 0;
}
.uiTypeahead{
    border-top: 1px solid #ccc;
}
.uiTypeahead .innerWrap {
    overflow: hidden;
}
.uiTypeahead .textInput {
    background:none !important;
    border: none!important;
    border: 0 none;
    outline: 0 none;
    -webkit-box-shadow: 0 0 0 #fff;
    -moz-box-shadow: 0 0 0 #fff;
    box-shadow: 0 0 0 #fff;
}
.uiTypeahead .selected {
    background-color: #E2E8F6;
}
.uiTypeaheadDisabled, .uiTypeaheadDisabled div.wrap {
    border-color: #CCCCCC;
}
.uiTypeaheadDisabled div.wrap {
    background: none repeat scroll 0 0 #E2E2E2;
}
.uiToken {
    background: #E6E6E6;
    border: 1px solid #ccc;
    border-radius: 2px 2px 2px 2px;
    color: #1C2A47;
    cursor: default;
    display: block;
    float: left;
    height: 25px;
    line-height: 24px;
    margin: 0 4px 4px 0;
    padding: 0 3px;
    position: relative;
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
}
.uiToken .remove {
    margin: 2px 0 -2px 1px;
    outline: medium none;
}
.uiTokenSelected {
    background-color: #6D84B4;
    border-color: #3B5998;
    color: #FFFFFF;
}
.uiTokenGray {
    background: none repeat scroll 0 0 #DDDDDD;
    border-color: gray;
}
.uiTokenizer {
    background: none repeat scroll 0 0 #FFFFFF;
}

.tokenarea {
    overflow: hidden;
    padding-left: 3px;
}
.uiContextualTypeaheadView {
    position: static;
}
.uiTypeaheadView ul {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background: none repeat scroll 0 0 #FFFFFF;
    border-color: #333333 #333333 #293E6A;
    border-image: none;
    border-style: solid;
    border-width: 1px 1px 2px;
    overflow: hidden;
    padding: 2px 0;
}
.uiTypeaheadView .freeform {
    border-top-color: #DDDDDD;
    padding: 2px 6px 1px;
    text-align: center;
}
.w80{
    width: 80px;
}
#ssi-uploadBtn{
    background-color: #ff0;
    font-weight: bold;
}
.btn-order{
    border: 1px solid #f37523;
    border-radius: 6px;
    color: #fff;
    background-color: #f37523;
}
.btn-order:hover{
    color: #fff;
    background-color: #495af3;
}

.msgshow {
    background: #f58512;
    padding: 10px;
    border: 4px solid #C7C7C7;
    position: fixed;
    bottom: 0;
    color: #fff;
    margin: 0 auto;
    display: none;
    z-index: 10020 !important;
}

.mini-cart__item--single {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    -webkit-align-items: flex-start;
    -moz-align-items: flex-start;
    align-items: flex-start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    justify-content: space-between;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 1rem;
}
.mini-cart__item--content {
    text-align: left;
}
.mini-cart__item--remove {
    color: #666666;
    font-size: 1rem;
}
.cart_info .info{
    font-size: 12px;
    margin-bottom: 10px;
}

table.dataTable>thead .sorting:before, table.dataTable>thead .sorting:after, table.dataTable>thead .sorting_asc:before, table.dataTable>thead .sorting_asc:after, table.dataTable>thead .sorting_desc:before, table.dataTable>thead .sorting_desc:after, table.dataTable>thead .sorting_asc_disabled:before, table.dataTable>thead .sorting_asc_disabled:after, table.dataTable>thead .sorting_desc_disabled:before, table.dataTable>thead .sorting_desc_disabled:after {
    position: absolute;
    bottom: 6px !important;
    display: block;
    opacity: 1 !important;
}

.cource-item .img-pro{
    height: 187px;
    overflow: hidden;
    text-align: center;
}
.cource-item .img-pro imn{
    height: 187px;
    width: auto;
}
.info-text {
    border-bottom: 1px dotted #ccc;
    padding: 9px;
}
.gallery_item{
    height: 130px;
    overflow: hidden;
}




/*news */
.menu-project .container{
    position: relative;
}
.bg-section2{
    background: #ccc;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}
.bg-section3{
    background-size: cover;
    background-origin: content-box;
    background-position: 50% 0%;
    background-repeat: no-repeat;
    background-attachment: scroll;
}
.section-title{
    font-size: 35px;
    color: #ffc20f;
    font-weight: 600;
    padding: 20px 0;
}

.section-title em{
    font-family: 'bayshore', sans-serif;
    text-shadow: 1px 1px #f3f3f3;
    font-size: 200%;
    line-height: 1em;
    text-transform: none;
    font-weight: 700;
    font-style: normal;
}
.border-radius-style1{
    border-radius: 80px 10px 80px 10px;
    padding: 5px;
}
.img-style-1{
    border: 4px solid #FFC107;
    box-shadow: 0 4px 15px rgb(0 0 0 / 5%);
    border-radius: 65px 15px 65px 15px;
}
.img-style-2{
    border: 4px solid #FFC107;
    box-shadow: 0 4px 15px rgb(0 0 0 / 5%);
    border-radius: 65px 100px 36px 65px;
}
.content-right{
    font-weight: 600;
    background: transparent;
    border: none;
    justify-self: end;
    grid-column: 2;
    height: 489px;
}

.content-right h2{
    font-size: 30px;
}
.content-right h2 span{
    font-size: 50px;
}
.content-right h2 i{
    font-weight: bold;
    line-height: 1.3;
    color: #FFC107FF
}
.content-right p{

    line-height: 22px;
    display: inline-block;
    word-break: break-word;
    background-size: cover;
    background-position: center center;
    animation-name: fadeInDown;
    animation-delay: 0.25s;
    animation-duration: 3s;
    animation-iteration-count: 1;
}




/*phna du an*/
.floorplan-section { background: #f9f9f9; padding: 100px 0; }

/* Custom Nav Pills */
.floor-tabs-wrapper .nav-pills .nav-link {
    background: transparent;
    color: #333;
    font-weight: 700;
    border: 1px solid #ddd;
    border-radius: 30px;
    padding: 12px 30px;
    margin: 10px;
    transition: all 0.3s ease;
}

.floor-tabs-wrapper .nav-pills .nav-link.active {
    background-color: #ed1c24;
    color: #fff;
    border-color: #ed1c24;
    box-shadow: 0 10px 20px rgba(237, 28, 36, 0.2);
}

/* Plan Info */
.plan-info { padding: 40px; background: #f9f9f9; border-radius: 20px; }
.plan-info h3 { font-size: 2rem; font-weight: 800; margin-bottom: 15px; color: #1a1a1a; }
.plan-info .area { font-size: 1.2rem; color: #ed1c24; margin-bottom: 25px; }

.plan-details { list-style: none; padding: 0; margin-bottom: 30px; }
.plan-details li { margin-bottom: 12px; font-size: 1rem; color: #555; display: flex; align-items: center; }
.plan-details li i { color: #ed1c24; margin-right: 15px; font-size: 0.8rem; }

/* Nút bấm Bcons */
.btn-bcons {
    background: #ed1c24;
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}
.btn-bcons:hover { background: #333; color: #fff; transform: translateY(-3px); }

/* Hiệu ứng ảnh mặt bằng */
.plan-img {
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1));
    transition: transform 0.5s ease;
}
.plan-img:hover { transform: scale(1.05); }


.video-popup {
    padding: 12px 25px;
    font-weight: 700;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}
.video-popup i {
    font-size: 1.5rem;
    color: #ed1c24;
}

.price-section { background: #fdfdfd; }

.price-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.4s ease;
    position: relative;
}
.loan-link-text {
    font-size: 13px;
    color: #666;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.loan-link-text:hover {
    color: #ed1c24;
    text-decoration: underline;
}

.loan-table-wrapper {

    width: 100% !important;
    overflow-x: auto !important; /* Bắt buộc cuộn ngang */
    -webkit-overflow-scrolling: touch; /* Vuốt mượt trên iPhone */
    border: 1px solid #dee2e6;
    border-radius: 12px;
    background: #fff;
    padding-bottom: 5px;
}

.loan-table-wrapper::-webkit-scrollbar { height: 4px; width: 4px;}
.loan-table-wrapper::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }
.loan-table-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
    border-radius: 10px !important;
}
.loan-table-wrapper table {
    width: 100% !important;
    table-layout: fixed !important; /* Ép trình duyệt giữ đúng tỉ lệ cột */
}
.loan-table-wrapper th,
.loan-table-wrapper td {
    white-space: nowrap !important; /* Giữ chữ trên một dòng */
    padding: 10px 8px !important;
}
.loan-table-wrapper table thead {
    position: sticky;
    top: 0;
    background: #f8f9fa;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.loan-table-wrapper table th {
    font-size: 11px;
    font-weight: 700;
    color: #666;
    padding: 12px 10px;
    border-bottom: 2px solid #dee2e6;
}

.loan-table-wrapper table td {
    font-size: 13px;
    font-weight: 600;
    color: #444;
    padding: 12px 10px;
    border-bottom: 1px solid #f0f0f0;
}
.calc-result-panel {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}
@media (max-width: 768px) {
    .calc-result-panel {
        margin-top: 20px;
        padding-bottom: 30px;
    }
    .loan-table-wrapper table th {
        font-size: 12px !important;
        padding: 10px 8px !important;
    }
    .loan-table-wrapper table td {
        font-size: 12px !important;
        padding: 10px 8px !important;
    }
}

.tf-btn.primary {
    border-radius: 12px !important;
}

@media (min-width: 992px) {
    .border-end-desktop {
        border-right: 1px solid #eee;
    }
}

.price-card.featured {
    border: 2px solid #ed1c24;
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(237, 28, 36, 0.1);
}

.best-choice {
    position: absolute;
    top: -15px; left: 50%;
    transform: translateX(-50%);
    background: #ed1c24;
    color: #fff;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.price-header h3 { font-size: 1.5rem; font-weight: 700; color: #333; }
.price-tag { color: #666; font-size: 1.1rem; margin-top: 15px; }
.price-tag span {
    display: block; font-size: 2.5rem; font-weight: 850; color: #ed1c24;padding-top: 20px;
}

.price-features { list-style: none; padding: 0; margin: 30px 0; text-align: left; }
.price-features li { margin-bottom: 12px; font-size: 0.95rem; color: #555; }
.price-features li i { color: #28a745; margin-right: 10px; } /* Màu xanh lá cho sự tin cậy */

.btn-price {
    display: inline-block; width: 100%; padding: 12px;
    border: 1px solid #ed1c24; color: #ed1c24;
    border-radius: 30px; font-weight: 700; transition: 0.3s;
}
.btn-price:hover { background: #ed1c24; color: #fff; }

.btn-price-red {
    display: inline-block; width: 100%; padding: 12px;
    background: #ed1c24; color: #fff;
    border-radius: 30px; font-weight: 700; transition: 0.3s;
}
.btn-price-red:hover { background: #333; transform: scale(1.05); }


.timeline {
    position: relative;
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 15px;
}

/* Đường kẻ dọc mảnh và sang hơn */
.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background: #e0e0e0;
    top: 0; bottom: 0;
    left: 50%;
    margin-left: -1px;
}

/* Từng item trong timeline */
.timeline-item {
    margin-bottom: 60px;
    position: relative;
    width: 50%;
}

/* Các chấm tròn nút giao */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 14px; height: 14px;
    right: -7px; top: 0;
    background: #fff;
    border: 3px solid #ed1c24;
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s ease;
}

/* Điều chỉnh vị trí trái/phải */
.timeline-item:nth-child(odd) { left: 0; padding-right: 50px; }
.timeline-item:nth-child(even) { left: 50%; padding-left: 50px; }
.timeline-item:nth-child(even)::after { left: -7px; }

/* Ngày tháng mốc tiến độ */
.timeline-date {
    font-weight: 800;
    color: #ed1c24;
    font-size: 1.1rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

/* Nội dung bên trong item */
.timeline-content {
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(237, 28, 36, 0.1);
    border-color: rgba(237, 28, 36, 0.2);
}

.timeline-item:hover::after {
    background: #ed1c24;
    transform: scale(1.3);
}

/* Tiêu đề & Badge */
.timeline-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #222;
    margin-top: 10px;
    line-height: 28px;
}
.timeline-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;

    /* Cấu hình cuộn dọc */
    max-height: 120px; /* Giới hạn chiều cao, bạn có thể chỉnh lại cho phù hợp */
    overflow-y: auto;  /* Hiện thanh cuộn khi nội dung vượt quá max-height */
    padding-right: 8px; /* Tạo khoảng trống để chữ không dính sát thanh cuộn */

    /* Giúp cuộn mượt trên mobile */
    -webkit-overflow-scrolling: touch;
}

/* Tùy chỉnh thanh cuộn mảnh & hiện đại */
.timeline-content p::-webkit-scrollbar {
    width: 4px; /* Độ rộng thanh cuộn dọc */
}

.timeline-content p::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.timeline-content p::-webkit-scrollbar-thumb {
    background: #ed1c24; /* Màu đỏ Bcons làm điểm nhấn */
    border-radius: 10px;
}

.timeline-content p::-webkit-scrollbar-thumb:hover {
    background: #d11a21;
}

.status-badge {
    display: inline-block;
    background: #ed1c24;
    color: #fff;
    padding: 4px 12px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 10px;
}

/* Ảnh tiến độ - Frame sạch sẽ */
.progress-section {
    position: relative;
    padding: 100px 0;
    /* Thiết lập ảnh nền */
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(255,255,255,1)),
    url('/themes/bcons/images/du-an/bcon-new-sky.jpg');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed; /* Hiệu ứng Parallax sang trọng */
    background-repeat: no-repeat;
}

.timeline-content img {
    border-radius: 12px;
    width: 100%;
    height: 180px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.btn-bcons-outline {
    display: inline-block;
    padding: 12px 35px;
    background-color: transparent;
    color: #ed1c24; /* Màu đỏ Bcons */
    border: 2px solid #ed1c24;
    border-radius: 50px; /* Bo tròn hoàn toàn cho hiện đại */
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 20px;
}

.btn-bcons-outline:hover {
    background-color: #ed1c24; /* Đổ nền đỏ khi hover */
    color: #fff !important; /* Chữ chuyển trắng */
    box-shadow: 0 10px 20px rgba(237, 28, 36, 0.2);
    transform: translateY(-3px); /* Nhấc nhẹ lên */
}

/* Đảm bảo căn giữa nút nếu đặt trong div text-center */
.text-center .btn-bcons-outline {
    margin-left: auto;
    margin-right: auto;
}
/* Responsive cho Mobile */
@media (max-width: 768px) {
    .timeline::before { left: 20px; }
    .timeline-item { width: 100%; padding-left: 50px !important; padding-right: 0 !important; left: 0 !important; }
    .timeline-item::after { left: 13px !important; }
    .text-md-end { text-align: left !important; }
    .order-md-2 { order: 1; }
    .order-md-1 { order: 2; }
}

.location-glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 30px;
    color: #fff;
    height: 100%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.card-header-v2 {
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(237, 28, 36, 0.5); /* Đường gạch đỏ Bcons nhạt */
    padding-bottom: 15px;
}

.card-header-v2 h4 {
    color: #ffc107; /* Màu vàng Gold sang trọng */
    font-weight: 800;
    margin: 0;
    letter-spacing: 1px;
}

.card-header-v2 p {
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 5px;
    opacity: 0.8;
}

/* 2. Danh sách cuộn mượt mà */
.location-scroll-list {
    max-height: 480px;
    overflow-y: auto;
    padding-right: 10px;
}

.location-scroll-list::-webkit-scrollbar { width: 4px; }
.location-scroll-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 10px; }

.amenity-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    margin-bottom: 12px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.amenity-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
    border-color: rgba(255, 255, 255, 0.3);
}

.amenity-item.active {
    background: #ed1c24 !important;
    border-color: #ed1c24;
    box-shadow: 0 8px 20px rgba(237, 28, 36, 0.4);
}

.amenity-item h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #fff;
}

.amenity-item p {
    font-size: 0.85rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.amenity-item.active p { color: rgba(255, 255, 255, 0.9); }

.time-tag {
    color: #ffc107;
    font-weight: 700;
    margin-left: 5px;
}

.amenity-item.active .time-tag { color: #fff; }


.bcons-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 15px;
    padding: 20px;
}
.bcons-gridvideo-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 200px;
    gap: 15px;
    padding: 20px;
}

.bcons-gird1 {
    grid-column: span 2;
    grid-row: span 2;
}

.bcons-gird2{
    grid-row: span 2;
}
.bcons-gird3 {
    grid-column: span 1;
}
.bcons-gird4 {
    grid-column: span 1;
}
.bcons-gird5 {
    grid-column: span 2;
    grid-row: span 2;
}
.bcons-gird6 {
    grid-row: span 2;
    grid-column: span 2;
}
.bcons-vid-gird1 {
    grid-column: span 4;
    grid-row: span 2;
}
.bcons-vid-gird2 {
    grid-column: span 2;
    grid-row: span 1;
}
.bcons-vid-gird3 {
    grid-column: span 2;
    grid-row: span 1;
}
.bcons-vid-gird4 {
    grid-column: span 2;
    grid-row: span 1;
}
@media (max-width: 992px) {
    .bcons-grid-container {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 250px;
    }
    .bcons-gird1, .bcons-gird2, .bcons-gird3, .bcons-gird4, .bcons-gird5, .bcons-gird6, .bcons-vid-gird1, .bcons-vid-gird2, .bcons-vid-gird3, .bcons-vid-gird4 {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
}

.ti-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.ti-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s ease;
}

/* Lớp phủ & Content */
.ti-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 30%, rgba(0,0,0,0.85) 100%);
}

.ti-content {
    position: absolute; bottom: 0; left: 0; padding: 25px;
    width: 100%; z-index: 2; transition: transform 0.4s ease;
}

.ti-category {
    color: #ed1c24; font-size: 0.7rem; font-weight: 700;
    letter-spacing: 2px; display: block; margin-bottom: 5px;
}

.ti-label {
    color: #fff; font-size: 1.4rem; font-weight: 700; margin: 0;
}

.ti-line {
    width: 35px; height: 3px; background: #ed1c24;
    margin: 12px 0; transition: width 0.4s ease;
}

.ti-desc {
    color: rgba(255,255,255,0.9); font-size: 0.9rem; line-height: 1.4;
    margin: 0; max-height: 0; opacity: 0; overflow: hidden;
    transition: 0.4s ease;
}

/* Hiệu ứng Hover */
.ti-item:hover img { transform: scale(1.1); }
.ti-item:hover .ti-line { width: 70px; }
.ti-item:hover .ti-desc { max-height: 80px; opacity: 1; margin-top: 10px; }
.ti-item:hover .ti-content { transform: translateY(-10px); }

/* Responsive cho Mobile */
@media (max-width: 992px) {
    .bcons-grid-container { grid-template-columns: repeat(2, 1fr); }
    .pool { grid-column: span 2; }
}

@media (max-width: 600px) {
    .bcons-grid-container { grid-template-columns: 1fr; grid-auto-rows: 300px; }
    .pool, .gym, .kid { grid-column: span 1; grid-row: span 1; }
}
.amenities-section {
    padding: 100px 0;
    background: #fdfdfd; /* Màu nền hơi xám nhẹ để nổi bật khối trắng */
}

/* Nhãn nhỏ phía trên */
.top-label {
    color: #e3f74b;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}
.amenities-section {
    position: relative;
    overflow: hidden;
    background: #fff;
}

.amenities-section::before {

    position: absolute;
    top: 90px;
    left: -50px;
    font-size: 13vw; /* Chữ siêu lớn */
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03); /* Cực kỳ mờ */
    z-index: 0;
    white-space: nowrap;
}
/* Tiêu đề chính */
.amenities-section .main-title {
    font-size: 2.8rem;
    font-weight: 850;
    line-height: 1.2;
    color: #1a1a1a;
}

.text-red {
    color: #ed1c24; /* Màu đỏ Bcons */
}

/* Đường gạch giữa căn tâm */
.center-line {
    width: 80px;
    height: 4px;
    background: #ed1c24;
    margin: 30px auto;
    border-radius: 2px;
}

/* Đoạn dẫn chi tiết */
.sub-intro {
    font-size: 1.15rem;
    color: #666;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Hiệu ứng mượt mà khi cuộn trang */
[data-aos] {
    transition-duration: 1000ms !important;
}

@media (max-width: 768px) {
    .wrap-search-link {
        position: relative !important;
        bottom: 0 !important;
        width: 100% !important;
        padding: 5px !important;
        background: #ffffff !important;
        border-radius: 10px;
        overflow: hidden;
    }

    .categories-list {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 15px;
        padding: 10px 15px 15px 15px !important;
        -webkit-overflow-scrolling: touch;
    }

    .categories-list::-webkit-scrollbar {
        display: none;
    }

    .categories-list a {
        flex: 0 0 auto !important;
        width: 75px !important;
        height: 75px !important;
        background: #ed1c24 !important;
        border-radius: 50% !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #fff !important;
        text-decoration: none;
        box-shadow: 0 4px 10px rgba(237, 28, 36, 0.2);
    }
    .categories-list a .icon {
        font-size: 1.1rem;
        margin-bottom: 2px;
        color: #fff !important;
    }

    .categories-list a span,
    .categories-list a {
        font-size: 10px;
        font-weight: 600;
        text-align: center;
        line-height: 1.1;
        white-space: normal;
    }
}


 .video-item {
     position: relative;
     overflow: hidden;
     border-radius: 20px;
     cursor: pointer;
 }

.video-item img {
    width: 100%;
    transition: transform 0.5s ease;
    border-radius: 20px;
}

.play-btn-wrapper {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.play-btn {
    width: 60px; height: 60px;
    background: rgba(237, 28, 36, 0.9);
    border-radius: 50%;
    position: relative;
}

.play-btn::after {
    content: '';
    position: absolute;
    top: 50%; left: 55%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent #fff;
}

.play-btn::before {
    content: '';
    position: absolute;
    width: 100%; height: 100%;
    border: 2px solid #fff;
    border-radius: 50%;
    animation: pulse-border 1.5s linear infinite;
}

@keyframes pulse-border {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.video-caption {
    bottom: 20px; left: 30px;
    color: #fff; z-index: 2;
}

.video-item:hover img {
    transform: scale(1.05);
}

.video-item:hover .play-btn {
    background: #ffcd00;
}

.sound-control {
    position: absolute;
    bottom: 70px;
    right: 30px;
    z-index: 999;
    width: 50px;
    height: 50px;
    background: rgba(237, 28, 36, 0.8); /* Đỏ Bcons mờ */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    box-shadow: 0 0 15px rgba(237, 28, 36, 0.5);
    transition: 0.3s;
}

/* Hiệu ứng rung rinh khi tắt tiếng để gây chú ý */
.sound-control.muted {
    animation: shake 0.5s infinite;
}

@keyframes shake {
    0% { transform: rotate(0); }
    25% { transform: rotate(10deg); }
    50% { transform: rotate(0); }
    75% { transform: rotate(-10deg); }
    100% { transform: rotate(0); }
}

.sound-waves {
    display: none;
    align-items: flex-end;
    gap: 2px;
    height: 15px;
    margin-right: 5px;
}

.sound-waves span {
    width: 3px;
    background: #fff;
    animation: wave 1s infinite alternate;
}

.sound-waves span:nth-child(2) { animation-delay: 0.2s; }
.sound-waves span:nth-child(3) { animation-delay: 0.4s; }
.sound-waves span:nth-child(4) { animation-delay: 0.6s; }

@keyframes wave {
    0% { height: 3px; }
    100% { height: 15px; }
}

.sound-control.playing .sound-waves { display: flex; }
.sound-control.playing i { font-size: 14px; }