body {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;
    text-transform: none;
    background-color: #F7F8F9;
    color: #222;
    font-size: 15px;
}
a, a:hover {
    color: #ed2224;
}
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.navbar-toggler {
    border: none;
}
.navbar-brand {
    font-weight: bold;
}
.top-bar {
    background-color: #c93232;
    padding: 10px 0;
}
.top-bar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.property-title {
    font-size: 30px;
    margin-bottom: 5px;
    font-family: 'Lora', 'Inter', sans-serif;
    font-weight: 400;
}
.property-badge {
    background-color: #666;
    color: white;
    font-size: 12px;
    padding: 5px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 15px;
    line-height: 100%;
    width: auto;
    font-family: 'Inter', sans-serif;
    margin-left: 10px;
}
.prop-title {
    display: flex;
    justify-content: space-between;
}
@media only screen and (max-width: 768px) {
    .prop-title {
        flex-direction: column;
        justify-content: flex-start;
        gap: 8px;
    }
    .property-title {
        font-size: 24px;
    }
}
.prop-price {
    font-size: 30px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}
@media only screen and (max-width: 768px) {
    .prop-price {
        font-size: 24px;
    }
}
.property-address {
    color: #636363;
}
.property-price {
    font-size: 24px;
    font-weight: bold;
    color: #222;
}
.tab-content {
    padding-top: 8px;
}
.nav-tabs .nav-link {
    border: none;
    color: #666;
    background-color: #EBEBEB;
    font-weight: 600;
    padding: 15px 20px;
    width: 100%;
    border-radius: 0;
}
.nav-tabs .nav-link.active {
    color: #c93232;
}
.nav-tabs .nav-item {
    flex-grow: 1;
}
.property-features {
    gap: 20px;
    justify-content: space-between;
}
@media only screen and (max-width: 768px) {
    .property-features {
        flex-direction: column;
    }
}
.feature-item {
    width: auto;
}

.feature-number {
    font-size: 16px;
    margin-bottom: 2px;
}
.feature-name {
    color: #5C6872;
    font-size: 15px;
    font-weight: 400;
}
.detail-wrap {
    border: 1px solid;
    padding: 30px;
    background-color: rgba(247, 248, 249, 1);
    border-color: #ededf1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    border-bottom: 1px solid;
    border-color: #dce0e0;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    -moz-column-break-inside: avoid;
    break-inside: avoid;
    border-radius: 4px;
    margin-top: 30px;
}
@media only screen and (max-width: 768px) {
    .detail-wrap {
        padding: 12px 20px;
    }
}
.detail-wrap strong {
    font-weight: 400;
}
.detail-wrap span {
    font-weight: 300;
}
.block-content-wrap p:last-of-type, .block-content-wrap ul:last-of-type {
    margin-bottom: 0;
    width: 100%;
}
.block-content-wrap .detail-wrap li {
    border-color: rgba(0, 0, 0, 5%);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    border-bottom: 1px solid;
    border-color: #dce0e0;
    padding: 10px 0;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    -moz-column-break-inside: avoid;
    break-inside: avoid;
}
.list-2-cols {
    -webkit-columns: 2;
    -moz-columns: 2;
    columns: 2;
}
@media only screen and (max-width: 768px) {
    .list-2-cols {
        -webkit-columns: 1;
        -moz-columns: 1;
        columns: 1;
    }
}
.list-unstyled {
    padding-left: 0;
    list-style: none;
}
.block-content-wrap .detail-wrap li strong {
    white-space: nowrap;
}
.block-content-wrap .detail-wrap li span {
    max-width: 150px;
    text-align: right;
}
.property-details {
    background-color: #F7F8F9;
    border: 1px solid #EDEDF1;
    border-radius: 4px;
    padding: 20px;
}
.contact-form {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 5px;
    position: sticky;
    top: 20px;
}
@media only screen and (max-width: 768px) {
    .contact-form {
        padding: 32px 20px;
    }
}
.contact-form .form-control {
    margin-bottom: 15px;
}
.contact-form img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
}
.contact-form button {
    font-weight: 500;
    color: #fff;
    background-color: #c3922e;
    border-color: #c3922e;
    padding: 8px 0;
    font-size: 15px;
    border-radius: 4px;
}
.contact-form button:hover {
    color: #fff!important;
    background-color: #b38527!important;
    border-color: #b38527!important;
}
.btn-whatsapp {
    background-color: #1caf59!important;
    border-color: #1caf59!important;
}
.contact-form .btn-whatsapp:hover {
    background-color: #179d4f!important;
    border-color: #179d4f!important;
}
.property-img-thumbnail {
    cursor: pointer;
    height: 80px;
    width: 100%;
    object-fit: cover;
}
.overview-section, .details-section, .description-section, .video-section {
    margin-bottom: 30px;
}
.section-title-row {
    display: flex;
    flex-direction: row;
    justify-content:space-between;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
    font-size: 18px;
    font-family: "Lora", serif;
    font-weight: 400;
}
.section-title {
    font-size: 18px;
    font-family: "Lora", serif;
    font-weight: 400;
}
.section-title-row span {
    color: #222222;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}
.bread-crumb {
    font-size: 14px;
    color: #ED2224;
}
.bread-crumb a {
    color: #ED2224;
    text-decoration: none;
}
.bread-crumb .active {
    color: #6C757D;
}
.footer {
    background-color: #BE1E2D;
    color: white;
    padding: 26px 0 40px;
    margin-top: 40px;
    font-family: "Montserrat", Inter;
    font-size: 15px;
    font-weight: 500;
}
.social-links a {
    color: white;
    margin: 0 8px;
    font-size: 20px;
}
.section-block {
    background-color: #fff;
    padding: 40px;
    margin-top: 30px;
}
@media only screen and (max-width: 768px) {
    .section-block {
        padding: 32px 20px;
    }
}
.back-to-top-wrap {
    position: fixed;
    left: auto;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}
.back-to-top-wrap .btn-back-to-top, .back-to-top-wrap .btn-back-to-top:active {
    width: 42px;
    height: 42px;
    line-height: 42px;
    padding: 0;
    color: #fff;
    background-color: #ed2224!important;
    border-color: #ed2224!important;
}

.navbar-listing {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.listing-hero-section {
    height: 420px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
@media only screen and (max-width: 768px) {
    .listing-hero-section {
        height: 320px;
    }
}
.listing-hero-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-search-box {
    background-color: white;
    border-radius: 16px;
    padding: 20px;
    margin-top: -50px;
    position: relative;
    z-index: 20;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.listing-search-box .form-select, .listing-search-box .form-control {
    border-radius: 0px;
    padding: .6rem 2.25rem .6rem .75rem;
}
.search-tabs {
    margin-bottom: 15px;
    justify-content: center;
}
.search-row-2 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
@media only screen and (max-width: 768px) {
    .search-row-2 {
        height: 100vh;
        width: 100vw;
        position: fixed;
        background: #fff;
        top: -400%;
        left: 0;
        z-index: 999999999;
        padding: 20px;
        flex-direction: column;
        justify-content: flex-start;
        margin: 0;
        margin-top: 0 !important;
    }
}
.search-row-2 .filter-item {
    width: auto;
    padding: 0;
}
@media only screen and (max-width: 768px) {
    .search-row-2 .filter-item {
        width: 100%;
    }
}
.search-row-2 .form-select {
    border: 0px solid #000;
    width: auto;
    font-weight: 500;
    text-align: center;
    font-size: 16px;
}
@media only screen and (max-width: 768px) {
    .search-row-2 .form-select {
      width: 100%;
      border-bottom: 1px solid #eee;
      text-align: left;
    }
}
.search-row-2 .form-select:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0rem rgba(255, 255, 255, 0);
}
.search-prop-state, .search-prop-area {
    padding-right: 0px;
}
.search-prop-area {
    padding-left: 0px;
}
.search-prop-name {
    padding: 0 20px;
}
@media only screen and (max-width: 768px) {
    .search-prop-state, .search-prop-area, .search-prop-name {
        padding-right: 0px;
        padding-left: 0px;
    }
}
.search-tabs .nav-link {
    border: none;
    color: #222;
    font-weight: 500;
    padding: 0px 40px 10px;
    background: transparent;
    font-family: "Montserrat", Inter;
    font-weight: 600;
}
@media only screen and (max-width: 768px) {
    .search-tabs .nav-link {
        padding: 0px 10px 10px;
    }
  }
.search-tabs .nav-item {
    flex-grow: 0;
}
@media only screen and (max-width: 768px) {
    .search-tabs .nav-item {
        flex-grow: 1;
        text-align: center;
    }
}

.search-tabs .nav-link.active {
    color: #dc3545;
    border-bottom: 2px solid #dc3545;
    background-color: transparent;
}

.search-button {
    background-color: #dc3545;
    border-color: #dc3545;
    height: 100%;
}
.more-button {
    display: none;
}
@media only screen and (max-width: 768px) {
    .search-button {
        height: auto;
    }
    .more-button {
        display: block;
        margin-bottom: 8px;
        margin-top: 8px;
        color: #222;
    }
}
.search-button:hover {
    background-color: #cf2e3e!important;
    border-color: #cf2e3e!important;
}

.listing-property-card {
    margin-bottom: 30px;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    text-decoration: none;
}

.listing-property-card:hover {
    transform: translateY(-8px);
}
.listing-property-card .position-relative {
    aspect-ratio: 4 / 2.6;
    overflow: hidden;
}
.listing-property-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
}
.mask-bg {
    background: linear-gradient(to bottom, rgba(0,0,0,0) 50%,rgba(0,0,0,0.75) 100%); /* W3C */
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
}

.listing-property-type-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 6px;
    font-size: 11px;
    border-radius: 2px;
    font-family: "Montserrat", Inter;
    line-height: 100%;
}

.listing-property-price {
    font-family: "Montserrat", Inter;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    position: absolute;
    z-index: 99;
    bottom: 0;
    padding: 20px;
}

.listing-property-title {
    font-family: "Montserrat", Inter;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.listing-property-location {
    font-family: "Montserrat", Inter;
    font-size: 15px;
    font-weight: normal;
    font-style: normal;
    letter-spacing: 0px;
    color: #636363;
}

.listing-property-features {
    display: flex;
    justify-content: space-between;
}

.listing-feature {
    display: flex;
    flex-direction: column;
    color: #555;
    border-right: 1px solid #eee;
    width: 100%;
    padding: 0 10px;
    font-family: "Inter", Inter;
    font-size: 15px;
    font-weight: 500;
}
.listing-feature:last-child {
    border-right: 0px solid #eee;
}
.listing-feature span {
    font-family: "Montserrat", Inter;
    font-size: 15px;
    font-weight: 600;
    color: #222222;
}
.listing-feature .sqft {
    color: #555;
    font-weight: 400;
}

.heart-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    background-color: rgba(0,0,0,0.5);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
}

.pagination {
    gap: 4px;
}
.pagination .page-item.active .page-link {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

.pagination .page-link {
    color: #6C757D;
    border-radius: 4px;
    padding: 6px 14px;
    font-family: "Montserrat", Inter;
}
.search-result-text {
    color: #222;
    font-size: 24px;
    font-family: "Lora", serif;
    font-weight: 400;
    padding: 12px 0;
}

.price-range-slider-container, .size-range-slider-container {
    padding: 20px;
    width: 100%;
    min-width: 300px;
  }
  @media only screen and (max-width: 768px) {
    .price-range-slider-container, .size-range-slider-container {
        width: 90vw;
    }
  }
  .noUi-connect {
    background: #dc3545!important;
  }
  .price-range-price-values, .size-range-size-values {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    margin-bottom: 15px;
  }
  .price-range-button-container, .size-range-button-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
    gap: 10px;
  }
  .price-range-dropdown-menu, .size-range-dropdown-menu {
    padding: 0 8px;
    min-width: 350px;
  }
  .price-range-reset-btn, .price-range-ok-btn, .size-range-reset-btn, .size-range-ok-btn, .more-filter-close-btn {
    width: 100%;
    padding: 8px;
  }
  .price-range-reset-btn, .size-range-reset-btn, .more-filter-close-btn {
    color: #222;
  }
  .price-range-reset-btn:hover, .size-range-reset-btn:hover, .more-filter-close-btn:hover {
    color: #222;
    background: rgb(0, 0, 0, 0.05);
  }
  /* Remove button outline */
  .price-range-dropdown-toggle:focus, .size-range-dropdown-toggle:focus
  .price-range-reset-btn:focus, .size-range-reset-btn:focus
  .price-range-ok-btn:focus, .size-range-ok-btn:focus {
    box-shadow: none !important;
    outline: none !important;
    background-color: transparent;
  }
.price-range-dropdown-toggle, .size-range-dropdown-toggle {
    color: #222;
    outline: none !important;
    border: 0px solid #000;
    padding: 0 10px;
    font-weight: 500;
}
@media only screen and (max-width: 768px) {
    .price-range-dropdown-toggle, .size-range-dropdown-toggle {
        border-bottom: 1px solid #eee;
        width: 100%;
        padding: .6rem 2.25rem .6rem .75rem;
        text-align: left;
    }
    .price-range-dropdown-toggle:after, .size-range-dropdown-toggle:after {
        position: absolute;
        right: 14px;
        top: 46%;
    }
}
.price-range-dropdown-toggle:hover, .size-range-dropdown-toggle:hover {
    background-color: transparent;
    color: #222;
}
.more-filter-title, .close-filter {
    display: none;
}
@media only screen and (max-width: 768px) {
    .more-filter-title {
        display: block;
        display: block;
        font-size: 18px;
        font-family: 'Lora', 'Inter', serif;
        padding-bottom: 24px;
    }
    .close-filter {
        display: block;
        margin-top: 40px;
    }
}
/* Main Splide styling */
#main-slider {
margin-bottom: 1rem;
}

#main-slider .splide__slide {
display: flex;
align-items: center;
justify-content: center;
height: 500px;
border-radius: 4px;
overflow: hidden;
}

#main-slider .splide__slide img {
width: 100%;
height: 100%;
object-fit: cover;
}

/* Thumbnail Splide styling */
#thumbnail-slider .splide__slide {
opacity: 0.6;
padding: 5px;
transition: opacity 0.3s ease;
cursor: pointer;
height: 100px;
border-radius: 4px;
overflow: hidden;
}

#thumbnail-slider .splide__slide.is-active {
opacity: 1;
border: 2px solid #b73838;
}

#thumbnail-slider .splide__slide img {
width: 100%;
height: 100%;
object-fit: cover;
}

.splide__arrow {
background: rgba(255, 255, 255, 0.8);
}

.splide__pagination__page {
background: #ccc;
}

.splide__pagination__page.is-active {
background: #b73838;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    transition: overflow-y 0.3s ease;
  }
  
  body.sidebar-open {
    overflow-y: hidden;
    -webkit-box-shadow: rgba(0, 0, 0, .2) 0 -10px 10px;
    box-shadow: rgba(0, 0, 0, .2) 0 -10px 10px;
    border-left: 1px solid rgba( 0, 0, 0, 0.1 );
  }
  
  .sidebar-container {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    background-color: #ED2224;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 20px;
    color: white;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
  }
  
  .sidebar-container.show {
    width: 241px;
  }

  .sidebar-logo {
    display: flex;
    align-items: center;
    padding: 0 15px 38px 15px;
    white-space: nowrap;
  }

  .sidebar-logo img {
    width: 100%;
    height: 40px;
    object-fit: contain;
    background-position-x: center;
  }

  .sidebar-logo-text {
    color: white;
    font-size: 14px;
    font-weight: 500;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .sidebar-nav {
    padding: 0;
    list-style: none;
  }

  .sidebar-nav-item {
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    display: block;
    text-decoration: none;
    transition: 0.3s;
    white-space: nowrap;
  }

  .sidebar-nav-item:hover {
    color: white;
  }

  .sidebar-nav-item.active {
    background-color: rgba(255, 255, 255, 0.2);
  }

  .sidebar-dropdown {
    list-style: none;
    padding: 0;
  }

  .sidebar-dropdown-item {
    padding: 15px 15px 15px 40px;
    font-size: 14px;
    color: white;
    display: block;
    text-decoration: none;
    transition: 0.3s;
    white-space: nowrap;
    border-bottom: 1px solid #c62323;
  }

  .sidebar-dropdown-item:hover {
    background-color: rgba(15,16,16,0.1);
    color: white;
  }

  .sidebar-dropdown-toggle {
    background: none;
    border: none;
    color: white;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 500;
    width: 100%;
    text-align: left;
    position: relative;
    white-space: nowrap;
    display: flex;
    align-items: center;
  }

  .sidebar-dropdown-toggle .chevron-icon {
    position: absolute;
    right: 20px;
    transition: transform 0.3s;
  }
  
  .sidebar-dropdown-toggle[aria-expanded="true"] .chevron-icon {
    transform: rotate(0deg);
  }

  .sidebar-social {
    padding: 12px 15px;
    margin-top: 20px;
    white-space: nowrap;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .sidebar-social-heading {
    font-size: 14px;
    font-weight: 200;
    margin-bottom: 8px;
  }

  .sidebar-social-icons {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .sidebar-social-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
  }

  .sidebar-social-link img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
  }

  .sidebar-social-link:hover {
    opacity: 0.8;
    color: white;
  }

  #main {
    transition: margin-left .5s;
  }

  .sidebar-toggle-btn {
    position: fixed;
    top: 24px;
    left: 0px;
    z-index: 999;
    font-size: 18px;
    cursor: pointer;
    background-color: #e13232;
    color: white;
    padding: 16px 28px 16px 32px;
    border: none;
    transition: all 0.3s;
  }

  .sidebar-toggle-btn:hover {
    background-color: #c52d2d;
  }
  
  .sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: transparent;
    z-index: 998; /* Just below the toggle button */
    display: none;
  }
  
  .sidebar-overlay.show {
    display: block;
  }

  @media (max-width: 768px) {
    .sidebar-container.show {
      width: 250px;
    }
  }