/* =========================================================
   THE ESTATE EDITORIAL — Frontend Styles
   ========================================================= */

/* --- CSS Variables --- */
:root {
    --primary: #FFA920;
    --primary-light: #FFC666;
    --primary-dark: #D98A11;
    --primary-bg: #FFF6E8;
    --on-surface: #1b1c19;
    --on-surface-variant: #4e4639;
    --surface-container-low: #f5f3ee;
    --surface-container: #f0eee9;
    --outline-variant: #d1c5b4;
    --white: #ffffff;
}

/* --- Base --- */
* {
    box-sizing: border-box;
}

.border-bottom {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.zalo-icon {
    font-size: 13px;
    font-weight: 800;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--on-surface);
    background: var(--white);
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

html {
    overflow-x: hidden;
}


.font-headline {
    font-family: 'Manrope', sans-serif;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
    line-height: 1;
}

.py-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.object-fit-cover {
    object-fit: cover;
}

.cursor-pointer {
    cursor: pointer;
}

/* =========================================================
   HEADER (PROTY STYLE)
   ========================================================= */
.site-header {
    transition: all 0.3s ease;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* Clean, elegant border */
}

.nav-link-item {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-link-item:hover,
.nav-link-item.active {
    color: #f39c12;
}

.header-logo .logo-icon {
    box-shadow: 0 4px 10px rgba(243, 156, 18, 0.3);
}

.btn-ky-gui {
    background: linear-gradient(135deg, #ff9500 0%, #ff5e00 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 10px 25px !important;
    border-radius: 50px !important;
    font-size: 14px !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 800 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none !important;
}

.btn-ky-gui:hover {
    background-color: #e67e22 !important;
    color: #fff !important;
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.5);
    transform: translateY(-2px);
}

/* =========================================================
   HERO & SEARCH (PROTY STYLE)
   ========================================================= */
.hero-section {
    min-height: 700px;
    padding: 100px 0;
}

.hero-search-bar {
    max-width: 100%;
}

.search-type-dropdown select {
    background: transparent;
    cursor: pointer;
    background-image: none;
    padding-right: 0;
}

.search-input-wrap input::placeholder {
    color: #999;
}

#advancedFilterCard .card {
    background: #fff;
    z-index: 100;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12) !important;
}

.custom-range::-webkit-slider-runnable-track {
    background: #eee;
    height: 6px;
    border-radius: 3px;
}

.custom-range::-webkit-slider-thumb {
    background: #f39c12;
    border-color: #f39c12;
    width: 18px;
    height: 18px;
    margin-top: -6px;
}

.custom-select-pill {
    border-radius: 30px;
    border: 1px solid #eee;
    padding: 10px 20px;
    font-size: 14px;
    color: #666;
}

.form-check-input:checked {
    background-color: #f39c12;
    border-color: #f39c12;
}

.shadow-xl {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767.98px) {
    .hero-search-bar {
        border-radius: 20px !important;
        flex-direction: column;
        padding: 20px !important;
    }

    .search-type-dropdown {
        border-right: none !important;
        border-bottom: 1px solid #eee;
        width: 100%;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    .search-actions {
        width: 100%;
        margin-top: 15px;
        justify-content: space-between;
    }
}

/* Mobile Header Adjustments */
@media (max-width: 575.98px) {
    .header-logo img {
        max-height: 38px !important;
    }

    .btn-ky-gui {
        padding: 15px 25px !important;
        font-size: 14px !important;
        letter-spacing: 1px;
        width: 100%;
    }

    .site-header .container-xl {
        padding-left: 10px;
        padding-right: 10px;
    }

    .header-actions {
        gap: 10px !important;
    }
}


/* =========================================================
   SECTION LABELS & BUTTONS
   ========================================================= */
.prop-label-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary);
    padding: 4px 12px;
    border: 1px solid var(--primary-light);
    border-radius: 999px;
    background: var(--primary-bg);
}

.btn-primary-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1.5px solid var(--primary);
    padding: 9px 20px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
    color: var(--primary);
    background: transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary-outline:hover {
    background: var(--primary);
    color: #fff;
}

/* Section heading */
.section-heading h2 {
    font-size: 2rem;
}

.section-heading-line {
    width: 48px;
    height: 3px;
    background: var(--primary);
    border-radius: 999px;
    margin: 16px auto 0;
}

/* Filter buttons */
.prop-filter-btn {
    padding: 7px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

.prop-filter-btn:hover,
.prop-filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* Bootstrap btn-primary override */
.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-primary:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.badge.bg-primary {
    background-color: var(--primary) !important;
}

/* =========================================================
   PROPERTY CARD
   ========================================================= */
.prop-card-link {
    display: block;
    color: inherit;
    transition: none;
}

.prop-card-link:hover {
    color: inherit;
}

.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

.prop-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f0ede8;
    display: flex;
    flex-direction: column;
}

.prop-card:hover {
    box-shadow: 0 12px 32px rgba(197, 160, 89, 0.15);
}

/* Image area */
.prop-card-img {
    position: relative;
    height: 210px;
    overflow: hidden;
    flex-shrink: 0;
}

.prop-card-img img {
    transition: transform 0.55s ease;
}

.prop-card:hover .prop-card-img img {
    transform: scale(1.07);
}

/* Badges */
.prop-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
}

.prop-badge-gold {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--primary);
    color: #fff;
    padding: 3px 10px;
    border-radius: 999px;
}

.prop-badge-dark {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(27, 28, 25, 0.65);
    color: #fff;
    backdrop-filter: blur(4px);
    padding: 3px 10px;
    border-radius: 999px;
}

/* Wishlist button */
.prop-card-wish {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #9ca3af;
    transition: background 0.2s, color 0.2s;
}

.prop-card-wish:hover {
    background: #ef4444;
    color: #fff;
}

.prop-card-wish .material-symbols-outlined {
    font-size: 17px;
}

/* Body */
.prop-card-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.prop-card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    color: var(--on-surface);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.prop-card-location {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #9ca3af;
    margin: 0;
}

.prop-card-location .material-symbols-outlined {
    font-size: 13px;
}

/* Specs row */
.prop-card-specs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
    padding: 8px 0;
    border-top: 1px solid #f3f0eb;
    border-bottom: 1px solid #f3f0eb;
}

.prop-spec-item {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.prop-spec-item .material-symbols-outlined {
    font-size: 16px;
    color: inherit;
}

.prop-spec-sep {
    width: 1px;
    height: 12px;
    background: #e5e1d8;
    flex-shrink: 0;
}

/* Footer */
.prop-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 4px;
}

.prop-card-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
}

.prop-icon-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #9ca3af;
    transition: border-color 0.2s, color 0.2s;
}

.prop-icon-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.prop-icon-btn .material-symbols-outlined {
    font-size: 15px;
}

/* =========================================================
   EXPLORE LOCATION CARDS
   ========================================================= */
.location-card {
    overflow: hidden;
}

.location-img {
    transition: transform 0.6s ease;
}

.location-card:hover .location-img {
    transform: scale(1.08);
}

.location-overlay {
    background: rgba(0, 0, 0, 0.28);
    transition: background 0.3s;
    position: absolute;
    inset: 0;
}

.location-card:hover .location-overlay {
    background: rgba(0, 0, 0, 0.48);
}

/* =========================================================
   HOW IT WORKS — STEP CARDS
   ========================================================= */
.step-card {
    border: 1px solid var(--surface-container);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.step-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(197, 160, 89, 0.12);
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
    background: #fff;
    border-top: 1px solid #f0eeea;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #e5e1d8;
    color: #6b6560;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.25s;
}

.social-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.hover-primary:hover {
    color: var(--primary) !important;
}

/* =========================================================
   AGENT SPOTLIGHT SECTION
   ========================================================= */
.agent-section {
    background-image: url('../images/bg-agent.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: 30px 0;
}

/* Eyebrow label — dùng chung */
.commitment-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--primary);
}

.commitment-eyebrow::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

/* LEFT: photo column */
.agent-photo-col {
    min-height: 650px;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: flex-end;
    padding-top: 80px;

}

.agent-photo-img {
    width: auto;
    max-width: 85%;
    max-height: 650px;
    object-fit: contain;
    object-position: bottom center;
    display: block;
    flex-shrink: 0;
}

.agent-photo-fade {
    display: none;
}

/* Stats card — nằm dưới ảnh */
.agent-stats-card {
    display: flex;
    margin: 20px 0 36px 0;
}

.agent-stat-item {
    text-align: left;
    padding-right: 32px;
    margin-right: 32px;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.agent-stat-item:last-child {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
}

.agent-stat-val {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--on-surface);
    line-height: 1;
}

.agent-stat-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-top: 6px;
}

/* RIGHT: content column */
.agent-content-col {
    /* padding: 36px 48px; */
}

.agent-designation {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .1em;
}

.agent-bio {
    font-size: 14px;
    line-height: 1.8;
    color: var(--on-surface-variant);
}

/* Service steps — 1 dòng mỗi step, cách nhau */
.agent-steps-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 36px;
}

.agent-step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 6px 0;
    background: transparent;
}

.agent-step-num {
    font-size: 16px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.agent-step-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: 3px;
    line-height: 1.3;
}

.agent-step-desc {
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.5;
}

/* Agent contact buttons */
.agent-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 3px 15px 3px 3px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #ffffff;
    text-decoration: none;
    color: var(--on-surface);
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.agent-contact-btn:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 169, 32, 0.15);
}

.agent-contact-btn-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary-bg);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.agent-contact-btn:hover .agent-contact-btn-icon {
    transform: rotate(10deg) scale(1.1);
}

.agent-contact-btn-label {
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
    background-color: #2e2e2e;
    color: #a8a8a8;
}

/* Top bar & bottom bar slightly darker */

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Contact icons — outline circle like in image */
.footer-contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.footer-contact-icon .material-symbols-outlined {
    font-size: 20px;
}

.footer-contact-label {
    font-size: 14px;
    color: #888888;
    margin-bottom: 2px;
}

.footer-contact-value {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}

/* Brand description */
.footer-brand-desc {
    font-size: 13px;
    color: #888888;
    line-height: 1.75;
    max-width: 320px;
}

/* Column titles */
.footer-col-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: .01em;
    text-transform: uppercase;
}
.info_contact_footer{
    font-size: 14px;
    text-decoration: none;
}

/* Link list */
.footer-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.footer-link-list a {
    display: inline-block;
    font-size: 0.9rem;
    color: #a8a8a8;
    text-decoration: none;
    padding: 2px 10px;
    transition: color 0.2s;
}

.footer-link-list a:hover {
    color: #ffffff;
}

/* Link list dạng 2 cột với icon */
.footer-link-list--cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 10px;
}

.footer-link-list--cols a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 0px;
    border-radius: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer-link-list--cols a .bi {
    font-size: 0.75rem;
    color: #888;
    flex-shrink: 0;
    transition: color 0.2s;
}

.footer-link-list--cols a:hover .bi {
    color: #ffffff;
}

/* Link list dạng ul/li */
.footer-link-list-plain {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-link-list-plain li {
    display: flex;
    align-items: center;
    gap: 7px;
}

.footer-link-list-plain li::before {
    content: '›';
    color: #888;
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
}

.footer-link-list-plain a {
    font-size: 14px;
    color: #a8a8a8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link-list-plain a:hover {
    color: #ffffff;
}

/* Newsletter */
.footer-newsletter-desc {
    font-size: 13px;
    color: #888888;
    margin-bottom: 14px;
}

.footer-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-newsletter-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 13px;
    color: #fff;
    outline: none;
    width: 100%;
    transition: border-color 0.2s;
}

.footer-newsletter-input::placeholder {
    color: #666666;
}

.footer-newsletter-input:focus {
    border-color: rgba(255, 255, 255, 0.35);
}

.footer-newsletter-btn {
    background: #e8883a;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.2s;
    letter-spacing: .04em;
}

.footer-newsletter-btn:hover {
    background: #d4762c;
}

.footer-newsletter-check {
    font-size: 12px;
    color: #666666;
    cursor: pointer;
    line-height: 1.4;
}

.footer-newsletter-check input {
    accent-color: #e8883a;
}

/* Quick link pills */
.footer-quick-link {
    font-size: 12px;
    color: #888888;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    padding: 3px 10px;
    transition: all 0.2s;
}

.footer-quick-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Bottom bar */
.footer-copyright {
    font-size: 13px;
    color: #666666;
}

.footer-copyright strong {
    color: #ffffff;
}

.footer-social-label {
    font-size: 13px;
    color: #888888;
}

@media (max-width: 767.98px) {
    body { padding-bottom: 65px; }
    .footer-bottom>.container-xl>.d-flex {
        flex-direction: column !important;
        text-align: center;
    }

    .footer-copyright {
        width: 100%;
        text-align: center;
    }

    .footer-bottom .d-flex .d-flex {
        flex-direction: row !important;
        justify-content: center !important;
        flex-wrap: wrap;
        gap: 0.5rem !important;
    }
}

.footer-social-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a8a8a8;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.footer-social-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

/* =========================================================
   UTILITIES
   ========================================================= */
.tracking-widest {
    letter-spacing: 0.15em;
}

.w-fit {
    width: fit-content;
}

.inset-0 {
    inset: 0;
}

/* Scroll to Top */
.btn-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 46px;
    height: 46px;
    background: var(--primary);
    color: #ffffff;
    border: 1px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-scroll-top:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 169, 32, 0.3);
}

.btn-mobile-search .material-symbols-outlined {
    font-size: 20px;
}

/* Fix missing borders for search inputs */
.advanced-filter-panel .form-select,
.modal-body .form-select,
.advanced-filter-panel .form-control,
.modal-body .form-control {
    border: 1px solid #dee2e6 !important;
    background-color: white !important;
    border-radius: 8px !important;
}

.advanced-filter-panel .form-select:focus,
.modal-body .form-select:focus,
.advanced-filter-panel .form-control:focus,
.modal-body .form-control:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 169, 32, 0.15) !important;
}

.btn-scroll-top .material-symbols-outlined {
    font-size: 22px;
}

@media (max-width: 767.98px) {
    .btn-scroll-top { bottom: calc(70px + 12px); right: 20px; }
    .sticky-contact-bar { bottom: calc(80px + 12px + 46px + 12px) !important; right: 16px; }
}

/* Sticky Contact Bar */
.sticky-contact-bar {
    position: fixed;
    right: 20px;
    bottom: 95px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.contact-item {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(-5px) scale(1.1);
    color: #ffffff;
}

/* Tooltip style */
.contact-item {
    position: relative;
}

.contact-item::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 56px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.contact-item::after {
    content: '';
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid rgba(0, 0, 0, 0.8);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.contact-item:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.contact-item:hover::after {
    opacity: 1;
    visibility: visible;
}

.contact-item.phone {
    background: #4CAF50;
}

.contact-item.zalo {
    background: #0084FF;
}

.contact-item.facebook {
    background: #1877F2;
}

.contact-item.tiktok {
    background: #000000;
}

.contact-item .material-symbols-outlined {
    font-size: 22px;
}

.h-80 {
    height: 80% !important;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-page-section {
    background: #fdfcf9;
}

.contact-detail-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 28px;
    flex-shrink: 0;
}

.contact-detail-label {
    font-size: 13px;
    color: #888888;
    margin-bottom: 2px;
}

.contact-detail-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--on-surface);
}

/* Custom Form Styles */
.input-group-custom {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0 16px;
    transition: all 0.2s;
}

.input-group-custom:focus-within {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 169, 32, 0.1);
}

.input-group-custom .material-symbols-outlined {
    font-size: 20px;
    color: #94a3b8;
    margin-right: 12px;
}

.form-control-custom,
.form-select-custom {
    flex: 1;
    background: transparent;
    border: none;
    padding: 14px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--on-surface);
    outline: none;
}

.form-control-custom::placeholder {
    color: #94a3b8;
}

.btn-contact-submit {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-contact-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 169, 32, 0.25);
}

.contact-form-card {
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
}

@media (max-width: 991.98px) {
    .contact-page-section h1 {
        font-size: 2.2rem !important;
    }
}

/* =========================================================
   NEWS SECTION
   ========================================================= */
.news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 169, 32, 0.2);
}

.news-card-img {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.news-card-img img {
    transition: transform 0.6s ease;
}

.news-card:hover .news-card-img img {
    transform: scale(1.1);
}

.news-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

.news-card-body {
    padding: 24px;
}

.news-meta {
    display: flex;
    align-items: center;
    color: #888;
}

.fs-small {
    font-size: 13px;
}

.news-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.news-title a {
    color: var(--on-surface);
    text-decoration: none;
    transition: color 0.2s;
}

.news-card:hover .news-title a {
    color: var(--primary);
}

.news-excerpt {
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 20px;
}

.news-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: gap 0.2s;
}

.news-link:hover {
    gap: 8px;
}

/* --- Featured Categories Grid ---
   4 cột đều: hàng 1 to=span(1-3), hàng 2 to=span(3-5)
   Hàng 1: [  to trái  span 1-3  ] [nhỏ] [nhỏ]
   Hàng 2: [nhỏ] [nhỏ] [  to phải span 3-5  ]
*/
.featured-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 300px 300px;
    gap: 12px;
}

.feat-cat-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.feat-cat-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.feat-cat-item:hover img {
    transform: scale(1.06);
}

/* Hàng 1: to span 2 cột đầu, 2 nhỏ mỗi cái 1 cột */
.feat-cat-item--large-left {
    grid-column: 1 / 3;
    grid-row: 1;
}

.feat-cat-item--small-1 {
    grid-column: 3;
    grid-row: 1;
}

.feat-cat-item--small-2 {
    grid-column: 4;
    grid-row: 1;
}

/* Hàng 2: 2 nhỏ mỗi cái 1 cột, to span 2 cột cuối */
.feat-cat-item--small-3 {
    grid-column: 1;
    grid-row: 2;
}

.feat-cat-item--small-4 {
    grid-column: 2;
    grid-row: 2;
}

.feat-cat-item--large-right {
    grid-column: 3 / 5;
    grid-row: 2;
}

.feat-cat-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 24px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.45) 55%, transparent 100%);
}

.feat-cat-name {
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

.feat-cat-count {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    margin-bottom: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.2px;
}

@media (max-width: 768px) {
    .featured-categories-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 200px 160px 160px 200px;
    }

    .feat-cat-item--large-left {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    .feat-cat-item--small-1 {
        grid-column: 1;
        grid-row: 2;
    }

    .feat-cat-item--small-2 {
        grid-column: 2;
        grid-row: 2;
    }

    .feat-cat-item--small-3 {
        grid-column: 1;
        grid-row: 3;
    }

    .feat-cat-item--small-4 {
        grid-column: 2;
        grid-row: 3;
    }

    .feat-cat-item--large-right {
        grid-column: 1 / 3;
        grid-row: 4;
    }

    .featured-categories-grid {
        grid-template-rows: 200px 160px 160px 200px;
    }
}

.cform-error {
    font-size: 12px;
    color: #ef4444;
    min-height: 10px;
    display: block;
}

.cform-field-error {
    border-color: #ef4444 !important;
}
/* =========================================================
   TESTIMONIALS SECTION
   ========================================================= */
/* ===== TESTIMONIALS ===== */
.testimonial-section {
    background: #f9f7f3;
    position: relative;
    overflow: hidden;
    padding-top: 60px;
}

/* Header */
.testimonial-header {
    margin-bottom: 56px;
}

.testi-eyebrow {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--primary);
    margin-bottom: 14px;
    text-transform: uppercase;
}

.testi-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
    margin-bottom: 14px;
}

.testi-subtitle {
    font-size: 15px;
    color: #6b7280;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.75;
}

/* Swiper wrapper */
.testi-swiper {
    padding-bottom: 56px !important;
}

.testi-swiper .swiper-slide {
    height: auto;
}

/* Nav row */
.testi-swiper-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
}

.testi-btn-prev,
.testi-btn-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid #d6cfc0;
    background: #fff;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    flex-shrink: 0;
}

.testi-btn-prev:hover,
.testi-btn-next:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.testi-btn-prev .material-symbols-outlined,
.testi-btn-next .material-symbols-outlined {
    font-size: 18px;
}

.testi-pagination {
    position: static !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

.testi-pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    background: #d1c9b8;
    opacity: 1;
    transition: background 0.2s, width 0.2s;
    border-radius: 4px;
    margin: 0 !important;
}

.testi-pagination .swiper-pagination-bullet-active {
    background: var(--primary);
    width: 20px;
}

/* Card */
.testimonial-card {
    background: #fff;
    border: 1px solid #ede8df;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.11);
}

.testimonial-card-inner {
    padding: 32px 28px 26px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Big quote */
.testimonial-big-quote {
    font-size: 64px;
    line-height: 1;
    color: var(--primary);
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    opacity: 0.5;
    display: block;
    margin-bottom: -15px;
    margin-top: -8px;
}

/* Content */
.testimonial-content {
    font-size: 14.5px;
    color: #374151;
    line-height: 1.8;
    flex: 1;
    margin: 0 0 24px;
    font-style: italic;
}

/* Author row at bottom */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-top: 20px;
    border-top: 1px solid #f0ebe0;
    margin-top: auto;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2.5px solid #e8e0d0;
}

.testimonial-avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark, #c97d00) 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.testimonial-name {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
}

.testimonial-note {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 400;
}

/* Responsive */
@media (max-width: 991px) {
    .testi-title {
        font-size: 2rem;
    }
}

@media (max-width: 575px) {
    .testi-title {
        font-size: 1.75rem;
    }

    .testimonial-header {
        margin-bottom: 36px;
    }
}

/* =========================================================
   HERO & SEARCH BAR
   ========================================================= */
.hero-section {
    min-height: 680px;
    background-color: #0d1b2a;
}

@media (max-width: 991.98px) {
    .hero-section {
        min-height: 540px;
        padding: 60px 0;
        background-image: url('../images/home_bg.jpg');
        background-size: cover;
        background-position: center;
    }
    .hero-section > div:first-child img {
        display: none; /* Hide only the img tag, keep the overlay div */
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg,
            rgba(8, 18, 38, 0.72) 0%,
            rgba(12, 22, 45, 0.45) 60%,
            rgba(20, 35, 60, 0.55) 100%);
}

.hero-container {
    max-width: 1060px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2rem, 5.5vw, 3rem);
    line-height: 1.08;
    letter-spacing: 5px;
    text-shadow: 0 6px 24px rgba(0, 0, 0, 0.55);
}

.hero-subtitle {
    font-size: clamp(0.88rem, 1.8vw, 1.05rem);
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.8;
    font-weight: 300;
    line-height: 1.65;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.hero-search-wrapper {
    max-width: 960px;
}

.search-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32), 0 4px 16px rgba(0, 0, 0, 0.12);
}

.search-main-row {
    min-height: 76px;
    border-radius: 14px;
}

.search-field-txn {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}


.txn-toggle {
    display: flex;
    background: #f4f5f7;
    border-radius: 8px;
    padding: 3px;
    gap: 2px;
}

.txn-btn {
    background: transparent;
    border: none;
    color: #888;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 22px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.18s;
    white-space: nowrap;
}

.txn-btn.active {
    background: linear-gradient(135deg, #ff9500, #ff5e00);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 94, 0, 0.35);
    font-weight: 700;
}

.search-divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent, #e8e8e8 30%, #e8e8e8 70%, transparent);
    margin: 8px 0;
    flex-shrink: 0;
}

.search-field-keyword {
    padding: 14px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    position: relative;
}

.search-icon {
    color: #c8c8c8;
    font-size: 20px;
    margin-right: 10px;
    flex-shrink: 0;
}

.search-input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.95rem;
    font-weight: 500;
    color: #0d1b2a;
    background: transparent;
}

.btn-search-main {
    background: linear-gradient(135deg, #ff9500 0%, #ff5e00 100%);
    border: none;
    color: white;
    font-size: 0.88rem;
    font-weight: 800;
    padding: 0 26px;
    height: 52px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 18px rgba(255, 94, 0, 0.42);
}

.advanced-filter-panel {
    padding: 24px 28px 26px;
    border-top: 1px solid #f0f0f0;
}

/* Mobile Search */
.mobile-search-card {
    background: white;
    border-radius: 14px;
    padding: 8px 8px 8px 16px;
    gap: 8px;
    align-items: center;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.btn-mobile-filter {
    background: #fff4e0;
    border: none;
    color: #ff8c00;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-mobile-search {
    background: linear-gradient(135deg, #ff9500, #ff5e00);
    border: none;
    color: white;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Search & Hero Refinements */
@media (max-width: 767.98px) {
    .hero-title {
        letter-spacing: 2px !important;
        margin-bottom: 12px !important;
    }
    .hero-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 30px !important;
        padding: 0 10px;
    }
    .mobile-search-form {
        margin-top: 10px;
        width: 100%;
    }
    .mobile-search-card {
        height: 58px;
        width: 100%;
        background: #fff !important;
        position: relative;
        z-index: 10;
    }
    .mobile-search-input {
        background: transparent !important;
        border: none !important;
        outline: none !important;
        width: 100%;
        color: #333 !important;
        font-size: 1rem !important;
        padding: 12px 0 !important;
    }
    .mobile-search-icon {
        color: #ff8c00 !important;
        font-size: 22px !important;
        margin-right: 10px;
    }
}

/* Laravel-style Filter Modal & Search */
.mobile-filter-modal {
    border-radius: 10px !important;
    background: #fff;
}

.modal-fullscreen-sm-down .mobile-filter-modal {
    border-radius: 0 !important;
}

.mobile-filter-modal .modal-header {
    background: linear-gradient(135deg, #ff9500, #ff6000);
    color: white;
}

.mobile-filter-modal .modal-title {
    color: white;
}

.mobile-filter-modal .btn-close {
    filter: invert(1) brightness(2);
}

.modal-field-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ff8c00;
    margin-bottom: 10px;
}

.modal-type-btn {
    flex: 1;
    border: 1.5px solid #e8e8e8;
    background: white;
    color: #555;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.18s;
}

.modal-type-btn.active {
    border-color: #ff8c00;
    background: linear-gradient(135deg, #fff4e0, #fff0d4);
    color: #ff7000;
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.2);
}

.modal-input-wrap {
    display: flex;
    align-items: center;
    background: #f4f5f7;
    border-radius: 10px;
    padding: 11px 14px;
    border: 1.5px solid transparent;
    transition: border-color 0.18s;
}

.modal-input-wrap:focus-within {
    border-color: #ff8c00;
    background: #fff;
}

.modal-input-icon {
    color: #c0c0c0;
    font-size: 20px;
    margin-right: 10px;
}

.modal-text-input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.88rem;
    width: 100%;
    color: #0d1b2a;
}

.btn-clear-filters {
    background: none;
    border: 1.5px solid #e0e0e0;
    color: #999;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 13px 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.18s;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.btn-apply-filters {
    background: linear-gradient(135deg, #ff9500 0%, #ff5e00 100%);
    border: none;
    color: white;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    padding: 13px 22px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    box-shadow: 0 4px 16px rgba(255, 94, 0, 0.38);
    transition: all 0.2s;
}

.btn-mobile-search {
    background: linear-gradient(135deg, #ff9500, #ff5e00);
    border: none;
    color: white;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(255, 94, 0, 0.42);
    transition: all 0.18s;
}

/* Fix missing borders for search inputs */
.advanced-filter-panel .form-select,
.modal-body .form-select,
.advanced-filter-panel .form-control,
.modal-body .form-control {
    border: 1px solid #dee2e6 !important;
    background-color: white !important;
    border-radius: 8px !important;
}

.advanced-filter-panel .form-select:focus,
.modal-body .form-select:focus,
.advanced-filter-panel .form-control:focus,
.modal-body .form-control:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 169, 32, 0.15) !important;
}
