@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

:root {
    --primary-color: #12558a;
    --primary-hover: #0c3e66;
    --lime-color: #8cc63f;
    --lime-hover: #77ab32;
    --dark-bg:#333333;
    --light-blue-bg: #eef5f9;
    --bg_white:#fff;
    --active-green:#81b341;
}
body
{
    font-family: 'Roboto',sans-serif;
    font-size: 14px;
    overflow-x:hidden;
    line-height: 1.5;
    color: #333333;
}
ul
{

}

a
{   
    color: var(--primary-color);
    outline: none;
    text-decoration: none;
}
a:hover, a:focus
{
    text-decoration: none;
    outline: none;
}

img {
    max-width: 100%;
}

.fs-12 { font-size: 12px; }
.fs-13 { font-size: 13px; }
.fs-14 { font-size: 14px; }
.fs-15 { font-size: 15px; }
.fs-16 { font-size: 16px; }
.fs-17 { font-size: 17px; }
.fs-18 { font-size: 18px; }

.text-primary-custom { color: var(--primary-color) !important; }
.bg-primary-custom { background-color: var(--primary-color) !important; }
.bg-dark-custom { background-color: var(--dark-bg) !important; }
.bg-light-blue { background-color: var(--light-blue-bg) !important; }
.bg-lime { background-color: var(--lime-color) !important; }
.bg-dark-50 { background-color:#00000040 }
.text-light-50 { color: #aaaaaa; }

/* Buttons */
.btn-primary-custom {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
}
.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    color: #ffffff;
}

.btn-warning-custom {
    background-color: #e67e22;
    border: none;
    border-radius: 0;
}
.btn-warning-custom:hover {
    background-color: #d35400;
}

.btn-lime {
    background-color: var(--lime-color);
    border: none;
}
.btn-lime:hover {
    background-color: var(--lime-hover);
}

/* Search Tabs */
.btn-lime-tab {
    background-color: var(--bg_white);
    color: var(--lime-color);
    font-size: 14px;
    font-weight: bold;
    border-radius: 0;
    padding: 10px 20px;
    border: 1px solid var(--active-green);
   
}
.btn-white-tab {
    background-color: #ffffff;
    color: #333333;
    font-size: 14px;
    font-weight: bold;
    border-radius: 0;
}
.btn-lime-tab.active, .btn-white-tab.active {
    background-color: var(--active-green);
    color: #ffffff;
    outline: none;
}

.btn-lime-tab.active span
{
     position: relative;
}
.btn-lime-tab.active span:before
{
    content: ' ';
    position: absolute;
    left: 50%;
    top: 175%;
    margin-left: -.625rem;
    border-top: .625rem solid var(--active-green);
    border-left: .625rem solid transparent;
    border-right: .625rem solid transparent;
}

/* Header & Nav */
.navbar-dark .navbar-nav .nav-link {
    color: #ffffff;
    padding-top: 12px;
    padding-bottom: 12px;
    letter-spacing: .3px;
}

.btn-lime-tab.active:focus, .btn-white-tab.active:focus,.form-control:focus {
  outline: none;
  box-shadow: none;
}


.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    background-color: var(--active-green);
}

/* Section Title */
.section-title {
    position: relative;
}

/* Property Item Cards */
.property-card {
    transition: all 0.2s ease-in-out;
    background-color: #ffffff;
}
.property-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.property-thumb {
    height: 200px;
    object-fit: cover;
}

/* Form Styles */
.search-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:rgb(0 0 0 / 0%);
}
.bg-dark-transparent {
    background-color: rgba(0, 0, 0, 0.55);
}

/* Ghi đè max-width của container trong Bootstrap 5 */
@media (min-width: 1200px) {
    .container, 
    .container-sm, 
    .container-md, 
    .container-lg, 
    .container-xl, 
    .container-xxl {
        max-width: 1180px !important;
    }
}


/*css new*/
.top-logo img {
    height: 50px;
}
.form-control
{
    padding: 0 .75em;
    height: 100%;
    border-radius: 0;
}
.btn-primary-custom,.form-select
{
    height: 100%;
    border-radius: 0;
}

.form-select-sm {
    border-color: #ced4da;
    color: #495057;
    outline: none;
    box-shadow: none;
}

.tieude_h2_span span
{
    border: 0;
    color: #fff;
    background-color: #165598;
    font-weight: 500;
    line-height: 1.6;
    padding: 5px 10px;
    margin-bottom: 0;
    font-size: 23px;
}
.tieude_h2_span {
    border-bottom: 1px solid var(--primary-color);
}

.nut_xemthems {
    display: flex;
    justify-content: center;
}

.nut_xemthems a {
    color: #fff!important;
    background-color: #81b341;
    display: block;
    height: 35px;
    line-height: 30px;
}
.lienhe_tieudenx
{
    font-size: 1.45rem!important;

}
form#formConsult {
    padding: 0em 3em 2em 3em;
}
form#formConsult input {
    padding: 10px;
}

.custom_tieude {
    background-color: #165598;
    line-height: 1.6;
    padding: 5px 10px;
    color: #fff !important;
}
.card
{
    border:none;
}
.total_khung_card
{
    position: relative;
    background: #f2f2f2;
}
.khung_giatt span
{
    position: absolute;
    top: 0;
    right: 0;
    background: rgb(138, 183, 79);
    font-size: 14px;
    line-height: 1;
    padding: 6px 12px;
    color: #fff;
    font-weight: 500;
        border-radius: 0;
}
.noidung_phai_card {
    padding-top: 1em;
    padding-right: 1em;
}
.total_icon_card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 5px;
}
.card-title
{
    font-size: 17px;
    color: var(--primary-color);
    margin: 0 0 5px;
    font-weight: 600;
    max-width: 400px;
    display: -webkit-box;
    min-height: 37px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    position: relative;
    text-overflow: ellipsis;
    white-space: normal;
    word-wrap: break-word;
    -webkit-box-orient: vertical;
}
.name_tintuc
{
    color: var(--primary-color)!important;
}

.cot_infoss
{
    font-size: 15px;
}

.backgound_copyright
{
    background: var(--primary-color);
}


/*ccn*/
/* Khung Hero Banner */
.hero-banner {
    position: relative;
    width: 100%;
    height: 500px; /* Tùy chỉnh chiều cao banner */
    background: url('banner-xuan-thoi-son.jpg') center/cover no-repeat;
    display: flex;
    align-items: end;
    justify-content: center;
    overflow: hidden;
    padding-bottom: 4em;
}

/* Lớp phủ sáng nhẹ giúp chữ rõ nét hơn */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15); /* Làm mờ nền nhẹ */
    z-index: 1;
}

/* Nội dung căn giữa */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 0 20px;
}

/* Tiêu đề chính */
.hero-title {
    color: #125c8f; /* Màu xanh chuẩn theo hình */
    font-size: 33px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.3;
    letter-spacing: 1px;
    text-shadow: 0px 2px 4px rgba(255, 255, 255, 0.8);
    animation: fadeInDown 1s ease-out forwards;
}

/* Thanh địa chỉ hình viên thuốc (Pill shape) */
.hero-address-badge {
    background-color: #0e5c94; /* Màu xanh đậm của thanh */
    color: #ffffff;
    font-size: 19px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 40px;
    border-radius: 50px; /* Bo tròn hoàn toàn 2 đầu */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: inline-block;
    transition: transform 0.3s ease, background-color 0.3s ease;
    animation: fadeInUp 1s ease-out 0.3s forwards;
    opacity: 0; /* Cho hiệu ứng animation */
}

/* Hiệu ứng hover nhẹ cho thanh địa chỉ */
.hero-address-badge:hover {
    background-color: #0b4a78;
    transform: translateY(-2px);
}

/* Keyframes Hiệu ứng động */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive cho màn hình di động */
@media (max-width: 768px) {
    .hero-banner {
        height: 300px;
    }
    
    .hero-title {
        font-size: 22px;
    }

    .hero-address-badge {
        font-size: 11px;
        padding: 8px 20px;
    }
}


/* ==========================================
   SECTION HỘI TỤ CÁC YẾU TỐ - UNIQUE CLASSES
   ========================================== */

/* Khung ngoài & Nền dải sóng ánh sáng */
.xts-factor-section {
    width: 100%;
    padding: 60px 20px;
    background: #eef3f8 url('media/images/bg-wave-light.jpg') center center / cover no-repeat;
    font-family: 'Segoe UI', Arial, sans-serif;
    box-sizing: border-box;
}

.xts-factor-container {
    max-width: 1140px;
    margin: 0 auto;
}

/* Tiêu đề & Header */
.xts-factor-header {
    text-align: center;
    margin-bottom: 45px;
}

.xts-factor-subtitle {
    color: #1a88c9;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 6px;
}

.xts-factor-title {
    color: #12558a;
    font-size: 25px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.5px;
}

.xts-factor-divider {
    width: 50px;
    height: 3px;
    background-color: #12558a;
    margin: 12px auto 0 auto;
    border-radius: 2px;
}

/* Grid & Khung chứa Cards */
.xts-factor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Kiểu dáng Thẻ (Card) */
.xts-factor-card {
    background: linear-gradient(180deg, #135a8a 0%, #0d3e66 100%);
/*    border: 2px solid #ffffff;*/
    border-radius: 12px;
    padding: 30px 20px 25px 20px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;

}

.xts-factor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 28px rgba(18, 85, 138, 0.3);
}

/* Icon tròn màu trắng */
.xts-factor-icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: #ffffff;
    border-radius: 50%;
    margin: 0 auto 18px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.xts-factor-icon {
    font-size: 32px;
    color: #12558a;
}

/* Nội dung bên trong Card */
.xts-factor-card-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    margin: 0 0 14px 0;
    letter-spacing: 0.5px;
}

.xts-factor-card-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
    text-align: center;
}

/* Responsive cho Tablet & Mobile */
@media (max-width: 992px) {
    .xts-factor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .xts-factor-grid {
        grid-template-columns: 1fr;
    }
    
    .xts-factor-title {
        font-size: 18px;
    }
    
    .xts-factor-section {
        padding: 40px 15px;
    }
}


.is-border {
    border-width: 1px;
    border-style: solid;
    border-color: #ececec;
    position: absolute;
    pointer-events: none;
    border-radius: 0;
    margin: 0;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}



/* ==========================================
   SECTION THÔNG TIN TỔNG QUAN - UNIQUE CLASSES
   ========================================== */

.xts-overview-section {
    width: 100%;
    padding: 30px 20px 60px 20px;
    /* Lớp phủ xanh mờ trên nền ảnh xưởng */
    
/*    font-family: 'Segoe UI', Arial, sans-serif;*/
    color: #ffffff;
    box-sizing: border-box;
}

.xts-overview-container {
    max-width: 1140px;
    margin: 0 auto;
}

/* Header */
.xts-overview-header {
    text-align: center;
    margin-bottom: 40px;
}

.xts-overview-title {
    font-size: 27px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 6px 0;
    letter-spacing: 0.5px;
}

.xts-overview-subtitle {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Grid 4 ô */
.xts-overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 80px;
}

/* Ô bo góc viền trắng mỏng kiểu Glassmorphism */
.xts-overview-box {
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 10px 15px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 135px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.xts-overview-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
}

/* Nhãn chữ phía trên */
.xts-overview-label-top {
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.3;
    opacity: 0.95;
}

/* Con số chạy */
.xts-overview-number {
    font-size: 43px;
    font-weight: 700;
    line-height: 1;
    margin: 5px 0;
    color: #96deff;
}

/* Nhãn chữ phía dưới */
.xts-overview-label-bottom {
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    opacity: 0.95;
}

/* Responsive cho Tablet & Mobile */
@media (max-width: 992px) {
    .xts-overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .xts-overview-grid {
        grid-template-columns: 1fr 1fr;gap:30px;
    }
}




/* ==========================================
   SECTION SLIDER OWL CAROUSEL - UNIQUE CLASSES
   ========================================== */

.xts-slider-section {
    width: 100%;
    padding: 40px 0;
    background-color: #ffffff;
    box-sizing: border-box;
}

.xts-slider-container {
    max-width: 1140px;
    margin: 0 auto;
    position: relative;
    padding: 0 15px;
}

/* Kiểu dáng cho từng Item trong slider */
.xts-slider-item {
    border-radius: 4px;
    overflow: hidden;
    background-color: #f8f9fa;
}

.xts-slider-item img {
    width: 100%;
    height: 380px; /* Độ cao chuẩn khung hình */
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.xts-slider-item:hover img {
    transform: scale(1.02);
}

/* Cấu hình Nút Prev / Next nằm đè lên hình ảnh 2 bên */
.xts-slider-owl .owl-nav {
    margin-top: 0;
}

.xts-slider-owl .owl-nav button.owl-prev,
.xts-slider-owl .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.9) !important;
    color: #333333 !important;
    border: 1px solid #ccc !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.xts-slider-owl .owl-nav button.owl-prev:hover,
.xts-slider-owl .owl-nav button.owl-next:hover {
    background: #12558a !important;
    color: #ffffff !important;
    border-color: #12558a !important;
}

/* Vị trí 2 nút Prev & Next bấm đè trên ảnh */
.xts-slider-owl .owl-nav button.owl-prev {
    left: 20px;
}

.xts-slider-owl .owl-nav button.owl-next {
    right: 20px;
}

/* Cấu hình các chấm Dots tròn ở dưới */
.xts-slider-owl .owl-dots {
    margin-top: 20px !important;
    text-align: center;
}

.xts-slider-owl .owl-dots .owl-dot span {
    width: 9px;
    height: 9px;
    margin: 0 5px;
    background: transparent;
    border: 1.5px solid #555555;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.xts-slider-owl .owl-dots .owl-dot.active span,
.xts-slider-owl .owl-dots .owl-dot:hover span {
    background: #000000;
    border-color: #000000;
}

/* Responsive hiển thị chiều cao trên thiết bị di động */
@media (max-width: 768px) {
    .xts-slider-item img {
        height: 260px;
    }
    
    .xts-slider-owl .owl-nav button.owl-prev {
        left: 5px;
    }

    .xts-slider-owl .owl-nav button.owl-next {
        right: 5px;
    }
}



/* ==========================================
   SLIDER HIỆU ỨNG NỔI BẬT HÌNH GIỮA (3D CENTER)
   ========================================== */

.xts-slider-section {
    width: 100%;
    padding: 50px 0;
    background-color: #ffffff;
    overflow: hidden; /* Cho phép tràn 80% hình 2 bên ra ngoài */
}

.xts-slider-container {
/*    max-width: 1140px;*/
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

/* Đảm bảo Owl Stage căn giữa mượt mà */
.xts-slider-owl .owl-stage-outer {
    overflow: visible; /* Giúp hiển thị phần tràn 80% của 2 hình bên */
}

.xts-slider-owl .owl-item {
    transition: all 0.4s ease;
}

/* KHUNG HÌNH MẶC ĐỊNH (2 HÌNH BÊN CẠNH): Nhỏ hơn & Có lớp mờ trắng */
.xts-slider-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    transform: scale(0.85); /* Thu nhỏ chiều cao & rộng so với hình giữa */
    opacity: 0.5; /* Làm mờ trắng 2 hình bên */
    transition: all 0.4s ease;
}

.xts-slider-item img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

/* Lớp phủ mờ trắng đè lên 2 hình bên */
.xts-slider-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4); /* Overlay màu trắng mờ */
    transition: all 0.4s ease;
}

/* HÌNH Ở GIỮA (ACTIVE CENTER): Cao hơn, rõ nét & mất lớp mờ */
.xts-slider-owl .owl-item.center .xts-slider-item {
    transform: scale(1.1); /* Phóng to cao hơn 2 hình bên */
    opacity: 1; /* Rõ nét 100% */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); /* Đổ bóng nổi bật */
    z-index: 5;
}

.xts-slider-owl .owl-item.center .xts-slider-item::after {
    opacity: 0; /* Bỏ lớp mờ trắng cho hình ở giữa */
    visibility: hidden;
}

/* NÚT BẤM PREV / NEXT */
.xts-slider-owl .owl-nav button.owl-prev,
.xts-slider-owl .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.9) !important;
    color: #333333 !important;
    border: 1px solid #ccc !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.xts-slider-owl .owl-nav button.owl-prev:hover,
.xts-slider-owl .owl-nav button.owl-next:hover {
    background: #12558a !important;
    color: #ffffff !important;
    border-color: #12558a !important;
}

/* Đặt nút nằm đè lên vị trí giao giữa các hình */
.xts-slider-owl .owl-nav button.owl-prev {
    left: 28%;
}

.xts-slider-owl .owl-nav button.owl-next {
    right: 28%;
}

/* CÁC CHẤM DOTS BÊN DƯỚI */
.xts-slider-owl .owl-dots {
    margin-top: 30px !important;
    text-align: center;
}

.xts-slider-owl .owl-dots .owl-dot span {
    width: 9px;
    height: 9px;
    margin: 0 5px;
    background: transparent;
    border: 1.5px solid #555555;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.xts-slider-owl .owl-dots .owl-dot.active span,
.xts-slider-owl .owl-dots .owl-dot:hover span {
    background: #000000;
    border-color: #000000;
}

/* RESPONSIVE CHO MÀN HÌNH NHỎ */
@media (max-width: 768px) {
    .xts-slider-owl .owl-nav button.owl-prev { left: 5px; }
    .xts-slider-owl .owl-nav button.owl-next { right: 5px; }
    .xts-slider-item img { height: 260px; }
}



/* ==========================================
   SECTION YÊU CẦU TƯ VẤN - UNIQUE CLASSES
   ========================================== */

.xts-req-section {
    width: 100%;
    padding: 45px 0px 6em 0px;
    /* Lớp phủ hiệu ứng màu xanh lam mờ đè trên ảnh nền xưởng */
    
/*    font-family: 'Segoe UI', Arial, sans-serif;*/
    box-sizing: border-box;
}

.xts-req-container {
    max-width: 1140px;
    margin: 0 auto;
    text-align: center;
}

/* Tiêu đề trắng nổi bật */
.xts-req-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 20px 0;
}

/* Layout Form xếp hàng ngang */
.xts-req-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
}

.xts-req-group {
    flex: 1;
}

/* Input & Select */
.xts-req-input,
.xts-req-select {
    width: 100%;
    height: 40px;
    padding: 0 15px;
    border: 1px solid #ffffff;
    border-radius: 2px;
    background-color: #ffffff;
    color: #333333;
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.xts-req-input::placeholder {
    color: #888888;
}

.xts-req-input:focus,
.xts-req-select:focus {
    border-color: #12558a;
    box-shadow: 0 0 5px rgba(18, 85, 138, 0.3);
}

/* Mũi tên tùy chỉnh cho Select */
.xts-req-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%333333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 18px;
    cursor: pointer;
}

/* Nút bấm Submit màu xanh đậm */
.xts-req-btn {
    width: 100%;
    height: 40px;
    background-color: #12558a;
    color: #ffffff;
    border: none;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    white-space: nowrap;
}

.xts-req-btn:hover {
    background-color: #0c3e66;
}

.xts-req-btn:active {
    transform: scale(0.98);
}

/* Responsive cho Tablet & Mobile */
@media (max-width: 850px) {
    .xts-req-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .xts-req-group {
        width: 100%;
    }
    
    .xts-req-title {
        font-size: 17px;
    }
}




/* ==========================================
   SECTION VỊ TRÍ CHIẾN LƯỢC - UNIQUE CLASSES
   ========================================== */

.xts-loc-section {
    width: 100%;
    padding: 30px 0px;
    background-color: #ffffff;
/*    font-family: 'Segoe UI', Arial, sans-serif;*/
    box-sizing: border-box;
}

.xts-loc-container {
    max-width: 1160px;
    margin: 0 auto;
}

/* Header & Mô tả */
.xts-loc-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 35px auto;
}

.xts-loc-subtitle {
    color: #1a88c9;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 6px;
}

.xts-loc-title {
    color: #12558a;
    font-size: 25px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 16px 0;
    letter-spacing: 0.5px;
}

.xts-loc-desc {
    color: #555555;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 8px 0;
}

.xts-loc-desc:last-child {
    margin-bottom: 0;
}

/* Khung ảnh bản đồ */
.xts-loc-map-wrapper {
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
}

.xts-loc-map-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Thanh chú thích (Legend) ở dưới */
.xts-loc-legend {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding-top: 10px;
}

.xts-loc-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.xts-loc-legend-text {
    font-size: 11px;
    font-weight: 700;
    color: #333333;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Các Icon/Đường nét chú thích CSS */
.xts-loc-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
}

.xts-loc-icon-main {
    background-color: #0b3c63;
    border: 2px solid #52a2d4;
}

.xts-loc-icon-sub {
    background-color: #52a2d4;
}

.xts-loc-line {
    height: 3px;
    width: 30px;
    display: inline-block;
    border-radius: 2px;
}

.xts-loc-line-dark {
    background-color: #888888;
}

.xts-loc-line-light {
    background-color: #cccccc;
}

/* Responsive cho Mobile */
@media (max-width: 768px) {
    .xts-loc-legend {
        gap: 15px;
        justify-content: flex-start;
    }
    
    .xts-loc-title {
        font-size: 18px;
    }
    
    .xts-loc-desc {
        font-size: 12px;
    }
}



/* ==========================================
   SECTION HỆ THỐNG TIỆN ÍCH - UNIQUE CLASSES
   ========================================== */

.xts-util-section {
    width: 100%;
    padding: 65px 0px;
    /* Lớp phủ xanh lam đặc trưng đè trên ảnh nền giao thông */
    /*    font-family: 'Segoe UI', Arial, sans-serif;*/
    box-sizing: border-box;
}

.xts-util-container {
    max-width: 1140px;
    margin: 0 auto;
}

/* Header tiêu đề */
.xts-util-header {
    text-align: center;
    margin-bottom: 35px;
    color: #ffffff;
}

.xts-util-subtitle {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 5px;
    opacity: 0.95;
}

.xts-util-title {
    font-size: 25px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.5px;
    color: rgb(193, 255, 114);
}

/* Grid 3 cột x 2 hàng */
.xts-util-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 25px;
}

/* Kiểu dáng các thẻ tiện ích (White Box Bo Góc) */
.xts-util-card {
    background-color: #ffffff;
    border-radius: 18px; /* Bo góc cong mềm mại kiểu hình mẫu */
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    /* Hiệu ứng mượt mà khi di chuột */
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
                box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Hiệu ứng hover cho thẻ */
.xts-util-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

/* Icon tròn màu xanh sáng bên trái */
.xts-util-icon-box {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background-color: #008cd6; /* Màu xanh cyan rực chuẩn hình mẫu */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.xts-util-icon {
    font-size: 26px;
    color: #ffffff;
}

.xts-util-card:hover .xts-util-icon-box {
    background-color: #0071b0;
    transform: scale(1.08) rotate(5deg); /* Xoay nhẹ icon khi hover */
}

/* Nội dung văn bản bên phải */
.xts-util-content {
    flex: 1;
}

.xts-util-card-title {
    color: #0c3e66;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.xts-util-card-desc {
    color: #555555;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

/* RESPONSIVE CHO TABLET & MOBILE */
@media (max-width: 992px) {
    .xts-util-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .xts-util-grid {
        grid-template-columns: 1fr;
    }

    .xts-util-title {
        font-size: 18px;
    }

    .xts-util-card {
        padding: 14px 16px;
    }
}



/* ==========================================
   SECTION CÁC LOẠI HÌNH CHO THUÊ - UNIQUE CLASSES
   ========================================== */

.xts-rent-section {
    width: 100%;
    padding: 60px 0px;
    background-color: #ffffff;
/*    font-family: 'Segoe UI', Arial, sans-serif;*/
    box-sizing: border-box;
}

.xts-rent-container {
    max-width: 1140px;
    margin: 0 auto;
}

/* Header */
.xts-rent-header {
    text-align: center;
    margin-bottom: 35px;
}

.xts-rent-title {
    color: #12558a;
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 5px 0;
    letter-spacing: 0.5px;
}

.xts-rent-subtitle {
    color: #72bf44; /* Màu xanh lá tươi chuẩn hình đính kèm */
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}




/* Lưới 3 cột */
.xts-rent-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Thẻ tổng */
.xts-rent-card {
    background-color: #eaf1f6; /* Màu xám xanh nhạt chuẩn hình mẫu */
    border-radius: 0px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.xts-rent-card:hover {
    transform: translateY(-5px);
}

/* Header màu xanh đậm cao lên để ảnh đè lên */
.xts-rent-card-header {
    background-color: #12558a;
    padding: 22px 15px 75px 15px; /* Padding dưới cao (75px) tạo chỗ trống cho ảnh đè vào */
    text-align: center;
}

.xts-rent-card-header h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Body phần dưới */
.xts-rent-card-body {
    padding: 0 20px 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

/* Khung ảnh đẩy ngược lên trên header (Negative Margin) */
.xts-rent-img-wrapper {
    width: 100%;
    height: 190px;
    margin-top: -60px; /* Đẩy khung ảnh đè ngược lên dải xanh header */
    margin-bottom: 25px;
    background-color: #ffffff;
/*    padding: 3px; */
    box-sizing: border-box;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.xts-rent-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Đoạn chữ mô tả */
.xts-rent-card-desc {
    color: #2b618a; /* Xanh đậm hơn chút cho dễ đọc */
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    margin: 0 0 25px 0;
    flex: 1;
}

/* Nút diện tích màu xanh lá */
.xts-rent-badge {
    background-color: #83bb3e; /* Xanh lá mạ chuẩn theo mẫu */
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 9px 24px;
    border-radius: 0px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

/* Responsive */
@media (max-width: 992px) {
    .xts-rent-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .xts-rent-grid {
        grid-template-columns: 1fr;
    }
}

/* ĐIỀU CHỈNH GIAO DIỆN FORM REUSE (Chỉ dùng màu nền xanh phẳng cho form này) */
.xts-rent-form-override {
    background: #3991cd !important; /* Xanh lam sáng đúng như ảnh mẫu */
    padding: 25px 20px !important;
    border-radius: 2px;
}

.xts-rent-form-override .xts-req-title {
    margin-bottom: 15px !important;
    font-size: 18px !important;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .xts-rent-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .xts-rent-grid {
        grid-template-columns: 1fr;
    }
    .xts-rent-title {
        font-size: 20px;
    }
}




/* ==========================================
   SECTION CÁC NGÀNH NGHỀ PHÙ HỢP - UNIQUE CLASSES
   ========================================== */

.xts-ind-section {
    width: 100%;
    padding: 60px 0px;
    background-color: #e3e6e8; /* Nền xám nhạt đặc trưng theo mẫu */
/*    font-family: 'Segoe UI', Arial, sans-serif;*/
    box-sizing: border-box;
}

.xts-ind-container {
    max-width: 1140px;
    margin: 0 auto;
}

/* Header tiêu đề */
.xts-ind-header {
    text-align: center;
    margin-bottom: 45px;
}

.xts-ind-title {
    color: #12558a; /* Xanh navy chuẩn */
    font-size: 26px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 6px 0;
    letter-spacing: 0.5px;
}

.xts-ind-subtitle {
    color: #12558a;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Grid 3 cột x 2 hàng */
.xts-ind-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px 30px;
}

/* Khung từng ngành nghề */
.xts-ind-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Avatar hình tròn */
.xts-ind-avatar {
    width: 90px;
    height: 90px;
    min-width: 90px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.xts-ind-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

/* Hiệu ứng hover phóng to ảnh tròn */
.xts-ind-item:hover .xts-ind-avatar img {
    transform: scale(1.1);
}

/* Nội dung văn bản bên phải */
.xts-ind-content {
    flex: 1;
}

.xts-ind-item-title {
    color: #1e293b;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.xts-ind-item-desc {
    color: #555555;
    font-size: 14px;
    line-height: 1.45;
    margin: 0;
}

/* RESPONSIVE CHO TABLET & MOBILE */
@media (max-width: 992px) {
    .xts-ind-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 20px;
    }
}

@media (max-width: 600px) {
    .xts-ind-grid {
        grid-template-columns: 1fr;
    }

    .xts-ind-title {
        font-size: 20px;
    }

    .xts-ind-avatar {
        width: 75px;
        height: 75px;
        min-width: 75px;
    }
}




/* ===================================================
   MAIN NAVIGATION HOVER & DROPDOWN STYLES
   =================================================== */

/* Chỉ áp dụng Hover dropdown trên màn hình máy tính (từ 992px trở lên) */
@media (min-width: 992px) {
    /* Hiển thị menu con khi hover vào li.dropdown */
    .navbar-nav .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Định dạng menu con với hiệu ứng mượt (Animation) */
    .navbar-nav .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.25s ease-in-out;
        margin-top: 0;
        border: none;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
        padding: 8px 0;
    }

    /* Tạo lớp đệm ẩn để di chuột không bị hẫng/mất menu khi kéo xuống */
    .navbar-nav .nav-item.dropdown::after {
        content: "";
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 100%;
        height: 10px;
    }
}

/* Định dạng các item bên trong menu con */
.dropdown-menu li a {
    display: block;
    padding: 9px 20px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    text-transform: none; /* Giữ chữ thường/hoa chuẩn cho danh mục con */
    transition: all 0.2s ease;
}

/* Hiệu ứng khi rê chuột vào sub-item */
.dropdown-menu li a:hover {
    background-color: #f8f9fa;
    color: #0d6efd; /* Đổi màu chữ theo tông chủ đạo */
    padding-left: 24px; /* Hiệu ứng di chuyển nhẹ sang phải */
}

.catchuoi1
{
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.catchuoi2
{
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.xts-factor-icon-wrapper img {
    border-radius: 100%;
}


/*css_new*/
/* Tùy chỉnh màu sắc chuẩn theo giao diện */
.bg-navy-blue, .btn-navy-blue {
    background-color: #0b548b !important;
    color: #fff !important;
}
.btn-navy-blue:hover {
    background-color: #083e68 !important;
}
.text-navy-blue {
    color: #0b548b !important;
}
.bg-green-custom {
    background-color: #8cc63f !important;
}
.bg-light-gray {
    background-color: #f2f2f2;
}

/* Tiêu đề chính */
.bds-main-header {
    border-bottom: 1px solid #0b548b;
    display: inline-block;
    width: 100%;
}
.bds-main-title {
    background-color: #0b548b;
    color: #fff;
    padding: 6px 15px;
    display: inline-block;
}

/* Card BĐS */
.bds-item-card {
    transition: all 0.2s ease-in-out;
}
.bds-item-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}
.bds-item-title a {
    color: #0b548b;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bds-item-title a:hover {
    color: #8cc63f;
}

/* Tab Tìm Kiếm */
.btn-search-tab {
    background-color: #e9ecef;
    color: #495057;
    border: 1px solid #ced4da;
    font-size: 15px;
    padding: 6px 4px;
}
.btn-search-tab.active {
    background-color: #8cc63f !important;
    color: #fff !important;
    border-color: #8cc63f !important;
    position: relative;
}
.btn-search-tab.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px 6px 0 6px;
    border-style: solid;
    border-color: #8cc63f transparent transparent transparent;
}

/* Form Controls */
.bds-search-sidebar .form-control, 
.bds-search-sidebar .form-select {
    font-size: 13px;
    color: #6c757d;
    border-color: #ced4da;
}
.bds-search-sidebar .form-control:focus, 
.bds-search-sidebar .form-select:focus {
    border-color: #0b548b;
    box-shadow: none;
}

/* Container Breadcrumb */
.custom-breadcrumb {
    display: flex;
    align-items: center;
/*    background: linear-gradient(to bottom, #ffffff 0%, #f1f1f1 100%);*/
    border: 1px solid #dcdcdc;
    border-radius: 2px;
    height: 38px;
/*    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 1px 2px rgba(0,0,0,0.05);*/
    overflow: hidden;


    background: linear-gradient(to bottom, rgba(238, 238, 238, 1) 0, rgba(255, 255, 255, 1) 24%, rgba(255, 255, 255, 1) 74%, rgba(238, 238, 238, 1) 100%);


}

/* Các mục đường dẫn */
.custom-breadcrumb .crumb-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 100%;
    padding: 0 25px 0 20px;
    color: #0b548b;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.custom-breadcrumb a.crumb-item:hover {
    color: #083e68;
    background-color: rgba(0,0,0,0.02);
}

/* Đường cắt vát chéo chia cách giữa các item */
.custom-breadcrumb .crumb-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: -5px;
    width: 1px;
    height: 140%;
    background-color: #cccccc;
    transform: rotate(340deg); /* Độ nghiêng vát chéo */
    z-index: 1;
}

/* Loại bỏ đường cắt vát ở item cuối cùng */
.custom-breadcrumb .crumb-item:last-child::after {
    display: none;
}

/* Item đang hoạt động (trang hiện tại) */
.custom-breadcrumb .crumb-item.active {
    color: #0b548b;
    cursor: default;
}


.images_card a {
    position: relative;
    height: auto;
    overflow: hidden;
    padding-top: 60%;
    background-position: 50% 50%;
    background-size: cover;
}

.images_card img {
    right: 0;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    top: 0;
    position: absolute;
    -o-object-position: 50% 50%;
    object-position: 50% 50%;
    -o-object-fit: cover;
    object-fit: cover;
    font-family: "object-fit: cover;";
}


.total_spchung .images_card {
    width: 30%;
}

.total_spchung .total_khung_card {
    width: 70%;
}


.total_khung_card {
    padding-left: 1.3em;
}

/* Container thanh phân trang dính liền */
.pagination-custom {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #fff;
    border-radius: 6px;
    border: 1px solid #dcdcdc;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Các ô phân trang liền kề nhau */
.pagination-custom li {
    margin: 0;
    border-right: 1px solid #e5e5e5;
}

.pagination-custom li:last-child {
    border-right: none;
}

/* Kiểu chữ và khung cho đường dẫn */
.pagination-custom li a,
.pagination-custom li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 38px;
    padding: 0 12px;
    font-size: 15px;
    color: #2b7bb9;
    text-decoration: none;
    background-color: #fff;
    transition: background-color 0.2s, color 0.2s;
}

/* Hover đường dẫn */
.pagination-custom li a:hover {
    background-color: #f5f5f5;
    color: #1b527d;
}

/* Ô đang xem (Active) màu xanh nước biển */
.pagination-custom li.active span {
    background-color: #2b7bb9;
    color: #ffffff;
    font-weight: 500;
}

/* Ô dấu ba chấm (...) và ô bị vô hiệu hóa */
.pagination-custom li.dots span,
.pagination-custom li.disabled span {
    color: #777777;
    background-color: #fff;
    cursor: default;
}

.btn-check:focus+.btn, .btn:focus
{
    box-shadow: none;
}

.bds-search-sidebar .form-control, .bds-search-sidebar .form-select,.bg-navy-blue, .btn-navy-blue
{
    height: 45px;
    font-size: 15px;
    line-height: 33px;
}
.bds-search-sidebar.bg-white {
    position: sticky;
    top: 60px;
}
.post-meta-bar {
    background-color: #f8f9fa;
    padding: 8px 15px;
    font-size: 14px;
    border-radius: 2px;
        margin-bottom: 15px;
}

.share-title {
    color: #333;
    font-size: 14px;
}

.btn-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 3px;
    font-size: 13px;
    transition: opacity 0.2s ease-in-out;
}

.btn-share:hover {
    opacity: 0.85;
}

/* Màu sắc chuẩn thương hiệu */
.btn-fb {
    background-color: #3b5998;
}

.btn-zalo {
    background-color: #0068ff;
    font-weight: bold;
    font-size: 10px;
    line-height: 1;
}

.btn-gmail {
    background-color: #ea4335;
}


/*chitiet*/
/* Khoảng cách căn lề cho slider thumbnail */
#list-product-thumb {
    margin-left: -5px;
    margin-right: -5px;
}

/* Thu nhỏ khung chứa mỗi item thumbnail */
.pdetail-v2-thumb-item {
    padding: 0 5px; /* Tạo khoảng cách giữa các hình */
}

/* Thẻ link chứa ảnh: Cố định kích thước nhỏ & bo góc */
.pdetail-v2-thumb-card {
/*    display: block;*/
    width: 115px;       
    height: 115px;        
/*    margin: 0 auto;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    overflow: hidden;
    padding: 2px;
    background: #fff;
    transition: all 0.25s ease-in-out;
*/}

/* Căn chỉnh ảnh thumbnail bên trong */
.pdetail-v2-thumb-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;    /* Giữ tỉ lệ ảnh không bị móp/méoc */
    border-radius: 4px;
}

/* Hiệu ứng khi rê chuột vào thumbnail */
.pdetail-v2-thumb-card:hover {
/*    border-color: #0d6efd;*/
    opacity: 0.9;
}

/* Border nổi bật cho thumbnail đang được chọn (Magic Zoom) */
.pdetail-v2-thumb-card.mz-thumb-selected {
/*    border: 2px solid #0d6efd; */
/*    padding: 1px;              */
}

/* Tùy chỉnh 2 nút mũi tên prev/next thu nhỏ lại cho cân đối */
.pdetail-v2-slick-prev,
.pdetail-v2-slick-next {
    width: 24px;
    height: 24px;
    font-size: 12px;
    line-height: 24px;
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
}

.pdetail-v2-slick-prev { left: -10px; }
.pdetail-v2-slick-next { right: -10px; }
/*chitiet*/
.title-re {
    margin: 0;
    background-color: #E5F9E7;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 700;
        color: #333333;
}
.khung1_theo1 {
    border: 1px solid #dee2e6;
}

.title_tt_hinhanh {
    background-color: #f8f9fa;
}

.tag_hinhanh {
    padding: 8px 16px;
    font-size: 14px;
    color: #fff;
    background-color: var(--primary-color);
    display: inline-block;
}

.mh-box-cat {
    background-color: #E5F9E7;
    margin: 8px 0 0;
    position: relative ;
}
.mh-box-cat>a {
    padding: 8px;
    color: #337ab7;
    display: inline-block;
}
.mh-box-cat .box-price {
    font-size: 18px;
    color: #fff;
    background: var(--primary-color);
    padding: 0 15px 0 10px;
    position: absolute;
    top: 0;
    right: 0;
    line-height: 39px;
    min-height: 39px;
}
.mh-box-cat .box-price::before {
    content: ' ';
    display: block;
    border-right: 1rem solid var(--primary-color);
    border-top: 1.22rem solid transparent;
    border-bottom: 1.22rem solid transparent;
    position: absolute;
    z-index: 10;
    right: 100%;
}
 .mh-box-content {
    padding: 16px;
}

.mh-box-content .mh-table-re {
    border: 1px solid #dee2e6;
}

.mh-box-content .address-re {
    padding: 0 0 4px;
    margin: 16px 0;
    border-bottom: 1px solid #dee2e6;
}

.mh-box-content .address-re i{
    margin-right: 5px;
}
.mh-table-re {
    border: 1px solid #dee2e6;
}

.bds-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #e2e8f0;
    border-left: 1px solid #e2e8f0;
    background-color: #ffffff;
}

.bds-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
    color: #333333;
}

/* Kích thước và màu icon */
.bds-info-item i {
    font-size: 16px;
    color: #2d3748;
    width: 20px;
    text-align: center;
}

.bds-info-item strong {
    font-weight: 500;
}

/* Responsive cho màn hình nhỏ */
@media (max-width: 991px) {
    .bds-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .empty-item {
        display: none; /* Ẩn ô trống trên giao diện di động */
    }
}

@media (max-width: 576px) {
    .bds-info-grid {
        grid-template-columns: 1fr;
    }
}

.pdetail-v2-main-image-wrap {
    text-align: center;
}

/*bo sung*/
/* Container Tiêu đề */
.bds-other-title {
    position: relative;
    border-bottom: 2px solid #1a518b;
    margin-bottom: 15px;
}

.bds-other-title span {
    display: inline-block;
    background: #1a518b;
    color: #fff;
    font-weight: bold;
    text-uppercase: uppercase;
    font-size: 15px;
    padding: 6px 12px;
}

/* Card Bất động sản */
.bds-card {
    background: #f4f4f4;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid #e1e1e1;
}

/* Khung ảnh & Tag */
.bds-card-img {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.bds-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bds-badge-location {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(26, 81, 139, 0.9);
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 8px;
    text-uppercase: uppercase;
}

.bds-badge-price {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #8ec339;
    color: #fff;
    font-weight: bold;
    font-size: 13px;
    padding: 4px 10px;
    text-transform: uppercase;
}

/* Nội dung Card */
.bds-card-body {
    padding: 10px;
}

.bds-card-title {
    margin: 0 0 8px 0;
    font-size: 13px;
    line-height: 1.4;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.bds-card-title a {
    color: #2b5c8f;
    text-decoration: none;
    font-weight: 500;
}

.bds-card-title a:hover {
    color: #e03c31;
}

.bds-card-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #555;
    margin-bottom: 8px;
}

.bds-card-info i {
    color: #444;
}

.bds-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: #000;
/*    border-top: 1px dashed #ccc;*/
    padding-top: 6px;
}

.meta-left {
    display: flex;
    gap: 8px;
}
.khung1_theo1 {
    margin-bottom: 15px;
}
/* Nút "Chi tiết" */
.btn-detail {
    display: inline-block;
    border: 1px solid #8ec339;
    color: #8ec339;
    padding: 2px 8px;
    font-size: 11px;
    text-decoration: none !important;
    background: #fff;
    transition: all 0.2s;
}

.btn-detail:hover {
    background: #8ec339;
    color: #fff;
}


.total_tintuc {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 15px;
}

.items_tts {
    padding: 10px 5px;
    background-color: #f2f2f2;
}

.items_tts h3 {
    font-size: 16px;
    margin: 0 0 5px;
    color: var(--primary-color);
    display: -webkit-box;
    max-height: 45px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    position: relative;
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    letter-spacing: 0;
    text-transform: initial;
    font-weight: 400;
}

.box-image {
    position: relative;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
}

.image-cover {
    position: relative;
    height: auto;
    overflow: hidden;
    padding-top: 60%;
    background-position: 50% 50%;
    background-size: cover;
}

.image-cover img
{
    right: 0;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    top: 0;
    position: absolute;
    -o-object-position: 50% 50%;
    object-position: 50% 50%;
    -o-object-fit: cover;
    object-fit: cover;
    font-family: "object-fit: cover;";
}

.mota_items_tintucs {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
}


/* Đặt vị trí tương đối cho container slider */
#total_list_lienquan {
    position: relative;
}

/* Định dạng chung cho 2 nút Prev và Next */
#total_list_lienquan .owl-nav button.owl-prev,
#total_list_lienquan .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: #ffffff !important;
    color: #333333 !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin: 0 !important;
    transition: all 0.3s ease;
    z-index: 10;
    outline: none;
}

/* Vị trí nút Prev bên trái */
#total_list_lienquan .owl-nav button.owl-prev {
    left: -18px;
}

/* Vị trí nút Next bên phải */
#total_list_lienquan .owl-nav button.owl-next {
    right: -18px;
}

/* Hiệu ứng Hover đổi màu */
#total_list_lienquan .owl-nav button.owl-prev:hover,
#total_list_lienquan .owl-nav button.owl-next:hover {
    background: #0d6efd !important; /* Đổi màu nền chính của trang bạn tại đây */
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

/* responsive: Thu gọn nút vào trong trên màn hình di động */
@media (max-width: 767px) {
    #total_list_lienquan .owl-nav button.owl-prev {
        left: 5px;
    }
    #total_list_lienquan .owl-nav button.owl-next {
        right: 5px;
    }
}

/*Lien he*/
.contact-section {
    width: 100%;
}

/* 1. Phần nền ảnh phía trên */
.contact-top-bg {
    padding: 5em 0 10em 0;
}

/* Tiêu đề & Form */
.contact-main-title {
    color: #3bb2eb;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.company-sub-title {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
}

.contact-form .form-control {
    border-radius: 0;
    border: 1px solid #fff;
    padding: 8px 12px;
    font-size: 13.5px;
}

.contact-form .form-control:focus {
    box-shadow: none;
    border-color: #0b4975;
}

.btn-submit-contact {
    background-color: #0d4a75;
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    border-radius: 0;
    padding: 8px 25px;
    border: none;
    transition: background 0.3s ease;
}

.btn-submit-contact:hover {
    background-color: #083250;
    color: #fff;
}

/* 2. Phần nền xanh đậm 100% bên dưới */
.contact-bottom-bg {
    background-color: #14598d; /* Màu xanh đậm nền dưới */
    padding-bottom: 15em;
}

.relative-container {
    position: relative;
}

/* Khối thông tin màu trắng/xám đè đẩy ngược lên trên */
.contact-info-card {
    background-color: #e8f0f8;
    padding: 30px 20px 25px 20px;
    border-radius: 2px;
    margin-top: -4em;
    position: absolute;
    z-index: 2;
    width: 100%;
}

/* Icon hình tròn đè lên trên mép khung xám */
.icon-header {
    position: relative;
    text-align: center;
    margin-bottom: 15px;
}

.circle-icon {
    width: 86px;
    height: 86px;
    background-color: #0b4975;
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
/*    border: 3px solid #e8f0f8;*/
        overflow: hidden;
}

.info-title {
    color: #135a8a;
    font-size: 15.2px;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 15px;
    text-align: center;
}

.info-content p {
    color: #333333;
    font-size: 15.2px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.info-content strong {
    color: #0b4975;
}

.info-content a {
    color: #333333;
    text-decoration: none;
}

.info-content a:hover {
    color: #0b4975;
    text-decoration: underline;
}

/* Đường kẻ giữa các cột */
@media (min-width: 768px) {
    .border-end-md {
/*        border-right: 1px solid #d0deec;*/
    }
}

@media (max-width: 767px) {
    .contact-info-card {
        margin-top: -40px;
    }
    .contact-info-col {
        margin-bottom: 40px;
    }
    .contact-info-col:last-child {
        margin-bottom: 10px;
    }
}
/*Lien he*/