*{
    border: none;
    outline: none;
}

.top-bar {
    background-color: #fca311;
    color: #fff;
    font-weight: bold;
}

.slider-img {
    height: 600px;
    object-fit: cover;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .slider-img {
        height: 220px;
    }
}

.footer-section {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

/* Banner Header */
.hero-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("../images/banner-property-9.jpg") no-repeat center center;
    background-size: cover;
    padding: 200px 0;
    color: #fff;
}

/* Section Headings with bottom border */
.section-title {
    position: relative;
    font-weight: 700;
    color: #0d233a;
    display: inline-block;
    margin-bottom: 30px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 3px;
    background-color: #007bff;
}

/* Dark Search Filter Form */
.search-box {
    background-color: #333333;
    border-radius: 4px;
}

.search-nav-tabs .nav-link {
    color: #ccc;
    border: none;
    border-radius: 0;
    font-size: 14px;
    padding: 10px 15px;
}

.search-nav-tabs .nav-link.active {
    background-color: #007bff !important;
    color: #fff !important;
}

.search-box .form-select,
.search-box .form-control {
    background-color: #444;
    border: 1px solid #555;
    color: #fff;
}

.search-box .form-select:focus,
.search-box .form-control:focus {
    background-color: #444;
    color: #fff;
    border-color: #007bff;
    box-shadow: none;
}

.search-box .form-select option {
    background-color: #333;
}

/* မူရင်း Styles များ */
.property-card {
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-radius: 0;
    overflow: hidden;
    background: #fff;
}

.card-img-wrap {
    position: relative;
    overflow: hidden;
}

.badge-sale {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff3333;
    color: #fff;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: bold;
    z-index: 2;
}

.badge-offer {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #00bfff;
    color: #fff;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: bold;
    z-index: 2;
}

.meta-text {
    font-size: 12px;
    color: #777;
}

.card-features-bar {
    background-color: #007bff;
    color: #fff;
    font-size: 13px;
    padding: 8px 12px;
}

/* --- Hover အမည်းရောင် Overlay နှင့် Icon များအတွက် CSS New --- */
.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* အမည်းရောင် မှိုင်းမှိုင်း */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

/* Hover တင်လိုက်ရင် Overlay ကို ပေါ်လာစေခြင်း */
.card-img-wrap:hover .img-overlay {
    opacity: 1;
}

/* Hover ထဲက Icon ခလုတ်များ ပုံစံ */
.overlay-btn {
    background-color: #fff;
    color: #333;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
    text-decoration: none;
}

.overlay-btn:hover {
    background-color: #007bff;
    color: #fff;
    transform: scale(1.1);
}

/* Star active ဖြစ်သွားရင် အဝါရောင်ပြောင်းရန် */
.overlay-btn.star-active {
    color: #ffca28;
}

/* Tab ဖွင့်ချိန်တွင် ပေါ်လာမည့် Fade Animation ကို ပိုမိုမြန်ဆန်ချောမွေ့စေရန် */
.tab-content>.tab-pane {
    display: none;
}

.tab-content>.active {
    display: block;
}

@media (min-width: 992px) {
    .navbar-nav .nav-item.dropdown:hover .dropdown-menu {
        display: block !important;
        margin-top: 0;
    }
}

@media (max-width: 991.98px) {
    #mainNavbar.navbar-collapse.collapsing {
        overflow: hidden;
        transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    #mainNavbar.navbar-collapse:not(.show) {
        overflow: hidden;
    }

    #mainNavbar.navbar-collapse.show {
        overflow: visible;
    }

    #mainNavbar .navbar-nav .dropdown .dropdown-menu {
        display: none !important;
        position: static !important;
        float: none;
        width: auto;
        margin-top: 0;
        border: 0;
        box-shadow: none;
        padding-left: 1.25rem;
        background: transparent;
        transition: opacity 0.25s ease;
    }

    #mainNavbar .navbar-nav .dropdown.is-submenu-open > .dropdown-menu {
        display: block !important;
    }

    #mainNavbar .navbar-nav .dropdown.is-submenu-open > .dropdown-toggle::after {
        transform: rotate(180deg);
        transition: transform 0.25s ease;
    }

    .navbar-toggler {
        transition: opacity 0.2s ease;
    }

    .navbar-toggler:not(.collapsed) .navbar-toggler-icon {
        opacity: 0.85;
    }
}