﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}



html {
  position: relative;
  min-height: 100%;
}
/*************************
    THEME STYLE 
    ***************************/
.theme-panel {
    position: fixed;
    bottom: 39% !important;
    left: 0 !important;
    width: 40px !important;
    background: rgba(255,255,255,0.95);
    padding: 1rem 0.6rem;
    border-radius: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.65rem; /* Less vertical gap for smaller buttons */
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
    z-index: 10000;
    align-items: center;
}

.color-btn {
    width: 28px; /* Smaller diameter */
    height: 28px;
    border: 3px solid #f2f2f2;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: border 0.3s, box-shadow 0.2s, transform 0.1s;
    background: none;
    padding: 0;
    display: block;
}

    .color-btn[title="Blue"] {
        background: #0C2340;
    }

    .color-btn[title="Green"] {
        background: #2a5135;
    }

    .color-btn[title="Maroon"] {
        background: #5f462b;
    }

    .color-btn:focus, .color-btn:hover {
        border: 3px solid #4a90e2;
        box-shadow: 0 4px 16px rgba(0,0,0,0.2);
        transform: scale(1.1);
        outline: none;
    }
/*********** SOCIAL ICONS AS IMAGES **************/
.social-icons {
    display: flex;
    align-items: center;
    margin-left: 4px;
}

    .social-icons a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: 8px;
        text-decoration: none;
    }

    .social-icons img {
        width: 14px;
        height: 14px;
        filter: brightness(0) invert(1); /* blanc */
        transition: opacity 0.2s ease;
    }

    /* Hover identical to links */
    .social-icons a:hover img {
        opacity: 0.7;
    }



/************ Style AUCOMPLETE ****************/
.ui-autocomplete-input, .ui-autocomplete-input:focus {
    border: 2px solid var(--primaryColor);
}
/* Autocomplete container */
.ui-autocomplete {
    z-index: 9999;
    background-color: #fff;
    border: 1px solid #ccc;
    max-height: 400px;
    max-width: 495px !important;
    overflow-y: auto;
    font-family: "Segoe UI", sans-serif;
    font-size: 13px;
    padding: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Each menu item */
.ui-menu-item {
    list-style: none;
    width: 100%;
    padding: 3px;
    cursor: pointer;
    transition: background-color 0.15s ease;
    border-bottom: 1px solid #eee;
}

.ui-autocomplete-multiline {
    min-height: 45px;
}
/* Make <a> full height and flex-centered */
.ui-menu-item a {
    display: flex;
    align-items: center; 
    height: 36px;
    width: 100%;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
    font-size: 13px;
}

    /* Hover/active item */
    .ui-state-active,
    .ui-menu-item a:hover ui-menu-item,
    .ui-menu-item a:hover ui-menu-item .text-muted {
        background-color: var(--primaryColor);
        color: #fff !important;
    }

/* Group header */
.ui-autocomplete-category {
    font-weight: 500;
    font-size: 11px;
    color: #666;
    background-color: #f5f5f5;
    padding: 5px 10px;
    height: 30px;
    text-align: left;
    border-top: 1px solid #eaeaea;
    text-transform: capitalize;
}

    .ui-autocomplete-category:first-child {
        border-top: none;
    }


/************ Style CARD ****************/

.property-card {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    overflow: hidden;
    margin: 0 auto;
    width: 100%;
}

.property-image-slider {
    position: relative;
    width: 100%;
    height: 275px;
    overflow: hidden;
    background: #000;
}

    .property-image-slider .slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 405px;
        height: 275px;
        object-fit: cover;
        display: none;
    }

        .property-image-slider .slide.active {
            display: block;
        }
.heart-icon {
    position: absolute;
    top: 12px;
    right: 8px;
    width: 32px;
    height: 32px;
    z-index: 3;
    pointer-events: none;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    font-size: 24px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    z-index: 2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .slider-arrow.left {
        left: 10px;
    }

    .slider-arrow.right {
        right: 10px;
    }

.properties-section .row {
    margin-bottom: 35px;
}

.featured-card-col {
    padding: 0px 27.5px 0px 0px;
}

.property-image-slider .location {
    position: absolute;
    left: 16px;
    bottom: 0px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 1.0419rem;
    color: #fff;
    padding: 4px 12px;
    z-index: 3;
}
.property-image-slider .carousel-item img {
    transform: translateY(0);
    transition: transform 1s ease;
    will-change: transform;
}

.property-image-slider .carousel-item:hover img {
    transform: translateY(-15%) !important;
}
.property-body {
    position: relative;
    padding: 15px 13px 0px 13px;
    background: linear-gradient(to bottom, #000 0%, #222 100%);
    color: #fff;
}

.body-header-row {
    display: flex;
    align-items: flex-start;
    position: relative;
}


.property-agent-img {
    width: 65px;
    height: 85px;
    object-fit: cover;
    border-radius: 0;
    border: none;
    box-shadow: none;
    position: absolute;
    right: 0;
    top: -32px; /* Adjust this value to align with the City, ST label */
    z-index: 2;
}

/* Title and meta remain as before */
.property-title {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 1rem;
    line-height: 1.2;
    margin-bottom: 4px;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.4em;
    max-height: 2.4em;
    white-space: normal;
}

.property-meta {
    font-family: Arial, sans-serif;
    font-size: 0.875rem;
    color: #fff;
    margin-bottom: 10px;
}

/* Footer: price left, agent name right */
.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    margin-top: 16px;
}

.property-price {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 1rem;
    color: #fff;
}

.property-agent-name {
    font-family: Arial, sans-serif;
    font-size: 0.8331rem;
    color: #fff;
    margin-left: 8px;
}
.property-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.property-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.property-footer {
    margin-top: auto;
}
@media(max-width:991.98px){
    .property-image-slider {
        height: 273px;
    }

    .property-agent-img {
        width: 63px;
        height: 82px;
        bottom: 17px;
    }

    .property-title {
        font-size: 12pt;
        word-wrap: break-word;
        display: block;
    }

    .property-meta {
        font-size: 10pt;
    }

    .property-price {
        font-size: 12pt;
    }

}
/******************* Style Loader Home Page ******************/
.img_loader_component {
    width: 50px;
    height: 50px;
    position: absolute;
    bottom: 0;
}
/********* BUTTON VIEW ALL *********/
.view-all-btn-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 35px;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.view-all-btn {
    display: inline-block;
    width: 160px;
    height: 40px;
    line-height: 40px;
    font-family: Arial, sans-serif;
    font-weight: normal;
    font-size: 1.25rem;
    color: #343a40;
    background: rgba(204, 204, 204, 0.8);
    backdrop-filter: blur(6px);
    border: none;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    margin: 0;
    padding: 0px;
}

/******* TITLES *******/
.section-title-line {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

    .section-title-line::before,
    .section-title-line::after {
        content: "";
        display: inline-block;
        width: 80px;
        height: 2px;
        background: #fff;
        margin: 0 16px;
    }

.section-title {
    font-family: "Arial Narrow", Arial, sans-serif;
    font-size: 2.5rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    font-weight: 400;
}

@media(max-width:991.98px){
    .section-title {
        font-size: 16pt;
        
    }
    .section-title-line::before,
    .section-title-line::after {
      
        width: 50px;
      
    }
    .view-all-btn {
        width: 110px;
        height: 37px;
        font-size: 12pt;
        margin-top: 35px;
        margin-bottom: 50px;
    }
    .view-all-btn-container{
        margin-top: 0px;
    }
}



.share-property-icon {
    width: 18px;
    height: 18px;
}

.share-property-text {
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 12pt;
    color: var(--primary-bg);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.share-property-menu {
    display: none;
    position: absolute;
    top: 25px;
    left: 0;
    width: 182px;
    height: auto;
    background: rgba(var(--primary-bg-rgb),0.8);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 12;
    overflow: hidden;
    flex-direction: column;
    padding: 6px 0;
}

.share-menu-item {
    font-family: Arial, sans-serif;
    font-size: 12pt;
    color: #fff;
    padding: 4px 12px;
    cursor: pointer;
    transition: background 0.15s;
    height: auto;
    line-height: 1.6;
    text-align: right;
}

    .share-menu-item:hover {
        background: rgba(255,255,255,0.08);
        height: auto;
    }

.gallery-heart-icon {
    width: 28px;
    height: 28px;
    align-self: flex-start;
}

/****************************************
    CONNECT BUTTON 

***************************************/


.connect-wrapper {
    position: fixed;
    bottom: 0;
    left: 2rem;
    z-index: 1050;
}

.connect-btn {
    width: 250px;
    height: 50px;
    background: rgba(204,204,204,0.85);
    backdrop-filter: blur(6px);
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.connect-text {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 1.331rem;
    color: var(--primary-bg);
}
 .connect-text::after {
    content: "▼";
}

/* MODAL FIX */

.modal-bottom {
    display: flex;
    align-items: flex-end;
    min-height: 100%;
    margin: 0;
    position: fixed;
    bottom: 50px;
    left: 2rem;
    max-width: 460px;
    width: 460px;
    height: 400px;
}
.modal.fade .modal-bottom {
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.modal.show .modal-bottom {
    transform: translateY(0);
}
.connect-text::after {
    display: inline-block;
    transition: transform 0.3s ease;
}

.connect-text.open::after {
    transform: rotate(180deg);
}

/* RESPONSIVE */

@media (max-width:768px) {

    .connect-wrapper {
        left: 10px;
        bottom: 10px;
    }

    .connect-btn {
        width: 200px;
    }

    .modal-dialog {
        max-width: 80%;
        margin: 10px;
    }
}

/* POPUP STYLE */

.contact-popup {
    width: 100%;
    background: rgba(204, 204, 204, 0.8);
    border-radius: 0px;
}

    /* HEADER */

    .contact-popup .modal-title {
        font-family: Arial;
        font-weight: bold;
        font-size: 20pt;
        color: #0C2340;
    }

    .contact-popup .close {
        border: none;
        background: transparent;
        font-size: 20pt;
        position: absolute;
        right: 0;
        top: 0;
        color: #343a40;
    }

    /* INPUTS */

    .contact-popup .form-control {
        background: #F5F5F5;
        border: none;
        font-size: 18pt;
        color: #0C2340;
        background: rgba(245, 245, 245, 0.5);
    }

        .contact-popup .form-control::placeholder {
            color: #0C2340;
        }

    .contact-popup .custom-control-label {
        font-family: Arial, sans-serif;
        font-weight: 400;
        font-size: 7pt;
        color: #343a40;
    }

        .contact-popup .custom-control-label a {
            font-family: Arial, sans-serif;
            font-weight: 400;
            font-size: 7pt;
            color: #343a40;
        }

    .contact-popup .input-popup {
        width: 425px;
        height: 50px;
    }

/* CHECKBOX */
/* CONTAINER CHECKBOX + LABEL */
/* Container */
.cb {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 11px;
}

    /* Hide native checkbox */
    .cb input {
        display: none;
    }

/* Box */
.cb-box {
    width: 60px;
    height: 15px;
    background: rgba(245, 245, 245, 0.33); /* #F5F5F550 */
    border-radius: 3px;
    margin-right: 8px;
    position: relative;
    margin-bottom: 50px;
}

/* Checked state */
.cb input:checked + .cb-box {
    background: var(--primary-bg);
    
}
.text-privacy-contact-form {
   color: var(--primary-bg);
}
/* Check mark */
.cb-box::after {
    content: "";
    position: absolute;
    left: 3px;
    top: 2px;
    width: 8px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
}

/* Show check */
.cb input:checked + .cb-box::after {
    opacity: 1;
}

/* Text */
.cb-text {
    line-height: 1.2;
}
/* BUTTON */

.submit-btn-popup-connect {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 12pt;
    color: #f5f5f5 !important;
    width: 79px;
    height: 33px;
    background: var(--primary-bg) !important;
    border-radius: 6px;
    border: none;
    box-shadow: none;
    margin-bottom: 33px;
    margin-right: 2px;
}



/********************************* 
    
    SHARE BUTTON DETAILS
    
    *****************************/
.gallery-actions-topright {
    position: absolute;
    top: 16px;
    right: 25px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    z-index: 12;
    pointer-events: none;
}

    .gallery-actions-topright > * {
        pointer-events: auto;
    }
.share-property-btn {
    display: flex;
    align-items: center;
    width: 100%;
    height: 25px;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    padding: 0 6px;
    user-select: none;
    position: relative;
}
/********************************* 
    
    VIDEO MODAL DETAILS
    
    *****************************/
/* Modal overlay */
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(var(--primary-bg-rgb), 0.8); /* var(--primary-bg) à 80% */
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s ease;
    z-index: 9999;
}

    /* Active state */
    .video-modal.active {
        visibility: visible;
        opacity: 1;
    }

/* Container video */
.video-container {
    position: relative;
    width: 1175px;
    max-width: 90%;
}

    /* Responsive ratio */
    .video-container iframe {
        width: 100%;
        height: 660px;
        border-radius: 8px;
    }

/* Close button */
.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    background: white;
    border: none;
    font-size: 28px;
    cursor: pointer;
    padding: 5px 12px;
    border-radius: 4px;
}

/* Button style */
.btn-video {
    padding: 12px 24px;
    background: var(--primary-bg);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
}


.fancybox-bg {
    background: var(--primary-bg) !important;
}

.unstyled-link {
    color: inherit;
    text-decoration: none;
}

    .unstyled-link:hover, .unstyled-link:focus {
        text-decoration: underline; /* or none, if you don't want any effect */
        color: inherit;
    }