﻿/* =========================================
   1. GLOBAL VARIABLES & RESET
   ========================================= */
:root {
    --primary-color: #0E4F4F; /* Xanh Ngọc Lục Bảo Đậm */
    --accent-color: #C5A059; /* Vàng Đồng */
    --text-dark: #1A1A1A;
    --text-gray: #000000;
    --light-bg: #F8F9FA;
    --footer-bg: #093333;
    --nav-text-color: #333333;
}

.primary-color {
    color: var(--primary-color);
}

.accent-color {
    color: var(--accent-color);
}

body {
    font-family: Roboto;
    color: var(--text-gray);
    font-size: 1.2rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.navbar {
    padding: 15px 0;
    background: #fff; /* Nền mặc định */
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: all 0.4s ease; /* Hiệu ứng chuyển mượt */
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    letter-spacing: 1px;
}

    .navbar-brand span {
        color: var(--accent-color);
    }

/* Style cho Link - Dùng biến để tự đổi màu */
.nav-link {
    color: var(--nav-text-color) !important; /* Quan trọng: Nhận màu từ biến */
    font-weight: 700;
    padding: 10px 15px !important;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.5px;
    position: relative;
    transition: .3s;
}

    /* Hiệu ứng gạch chân hover */
    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 5px;
        left: 50%;
        background-color: var(--accent-color);
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }

    .nav-link:hover::after, .nav-link.active::after {
        width: 80%;
    }

    .nav-link:hover, .nav-link.active {
        color: var(--accent-color) !important; /* Hover thì luôn vàng đồng */
    }


/* --- TRẠNG THÁI 1: TRONG SUỐT (Transparent) --- */
.navbar-transparent {
    background: rgba(68, 68, 68, 0.05) !important; /* Nền mờ nhẹ */
    box-shadow: none !important;
    /* MAGIC HERE: Đổi biến màu chữ sang TRẮNG */
    --nav-text-color: #ffffff;
}

    /* Riêng Brand (Logo) phải ép sang trắng vì nó dùng primary-color */
    .navbar-transparent .navbar-brand {
        color: #ffffff !important;
        text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    }

    /* Icon toggle menu mobile khi nền tối */
    .navbar-transparent .navbar-toggler-icon {
        filter: invert(1);
    }

/* --- TRẠNG THÁI 2: KHI CUỘN (Scrolled/Sticky) --- */
.navbar-scrolled {
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
    padding: 10px 0; /* Thu gọn padding */
    /* Đổi biến màu chữ về ĐEN (hoặc xám đậm) */
    --nav-text-color: #333333;
}

    /* Brand về lại màu gốc */
    .navbar-scrolled .navbar-brand {
        color: var(--primary-color) !important;
        text-shadow: none;
    }
/* --- MẶC ĐỊNH ẨN NÚT ĐÓNG TRÊN PC --- */
    .mobile-close-btn {
        display: none;
    }
@media (max-width: 991.98px) {

    /* --- 1. KHUNG MENU CHÍNH --- */
    .navbar-collapse {
        position: fixed;
        top: 0;
        bottom: 0;
        right: 0;
        width: 85%;
        max-width: 360px;
        height: 100vh !important;
        /* Cưỡng chế giao diện riêng biệt */
        background-color: #ffffff !important;
        color: #333333 !important;
        box-shadow: none;
        text-shadow: none !important;
        z-index: 9999;
        padding-top: 70px;
        /* Hiệu ứng trượt */
        display: block !important;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateX(100%);
        visibility: visible;
        /* QUAN TRỌNG: Ngăn cuộn trang web bên dưới (Isolation) */
        overflow-y: auto;
        overscroll-behavior: contain;
    }

        /* Trạng thái mở menu */
        .navbar-collapse.show {
            transform: translateX(0);
            box-shadow: 0 0 0 1000px rgba(0, 0, 0, 0.5); /* Lớp phủ tối */
        }

        /* Animation đóng/mở */
        .navbar-collapse.collapsing {
            position: fixed;
            right: 0;
            top: 0;
            width: 85%;
            max-width: 360px;
            height: 100vh !important;
            background: #ffffff !important;
            z-index: 9999;
            transition: transform 0.3s ease;
            transform: translateX(100%);
            display: block;
        }

            .navbar-collapse.collapsing.show {
                transform: translateX(0);
            }

    /* --- 2. HEADER MOBILE (Nút Đóng & Chữ MENU) --- */
    .mobile-close-btn {
        position: absolute;
        top: 20px;
        left: 20px;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10000;
        /* Reset hoàn toàn style */
        color: #333333 !important;
        background: transparent !important;
        font-size: 24px;
        border-radius: 50%;
        transition: background-color 0.2s;
    }

        .mobile-close-btn:active {
            background-color: #f1f1f1 !important;
        }

    /* Chữ trang trí "MENU" */
    .navbar-collapse::after {
        content: "MENU";
        position: absolute;
        top: 22px;
        left: 50%;
        transform: translateX(-50%);
        font-family: sans-serif;
        font-weight: 800;
        font-size: 18px;
        color: var(--accent-color) !important;
        letter-spacing: 1px;
        text-transform: uppercase;
        border-bottom: 2px solid var(--accent-color);
        padding-bottom: 4px;
        pointer-events: none;
    }

    /* --- 3. LINK MENU (PHẦN QUAN TRỌNG NHẤT - FIX LỖI MÀU) --- */
    .navbar-nav {
        padding: 10px 0;
        width: 100%;
        margin: 0 !important;
    }

    .nav-item {
        border-bottom: 1px solid #f0f0f0;
        position: relative;
        width: 100%;
    }

    /* SỬ DỤNG SELECTOR DÀI ĐỂ ĐÈ BẸP STYLE DESKTOP */
    .navbar-collapse .navbar-nav .nav-item .nav-link {
        padding: 16px 20px !important;
        font-size: 15px;
        font-weight: 600;
        color: #333333 !important;
        text-shadow: none !important;
        text-transform: uppercase;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding-left: 50px !important;
        position: relative;
        background: transparent !important;
    }

        /* Ẩn cái gạch chân hover của Desktop đi cho đỡ rối */
        .navbar-collapse .navbar-nav .nav-item .nav-link::after {
            display: none !important;
        }

        /* Icon bên trái Link */
        .navbar-collapse .navbar-nav .nav-item .nav-link::before {
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            position: absolute;
            left: 20px;
            font-size: 18px;
            color: #999999 !important; /* Luôn màu xám */
            width: 25px;
            text-align: center;
            transition: color 0.3s;
        }

    /* Mapping Icon (Vẫn giữ nguyên) */
    .nav-item:nth-child(1) .nav-link::before {
        content: "\f015";
    }

    .nav-item:nth-child(2) .nav-link::before {
        content: "\f1ad";
    }

    .nav-item:nth-child(3) .nav-link::before {
        content: "\f1ea";
    }

    .nav-item:nth-child(4) .nav-link::before {
        content: "\f4c4";
    }

    .nav-item:nth-child(5) .nav-link::before {
        content: "\f095";
    }

    /* Hiệu ứng Hover Mobile */
    .navbar-collapse .navbar-nav .nav-item .nav-link:hover,
    .navbar-collapse .navbar-nav .nav-item .nav-link:active {
        background-color: #f9fdfa !important;
        color: var(--accent-color) !important;
    }

        .navbar-collapse .navbar-nav .nav-item .nav-link:hover::before {
            color: var(--accent-color) !important;
        }

    /* --- 4. FOOTER MENU (Liên hệ & MXH) --- */
    .social-icons-header {
        margin-top: 20px;
        padding: 20px;
        background: #fdfdfd !important;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 15px;
   
    }

        .social-icons-header a[href^="tel"] {
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            background: var(--accent-color) !important;
            color: #fff !important;
            border-radius: 50px;
            margin: 0 !important;
            height: 45px;
            text-decoration: none;
            font-weight: 600;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }

    .social-group-container {
        display: flex;
        justify-content: center;
        gap: 15px;
        width: 100%;
    }

    .social-btn {
        width: 85px !important;
        height: 45px !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #fff !important;
        border: 1px solid #eee !important;
        margin: 0 !important;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        text-decoration: none;
    }

        .social-btn i {
            font-size: 20px;
            color: #333;
        }
}
/* Wrapper chính */
.main-content-wrapper {
    min-height: 80vh;
}
/* Class chung cho các nút mạng xã hội tròn */
.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px; /* Tăng kích thước nút lên 45px */
    height: 45px;
    border-radius: 50%; /* Bo tròn hoàn toàn */
    background-color: #fff; /* Nền trắng */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15); /* Đổ bóng để tạo độ nổi */
    margin-left: 10px; /* Khoảng cách giữa các nút */
    transition: all 0.3s ease; /* Hiệu ứng mượt khi di chuột */
    text-decoration: none;
}

    /* Hiệu ứng khi di chuột vào: Phóng to nhẹ và đậm bóng hơn */
    .social-btn:hover {
        transform: translateY(-3px); /* Nổi lên trên 1 chút */
        box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    }

    /* Chỉnh riêng cho icon ảnh (Zalo) */
    .social-btn img {
        width: 65%; /* Kích thước icon Zalo bên trong nút */
        height: auto;
        object-fit: contain;
    }

    /* Chỉnh riêng cho icon font (Facebook) */
    .social-btn i {
        font-size: 29px; /* Kích thước icon Facebook to hơn */
        color: #0084ff; /* Màu xanh Messenger chuẩn */
    }

/* --- FOOTER (CHÂN TRANG) --- */
footer {
    background-color: var(--footer-bg);
    color: #dcdcdc;
    font-size: 0.9rem;
    padding-top: 60px;
    margin-top: auto; /* Đẩy footer xuống đáy */
}

    footer h4, footer h5 { 
        color: #fff;
        font-weight: 700;
        margin-bottom: 20px;
        letter-spacing: 0.5px;
    }

    footer a {
        color: #bbb;
        text-decoration: none;
        transition: .3s;
        display: inline-block;
    }

        footer a:hover {
            color: var(--accent-color);
            transform: translateX(5px); /* Hiệu ứng đẩy nhẹ sang phải */
        }

.footer-social-btn {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 8px;
    transition: 0.3s;
}

    .footer-social-btn:hover {
        background: var(--accent-color);
        border-color: var(--accent-color);
        color: #fff;
        transform: translateY(-3px);
    }

.copyright-area {
    background-color: rgba(0,0,0,0.2);
    padding: 20px 0;
    margin-top: 40px;
    font-size: 0.85rem;
}

  
/* --- CONTAINER TÙY CHỈNH --- */
.custom-container {
    max-width: 1366px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Chỉnh ảnh Banner full màn hình */
.hero-img {
    height: 100vh; /* Cao bằng 100% màn hình thiết bị */
    object-fit: cover; /* Cắt ảnh vừa khít khung, không bị méo */
    object-position: center; /* Luôn lấy trung tâm bức ảnh */
    display: block;
}

/* (Tùy chọn) Nếu bạn muốn ảnh tối đi một xíu để menu trắng dễ đọc hơn */
.hero-img {
    filter: brightness(0.9);
}

/* --- TOOLBAR BỘ LỌC MỚI (FIX VỪA KHÍT 2 LỀ) --- */
.filter-toolbar {
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    margin-bottom: 30px;
    /* Chuyển sang Flex để dàn hàng ngang linh hoạt */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between; /* Đẩy các phần tử sát 2 mép */
    gap: 10px;
}

/* Định dạng chung cho các thành phần nhập liệu */
.filter-select, .filter-input, .btn-select-phuong {
    border: 1px solid #E0E0E0;
    border-radius: 5px;
    padding: 8px 12px;
    height: 42px;
    background-color: #fff;
    transition: border-color 0.2s;
    /* Cho phép các ô tự co giãn để lấp đầy khoảng trống bên phải */
    flex: 1;
    min-width: 161px; /* Độ rộng tối thiểu để không bị nát chữ */
}

/* Nút chọn phường xã */
.btn-select-phuong {
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
}

/* Ô nhập mã SP/Từ khóa - Cho rộng hơn một chút so với các ô select */
.filter-input {
    flex: 1.5;
    min-width: 150px;
}

/* Cố định riêng ô Loại giao dịch (Màu xanh đậm) */
select[name="idNhuCau"] {
    background-color: #0e5656 !important;
    color: #fff !important;
    flex: 0 0 110px; /* Không co giãn, cố định 110px */
}

/* Nút tìm kiếm icon kính lúp (Màu vàng đồng) */
.btn-search-small {
    background: #c5a059; /* Màu chuẩn sếp yêu cầu */
    color: #fff;
    border: none;
    border-radius: 5px;
    height: 42px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 0 0 50px; /* Nút search luôn giữ nguyên kích thước */
    transition: background 0.3s;
}

    .btn-search-small:hover {
        background: #a6814a;
    }

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
    .filter-toolbar {
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .filter-toolbar {
        padding: 10px;
    }

    .filter-select, .btn-select-phuong, .filter-input {
        flex: 0 0 100%; /* Mobile hiện 1 hàng dọc */
    }

    /* Mặc định Desktop: Không can thiệp layout cũ */
    .mobile-btn-group {
        display: flex !important;
        gap: 5px;
    }

    /* MOBILE (Dưới 768px) */
    @media (max-width: 768px) {

        /* 1. TẠO LƯỚI CHIA ĐÔI (Giống hệt cặp ở trên) */
        .mobile-btn-group {
            display: grid !important;
            grid-template-columns: 1fr 1fr; /* Chia 2 cột bằng nhau */
            gap: 5px !important; /* Khe hở 5px */
            width: 100% !important;
            margin-top: 10px; /* Cách các ô trên một chút */
        }

            /* 2. ÉP 2 NÚT GIỐNG HỆT NHAU */
            .mobile-btn-group .btn-search-small,
            .mobile-btn-group .btn-reset-filter {
                width: 100% !important;
                height: 40px !important; /* Set cứng chiều cao để không bị cái to cái nhỏ */

                display: flex !important; /* Dùng Flex để căn giữa icon */
                align-items: center !important;
                justify-content: center !important;
                border-radius: 4px !important;
                margin: 0 !important;
                padding: 0 !important; /* Xóa padding mặc định gây lệch size */
                /* Màu sắc (Tùy bạn chỉnh) */
                font-weight: 600;
                font-size: 14px;
            }

            /* Style riêng cho nút Reset (cho khác màu nút Tìm kiếm tí) */
            .mobile-btn-group .btn-reset-filter {
                background-color: #f0f0f0; /* Nền xám nhẹ */
                color: #333;
                border: 1px solid #ddd;
                text-decoration: none; /* Bỏ gạch chân thẻ a */
            }

            /* Style riêng nút Tìm kiếm (nếu cần đè) */
            .mobile-btn-group .btn-search-small {
                /* Giữ màu background cũ của bạn */
            }
    }
}
/* DESKTOP: Div bọc vô hình */
.mobile-merge-group {
    display: contents;
}

/* MOBILE (Dưới 768px) */
/* MOBILE (Dưới 768px) */
@media (max-width: 768px) {

    /* 1. KHUNG CHỨA (WRAPPER) - DÙNG GRID THAY VÌ FLEX */
    .mobile-merge-group {
        display: grid !important;
        /* Đây là lệnh quan trọng nhất: Chia làm 2 cột bằng nhau tuyệt đối (1 fraction - 1 fraction) */
        grid-template-columns: 1fr 1fr;
        gap: 5px !important; /* Khe hở 5px chuẩn */
        width: 100% !important;
        margin-bottom: 8px;
    }

        /* 2. CÁC PHẦN TỬ CON */
        .mobile-merge-group .filter-select,
        .mobile-merge-group .wrap-phuong {
            width: 100% !important; /* Dãn full ô grid của nó */
            height: 100% !important; /* Cao bằng nhau */
            margin: 0 !important;
            min-width: 0 !important; /* Tránh bị vỡ layout */
        }

            /* 3. NÚT BUTTON KHU VỰC */
            .mobile-merge-group .wrap-phuong .btn-select-phuong {
                width: 100% !important;
                height: 100% !important; /* Đảm bảo cao bằng ô bên cạnh */
                display: flex !important;
                justify-content: space-between !important;
                align-items: center !important;
                border-radius: 4px !important;
            }

        /* 4. Ô SELECT (GIAO DỊCH) */
        .mobile-merge-group .filter-select {
            border-radius: 4px !important;
            /* Đảm bảo border giống hệt bên button để không bị lệch kích thước */
            border: 1px solid #ced4da !important;
            box-sizing: border-box !important; /* Tính cả viền vào độ rộng */
        }
}
/* 1. Danh mục */
.cat-item {
    display: block;
    border: 1px solid #eee;
    padding: 25px 20px;
    text-align: center;
    transition: .4s;
    background: #fff;
    height: 100%;
    text-decoration: none;
    border-radius: 8px; /* Bo góc nhẹ */
}

    .cat-item:hover {
        border-color: var(--accent-color);
        box-shadow: 0 10px 25px rgba(0,0,0,0.05);
        transform: translateY(-5px);
    }

    .cat-item .icon {
        font-size: 2.2rem;
        color: var(--primary-color);
        margin-bottom: 15px;
        transition: .4s;
    }

    .cat-item:hover .icon {
        color: var(--accent-color);
    }

    .cat-item h6 {
        font-size: 1rem;
        color: var(--text-dark);
        margin-bottom: 5px;
        font-weight: 600;
    }

/* 2. Sản phẩm */
.property-item {
    background: #fff;
    border-radius: 8px; /* Bo góc nhẹ */
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: .4s;
    border: none;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .property-item:hover {
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        transform: translateY(-5px);
    }

.property-img {
    height: 260px;
    position: relative;
    overflow: hidden;
}

    .property-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.8s ease;
    }

.property-item:hover .property-img img {
    transform: scale(1.08);
}

.badge-status {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-info {
    background-color: var(--accent-color) !important;
    color: #fff;
}

.bg-secondary {
    background-color: #999 !important;
}

.text-price {
    color: var(--accent-color); 
    font-weight: 700;
    font-size: 1.25rem;
}

.property-content {
    padding: 20px;
    flex-grow: 1;
    border-bottom: 1px solid #f0f0f0;
}

.location-text {
    color: #888;
    font-size: 0.85rem;
    margin-top: 5px;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3em;
    line-height: 1.5;
    color: var(--text-dark);
    margin-top: 10px;
    font-weight: 500;
}

    .line-clamp-2 * {
        margin: 0;
        padding: 0;
        display: inline;
    }

    .line-clamp-2:hover {
        color: var(--accent-color);
    }

.property-footer {
    background: #fff;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #777;
}

    .property-footer i {
        color: var(--accent-color);
        margin-right: 5px;
    }

/* 3. Dự án Card */
.project-card {
    display: block;
    position: relative;
    height: 450px;
    border-radius: 8px; /* Bo góc nhẹ */
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s;
}

.project-card:hover .project-img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(14, 79, 79, 0.95) 0%, rgba(14, 79, 79, 0.6) 50%, transparent 100%);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.project-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #E53935;
    color: #fff;
    padding: 5px 12px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.project-title { 
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 5px;
    line-height: 1.3;
}

.project-loc {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.project-price {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.1rem;
}

/* 4. Khu vực Card */
.location-card {
    position: relative;
    display: block;
    height: 300px;
    border-radius: 8px; /* Bo góc nhẹ */
    overflow: hidden;
}

    .location-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.8s;
    }

    .location-card:hover img {
        transform: scale(1.1);
    }

.location-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(14, 79, 79, 0.9), transparent);
    padding: 30px 20px;
    z-index: 1;
}

    .location-overlay h5 {
        color: #fff;
        margin-bottom: 5px;
        font-size: 1.4rem;
        letter-spacing: 0.5px;
    }

    .location-overlay span {
        color: var(--accent-color);
        font-weight: 500;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

/* Tiện ích */
.loading-opacity {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.3s;
}

.btn-back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    background: var(--accent-color);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: .3s;
}

    .btn-back-to-top:hover {
        background: var(--primary-color);
    }

.modal-content {
    border-radius: 8px;
    border: none;
}

.modal-header {
    background-color: var(--light-bg);
    border-bottom: 1px solid #eee;
}

.list-group-item {
    border: none;
    border-bottom: 1px solid #f5f5f5;
    padding: 12px 20px;
    color: var(--text-dark);
}

    .list-group-item:hover {
        background-color: #f0fdf4;
        color: var(--primary-color);
        padding-left: 25px;
        transition: all 0.2s;
    }

/* Style chung cho nhãn */
.badge-overlay {
    position: absolute;
    z-index: 2;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* 1. NHU CẦU (Góc TRÊN Trái) */
.badge-status {
    top: 15px;
    left: 15px;
    color: #fff; /* Chữ trắng */
}

/* 2. LOẠI NHÀ (Góc DƯỚI Trái) -> Bạn đang thiếu đoạn này */
.badge-type {
    bottom: 15px;
    left: 15px;
    background-color: rgba(255, 255, 255, 0.9); /* Nền trắng mờ */
    color: var(--primary-color); /* Chữ xanh */
    backdrop-filter: blur(4px); /* Hiệu ứng kính */
    border: 1px solid rgba(255,255,255,0.5);
}


/*TRANG CHI TIẾT*/
/* Breadcrumb */
.breadcrumb-item a {
    color: var(--text-gray);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 600;
}
 
#homeCarousel img {
    height: 100%; 
    object-fit: cover;
}


/* Sidebar thông tin */
.sidebar-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 25px;
    margin-bottom: 30px;
}

.price-text-lg {
    color: var(--accent-color); 
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.spec-item {
    border-bottom: 1px solid #eee;
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

    .spec-item strong {
        color: var(--text-dark);
    }

/* Form liên hệ */
.contact-box {
    background-color: var(--primary-color);
    padding: 30px;
    color: #fff;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(14, 79, 79, 0.2);
}

    .contact-box h5 {
        color: #fff;
    }

    .contact-box .form-control {
        border: 1px solid rgba(255,255,255,0.2);
        background: rgba(255,255,255,0.1);
        color: #fff;
        margin-bottom: 15px;
        border-radius: 4px;
    }

        .contact-box .form-control::placeholder {
            color: rgba(255,255,255,0.6);
        }

        .contact-box .form-control:focus {
            background: rgba(255,255,255,0.2);
            border-color: var(--accent-color);
            outline: none;
            box-shadow: none;
        }

.btn-submit {
    background-color: var(--accent-color);
    color: #fff;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.3s;
}

    .btn-submit:hover {
        background-color: #fff;
        color: var(--primary-color);
    }

/* --- SỬA LẠI CSS CARD SẢN PHẨM CHO KHỚP VỚI INDEX --- */
.property-item {
    background: #fff;
    border-radius: 8px; /* Bo góc */
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: .4s;
    border: none;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .property-item:hover {
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        transform: translateY(-5px);
    }

.property-img {
    height: 260px; /* Tăng chiều cao ảnh */
    position: relative;
    overflow: hidden;
}

    .property-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.8s ease;
    }

.property-item:hover .property-img img {
    transform: scale(1.08);
}

.badge-overlay {
    position: absolute;
    z-index: 2;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.badge-status {
    top: 15px;
    left: 15px;
    color: #fff;
}

.badge-type {
    bottom: 15px;
    left: 15px;
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.5);
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-info {
    background-color: var(--accent-color) !important;
    color: #fff !important;
}

.bg-secondary {
    background-color: #999 !important;
}

.text-price {
    color: var(--accent-color); 
    font-weight: 700;
    font-size: 1.25rem;
}

.property-content {
    padding: 20px;
    flex-grow: 1;
    border-bottom: 1px solid #f0f0f0;
}

.location-text {
    color: #888;
    font-size: 0.85rem;
    margin-top: 5px;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3em;
    line-height: 1.5;
    color: var(--text-dark);
    margin-top: 10px;
    font-weight: 500;
}

    .line-clamp-2:hover {
        color: var(--accent-color);
    }

.property-footer {
    background: #fff;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #777;
}

    .property-footer i {
        color: var(--accent-color);
        margin-right: 5px;
    }
/* ----------------------------------------------------- */

.admin-toolbar {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

/*LIÊN HỆ*/
/* --- SIDEBAR MENU (Sticky) --- */
.info-sidebar {
    position: sticky;
    top: 100px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #eee;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    overflow: hidden;
}

    .info-sidebar a {
        display: flex;
        align-items: center;
        padding: 18px 25px;
        color: var(--text-dark);
        border-bottom: 1px solid #f0f0f0;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s; 
        font-size: 1.05rem;
    }

        .info-sidebar a i {
            width: 25px;
            color: #999;
            transition: .3s;
        }

        .info-sidebar a:last-child {
            border-bottom: none;
        }

        .info-sidebar a:hover, .info-sidebar a.active {
            background: var(--primary-color);
            color: #fff;
            padding-left: 30px; /* Hiệu ứng trượt nhẹ */
        }

            .info-sidebar a:hover i, .info-sidebar a.active i {
                color: var(--accent-color);
            }

/* --- NỘI DUNG CHÍNH --- */
.content-section {
    scroll-margin-top: 100px;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

    .content-section:last-child {
        border-bottom: none;
    }

.section-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}
    /* Gạch chân vàng dưới tiêu đề */
    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 3px;
        background: var(--accent-color);
    }

/* Card Dịch vụ (Sang trọng) */
.service-card {
    background: #fff;
    padding: 30px 25px;
    border-radius: 6px;
    border: 1px solid #eee;
    height: 100%;
    transition: .4s;
    text-align: center;
}

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        border-color: var(--accent-color);
    }

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: .4s;
}

.service-card:hover .service-icon {
    color: var(--accent-color);
}

/* Form Liên hệ */
.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.contact-input {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 12px 15px;
    border-radius: 4px;
    width: 100%;
    margin-bottom: 20px;
    transition: .3s;
    font-family: 'Inter', sans-serif;
}

    .contact-input:focus {
        border-color: var(--accent-color);
        box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
        outline: none;
    }

.btn-submit {
    background: var(--accent-color);
    color: #fff;
    padding: 12px 35px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: .3s;
}

    .btn-submit:hover {
        background: var(--primary-color);
    }

/* Map */
.map-container iframe {
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    filter: grayscale(20%); /* Làm map hơi xám cho sang, bớt lòe loẹt */
}

/* Back to top */
.btn-back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    background: var(--accent-color);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 4px;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: .3s;
}

    .btn-back-to-top:hover {
        background: var(--primary-color);
    }

.price-text-lg {
    color: var(--accent-color);
    font-size: 1.8rem !important; 
    font-weight: 700;
    line-height: 1.2;
}
/* CSS riêng cho cụm nút liên hệ bên dưới */
.gap-custom {
    gap: 10px;
}

/* Nút Hotline to màu trắng */
.btn-hotline-white {
    background-color: #fff;
    color: #d32f2f; /* Màu đỏ cho số điện thoại nổi bật */
    font-weight: 700;
    font-size: 1.1rem;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

    .btn-hotline-white:hover {
        transform: translateY(-2px);
        background-color: #f8f9fa;
        color: #b71c1c;
    }

/* Nút icon vuông màu trắng (Zalo/Mess) */
.btn-social-white {
    width: 45px;
    height: 45px;
    background-color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

    .btn-social-white:hover {
        transform: translateY(-2px);
        background-color: #f0f0f0;
    }

    /* Chỉnh kích thước icon bên trong */
    .btn-social-white img {
        width: 28px;
        height: 28px;
        object-fit: contain;
    }

    .btn-social-white i {
        font-size: 26px;
        color: #0084ff;
    }


/* --- LUXURY LOGO STYLES --- */

.logo-luxury {
    display: flex;
    align-items: center;
    gap: 12px; /* Khoảng cách giữa hộp và chữ */
    text-decoration: none !important;
}

/* 1. Cái hộp vuông chứa chữ T */
.logo-box {
    width: 45px;
    height: 45px;
    background-color: #fff; /* Nền trắng */
    color: #000; /* Chữ đen */
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    border: 1px solid rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* 2. Phần chữ bên phải */
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

/* Chữ TÂM AN */
.brand-name {
    font-family: 'Cormorant Garamond', serif; /* Font có chân sang trọng */
    font-size: 26px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

/* Chữ MODERN ESTATE */
.brand-slogan {
    font-family: 'Montserrat', sans-serif;
    font-size: 9px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px; /* Dãn chữ rộng ra cho sang */
    margin-top: 3px;
    transition: color 0.3s;
}

/* --- XỬ LÝ ĐỔI MÀU (Logic cũ của mình) --- */

/* KHI MENU TRONG SUỐT (Nền tối) */
.navbar-transparent .brand-name {
    color: #fff;
}
/* Chữ trắng */
.navbar-transparent .brand-slogan {
    color: rgba(255,255,255,0.8);
}
/* Hộp chữ T giữ nguyên nền trắng chữ đen cho nổi bật */


/* KHI MENU CUỘN XUỐNG (Nền trắng) */
.navbar-scrolled .brand-name {
    color: #1a1a1a;
}
/* Chữ đen */
.navbar-scrolled .brand-slogan {
    color: #666;
}
/* Slogan xám */
.navbar-scrolled .logo-box {
    background-color: var(--primary-color); /* Đổi hộp thành màu xanh chủ đạo */
    color: #fff; /* Chữ thành trắng */
    border: none;
}


/* --- CATEGORY CARD STYLE (Dạng dự án) --- */
.category-card {
    display: block;
    text-decoration: none !important;
    perspective: 1000px;
}

.card-inner {
    position: relative;
    height: 300px; /* Độ cao đứng giống các dự án trong hình 823109.jpg */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Đảm bảo ảnh lấp đầy khung mà không bị méo */
    transition: transform 0.6s ease;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    /* Tạo hiệu ứng tối dần từ dưới lên để chữ màu trắng dễ đọc */
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.card-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
}

    .card-content h6 {
        font-weight: 700;
        font-size: 1.1rem;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

/* Hiệu ứng khi di chuột vào */
.category-card:hover .card-inner {
    transform: translateY(-10px); /* Nhấc ô lên */
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.category-card:hover .card-img {
    transform: scale(1.1); /* Phóng to ảnh nhẹ */
}

/* Badge số lượng tin */
.card-content .badge {
    font-size: 0.75rem;
    padding: 5px 10px;
}

/* --- KHUNG ẢNH TRONG TRANG CHI TIẾT --- */
.product-carousel .carousel-inner {
    height: 500px; /* Chiều cao cố định cho vùng xem ảnh */
    background-color: #333; /* Nền tối để nổi bật ảnh */
    border-radius: 8px;
}

.product-carousel .carousel-item {
    height: 500px;
    text-align: center;
}

    .product-carousel .carousel-item img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        /* Căn giữa ảnh tuyệt đối trong khung 500px */
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        object-fit: contain; /* Quan trọng: Không làm méo ảnh, hiện đầy đủ nội dung sổ đỏ */
    }

/* --- KHUNG ẢNH DANH SÁCH (Sản phẩm cùng loại) --- */
.property-img {
    position: relative;
    width: 100%;
    padding-top: 75%; /* Tạo khung tỉ lệ 4:3 cố định */
    overflow: hidden;
    background: #f0f0f0;
}

    .property-img img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover; /* Lấp đầy khung, tự cắt bớt rìa nếu ảnh quá dài/cao */
    }

.product-carousel .carousel-item a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    cursor: zoom-in;
}

.zoom-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    opacity: 0;
    transition: 0.3s;
    z-index: 10;
}

.product-carousel .carousel-item:hover .zoom-icon {
    opacity: 1;
}

/*slide*/
.hero-img {
    height: 600px; /* tùy chỉnh chiều cao */
    object-fit: cover;
    /*animation: zoomEffect 12s ease-in-out infinite;*/
}

@keyframes zoomEffect {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
} 
.carousel-item {
    transition: transform 1s ease-in-out;
}

.hero-wrapper {
    position: relative;
    overflow: hidden;
}

/* slide làm mốc */
.carousel-item {
    position: relative;
}

/* CTA nằm trên ảnh */
.hero-cta {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999; /* đè tất cả */
}

/* Nút glass */
.hero-btn-outline {
    display: inline-block; /* QUAN TRỌNG để nhận click */
    padding: 14px 34px;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: .5px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 6px 18px rgba(0,0,0,.15);
    transition: all .3s ease;
    text-decoration: none;
    pointer-events: auto; /* đảm bảo nhận click */
}

    .hero-btn-outline:hover {
        background: rgba(255, 255, 255, 0.28);
        border-color: rgba(255, 255, 255, 0.9);
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 10px 26px rgba(0,0,0,.25);
    }

/* ĐÈ CONTROL BOOTSTRAP */
.carousel-control-prev,
.carousel-control-next {
    z-index: 5;
}

/* Mobile */
@media (max-width: 768px) {
    .hero-cta {
        bottom: 50px;
    }

    .hero-btn-outline {
        padding: 10px 24px;
        font-size: 14px;
    }
}


/*TIN TỨC*/
.news-wrapper {
    max-width: 1366px;
    margin: 0 auto;
    padding: 0 15px;
    background-color: #fff;
}

a, a:hover {
    text-decoration: none !important;
    color: inherit;
}

.featured-box {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    height: 400px;
    background-color: #eee;
}

    .featured-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: 0.5s;
    }

    .featured-box:hover img {
        transform: scale(1.05);
    }

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 24px;
    background: #ffffff5c;
}

    .featured-overlay h2 {
        font-size: 24px;
        font-weight: bold;
        color: var(--primary-color);
        margin: 8px 0;
    }

.section-label {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 2px solid #e03c31;
    display: inline-block;
    padding-bottom: 4px;
    margin-bottom: 20px;
}

.news-item-hidden {
    display: none;
}

.btn-view-more {
    display: block;
    width: 200px;
    margin: 30px auto;
    padding: 10px;
    border: 1px solid #e03c31;
    color: #e03c31;
    background: #fff;
    font-weight: bold;
    border-radius: 4px;
    transition: 0.3s;
    cursor: pointer;
}

    .btn-view-more:hover {
        background: #e03c31;
        color: #fff;
    }
.news-item h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    line-height: 2rem;
    font-weight: 400;
    text-transform: uppercase;
}
.news-title-small {
    font-size: 1.2rem;
    margin-top: 5px;
    color: var(--accent-color);
    line-height: 2rem;
}
.news-title-small {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 4px;
}

.news-desc-small {
    font-size: 13px;
    line-height: 1.4;
    color: #666;
}

.side-item:hover .news-title-small {
    color: #e03c31;
}
.article-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4; 
    margin-bottom: 18px;
}

.featured-image-container img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 35px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* ===== CONTENT STYLE ===== */

.article-content {
    font-size: 18px;
    line-height: 1.85;
    color: #333;
}

    .article-content p {
        margin: 22px 0;
        text-align: justify;
    }

    .article-content img {
        display: block;
        max-width: 100%;
        margin: 35px auto 8px auto; /* Khoảng cách trên lớn, dưới nhỏ để sát chú thích */
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    }

/* Định dạng chú thích ảnh tự động sinh ra từ thẻ alt */
.auto-image-caption {
    text-align: center;
    font-style: italic;
    color: #777;
    font-size: 15px;
    margin-bottom: 35px; /* Khoảng cách từ chú thích đến đoạn văn tiếp theo */
    display: block;
    line-height: 1.5;
}

/* ===== RELATED NEWS STYLE ===== */

.related-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 40px;
    border-left: 5px solid #e03c31;
    padding-left: 15px;
}

.related-card {
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.related-img {
    width: 280px;
    height: 170px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    flex-shrink: 0;
}

    .related-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: 0.4s ease;
    }

.related-card:hover .related-img img {
    transform: scale(1.08);
}

.related-img .badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.related-body {
    flex: 1;
}

.related-heading {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #222;
    line-height: 1.4;
    transition: 0.3s;
}

.related-card:hover .related-heading {
    color: #e03c31;
}


.related-summary {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
 
/*Dịch vụ*/
/* ====== SIDEBAR ====== */
.info-sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #eee;
}

.menu-link {
    display: block;
    padding: 12px 20px;
    color: #555;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
    margin-bottom: 5px;
    font-weight: 500;
}

    .menu-link:hover,
    .menu-link.active {
        background: #f8f9fa;
        color: #e03c31;
    }

/* ====== CHA ====== */
.taman-sections {
    display: block;
}

    /* ====== CON CHUNG ====== */
    .taman-sections .content-section {
        padding: 40px 0;
    }

/* ====== TITLE ====== */
.section-title {
    font-weight: 700;
    margin-bottom: 25px;
    border-left: 5px solid #e03c31;
    padding-left: 15px;
}

/* ====== ABOUT ====== */
.taman-sections .about-section .lead {
    font-size: 18px;
    color: #222;
}

.taman-sections .about-section ul {
    padding-left: 18px;
}

.taman-sections .about-section li {
    margin-bottom: 8px;
}

/* ====== WHY ====== */
.taman-sections .why-section .col-md-4 {
    padding: 20px;
    border-radius: 12px;
    transition: 0.3s;
}

    .taman-sections .why-section .col-md-4:hover {
        background: #f8f9fa;
        transform: translateY(-3px);
    }

/* ====== PROCESS ====== */
.taman-sections .process-section ol {
    padding-left: 20px;
    font-size: 16px;
}

.taman-sections .process-section li {
    margin-bottom: 10px;
}

/* ====== COMMITMENT ====== */
.taman-sections .commitment-section ul {
    padding-left: 18px;
}

.taman-sections .commitment-section li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 18px;
}

    .taman-sections .commitment-section li::before {
        content: "✓";
        position: absolute;
        left: 0;
        color: #e03c31;
        font-weight: bold;
    }

/* ====== SERVICES ====== */
.taman-sections .service-section .section-title {
    color: #111;
}

.taman-sections .service-section img {
    border-radius: 14px;
}

.taman-sections .service-section .article-content {
    line-height: 1.8;
    color: #444;
    font-size: 16px;
}

    .taman-sections .service-section .article-content ul {
        padding-left: 20px;
    }

    .taman-sections .service-section .article-content li {
        margin-bottom: 8px;
    }

/*Liên hệ*/ 
.title-divider {
    width: 50px;
    height: 3px;
    background-color: #e03c31;
    margin-top: 15px;
}

.shadow-custom {
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
 
.modern-input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ececec;
    border-radius: 8px;
    background-color: #fff;
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
}

    .modern-input:focus {
        border-color: #e03c31;
        box-shadow: 0 0 0 4px rgba(224, 60, 49, 0.05);
    }
     
.btn-submit-modern {
    background-color: #e03c31;  
    color: #fff;
    border: none;
    padding: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 8px;
    transition: 0.3s;
}

    .btn-submit-modern:hover {
        background-color: #c02d24;
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(192, 45, 36, 0.2);
    }
     
@media (max-width: 991px) {
    .border-end {
        border-end: none !important;
        border-bottom: 1px solid #eee;
    }

    .company-details {
        text-align: center;
    }

    .info-item {
        justify-content: center;
    }
}