/* Taqwa Land Custom Styles - Dark Green Theme */

/* Primary Button Styles */
.theme-btn1 {
    background: linear-gradient(135deg, #1a5a3e 0%, #2d7a57 100%) !important;
    border: 2px solid #1a5a3e !important;
}

.theme-btn1:hover {
    background: linear-gradient(135deg, #0f3829 0%, #1a5a3e 100%) !important;
    border-color: #0f3829 !important;
}

/* Secondary Button Styles */
.theme-btn2 {
    border: 2px solid #1a5a3e !important;
    color: #1a5a3e !important;
}

.theme-btn2:hover {
    background: #1a5a3e !important;
    border-color: #1a5a3e !important;
    color: #fff !important;
}

/* Navigation Active Links */
.nav-pills .nav-link.active {
    background: #1a5a3e !important;
}

/* Heading Colors */
h1, h2, h3 {
    color: #1a5a3e;
}

/* Primary Text Color */
.text-primary {
    color: #1a5a3e !important;
}

/* Property Category Labels */
.category-list a {
    background: #1a5a3e !important;
}

/* Form Input Focus */
input:focus, select:focus, textarea:focus {
    border-color: #1a5a3e !important;
    box-shadow: 0 0 0 2px rgba(26, 90, 62, 0.2) !important;
}

/* Progress Bars and Sliders */
.slider-fill {
    background: #1a5a3e !important;
}

/* Counter Numbers */
.counter-boxarea h2 {
    color: #1a5a3e !important;
}

/* Section Intro Text */
.section-intro h3 {
    color: #1a5a3e !important;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-intro p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

/* Custom spacing for section intro */
.section-intro.text-center.mb-4 {
    padding: 20px 0;
    background: rgba(26, 90, 62, 0.05);
    border-radius: 10px;
    margin-bottom: 30px !important;
}

/* Land share section styling */
#landshares.section-intro {
    background: rgba(26, 90, 62, 0.1);
    border: 2px solid rgba(26, 90, 62, 0.2);
}

/* Property tab active state */
.nav-pills .nav-link:hover {
    color: #1a5a3e !important;
}

/* Price display styling */
.nm-btn {
    background: #1a5a3e !important;
    border-color: #1a5a3e !important;
}

/* Heart icon hover */
.heart:hover .heart1 {
    opacity: 0;
}

.heart:hover .heart2 {
    opacity: 1;
    color: #1a5a3e;
}

/* ============================================================
   SEARCH FILTER — TL (Taqwa Land) Redesign
   ============================================================ */

.tl-search-filter {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(26,90,62,0.13);
    margin-top: 10px;
}

.tl-tabs {
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

/* --- Tabs --- */
.tl-tabs {
    display: flex;
    border-bottom: 2px solid #e8f5ee;
    background: #f7fdf9;
}

.tl-tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: color .2s, border-color .2s;
}

.tl-tab-btn:hover {
    color: #1a5a3e;
}

.tl-tab-btn.active {
    color: #1a5a3e;
    border-bottom-color: #1a5a3e;
    background: #fff;
}

/* --- Tab Content --- */
.tl-tab-content {
    padding: 22px 24px 20px;
}

/* --- Main Filter Row --- */
.tl-filter-main {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px;
}

.tl-filter-field {
    flex: 1 1 160px;
    min-width: 140px;
}

.tl-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #1a5a3e;
    margin-bottom: 6px;
}

/* Native select hidden — replaced by custom dropdown via JS */
.tl-select {
    display: none;
}

/* --- Custom Select --- */
.tl-cs-wrap {
    position: relative;
    width: 100%;
}

.tl-cs-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    background: #fafafa;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: border-color .2s, background .2s;
    user-select: none;
    white-space: nowrap;
    overflow: hidden;
}

.tl-cs-wrap.open .tl-cs-display,
.tl-cs-display:hover {
    border-color: #1a5a3e;
    background: #fff;
}

.tl-cs-val {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tl-cs-arrow {
    flex-shrink: 0;
    color: #1a5a3e;
    margin-left: 8px;
    transition: transform .2s;
}

.tl-cs-wrap.open .tl-cs-arrow {
    transform: rotate(180deg);
}

.tl-cs-list {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1.5px solid #1a5a3e;
    border-radius: 8px;
    z-index: 9999;
    box-shadow: 0 8px 28px rgba(26,90,62,0.18);
    overflow: hidden;
}

.tl-cs-wrap.open .tl-cs-list {
    display: block;
}

.tl-cs-list ul {
    list-style: none;
    margin: 0;
    padding: 6px 0;
    max-height: 240px;
    overflow-y: auto;
}

.tl-cs-list ul::-webkit-scrollbar {
    width: 5px;
}

.tl-cs-list ul::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.tl-cs-list ul::-webkit-scrollbar-thumb {
    background: #1a5a3e;
    border-radius: 3px;
}

.tl-cs-list li {
    padding: 9px 16px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: background .15s;
}

.tl-cs-list li:hover {
    background: #e8f5ee;
    color: #1a5a3e;
}

.tl-cs-list li.selected {
    background: #1a5a3e;
    color: #fff;
    font-weight: 600;
}

.tl-input {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #fafafa;
    transition: border-color .2s;
}

.tl-input:focus {
    outline: none;
    border-color: #1a5a3e;
    background-color: #fff;
}

.tl-input::placeholder {
    color: #aaa;
    font-size: 13px;
}

/* --- Actions (More Filters + Search Btn) --- */
.tl-filter-actions {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    flex-shrink: 0;
}

.tl-more-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 18px;
    border: 1.5px solid #1a5a3e;
    border-radius: 8px;
    color: #1a5a3e;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, color .2s;
    white-space: nowrap;
}

.tl-more-btn:hover,
.tl-more-btn.active {
    background: #e8f5ee;
}

.tl-search-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 22px;
    background: linear-gradient(135deg, #1a5a3e 0%, #2d7a57 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .2s;
    white-space: nowrap;
}

.tl-search-btn:hover {
    opacity: .9;
}

/* --- Advanced Panel --- */
.tl-advanced-panel {
    border-top: 1.5px dashed #c8e6d4;
    padding: 18px 0 4px;
    margin-top: 6px;
}

.tl-advanced-inner {
    /* just a wrapper */
}

.tl-adv-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: flex-end;
}

.tl-adv-field {
    flex: 1 1 150px;
    min-width: 130px;
}

/* --- Checkboxes --- */
.tl-adv-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 14px;
}

.tl-check-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    user-select: none;
}

.tl-check-label input[type="checkbox"] {
    display: none;
}

.tl-check-box {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color .2s, background .2s;
}

.tl-check-label input[type="checkbox"]:checked + .tl-check-box {
    background: #1a5a3e;
    border-color: #1a5a3e;
}

.tl-check-label input[type="checkbox"]:checked + .tl-check-box::after {
    content: '';
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translate(-1px, -1px);
    display: block;
}

/* --- Responsive --- */
@media (max-width: 767px) {
    .tl-filter-main {
        flex-direction: column;
        gap: 10px;
    }
    .tl-filter-field {
        flex: 1 1 100%;
    }
    .tl-filter-actions {
        flex-direction: column;
        width: 100%;
    }
    .tl-more-btn,
    .tl-search-btn {
        width: 100%;
        justify-content: center;
    }
    .tl-adv-field {
        flex: 1 1 100%;
    }
    .tl-tab-btn {
        padding: 12px 16px;
        font-size: 13px;
    }
}

/* Property card image — fixed height */
.property-boxarea .img1 {
    height: 220px;
    overflow: hidden;
}

.property-boxarea .img1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.property-boxarea .img1 .swiper,
.property-boxarea .img1 .swiper-wrapper,
.property-boxarea .img1 .swiper-slide {
    height: 100%;
}

.property-boxarea .img1 .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Filter section overlaps hero slider bottom */
.others-section-area {
    margin-top: -160px;
    position: relative;
    z-index: 10;
    padding-bottom: 30px;
}

