.justify_text{
    text-align: justify;
}
/* Droupdown menu start */
/* Show submenu on hover */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: 0;
    display: none;
    position: absolute;
}

.dropdown-submenu:hover .dropdown-menu {
    display: block;
}

@media (min-width: 992px) {
    .dropdown-submenu {
        position: relative;
    }
    .dropdown-submenu .dropdown-menu {
        display: none;
        position: absolute;
        left: 100%;
        top: 0;
    }
    .dropdown-submenu:hover .dropdown-menu {
        display: block;
    }
}

/* For mobile: Ensure submenu opens on click */
@media (max-width: 991px) {
    .dropdown-submenu .dropdown-menu {
        display: none;
    }
    .dropdown-submenu.show .dropdown-menu {
        display: block;
    }
    
    .dropdown-submenu .dropdown-menu {
    top: 71px;
    left: 1%; 
    margin-top: 0;
    display: none;
    position: absolute;
}
}
/* Droupdown menu end */

/* Remove outline from all elements inside .slick-track */
.slick-track * {
  outline: none;
}

/* Center content and set padding */
.property-wrapper {
  text-align: center;
  padding: 0px 0 100px;
  overflow: hidden; /* Prevent overflow */
  max-width: 100%;
  overflow-x: hidden;
}

/* Styling for the main heading */
.property-wrapper h1 {
  font: 400 40px "Playfair Display", serif;
  color: #e1ab35;
  text-transform: uppercase;
}

/* Styling for span text */
.property-wrapper span {
  font: 500 13px/21px "Roboto", sans-serif;
  color: #680909;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

/* Adjust slide container to prevent overflow */
.property-slide {
  margin: 0 auto;
  overflow: hidden;
  padding: 38px 0 0;
  position: relative;
}

/* Ensure Slick track behaves correctly */
.slick-track {
  display: flex !important;
  width: 100% !important;
}

/* Hide overflowing slides */
.slick-list {
  overflow: hidden;
  width: 100% !important;
}

/* Fix arrows position */
.property-slide button.slick-arrow {
  display: inline-block;
  position: absolute;
  width: 41px;
  height: 41px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  outline: none;
  background: transparent;
  z-index: 10;
}

.property-slide button:before {
  font-family: inherit !important;
  color: #000 !important;
  font-size: 30px;
}

.property-slide button.slick-prev {
  left: 10px; /* Adjusted to avoid overflow */
}

.property-slide button.slick-next {
  right: 10px; /* Adjusted to avoid overflow */
}

/* Ensure the images scale correctly */
.property-img {
  position: relative;
}

.property-img img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* Prevent extra slides from displaying before initialization */
.property-slide:not(.slick-initialized) .property-item:nth-child(n + 4) ~ div {
  display: none;
}

/* Flexbox styling for property items */
.property-item {
  display: inline-block;
  vertical-align: middle;
  width: calc(100% / 4); /* Adjusted width */
  min-width: 25%;
  box-sizing: border-box;
  padding: 0 7px;
}

/* Property item links */
.property-item a {
  display: block;
  position: relative;
}

/* Hover effect on property images */
.property-item .property-img:before,
.property-item .property-img:after {
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  opacity: 0;
  transition: all 0.6s;
}

.property-item .property-img:before {
  background: rgba(153, 126, 67, 0.3);
  outline: 1px solid #ffffff;
  outline-offset: -10px;
}

.property-item .property-img:after {
  background: rgba(255, 255, 255, 0.5);
}

/* Hover effects */
.property-item:hover .property-img:before,
.property-item:hover .property-img:after {
  opacity: 1;
}

/* Property details styling */
.property-details {
  padding: 20px 0;
  opacity: 0;
  transition: all 0.3s ease;
}

.property-details strong {
  font: 500 20px "Roboto", sans-serif;
  color: #2f2f2f;
}

/* Hover effect to show property details */
.property-item a:hover .property-details {
  opacity: 1;
}
@media (max-width: 768px) {
  .property-item {
    width: 100% !important; /* Make each item take full width */
    min-width: 100%;
    padding: 0;
  }
}

.tour-slide {
    padding: 20px;
}

.tour-slide .hotel-item {
    margin: 10px;
    transition: transform 0.4s ease-in-out;
}
