/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

li {
  list-style: none;
}

.light-style .menu .app-brand.demo {
  height: 64px;
}

.dark-style .menu .app-brand.demo {
  height: 64px;
}

.app-brand-logo.demo svg {
  width: 38px;
  height: 20px;
}

.app-brand-text.demo {
  font-size: 1.25rem;
  letter-spacing: 0.15px;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1.25rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
  #dropdown-variation-demo .btn-group .text-truncate {
    width: 300px;
    position: relative;
  }
  #dropdown-variation-demo .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}
/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1.25rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1.25rem;
}


.search-container {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  margin: auto;
}

.search-top-border{
  margin-top: 70px;
}

.search-container-list{
  background: #fff;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  border-top: 1px solid #ccc;
}


.search-input {
  flex: 1;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #cfd0d6;
}
.search-btn {
  background-color: #666cff;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
}
.nav-tabs .nav-link.active {
  background-color: #fff;
  border-bottom: 2px solid red;
}

select.form-select.mx-2 {
  width: 170px;
}


.featured-properties {
  text-align: center;
  padding: 50px 0;
  background-color: #f9f9f9;
}


.property-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.property-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.property-info {
  padding: 15px;
}

.badge {
  background: #28a745;
  color: #fff;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 5px;
}

.property-icons {
  display: flex;
  gap: 10px;
  font-size: 16px;
  margin-top: 10px;
}


.featured-properties {
  position: relative; /* Ensure absolute positioning works */
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease-in-out;
}

.gallery-item:hover img {
  
  transform: scale(1.1) rotate(5deg);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.gallery-item:hover .overlay {
  opacity: 1;
}


.gallery-item:after {
  background: #666cff;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  content: '';
  opacity: 0.2;
}



.apartment-section {
  text-align: center;
  padding: 50px 0;
}
.apartment-card {
  background-color: #222;
  border-radius: 15px;
  padding: 20px;
  transition: transform 0.3s ease-in-out;
  border: 2px solid #898989;
}
.apartment-card:hover {
  transform: scale(1.05);
  background: #fff;
}
.apartment-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.bg-dark{
  background: #141111;
}


.apartment-card h5 {
  color: #fff;
}

.apartment-card:hover h5{
  color: #141111;
}



.site-breadcrumb {
  background-size: cover;
  background-position: center;
  padding: 80px 0 35px;
  text-align: center;
  position: relative;
  color: #fff;
}

.site-breadcrumb::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay for readability */
}

.site-breadcrumb .container {
  position: relative;
  z-index: 2;
}

.breadcrumb-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: #fff;
}

.breadcrumb-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.breadcrumb-menu li {
  display: inline;
  font-size: 16px;
  font-weight: 500;
}

.breadcrumb-menu li a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.breadcrumb-menu li a:hover {
   /* Change to your theme color */
}

.breadcrumb-menu .active {
   /* Highlight active breadcrumb */
  font-weight: 600;
}

.listing-single-meta {
  display: flex
;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .04);
}


.listing-single-item {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  margin-bottom: 25px;
  box-shadow: 0 0 40px 5px rgb(0 0 0 / 5%);
}

.listing-single-opening li {
  margin: 10px 0;
  color: #1D293F;
  font-weight: 500;
}

.listing-single-opening span {
  float: right;
}

.listing-single-author .author-contact-list li {
  margin: 10px 0;
}

.listing-single-author .author-contact-list i {
  width: 30px;
  height: 30px;
  background: #666cff;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  margin-right: 8px;
}

.listing-category-icon {
  width: 30px;
  height: 30px;
  background: #666cff;
  color: #fff;
  border-radius: 50px;
  text-align: center;
}

.contact-map iframe {
  width: 100%;
  height: 450px;
}

.listing-single-info iframe {
  border-radius: 12px;
}

.blog-comments-single {
  display: flex
;
  justify-content: start;
  align-items: flex-start;
  margin-top: 50px;
}

.blog-comments-content {
  padding: 0 0 0 20px;
}

.listing-category {
  display: flex
;
  align-items: center;
  gap: 7px;
}

.listing-single-author .author-content {
  display: flex
;
  align-items: center;
  gap: 10px;
}

.video-wrapper {
  position: relative;
  display: flex
;
  justify-content: center;
  height: 450px;
  z-index: 100;
}

.blog-comments-form {
  padding: 30px;
  margin-top: 50px;
  border-radius: 10px;
  background: #F9F9F9;
}

.blog-comments-form .form-group {
  margin-bottom: 20px;
}

.listing-single-author .author-img img {
  border-radius: 50%;
  width: 55px;
}

.listing-single-author .author-contact-list {
  margin-top: 25px;
  padding: 0;
}

#panorama-container {
  width: 100%;
  height: 100vh;
}

.gallery img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
  cursor: pointer;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 10px;
}
.modal-body {
  display: flex;
}
.thumbnail-container {
  width: 30%;
  overflow-y: auto;
  padding-right: 15px;
  height: 100vh;
}
.thumbnail-container img {
  width: 100%;
  cursor: pointer;
  margin-bottom: 10px;
  border-radius: 10px;
}
.full-view-container {
  width: 70%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
    border-radius: 10px;
    height: 100vh;
    overflow: hidden;
}
.full-view-container img {
  max-width: 100%;
}

.showmore-btn{
  position: relative;
}

#show-more-photos {
  position: absolute;
  top: -70px;
  right: 20px;
}

.listing-single-sidebar {
  position: sticky;
  top: 78px;
}

.listing-single-meta-option {
  margin-top: 10px;
  display: flex !important;
  gap: 15px;
}

ul.author-contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
  padding-left: 0;
}

ul.author-contact-list li a {
  color: #676b7b;
}

ul.author-contact-list li a i {
  margin-right: 6px;
}

.listing-single-info-item {
  margin-top: 15px;
}

.star-rating-box {
  direction: rtl; /* Right-to-left to make hover effect work correctly */
  unicode-bidi: bidi-override;
  display: inline-block;
}
.star-rating-box input {
  display: none; /* Hide the radio buttons */
}
.star-rating-box label {
  font-size: 2rem;
  color: #ccc;
  cursor: pointer;
}
.star-rating-box input:checked ~ label,
.star-rating-box label:hover,
.star-rating-box label:hover ~ label {
  color: #ffcc00; /* Yellow color for selected and hovered stars */
}


.listing-single-price span {
  color: #007bff;
}
.listing-single-rating {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #555;
}
.listing-single-rating i {
  color: #ffcc00; /* Yellow color for stars */
  margin-right: 5px;
}
.listing-single-rating span {
  margin-left: 10px;
  font-size: 0.9rem;
  color: #777;
}

.villa-layout h2 {
  margin-bottom: 20px;
}
.villa-layout .layout-card {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}
.villa-layout .layout-card h3 {
  margin-bottom: 15px;
}
.villa-layout .layout-card table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
}
.villa-layout .layout-card table th {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.villa-layout .layout-card table td{
  padding: 10px;
  text-align: left;
}

.villa-layout .layout-card table th {
  background-color: #f1f1f1;
  font-weight: bold;
}

.layout-card h5::after {
  content: "▼";
  font-size: 0.8rem;
  transition: transform 0.3s;
}
.layout-card h5.collapsed::after {
  transform: rotate(-90deg);
}

.layout-card table {
  width: 100%;
  border-collapse: collapse;
}

.layout-card h5 {
  background-color: #f8f9fa;
  padding: 10px 15px;
  margin: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-content{
  overflow: auto;
}

div#galleryModal {
  place-content: center;
}

.layout-navbar-fixed .layout-navbar-details {
  position: sticky;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1001;
}

.modal.show .modal-dialog {
  transform: translateY(0) scale(1);
  margin: 0;
  width: 100%;
}

.property-card {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 20px;
}
.filter-section {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
}
.filter-item {
  margin-bottom: 15px;
}
.price {
  color: #0061e0;
  font-size: 1.5rem;
  font-weight: bold;
}
.contact-buttons .btn {
  margin-right: 10px;
}
.header-section {
  background: white;
  padding: 20px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}
.percentage-badge {
  background: #e9ecef;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.9em;
}

.property-cta {
  display: flex
;
  justify-content: space-between;
  align-items: center;
}

.avatar-2 img{
  width: 30px;
  height: 30px;
}

.property-cta {
  background: #f1f1f1;
  padding: 10px 20px;
}

.property-card-list {
  padding: 0;
}
.property-cta .author-content {
  margin-left: 10px;
}

.category-tooltip {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    position: relative;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.category-tooltip::-webkit-scrollbar {
    display: none;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border-radius: 50%;
    z-index: 2;
}

.prev-btn {
    left: -20px;
}

.next-btn {
    right: -20px;
}

.category-item {
    flex: 0 0 auto;
    padding: 10px 20px;
    background: #f5f5f5;
    border-radius: 20px;
    cursor: pointer;
}

.product-list-title {
  display: flex
;
  align-items: center;
  justify-content: space-between;
}

.product-list-title i {
  color: #ffcc00;
}

.property-info .badge {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 14px;
}

.property-info-content {
  width: 100%;
  position: absolute;
  bottom: -110px;
  background: #00000082;
  left: 0;
  padding: 10px;
  transition: bottom 0.3s ease-in-out;
}

.swiper-slide:hover .property-info-content{
  bottom: 0; 
  cursor: pointer;
}

.property-info-content a h3 {
  color: #fff;
  font-size: 20px;
  text-align: left;
  margin-bottom: 0;
}

.property-info-content p {
  font-size: 14px;
  text-align: left;
  margin-bottom: 0;
}

.bg-grey{
  background-color: #fcfcfc;
}

.home-banner{
  object-fit: cover;
}

.landing-hero{
  padding-top: 270px !important;
}

#landingHero a.nav-link.waves-effect {
  color: #fff;
}

#landingHero a.nav-link.waves-effect:hover {
  color: #666cff; /* Change to your preferred hover color */
}

#landingHero a.nav-link.waves-effect.active {
  color: #666cff; /* Change to your preferred active color */
}



@media (min-width: 1200px) {
  .modal-xl {
      --bs-modal-width: 100%;
      height: 100vh;
  }
}

@media (min-width: 992px) {
  .modal-lg, .modal-xl {
      --bs-modal-width: 100% !important;
      height: 100vh;
  }
}