:root {
    --primary-color: #FF385C;
    --secondary-color: #00A699;
    --dark-color: #222222;
    --light-color: #F7F7F7;
    --gray-color: #767676;
    --border-radius: 12px;
    --gradient-1: linear-gradient(to top right, hsl(270, 50%, 50%), hsl(290, 60%, 70%));
    --gradient-2: linear-gradient(to right top, hsla(270, 50%, 8%, .5), hsla(270, 50%, 8%, .6) 20%, hsla(270, 50%, 8%, .1)), linear-gradient(to right bottom, hsl(270, 50%, 8%), transparent 66%), linear-gradient(to bottom, transparent, hsl(270, 50%, 8%) 56%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --glass-blur: blur(8px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Open Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: hsl(270, 10%, 80%);
    background: hsl(270, 50%, 10%);
    height: 100%;
    overflow-x: hidden;
}

button {
    font-size: inherit;
    font-family: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

button:hover,
button:focus {
    outline: none;
}

a,
a:hover,
a:focus {
    outline: none;
    text-decoration: none;
    color: inherit;
}

.dash {
    background: hsl(270, 50%, 10%);
    display: flex;
    flex-direction: column;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    height: 100vh;
    margin: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: hsl(270, 30%, 20%) hsl(270, 50%, 10%);
    overflow-x: hidden;
}

.dash::-webkit-scrollbar {
    width: 8px;
}

.dash::-webkit-scrollbar-track {
    background: hsl(270, 50%, 10%);
}

.dash::-webkit-scrollbar-thumb {
    background-color: hsl(270, 30%, 20%);
    border-radius: 4px;
}

.dash * {
    transition: all 0.3s ease;
}

/* Header Styles */
.header {
    height: 5rem;
    display: flex;
    align-items: center;
    z-index: 2;
    box-shadow: 0 4px 12px hsla(270, 30%, 3%, .2);
    position: relative;
    padding: 0 1rem;
}

.header__heading {
    width: 6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.header__heading>a {
    font-weight: bold;
    letter-spacing: 2px;
    color: hsl(270, 50%, 10%);
    background: var(--primary-color);
    padding: .2rem .7rem;
    font-size: 1.5rem;
    border-radius: 4px;
}

.header__heading>a:hover {
    background: #E31C5F;
    transform: translateY(-2px);
}

.header__search {
    flex-grow: 1;
    padding: 0 1rem;
    display: flex;
    justify-content: center;
}

.header__search-icon {
    width: 3.8rem;
    height: 3.8rem;
    border-radius: 3.8rem;
    background: hsl(270, 32%, 17%);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.header__search-icon:hover {
    background: hsl(270, 32%, 20%);
    transform: scale(1.05);
}

.header__search-icon>svg {
    height: 1.6rem;
    opacity: .4;
}

.header__search-icon:hover>svg {
    opacity: .7;
}

.header__options {
    padding-right: 1rem;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header__pro {
    color: #eef0ff;
    background: linear-gradient(to top right, #546FFF, #8A9CFF);
    border: 0;
    margin-right: 1rem;
    font-size: 1.2rem;
    padding: .7rem 1.8rem;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.header__pro:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(84, 111, 255, 0.3);
}

.header__link {
    font-size: 1.4rem;
    opacity: .8;
    color: inherit;
    white-space: nowrap;
}

.header__link:first-of-type:hover {
    opacity: 1;
}

.header__link:not(:first-of-type) {
    margin-left: 1rem;
    opacity: 1;
}

.header__menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: hsl(270, 10%, 80%);
    cursor: pointer;
    margin-right: 1rem;
}

/* Body Styles */
.body {
    flex-grow: 2;
    display: flex;
    overflow-x: hidden;
}

/* Sidebar Styles */
.sidebar {
    width: 8rem;
    background: hsl(270, 50%, 10%);
    box-shadow: 2px 0 12px hsla(270, 30%, 10%, .2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    
}

.sidebar.collapsed {
    width: 4rem;
}

.sidebar__toggle {
    position: absolute;
    right: -1.5rem;
    top: 5rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: hsl(270, 50%, 10%);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 8px hsla(270, 30%, 10%, .4);
    z-index: 2000;
}

.sidebar__toggle:hover {
    background: hsl(270, 60%, 15%);
}

.sidebar__toggle svg {
    height: 1.6rem;
    transition: transform 0.3s ease;
}

.sidebar.collapsed .sidebar__toggle svg {
    transform: rotate(180deg);
}

.sidebar__icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4rem;
    cursor: pointer;
    padding: 1rem 0;
    position: relative;
}

.sidebar__icon:first-of-type {
    margin-top: 5rem;
}

.sidebar__icon:not(:first-of-type) {
    opacity: 1;
}

.sidebar__icon:not(:first-of-type):hover {
    opacity: 2;
}

.sidebar__icon:last-child {
    margin-top: 10rem;
}

.sidebar.collapsed .sidebar__icon::after {
    display: none;
}

.sidebar__icon:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: hsl(270, 50%, 15%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    white-space: nowrap;
    margin-left: 1rem;
    font-size: 1.2rem;
    z-index: 5;
}

.sidebar__icon svg {
    height: 2.2rem;
    stroke: currentColor;
    color: white; /* Changed to white */
}

.sidebar__icon:not(:first-of-type) svg {
  opacity: 9; 
}

.sidebar__icon:not(:first-of-type):hover svg {
    
}

/* Main Content Styles */
.main {
    flex-grow: 2;
    background: var(--gradient-2), url("https://images.unsplash.com/photo-1581866327034-c4579d75eb63?crop=entropy&cs=tinysrgb&fit=crop&fm=jpg&h=500&ixid=eyJhcHBfaWQiOjF9&ixlib=rb-1.2.1&q=80&w=1215") no-repeat;
    background-size: auto 500px;
    padding: 4rem 1rem 0 8rem;
    display: flex;
    flex-direction: column;
    border-bottom-right-radius: 8px;
    transition: padding-left 0.3s ease;
    overflow-x: hidden;
}

.main.expanded {
    padding-left: 4rem;
}

/* Column 1 Styles */
.main__col-1 {
    width: 100%;
    flex-shrink: 0;
    margin-bottom: 2rem;
}

.main__heading {
    font-size: 3rem;
    font-weight: 300;
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.main__heading svg {
    height: .7em;
}

.main__desc {
    margin: 1.5rem 0 1rem;
    font-size: 1.4rem;
    opacity: .6
}

.main__sub {
    font-size: 1.2rem;
}

.main__sub span:first-of-type {
    opacity: .4;
}

.main__list-heading-wrap {
    display: flex;
    align-items: center;
    font-size: 1rem;
    margin: 3rem 0 2rem;
}

.main__list-heading {
    flex-grow: 2;
}

.main__list {
    list-style: none;
    position: relative;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: hsl(270, 30%, 20%) hsl(270, 50%, 10%);
    padding-bottom: 1rem;
}

.main__list::-webkit-scrollbar {
    height: 8px;
}

.main__list::-webkit-scrollbar-track {
    background: hsl(270, 50%, 10%);
}

.main__list::-webkit-scrollbar-thumb {
    background-color: hsl(270, 30%, 20%);
    border-radius: 4px;
}

.main__list::before {
    content: "Places";
    position: absolute;
    bottom: 17%;
    left: -18%;
    opacity: .03;
    font-size: 18rem;
    font-weight: bold;
}

.main__list-item {
    padding: 0 0 2rem 2rem;
    border-left: 2px solid hsla(0, 0%, 50%, .2);
    position: relative;
    display: flex;
    color: #9D9DAC;
    margin-bottom: 1rem;
    min-width: 250px;
    cursor: pointer;
}

.main__list-item:first-of-type .main__list-content {
    color: hsl(240, 8%, 90%);
}

.main__list-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 4px;
    border-radius: 4px;
    background: hsl(210, 70%, 70%);
    transform: translateX(-3px);
}

.main__list-item:first-of-type::before {
    top: 0;
}

.main__list-item:first-of-type .main__list-content {
    line-height: .3;
}

.main__list-item-image {
    width: 4rem;
    height: 4rem;
    border-radius: 1px;
    margin-right: 1rem;
    box-shadow: 0 2px 10px hsla(270, 30%, 2%, .6);
    overflow: hidden;
    flex-shrink: 0;
}

.main__list-item-image img {
    border-radius: inherit;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main__list-content {
    font-size: 1.4rem;
    cursor: pointer;
}

.main__list-content:hover {
    color: hsl(240, 8%, 90%);
}

.main__list-sub {
    margin-top: .4rem;
    font-size: 1.1rem;
    opacity: .6;
}

/* Column 2 Styles */
.main__col-2 {
    width: 100%;
    padding-left: 0;
    flex-shrink: 0;
}

/* Cards Container */
.main__cards-container {
    width: 100%;
    border-radius: 8px;
    padding: 2rem;
    background: hsl(270, 50%, 11%);
    box-shadow: 0 6px 16px 0 hsla(270, 30%, 3%, .4);
    margin: 0 auto 2rem;
    overflow-x: hidden;
}

.main__cards-container-heading-wrap {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    justify-content: space-between;
}

.main__cards-container-heading {
    flex-grow: 2;
}

.main__cards {
    list-style: none;
    padding: 1rem 0;
    display: flex;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: hsl(270, 30%, 20%) hsl(270, 50%, 10%);
}

.main__cards::-webkit-scrollbar {
    height: 8px;
}

.main__cards::-webkit-scrollbar-track {
    background: hsl(270, 50%, 10%);
}

.main__cards::-webkit-scrollbar-thumb {
    background-color: hsl(270, 30%, 20%);
    border-radius: 4px;
}

.main__card {
    color: hsla(0, 0%, 100%, .8);
    flex-shrink: 0;
    margin-left: 1rem;
    width: 21rem;
    border-radius: 8px;
    text-align: right;
    padding: 2.2rem;
    box-shadow: 0 2px 12px hsla(var(--hue), 50%, 60%, .2), 0 4px 32px hsla(var(--hue), 50%, 60%, .2);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main__card:first-child {
    margin-left: 0;
}

.main__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px hsla(var(--hue), 50%, 60%, .3), 0 6px 40px hsla(var(--hue), 50%, 60%, .3);
}

.main__card-image-container {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    opacity: 1;
}

.main__card-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
}

.main__card-image-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, hsla(var(--hue), 60%, 60%, .3), 40%, hsl(var(--hue), 70%, 60%));
}

.main__card-heading {
    font-size: 2rem;
    font-weight: normal;
    position: relative;
    z-index: 2;
}

.main__card-heading-sub {
    margin-top: .4rem;
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
}

.main__card-heading-type {
    margin-top: 2.8rem;
    position: relative;
    z-index: 2;
}

.main__card-price {
    margin-top: 1rem;
    font-size: 1.8rem;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

.main__cards-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.main__cards-buttons>button {
    color: inherit;
    background: transparent;
    border: 0;
    cursor: pointer;
    opacity: 0.7;
}

.main__cards-buttons>button:hover {
    opacity: 1 !important;
}

.main__cards-buttons svg {
    height: 1.6rem;
}

/* Crossing Container */
.main__crossing-container {
    width: 100%;
    background-color: hsl(270, 50%, 11%);
    background-image: linear-gradient(120deg, hsla(26, 80%, 50%, .5), 10%, hsl(270, 50%, 11%) 60%), url("https://images.unsplash.com/photo-1506197603052-3cc9c3a201bd?crop=entropy&cs=tinysrgb&fit=crop&fm=jpg&h=100&ixid=eyJhcHBfaWQiOjF9&ixlib=rb-1.2.1&q=80&w=600");
    box-shadow: 0 6px 16px 0 hsla(270, 30%, 3%, .4);
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    align-items: center;
    margin: 0 0 2rem;
    position: relative;
    z-index: 2;
    overflow-x: hidden;
}

.main__crossing-image {
    border: 3px solid hsl(215, 60%, 40%);
    border-right-color: transparent;
    box-shadow: 0 0 12px hsla(270, 30%, 10%, .4);
    transform: rotate(-45deg);
    width: 5.4rem;
    height: 5.4rem;
    border-radius: 5.4rem;
    overflow: hidden;
    flex-shrink: 0;
}

.main__crossing-image>img {
    width: 5.4rem;
    transform: translate(-3px, -3px) rotate(45deg);
    border-radius: 5.4rem;
    border: 6px solid transparent;
}

.main__crossing-current {
    flex-grow: 2;
    margin-left: 2rem;
}

.main__crossing-upper {
    text-transform: uppercase;
    margin-bottom: .6rem;
    letter-spacing: 2px;
}

.main__crossing-heading {
    font-weight: normal;
    font-size: 1.6rem;
}

/* Discover Section */
.main__discover {
    width: 100%;
    background-color: hsl(270, 50%, 11%);
    box-shadow: 0 8px 12px 0 hsla(270, 30%, 5%, .2);
    border-radius: 8px;
    padding: 3rem 2rem 2rem;
    margin: 0 auto 2rem;
    overflow-x: hidden;
}

.main__discover-heading-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.main__discover-heading {
    flex-grow: 2;
}

.main__discover-places {
    padding: 1rem 0;
    list-style: none;
    display: flex;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: hsl(270, 30%, 20%) hsl(270, 50%, 10%);
}

.main__discover-places::-webkit-scrollbar {
    height: 8px;
}

.main__discover-places::-webkit-scrollbar-track {
    background: hsl(270, 50%, 10%);
}

.main__discover-places::-webkit-scrollbar-thumb {
    background-color: hsl(270, 30%, 20%);
    border-radius: 4px;
}

.main__discover-place {
    flex-shrink: 0;
    margin-right: 1rem;
    background: hsl(270, 50%, 15%);
    padding: 1.6rem;
    width: 18rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px 0 hsla(270, 30%, 7%, .2);
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.main__discover-place:first-child {
    margin-left: 0;
}

.main__discover-place:hover {
    background: hsl(270, 50%, 17%);
    transform: translateY(-5px);
}

.main__discover-place-heading {
    font-size: 1.4rem;
    font-weight: normal;
    margin-bottom: 6px;
}

.main__discover-place-sub {
    font-size: 1rem;
    opacity: .4;
}

.main__discover__more {
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main__discover__more-svg {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 8px;
    flex-shrink: 0;
}

.main__discover__more svg {
    height: 2.6rem;
    transform: translate(2.4px, 1.6px);
}

.main__discover-right {
    opacity: .6;
    margin-left: -45px;
    cursor: pointer;
    flex-shrink: 0;
}

.main__discover-right:hover {
    opacity: 1;
}

.main__discover-right>svg {
    height: 1.6rem;
}

/* Property Carousel Section */
.main__carousel-container {
    width: 100%;
    background-color: hsl(270, 50%, 11%);
    box-shadow: 0 8px 12px 0 hsla(270, 30%, 5%, .2);
    border-radius: 8px;
    padding: 3rem 2rem 2rem;
    margin: 0 auto 2rem;
    overflow-x: hidden;
}

.main__carousel-heading-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.main__carousel {
    position: relative;
    overflow: hidden;
    touch-action: pan-y; /* Enable touch swiping */
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    flex: 0 0 100%; /* Show 1 item by default */
    padding: 0 1rem;
}

.property-card {
    background: hsl(270, 50%, 15%);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 12px hsla(270, 30%, 10%, .2);
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px hsla(270, 30%, 10%, .3);
}

.property-card-image {
    position: relative;
    /* Use aspect-ratio for square cards */
    aspect-ratio: 1/1;
    overflow: hidden;
}

.property-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-card-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.7);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
}

.property-card-wishlist:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
}

.property-card-wishlist i {
    color: var(--primary-color);
    font-size: 1.6rem;
}

.property-card-wishlist.active i {
    color: var(--primary-color);
}

.property-card-content {
    padding: 1.2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.property-card-title {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.property-card-location {
    font-size: 1.2rem;
    color: hsl(270, 10%, 60%);
    margin-bottom: 1rem;
}

.property-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.property-card-price {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary-color);
}

.btn-view-property {
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-view-property:hover {
    background: #E31C5F;
}



/* Floating Chatbot Button */
.floating-chatbot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    font-weight: 500;
    border: none;
}

.floating-chatbot:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 2px solid white;
}

.floating-chatbot i {
    font-size: 1.2rem;
}

.floating-chatbot span {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Chatbot Modal */
#chatbotModal .modal-dialog {
    max-width: 90%;
    margin: 5% auto;
    height: 80vh;
}

#chatbotModal .modal-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 15px;
}

#chatbotModal .modal-header {
    background: var(--primary-gradient);
    color: white;
    border-radius: 15px 15px 0px 0px;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#chatbotModal .modal-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

#chatbotModal .modal-body {
    padding: 0;
    flex: 1;
    overflow: hidden;
    border-radius: 0 0 15px 15px;
}

#chatbotModal iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0 0 15px 15px;
}


.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: hsla(270, 50%, 20%, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: hsla(270, 50%, 40%, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    right: 10px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 8px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}
  
/* Footer */
.main__footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1rem;
    overflow-x: hidden;
}

.main__footer-more {
    margin-bottom: 1.5rem;
}

.main__footer-more svg {
    height: 1em;
    vertical-align: middle;
}

.main__info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}

.main__info-link {
    color: inherit;
    font-size: 1.4rem;
    margin-right: 1rem;
    margin-bottom: 0.5rem;
}

.main__info-link:hover {
    color: #fff;
}

.main__info-link:hover svg {
    opacity: .7;
}

.main__info-link svg {
    height: 1.4em;
    transform: translateY(1px);
    opacity: .4;
}

.main__cp {
    margin: 1rem 0;
    width: 100%;
    text-align: center;
}

.main__cr {
    opacity: .4;
    margin-right: 1rem;
}

.main__cr:hover {
    opacity: .7;
}

/* Shared Styles */
.ss-heading {
    font-weight: 400;
    text-transform: uppercase;
    font-size: 1.4rem;
    letter-spacing: 3px;
    color: hsl(235, 5%, 70%);
}

.ss-show {
    color: hsl(210, 60%, 60%);
    font-size: 1.2rem;
    margin-right: 20px;
}

.ss-show:hover {
    color: hsl(210, 70%, 70%);
}

.ss-dots {
    display: flex;
}

.ss-dots>span {
    width: 6px;
    height: 6px;
    border: 1px solid currentColor;
    border-radius: 6px;
    margin-right: 2px;
    opacity: .6;
    cursor: pointer;
}

.ss-dots>span:hover {
    opacity: 1;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: hsl(270, 50%, 10%);
    margin: 5% auto;
    padding: 1.5rem;
    border-radius: 8px;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    box-shadow: 0 4px 20px hsla(270, 30%, 10%, .4);
    animation: slideIn 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 1rem;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close:hover,
.close:focus {
    color: white;
    background: rgba(0, 0, 0, 0.7);
}

.modal-header {
    margin-bottom: 1rem;
}

.modal-header h2 {
    font-size: 1.8rem;
    font-weight: 300;
    margin: 0;
}

.modal-body {
    overflow-y: auto;
    padding-right: 0.5rem;
    flex-grow: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background-color: hsl(270, 50%, 15%);
    border: 1px solid hsl(270, 30%, 20%);
    border-radius: 4px;
    color: hsl(270, 10%, 80%);
    font-size: 1.4rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: hsl(210, 60%, 60%);
}

.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: hsl(210, 60%, 60%);
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: hsl(210, 70%, 70%);
}

.btn-secondary {
    background-color: transparent;
    color: hsl(270, 10%, 80%);
    border: 1px solid hsl(270, 30%, 20%);
    margin-right: 1rem;
}

.btn-secondary:hover {
    background-color: hsl(270, 30%, 15%);
}

.btn-danger {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.btn-danger:hover {
    background-color: #E31C5F;
}

/* Property Modal Carousel */
.property-image-carousel {
    position: relative;
    width: 100%;
    height: 400px; /* Increased height for better image viewing */
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    background: hsl(270, 50%, 15%);
    transition: height 0.3s ease;
}

.carousel-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-slides {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Changed from cover to contain */
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.indicator.active {
    background: white;
}

/* Property Details Layout */
.property-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Glassmorphic Card Effect */
.glassmorphic-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.glassmorphic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
}

.property-header {
    margin-bottom: 0.5rem;
    position: relative;
}

.property-modal-wishlist {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.7);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
}

.property-modal-wishlist:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
}

.property-modal-wishlist i {
    color: var(--primary-color);
    font-size: 1.6rem;
}

.property-booking-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.property-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.property-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.4rem;
}

.property-info-item i {
    color: var(--primary-color);
}

.property-description h3,
.property-amenities h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: hsl(270, 10%, 90%);
}

/* PROPERTY MODAL AMENITIES & BUTTON STYLES */
/* Container for the amenities grid */
.property-amenities .amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
    gap: 10px;
    margin-top: 1rem;
}

/* 3 columns on larger screens (tablet and up) */
@media (min-width: 768px) {
    .property-amenities .amenities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Individual amenity item styling */
.amenity-item {
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    color: hsl(270, 10%, 80%);
}

.amenity-item i {
    color: var(--secondary-color); /* Or your preferred icon color */
    margin-right: 8px;
    font-size: 1.2rem;
}

/* Hide extra amenities by default */
.amenity-item.extra {
    display: none;
}

/* Show extra amenities when the parent has the 'show-all' class */
.property-amenities .amenities-grid.show-all .amenity-item.extra {
    display: flex;
}

/* Style for the 'View More/Less' button */
.view-more-amenities-btn {
    background: none;
    border: none;
    color: hsl(210, 60%, 60%); /* A link-like color */
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0;
    margin-top: 1rem;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.view-more-amenities-btn:hover {
    color: hsl(210, 70%, 70%);
}

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid hsl(270, 30%, 20%);
}

.property-price {
    font-size: 2rem;
    font-weight: bold;
}

.property-price span {
    font-size: 1.4rem;
    font-weight: normal;
    opacity: 0.7;
}

.book-button {
    padding: 0.8rem 2rem;
    font-size: 1.4rem;
}

/* Notification styles */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 4px;
    color: white;
    font-size: 1.4rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}

.notification-success {
    background-color: #4CAF50;
}

.notification-error {
    background-color: #F44336;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Properties grid */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.property-card {
    background: hsl(270, 50%, 15%);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px hsla(270, 30%, 10%, .2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px hsla(270, 30%, 10%, .3);
}

.property-card-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.property-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card:hover .property-card-image {
    transform: scale(1.05);
}

.property-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: bold;
}

.property-badge-danger {
    background-color: var(--primary-color);
    color: white;
}

.property-card-content {
    padding: 1.5rem;
}

.property-card-title {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.property-card-location {
    font-size: 1.4rem;
    color: hsl(270, 10%, 60%);
    margin-bottom: 1rem;
}

.property-card-description {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: hsl(270, 10%, 70%);
}

.property-card-price {
    font-size: 1.6rem;
    font-weight: bold;
    color: hsl(210, 60%, 60%);
}

.property-card-price-unit {
    font-weight: normal;
    font-size: 1.4rem;
    color: hsl(270, 10%, 70%);
}

/* Form styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.form-control, .form-select {
    width: 100%;
    padding: 0.8rem;
    background-color: hsl(270, 50%, 15%);
    border: 1px solid hsl(270, 30%, 20%);
    border-radius: 4px;
    color: hsl(270, 10%, 80%);
    font-size: 1.4rem;
}

.form-control:focus, .form-select:focus {
    outline: none;
    border-color: hsl(210, 60%, 60%);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    background: transparent;
    border: 1px solid hsl(270, 30%, 20%);
    color: hsl(270, 10%, 80%);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.dropdown-menu {
    position: absolute;
    background: hsl(270, 50%, 15%);
    border: 1px solid hsl(270, 30%, 20%);
    border-radius: 4px;
    min-width: 160px;
    box-shadow: 0 4px 12px hsla(270, 30%, 10%, .2);
    z-index: 1000;
}

.dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    color: hsl(270, 10%, 80%);
    text-decoration: none;
}

.dropdown-item:hover {
    background: hsl(270, 50%, 20%);
}

.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.alert-info {
    background: hsl(210, 60%, 30%);
    color: white;
}

.btn-outline-primary {
    background: transparent;
    border: 1px solid hsl(210, 60%, 60%);
    color: hsl(210, 60%, 60%);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    display: inline-block;
}

.btn-outline-primary:hover {
    background: hsl(210, 60%, 60%);
    color: white;
}

.btn-block {
    width: 100%;
}

/* Search Results */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: hsl(270, 50%, 15%);
    border-radius: 8px;
    box-shadow: 0 4px 12px hsla(270, 30%, 3%, .4);
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.search-result-item {
    padding: 1rem;
    border-bottom: 1px solid hsla(270, 30%, 20%, .3);
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-result-item:hover {
    background: hsl(270, 50%, 20%);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-title {
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.search-result-location {
    font-size: 1.2rem;
    opacity: .7;
}

/* Responsive Design */
@media (min-width: 769px) {
    /* Desktop styles */
    .header {
        padding: 0 2rem;
    }

    .header__search {
        padding: 0 8.6rem;
    }

    .header__options {
        padding-right: 2.8rem;
    }

    .header__pro {
        margin-right: 5rem;
    }

    .header__link:not(:first-of-type) {
        margin-left: 2rem;
    }

    .main {
        flex-direction: row;
        padding: 4rem 0 0 8rem;
    }

    .main.expanded {
        padding-left: 4rem;
    }

    .main__col-1 {
        width: 30%;
        margin-bottom: 0;
    }

    .main__col-2 {
        width: 70%;
        padding-left: 6rem;
    }

    .main__list-heading-wrap {
        margin: 8rem 0 5rem;
    }

    .main__list-item {
        padding: 0 0 5.7rem 2rem;
        margin-bottom: 0;
    }

    .main__cards-container {
        width: 98%;
        padding: 3rem;
        margin-left: auto;
        transform: translateX(4rem);
    }

    .main__discover {
        width: 88%;
        padding: 8rem 3.6rem 2rem;
        margin-left: auto;
        transform: translate(1.4rem, -2.1rem);
    }

    .main__discover-place {
        width: 24%;
    }

    .main__crossing-container {
        width: 88%;
        padding: 2rem 3.6rem;
        transform: translate(-2rem, 2.4rem);
    }

    .main__carousel-container {
        margin-left: -46rem; /* Counteract the padding-left of main__col-2 */
        width: calc(100% + 46rem); /* Increase width to compensate for negative margin */
    }

    /* Adjust the carousel inner container to have proper padding */
    .main__carousel {
        padding: 0;
    }

    /* Ensure carousel items are properly sized */
    .carousel-item {
        flex: 0 0 25%; /* Show 4 items at a time */
        padding: 0 1.5rem; /* Increase padding for better spacing */
    }

    .main__footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: .2rem 0 2.3rem 10rem;
    }

    .main__footer-more {
        margin-bottom: 0;
    }

    .main__info {
        flex-wrap: nowrap;
    }

    .main__cp {
        margin: 0 1rem 0 2.6rem;
        width: auto;
    }
}

@media (max-width: 768px) {
    .header__menu-toggle {
        display: block;
    }

    .header__options {
        display: none;
    }
    
    
    
    .floating-chatbot {
        bottom: 15px;
        right: 15px;
        width: 60px;
        height: 60px;
        padding: 10px 15px;
        border-radius: 30px;
    }
    
    .floating-chatbot span {
        display: none;
    }
    
    #chatbotModal .modal-dialog {
        width: 95%;
        height: 90vh;
        margin: 5% 2.5%;
    }

    .sidebar {
        position: absolute;
        height: 100%;
        z-index: 5;
        width: 0;
        overflow: hidden;
        transition: width 0.3s ease;
    }

    .sidebar.collapsed {
        width: 0;
    }

    .sidebar:not(.collapsed) {
        width: 8rem;
    }

    .main {
        padding-left: 0;
        flex-direction: column;
    }

    .main.expanded {
        padding-left: 0;
    }
    
    /* Ensure images are visible on mobile */
    .main__card-image-container {
        opacity: 1 !important;
        z-index: 1 !important;
    }
    
    /* Ensure text is above image */
    .main__card-heading, 
    .main__card-heading-sub, 
    .main__card-heading-type, 
    .main__card-price {
        z-index: 2 !important;
        position: relative !important;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    
    .property-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .book-button {
        width: 100%;
    }

    .modal-content {
        width: 95%;
        padding: 1rem;
        max-height: 90vh;
    }

    .property-image-carousel {
        height: 250px; /* Smaller height on mobile */
    }

    /* Responsive adjustments for carousel */
    .carousel-item {
        flex: 0 0 50%; /* Show 2 items at a time */
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
     .property-modal-content {
        max-height: 95vh;
        overflow-y: auto;
    }

    /* Increase the height of the image carousel specifically */
    .property-image-carousel .carousel-slide img {
        max-height: 60vh; /* Adjust this value as needed */
        width: auto;
        object-fit: cover;
    }
}

@media (max-width: 576px) {
    .header__search {
        padding: 0 0.5rem;
    }

    .main__heading {
        font-size: 2rem;
    }

    .main__list-item {
        padding: 0 0 1.5rem 1.5rem;
    }

    .main__discover-place {
        width: 70%;
    }

    .modal-content {
        width: 98%;
        padding: 0.8rem;
    }

    .property-image-carousel {
        height: 200px; /* Even smaller height on very small screens */
    }

    .property-footer {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .book-button {
        width: 100%;
    }

    /* Responsive adjustments for carousel */
    .carousel-item {
        flex: 0 0 100%; /* Show 1 item at a time */
    }
}

/* Mobile filter toggle */
.filter-toggle {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 100;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

@media (max-width: 768px) {
    .filter-toggle {
        display: flex;
    }
    
    #filterPanel {
        position: fixed;
        top: 0;
        left: 0;
        width: 80%;
        max-width: 300px;
        height: 100%;
        background-color: hsl(270, 50%, 10%);
        z-index: 200;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        padding: 2rem;
    }
    
    #filterPanel.active {
        transform: translateX(0);
    }
    
    .main__col-2 {
        width: 100%;
    }
}