.margintop {
    margin-top: 70px;
}

@media (max-width: 768px) {
    .margintop {
        margin-top: 30px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 937px !important;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px !important;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px !important;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px !important;
    }
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (max-width: 767px) {
    .filter-card {
        display: none;
    }
}

@media (min-width: 767px) {
    .heading-outer {
        display: none;
    }
}

@media (min-width: 767px) {
    .filter-button {
        display: none;
    }
}

@media (max-width: 767px) {
    .heading {
        display: none;
    }
}

.heading {
    font-weight: bold;
}

.heading-outer {
    font-weight: bold;
    text-align: center;
}

.filter-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: sticky;
    top: 20px;
}

.filter-section {
    margin-bottom: 20px;
}

.filter-section h6 {
    font-weight: 600;
    margin-bottom: 10px;
}

.form-check {
    margin-bottom: 8px;
}

/* Dropdown button styling */
.dropdown-toggle {
    width: 100%;
    text-align: left;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 10px;
    font-size: 15px;
}

.dropdown-toggle::after {
    float: right;
    margin-top: 8px;
}

/* Dropdown menu styling */
.dropdown-menu {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-height: 220px;
    overflow-y: auto;
}

.form-check {
    margin-bottom: 6px;
}

.form-check-label {
    font-size: 14px;
}

/* outer container */
.property-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
    margin-bottom: 20px;
}

.property-box:hover {
    box-shadow: 0 8px 26px rgba(20, 20, 40, 0.06);
}

/* property image section */
.property-image {
    position: relative;
    padding: 0;
    min-height: 220px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* "For Sale" pill */
.property-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #0d6efd;
    color: #fff;
    font-weight: 600;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(13, 110, 253, 0.12);
}

/* content area */
.property-content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
}

.property-title {
    margin: 0 0 6px 0;
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    line-height: 1.25;
}

.property-meta {
    color: #6c757d;
    /* font-size:14px; */
}

.property-location {
    color: #6c757d;
    /* font-size:14px; */
    display: flex;
    gap: 8px;
    /* align-items: center; */
    height: 47px;
    overflow: hidden;
    margin-bottom: 0.9rem;
}

.property-desc {
    color: #444;
    font-size: 14px;
    margin: 8px 0 0 0;
    height: 47px;
    overflow: hidden;
    margin-bottom: 0.9rem;
}

.prop-title-detail {
    height: 70px;
    overflow: hidden;
}

/* footer aligned to bottom using mt-auto */
.property-footer {
    border-top: 1px solid #e0e0e0;
    padding: 12px 0 0 0;
    /* display: flex; */
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.agent {
    display: flex;
    align-items: center;
    gap: 10px;
}

.agent img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #eee;
}

.agent .name {
    font-weight: 600;
    /* font-size:14px; */
    color: #111;
}

.price {
    color: #0d6efd;
    font-weight: 700;
    font-size: 20px;
    white-space: nowrap;
    float: inline-end;
}

/* Carousel control styling */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 10px;
}

.carousel-item img {
    height: 270px !important;
    width: 100% !important;
    object-fit: cover;
}

footer {
    background-color: #12181d;
    color: #fff;
    padding: 50px 0 20px;
}

footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
}

footer a {
    color: #d1d1d1;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
}

.social-icons a {
    font-size: 20px;
    margin-right: 15px;
    color: #fff;
}

.social-icons a:hover {
    color: #0dcaf0;
}

.footer-bottom {
    border-top: 1px solid #444;
    margin-top: 30px;
    padding-top: 15px;
    text-align: center;
    color: #aaa;
    font-size: 14px;
}

.store-btn img {
    height: 45px;
    margin-right: 5px;
}

/* detail */

.property-price {
    font-weight: bold;
    color: #007bff;
    float: inline-end;
}

@media (max-width: 768px) {
    .property-price {
        float: inline-start;
    }
}

.icon-box {
    width: 36px;
    height: 36px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 8px;
    background-color: #f8f9fa;
}

.icon-box:hover {
    background-color: #e9ecef;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-right: 15px;
    font-size: 15px;
}

.feature-item i {
    margin-right: 5px;
    font-size: 1rem;
}

.heading-detail {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 10px;
}

.info-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.feature-item {
    color: #555;
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
}

.feature-item i {
    font-size: 16px;
    margin-right: 5px;
    color: #888;
}

.icon-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #ccc;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    margin-left: 8px;
    transition: 0.2s ease-in-out;
}

.icon-btn:hover {
    background-color: #e2e6ea;
}

.location-text {
    color: #666;
}

@media (max-width: 768px) {
    .icon-btn {
        margin-left: 6px;
    }

    .text-end-md {
        text-align: start !important;
        margin-top: 1rem;
    }
}

.section-title {
    font-weight: bold;
    margin-bottom: 15px;
}

.features i {
    font-size: 1.5rem;
    color: #4a4a4a;
    margin-right: 8px;
}

.feature-box {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    opacity: 0.7;
}

.badge-sale {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #0d6efd;
    color: #fff;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 20px;
}

.detail-img img {
    height: 63vh !important;
    object-fit: cover;
    border-radius: 10px;
}

.card-custom {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.05);
}

.rating-star {
    color: #fbbc05;
    font-size: 1.2rem;
}

.progress {
    height: 8px;
    border-radius: 5px;
}

.progress-bar {
    background-color: #fbbc05;
}

.review-box {
    background: #f3f7fd;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
}

.right-section {
    position: sticky;
    top: 20px;
}

.info-card {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    background: #f3f7fd;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.05);
}

.info-card p {
    margin-bottom: 8px;
}

.btn-custom {
    background-color: #0d6efd;
    color: #fff;
    font-weight: 500;
}

.btn-custom:hover {
    background-color: #0b53c0;
    color: #fff;
    font-weight: 500;
}

.contact-card {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    background: #f3f7fd;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.05);
}

.builder-info {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.builder-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.bg-color {
    background-color: #f3f7fd;
    padding: 10px;
}

.right-info {
    color: #2c2c2c;
    font-weight: 500;
}

.info-right {
    color: #4d4d4d;
    padding-bottom: 10px;
}

.opacity {
    opacity: 0.7;
}

.feature-padding {
    padding-left: 10px;
    padding-right: 10px;
}

@media (max-width: 768px) {
    .feature-padding {
        padding-left: 0px;
        padding-right: 0px;
    }
}

.property-box-more {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    background: #fff;
    transition: transform 0.3s ease;
    height: 630px;
}

.property-box-more:hover {
    transform: translateY(-5px);
}
.property-img img {
    position: relative;
    height: 300px;
    width: 100%;
    object-fit: cover;
}

.property-details {
    padding: 16px;
}

.btn-custom-filter {
    font-weight: 500;
}
.btn-apply {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
}
.btn-apply:hover {
    background-color: #0255d2;
    border-color: #0255d2;
    color: white;
}
.btn-clear {
    background-color: #212529;
    color: #ffffff;
}
.btn-clear:hover {
    background-color: #eaeaea;
    color: #212529;
    border-color: #212529;
}

@media (max-width: 768px) {
    .property-box-more {
        height: 653px;
    }
}
@media (max-width: 1200px) and (min-width: 992px) {
    .property-box-more {
        height: 653px;
    }
}
