.bg-light-custom-1 {
    --bs-bg-opacity: 1;
    background-color: rgb(238 238 241) !important;
}

.bg-light-custom-2 {
    --bs-bg-opacity: 1;
    background-color: rgb(248 248 248) !important;
}

.bg-light-custom-3 {
    --bs-bg-opacity: 1;
    background-color: rgb(230 230 233) !important;
}

.bg-light-custom-4 {
    --bs-bg-opacity: 1;
    background-color: rgb(242 242 246) !important;
}

.about-property-section {
    margin-top: 20px;
}

.text-background {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px 30px;
    border-radius: 10px;
    margin-top: -120px;
}

.pro-border {
    box-shadow: 0 3px 6px 0 rgb(0 0 0 / 20%);
    border: 2px solid #e6e5e8;
}

.section-title {
    text-align: center;
    margin-bottom: 10px;
}

    .section-title h3 {
        font-size: 1.5rem;
        font-weight: 700;
        color: #222;
    }

.grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.gallery-wrapper {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 2rem;
}

.gallery-column {
    flex: 1;
    min-width: 0;
    max-height: 450px;
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 5px 8px rgba(0,0,0,0.3);
}

.gallery-video {
    padding-bottom: 10px;
}

.gallery-column video,
.gallery-column .masonry-gallery {
    width: 100%;
    height: 338px;
    border-radius: 6px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .gallery-wrapper {
        flex-direction: column;
    }
}

.highlights-amenities {
    border-radius: 8px;
    box-shadow: 0 5px 8px rgba(0,0,0,0.3);
    margin-bottom: 20px;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.amenity {
    background: #fff;
    padding: 15px;
    text-align: center;
    border-radius: 10px;
    border: 1px solid #007bff;
    font-size: 14px;
    cursor: default;
}

    .amenity i {
        display: block;
        font-size: 22px;
        margin-bottom: 8px;
    }

    .amenity.more {
        background: #f3e8ff;
        color: #6c2bd9;
        font-weight: bold;
        cursor: pointer;
    }

.modal {
    display: none; /* Show via JS when needed */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-content-amenity {
    background-color: #fff;
    margin: 5% auto;
    width: 50%;
    height: 75%;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
}

.modal-header-fixed {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f8f8;
    border-bottom: 1px solid #ddd;
    flex-shrink: 0;
}

.modal-body-amenity {
    padding: 10px 15px;
    overflow-y: auto;
    flex-grow: 1;
}

.close {
    float: right;
    font-size: 24px;
    cursor: pointer;
}

.modal-category h5 {
    margin-top: 5px;
    font-weight: 600;
}

.modal-category ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    gap: 10px;
}

    .modal-category ul li {
        display: flex;
        align-items: center;
        font-size: 14px;
    }

        .modal-category ul li i {
            margin-right: 8px;
            font-size: 16px;
            color: #444;
        }
/* RERA Section */
.rera {
    background: #f8f9fa;
    padding: 40px 20px;
    text-align: center;
}

    .rera p {
        font-size: 16px;
        color: #555;
    }

/* Key Highlights */
.key-highlights ul {
    list-style-type: disc;
    padding-left: 40px;
    font-size: 16px;
    color: #444;
    line-height: 1.7;
    max-width: 800px;
    margin: auto;
}

/* Layout & Floor Plan */
.floor-box {
    padding: 0px !important;
    height: 90% !important;
    border-radius: 7px !important;
}

.floor-swiper {
    height: 390px !important;
}

.floor-plans {
    border-radius: 8px;
    box-shadow: 0 5px 8px rgba(0,0,0,0.3);
    margin-bottom: 20px;
}

.filter-buttons {
    /*display: flex;
    gap: 10px;
    justify-content: flex-start;*/
    text-align: center
}

.filter-btn {
    padding: 8px 18px;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
}

    .filter-btn.active {
        background: #000;
        color: #fff;
        border-color: #000;
    }

.floor-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 25px;
}

.floor-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.img-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.price-info {
    margin-top: 8px;
    font-weight: bold;
    font-size: 18px;
    color: orangered;
}

.floor-cta-btn {
    margin-top: 10px;
    padding: 8px 16px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 40px;
    font-size: 16px;
    cursor: pointer;
}

.swiper-button-next,
.swiper-button-prev {
    color: #333;
}

/* Section Utilities */
.container {
    max-width: 1300px;
    margin: auto;
}

.section-title p {
    margin-top: 0;
    color: #666;
}

.card-style {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
}

.scroll-box {
    overflow-y: auto;
}

.highlight-title {
    line-height: 21px;
    font-size: 20px;
}

.highlight-tags {
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: #f4f6fa;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #007bff;
    font-size: 13px;
    color: #333;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.highlight-intro {
    font-weight: 500;
    margin-bottom: 10px;
}

.highlight-points {
    padding-left: 20px;
    margin-bottom: 10px;
}

.amenity-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
    font-size: 15px;
    color: #444;
}

    .amenity-grid-2col i {
        margin-right: 8px;
        color: #007bff;
    }

.property-overview {
    background-color: #fff;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    font-size: 15px;
}

.overview-item {
    background: #f8f9fa;
    padding: 15px;
    border-left: 4px solid #007bff;
    border-right: 4px solid #007bff;
    border-top: 1px solid #007bff;
    border-bottom: 1px solid #007bff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s;
}

    .overview-item:hover {
        transform: translateY(-2px);
    }

.map-landmark-section {
    border-radius: 8px;
    box-shadow: 0 5px 8px rgba(0,0,0,0.3);
    margin-bottom: 20px;
}

.map-landmark-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: stretch;
}

/* Map Styling */
.map-preview {
    flex: 1 1 50%;
    min-width: 300px;
    height: 400px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

/* Landmark Container */
.landmark-section {
    flex: 1 1 45%;
    min-width: 280px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}

/* Tabs */
.landmark-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 20px;
}

.tab-btn {
    border: none;
    background-color: #f1f3f6;
    color: #333;
    padding: 10px 14px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #007bff;
}

    .tab-btn i {
        font-size: 14px;
    }

    .tab-btn.active,
    .tab-btn:hover {
        background-color: #007bff;
        color: #fff;
    }

/* Landmark Content */
.landmark-box {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

    .landmark-box.active {
        display: block;
    }

    .landmark-box h5 {
        margin-bottom: 15px;
        color: #333;
        border-left: 4px solid #007bff;
        padding-left: 10px;
    }

.landmark-item {
    display: flex;
    justify-content: space-between;
    background-color: #f9fafb;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    border-left: 3px solid #007bff;
    border-right: 3px solid #007bff;
    border-top: 1px solid #007bff;
    border-bottom: 1px solid #007bff;
    font-size: 15px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}

    .landmark-item i {
        color: #007bff;
        margin-left: 6px;
    }

.document-download-section {
    border-radius: 8px;
    box-shadow: 0 5px 8px rgba(0,0,0,0.3);
    margin-bottom: 20px;
}

.document-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    /*justify-content: space-between;*/
}

.doc-card {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 370px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    border-right: 4px solid #007bff;
    border-top: 1px solid #007bff;
    border-bottom: 1px solid #007bff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s;
}

    .doc-card i {
        font-size: 36px;
        color: #007bff;
    }

    .doc-card h5 {
        margin: 0;
        font-size: 16px;
        font-weight: 600;
    }

    .doc-card p {
        margin: 2px 0 0;
        font-size: 13px;
        color: #777;
    }

.btn-download {
    margin-left: auto;
    padding: 8px 14px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease;
}

    .btn-download:hover {
        background: #ffb400;
    }

.scroll-box {
    overflow-y: auto;
    padding-right: 10px;
    flex: 1;
}

    .scroll-box p,
    .scroll-box li {
        font-size: 15px;
        color: #444;
        line-height: 1.6;
        margin-bottom: 10px;
    }

    .scroll-box ul {
        padding-left: 20px;
    }

.about-wrapper {
    display: flex;
    justify-content: center;
}

.about-text-only {
    max-width: 100%;
    text-align: left;
}

    .about-text-only h4 {
        font-size: 20px;
        color: #007bff;
        margin-bottom: 15px;
    }

    .about-text-only p {
        font-size: 16px;
        color: #444;
        line-height: 1.7;
        margin-bottom: 20px;
    }

.property-highlights {
    list-style-type: disc;
    padding-left: 20px;
    font-size: 15px;
    color: #333;
    margin-bottom: 20px;
}

    .property-highlights li {
        margin-bottom: 8px;
    }

.about-text-only blockquote {
    font-style: italic;
    background: #f1f3f5;
    border-left: 4px solid #007bff;
    padding: 12px 16px;
    border-radius: 6px;
    color: #555;
}

.property-ul ul {
    padding-left: 20px;
    margin: 20px 0;
    list-style: disc;
}

    .property-ul ul li {
        margin-bottom: 8px;
    }

.property-enquiry {
    width: 600px;
}

.modal-content-enquiry {
    background-color: #fff;
    margin: 5% auto;
    width: 90% !important;
    height: 100% !important;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
}

.model-header-custom {
    padding: 10px 18px 10px 5px !important;
}

.model-close-custom {
    position: absolute;
    margin-top: -10px;
    margin-left: -4px;
}

/* WRAPPER */
.property-media-wrapper {
    max-width: 1300px;
    margin: auto;
}

/* TITLE */
.single-property-details-title h1 {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.3;
}

/* VIDEO */
.property-video-box {
    height: 440px;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
}

.property-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* IMAGE GRID */
.property-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    height: 440px;
}

.property-image-grid-layer {
    padding: 5px;
}
.property-image-grid1 {
    display: grid;
    height: 397px;
}
/* IMAGE TILE */
.property-image-tile {
    position: relative;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    /*cursor: pointer;*/
    transition: transform .25s ease;
    border: 1px solid #d19e01;
}

    .property-image-tile:hover {
        transform: scale(1.04);
        z-index: 2;
    }

/* VIEW MORE */
.view-more-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    border-radius: 8px;
}

.view-more-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    z-index: 2;
}

    .view-more-overlay span {
        color: #fff;
    }
/* MOBILE */
@media (max-width: 991px) {
    .property-video-box, .property-image-grid {
        height: auto;
    }

    .property-image-grid {
        margin-top: 12px;
        grid-template-columns: repeat(2, 1fr);
    }
}

.match-score-wrapper {
    cursor: pointer;
}

.match-score-pill {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    background: linear-gradient(135deg, #ff4b5c, #ff7a18);
    color: #fff;
}

/* Explain box */
.match-explain-box {
    position: absolute;
    top: 120%;
    right: 0;
    width: 350px;
    background: #fff;
    border-radius: 12px;
    padding: 12px 12px 6px;
    display: none;
    z-index: 1000;
    animation: fadeUp 0.25s ease-out;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Hover trigger */
.match-score-wrapper:hover .match-explain-box {
    display: block;
}

/* Header */
.explain-header {
    color: #444;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    border-bottom: 1px solid #eee;
    padding-bottom: 6px;
    margin-bottom: 8px;
}

.match-confidence {
    font-size: 11px;
    opacity: 0.85;
}
/* List */
.explain-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .explain-list li {
        display: flex;
        gap: 4px;
        align-items: start;
        font-size: 13px;
        margin-bottom: 3px;
    }

    .explain-list .tick {
        color: #28a745;
        margin-right: 6px;
    }

.reason-text {
    flex-grow: 1;
    color: #333;
}

.reason-score {
    font-weight: 600;
    color: #ff4b5c;
}

/* Footer */
.explain-footer {
    border-top: 1px dashed #ddd;
    padding-top: 6px;
    margin-top: 8px;
    font-size: 12px;
    color: #555;
}

.ai-search-page {
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #f8fafc, #ffffff);
}

.ai-search-header {
    text-align: center;
    margin-bottom: 30px;
}

.ai-title {
    font-size: 30px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 5px;
}

.ai-subtitle {
    font-size: 15px;
    color: #6b7280;
}

.no-results .ai-search-header {
    margin-bottom: 60px;
}

.has-results {
    margin-bottom: 30px;
}

.ai-search-form {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-search-box {
    background: #ffffff;
    border-radius: 14px;
    padding: 5px;
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #f4952f;
}

.ai-search-input {
    flex: 1;
    border: none;
    font-size: 16px;
    padding: 14px 16px;
    outline: none;
}

    .ai-search-input::placeholder {
        color: #9ca3af;
    }

.ai-search-btn {
    /*background: linear-gradient(135deg, #ef4444, #dc2626);*/
    background: linear-gradient(135deg, #efa644, #dcc426);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0 26px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}

    .ai-search-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 1px 5px #efa644;
    }

.ai-search-results {
    margin-top: 20px;
}
