/********** Template CSS **********/
:root {
    --primary: #00B98E;
    --secondary: #FF6922;
    --light: #EFFDF5;
    --dark: #0E2E50;
}



.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Navbar ***/
.nav-bar {
    position: relative;
    margin-top: 45px;
    padding: 0 3rem;
    transition: .5s;
    z-index: 9999;
}

.nav-bar.sticky-top {
    position: sticky;
    padding: 0;
    z-index: 9999;
}

.navbar {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .nav-bar {
        margin: 0;
        padding: 0;
    }

    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: 100%;
        margin-top: 0;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
@media (min-width: 992px) {
    .header {
        margin-top: -120px;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: -25px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 40px;
    font-size: 20px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

@media (max-width: 768px) {
    .header-carousel .owl-nav {
        left: 25px;
    }
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #DDDDDD;
}


/*** Icon ***/
.icon {
    padding: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF !important;
    border-radius: 50px;
    /* border: 1px dashed var(--primary) !important; */
}


/*** About ***/
.about-img img {
    position: relative;
    z-index: 2;
}

.about-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transform: skew(20deg);
    z-index: 1;
}


/*** Category ***/
.cat-item div {
    background: #FFFFFF;
    border: 1px dashed rgba(0, 185, 142, .3);
    transition: .5s;
}

.cat-item:hover div {
    background: var(--primary);
    border-color: transparent;
}

.cat-item div * {
    transition: .5s;
}

.cat-item:hover div * {
    color: #FFFFFF !important;
}


/*** Property List ***/
.nav-pills .nav-item .btn {
    color: var(--dark);
}

.nav-pills .nav-item .btn:hover,
.nav-pills .nav-item .btn.active {
    color: #FFFFFF;
}

.property-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
}

.property-item img {
    transition: .5s;
}

.property-item:hover img {
    transform: scale(1.1);
}

.property-item .border-top {
    border-top: 1px dashed rgba(0, 185, 142, .3) !important;
}

.property-item .border-end {
    border-right: 1px dashed rgba(0, 185, 142, .3) !important;
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
    transition: .5s;
}

.team-item .btn {
    color: var(--primary);
    background: #FFFFFF;
    box-shadow: 0 0 30px rgba(0, 0, 0, .15);
}

.team-item .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.team-item:hover {
    border-color: var(--secondary) !important;
}

.team-item:hover .bg-primary {
    background: var(--secondary) !important;
}

.team-item:hover .bg-primary i {
    color: var(--secondary) !important;
}


/*** Testimonial ***/
.testimonial-carousel {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 576px) {
    .testimonial-carousel {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.testimonial-carousel .testimonial-item .border {
    border: 1px dashed rgba(0, 185, 142, .3) !important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 40px;
    top: calc(50% - 20px);
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 40px;
    font-size: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
    border-color: var(--light);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255,255,255,0.5);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}



/*landing page  css */




        .property-item.rounded.overflow-hidden.border.shadow-sm {
            height: 690px !important;
        }
        /* Optional – Add smooth horizontal scroll for better UX */
        .table-responsive {
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

        .owl-nav {
            display: none;
        }

        .rounded-circle {

            background-color: #00B98E !important;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            margin: auto;
        }

        .property-image {
            height: 200px;
            width: 100%;
            object-fit: cover;
            object-position: center;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .property-image:hover {
            transform: scale(1.02);
        }

        .modal-backdrop {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(10px);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 9999;
        }

        .modal-content {
            position: relative;
            max-width: 90%;
            max-height: 90%;
            border-radius: 10px;
            overflow: hidden;
            background: #fff;
            padding: 10px;
            box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
            display: flex;
            /*align-items: center;*/
            margin-top: 120px;
        }
        button.closes {
            border: none;
            background: white;
            /* font-size: 17px; */
        }
        .closes span{
            font-size: 25px;
        }
        .modal-close {
            position: absolute;
            top: 10px;
            right: 15px;
            font-size: 20px;
            color: #fff;
            cursor: pointer;
            background: #00B98E;
            padding: 5px 10px;
            border-radius: 50%;
            z-index: 10000;
        }

        .modal-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            font-size: 30px;
            color: #fff;
            cursor: pointer;
            background: rgba(0, 185, 142, 0.7);
            padding: 10px 15px;
            border-radius: 50%;
            z-index: 10000;
            transition: background 0.3s ease;
        }

        .modal-nav:hover {
            background: #00B98E;
        }

        .modal-prev {
            left: 20px;
        }

        .modal-next {
            right: 20px;
        }

        #modalImage {
            max-width: 100%;
            max-height: 80vh;
            display: block;
            margin: 0 auto;
        }

        .modal-caption {
            position: absolute;
            bottom: 20px;
            left: 0;
            right: 0;
            text-align: center;
            color: #4CCEB0;
            background: rgba(0, 0, 0, 0.5);
            padding: 10px;
            font-size: 16px;
        }

        @media (max-width: 768px) {
            .carousel-inner .carousel-item>div {
                display: none;
            }

            .carousel-inner .carousel-item>div:first-child {
                display: block;
            }
        }

        .carousel-inner .carousel-item.active,
        .carousel-inner .carousel-item-next,
        .carousel-inner .carousel-item-prev {
            display: flex;
        }

        /* Display 3 items per slide */
        @media (min-width: 768px) {

            .carousel-inner .carousel-item-right.active,
            .carousel-inner .carousel-item-next {
                transform: translateX(33.333%);
            }

            .carousel-inner .carousel-item-left.active,
            .carousel-inner .carousel-item-prev {
                transform: translateX(-33.333%);
            }
        }

        .carousel-inner .carousel-item-right,
        .carousel-inner .carousel-item-left {
            transform: translateX(0);
        }

        .property-item {
            max-width: 100%;
            margin: 5px;
        }


        /* Ensure property items are equal height */
        .property-item {
            display: flex;
            flex-direction: column;
            min-height: 500px;
            /* Adjust this value based on your design */
        }

        /* Ensure unit items are equal height */
        .unit-item {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 280px;
            /* Adjust this value based on your design */
        }

        /* Make images responsive */
        .property-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }

        /* Owl Carousel adjustments */
        .units-carousel .owl-stage {
            display: flex;
        }

        .units-carousel .owl-item {
            flex: 0 0 auto;
            width: 100%;
            /* Adjust based on how many units you want visible */
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .property-item {
                min-height: auto;
                /* Allow height to adjust on smaller screens */
            }

            .unit-item {
                min-height: auto;
                /* Allow height to adjust on smaller screens */
            }

            .col-lg-4.col-md-6 {
                flex: 0 0 100%;
                max-width: 100%;
            }

            .units-carousel .owl-item {
                width: 100%;
                /* Full width on mobile */
            }
        }

        @media (max-width: 576px) {
            .d-flex.border-top small {
                font-size: 0.8rem;
                /* Reduce font size on small screens */
            }

            .row .col-6 {
                flex: 0 0 100%;
                max-width: 100%;
                /* Stack columns on very small screens */
            }
        }
 
    .text-gradient-primary {
        background: linear-gradient(45deg, #3a7bd5, #00d2ff);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    
    .text-underline {
        /*position: relative;*/
        display: inline-block;
    }
    
    .text-underline:after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -5px;
        width: 100%;
        height: 8px;
        /*background: rgba(58, 123, 213, 0.3);*/
        z-index: -1;
        border-radius: 4px;
    }
    
    .header-carousel .owl-carousel-item:hover img {
        transform: scale(1.03) !important;
    }
    
    .btn-primary {
        background: linear-gradient(45deg, #3a7bd5, #00d2ff);
        border: none;
        transition: all 0.3s ease;
    }
    
    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(58, 123, 213, 0.3) !important;
    }
    
    .carousel-caption {
        background: rgba(0,0,0,0.5);
        padding: 10px 20px;
        border-radius: 30px;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        display: inline-block;
        backdrop-filter: blur(2px);
    }
    
    /* Fix for image blur */
    .header-carousel img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }

    /* Listing Header Container */
    .listing-header-container {
        max-width: 800px;
        padding: 2rem;
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.05);
        position: relative;
        overflow: hidden;
    }

    /* Decorative Elements */
    .listing-header-container::before {
        content: '';
        position: absolute;
        top: -10px;
        right: -10px;
        width: 50px;
        height: 50px;
        background: #00d2ff;
        border-radius: 50%;
        opacity: 0.1;
    }

    .listing-header-container::after {
        content: '';
        position: absolute;
        bottom: -20px;
        left: -20px;
        width: 80px;
        height: 80px;
        background: #3a7bd5;
        border-radius: 50%;
        opacity: 0.1;
    }

    /* Header Title */
    .listing-header-title {
        font-weight: 700;
        font-size: 2.5rem;
        color: #2c3e50;
        position: relative;
        display: inline-block;
        padding-bottom: 10px;
        margin-bottom: 1rem;
    }

    .listing-header-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(90deg, #3a7bd5, #00d2ff);
        border-radius: 2px;
    }

    /* Header Description */
    .listing-header-description {
        font-size: 1.1rem;
        line-height: 1.6;
        color: #5a6a7f;
        position: relative;
        z-index: 1;
        margin-bottom: 0;
    }

    /* Responsive Adjustments */
    @media (max-width: 768px) {
        .listing-header-container {
            padding: 1.5rem;
        }
        
        .listing-header-title {
            font-size: 2rem;
        }
        
        .listing-header-description {
            font-size: 1rem;
        }
    }
    
    .disclaimer-section {
            /*background: #fff8e1;*/
            border-left: 4px solid #ffc107;
            padding: 20px;
            margin: 30px 0;
            border-radius: 0 8px 8px 0;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }
        
        .disclaimer-section h4 {
            color: #d84315;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
        }
        
        .disclaimer-section h4 i {
            margin-right: 10px;
        }
        
        .disclaimer-section p {
            color: #5d4037;
            margin-bottom: 0;
            font-size: 0.95rem;
        }

        .modal-dialog {
            max-width: 860px;
            margin: 1.75rem auto;
        }


        .demo-grid .img-wrap img {
            width: 100%;
            height: 180px !important;
            transition: all 0.5s ease;
        }

        #consentModal .modal-content {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

button.btn.btn-primary.mr-2.ownerdetail {
    display: none;
}


    .feature-list p {
        margin-bottom: 0.75rem;
        display: flex;
        align-items: flex-start;
    }
    
    .feature-list i {
        margin-top: 3px;
        font-size: 1.1rem;
    }
    
    .text-success {
        color: #28a745 !important;
    }

    img.img-fluid.w-100.cust {
    height: 550px !important;
}

    /* Property Item Styling */
    .property-item {
        transition: all 0.3s ease;
        background: white;
    }
    
    .property-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .property-image {
        transition: transform 0.5s ease;
    }
    
    .property-item:hover .property-image {
        transform: scale(1.05);
    }
    
    /* Units Carousel */
    .units-carousel .unit-item {
        background: white;
        transition: all 0.3s ease;
    }
    
    .units-carousel .unit-item:hover {
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    /* Carousel Controls */
    .carousel-control-prev, .carousel-control-next {
        width: 40px;
        height: 40px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .ytp-cued-thumbnail-overlay-image {
        background-size: cover;
        -moz-background-size: cover;
        -webkit-background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        width: 60% !important;
        height: 100%;
        position: absolute;
    }

.prop-id-badge {
    background-color: #4caf50 !important;
    padding: 4px 20px !important;
    font-size: 11px !important;
    border-radius: 6px;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}


.property-item.rounded.overflow-hidden.border.p-3 {
    height: 820px !important;

}

/* Scroll only inside message area */
.message-wrapper {
    max-height: 120px;      /* adjust height as needed */
    overflow-y: auto;
    padding-right: 6px;
}

/* Smooth scrolling feel */
.message-wrapper::-webkit-scrollbar {
    width: 4px;
}
.message-wrapper::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .message-wrapper {
        max-height: 90px;
    }
}

    
