/*
Theme Name: MHM
Theme URI: 
Author: TemplatesJungle
Author URI: https://templatesjungle.com/
Description: MHM is Bootstrap 5 HTML Template for real estate by TemplatesJungle.
Version: 1.2
*/

/** Base Styles
--------------------------------------------------------------*/

:root {
  --accent-color: #1aa090;
  /* --secondary-color: #E2EAF1; */
  --dark-color: #121b25;
  --grey-color: #83898f;
  --body-text-color: #ffffff;
  --light-text-color: #d6d6d6;
  --link-color: #092035;
}

/** Typography
  --------------------------------------------------------------*/
body {
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.6em;
  color: var(--body-text-color);
  background-color: var(--dark-color);
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: "Work Sans", sans-serif;
  font-weight: 600;
  color: var(--body-text-color);
}

h1,
.h1 {
  font-size: 68px;
}

h2,
.h2 {
  font-size: 48px;
}

@media only screen and (max-width: 500px) {
  h1,
  .h1 {
    font-size: 58px;
  }

  h2,
  .h2 {
    font-size: 40px;
  }
}

em {
  font-weight: 700;
}

ul {
  padding: 0;
}

p {
  font-family: "Work Sans", sans-serif;
  color: var(--light-text-color);
  font-size: 18px;
}

a {
  color: var(--light-text-color);
  text-decoration: none;
  transition: all 0.3s ease-out;
}

a:hover {
  color: var(--body-text-color);
}

li.residence-list {
  list-style: none;
  margin-right: 10px;
}

i {
  color: var(--light-text-color);
}

i:hover {
  color: var(--body-text-color);
  text-decoration: none;
}

/* Bootstrap button style  */
.btn {
  --bs-btn-border-radius: 0 rem;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--accent-color);
  --bs-btn-border-color: var(--accent-color);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--accent-color);
  --bs-btn-hover-border-color: var(--accent-color);

  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--accent-color);
  --bs-btn-active-border-color: var(--accent-color);

  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--accent-color);
  --bs-btn-disabled-border-color: var(--accent-color);
}

.btn-outline-primary {
  --bs-btn-color: var(--accent-color);
  --bs-btn-border-color: var(--accent-color);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--accent-color);
  --bs-btn-hover-border-color: var(--accent-color);
  --bs-btn-focus-shadow-rgb: 13, 110, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--accent-color);
  --bs-btn-active-border-color: var(--accent-color);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: var(--accent-color);
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: var(--accent-color);
  --bs-gradient: none;
}

/*---- navbar section start ---- */
.text-white .nav-link.active,
.text-white .nav-link:focus,
.text-white .nav-link:hover {
  color: var(----body-text-color);
}

.nav-link.active,
.nav-link:focus,
.nav-link:hover {
  color: var(----body-text-color);
}

.nav-link {
  color: var(--light-text-color);
  font-size: 16px;
  position: relative;
}

.nav-link:not(.dropdown-toggle):after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  background: var(--accent-color);
  border-bottom: 2px solid var(--accent-color);
  transition: width 0.3s ease-out;
}

.dropdown-menu {
  --bs-dropdown-border-radius: 0px;
  --bs-dropdown-link-active-bg: var(--grey-color);
  min-width: max-content;
}

.nav-link.active:after {
  width: 100%;
}

/* login form  */
a.password:hover {
  color: var(--link-color);
}

.form-control:focus {
  color: #212529;
  background-color: #fff;
  border-color: var(--dark-color);
  outline: 0;
  box-shadow: 0 0 0 0.25rem #ffffffea;
}

.bg-dark {
  background-color: var(--dark-color) !important;
}

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 99999;
  transition: background 0.3s ease-out;
}

a.navbar-brand {
  color: var(--body-text-color);
}

a.nav-link.dropdown-toggle {
  color: #d6d6d6;
  font-size: 16px;
}

.offcanvas.show {
  background-color: var(--dark-color);
}

/*---- billboard section start ----  */
.row.billboard-row {
  display: flex;
}
#homeSearchBox {
  width: 100% !important;
}

.form-select {
  border: 1px solid transparent;
  border-radius: none;
}

.form-select:focus {
  border-color: transparent;
  outline: 0;
  box-shadow: 0 0 0 0.25rem transparent;
}

.billboard-select {
  border-right: 1px solid #e8e8e8;
  padding-right: 20px;
  padding-top: 25px;
}

.billboard-btn {
  padding-left: 0px;
}

nav.navbar.navbar-expand-lg.billboard-nav {
  min-width: auto;
  display: flex;
  justify-content: space-between;
  padding: 0px;
  padding-left: 20px;
  box-sizing: border-box;
  background: #fff;
}

button.btn.btn-primary.btn-lg.billboard-search {
  padding: 24px;
  border: 5px solid white;
  width: 100%;
}

#billboard {
  margin-top: 100px;
  margin-bottom: 80px;
}

@media only screen and (max-width: 1000px) {
  nav.navbar.navbar-expand-lg.billboard-nav {
    min-width: 20%;
  }

  .billboard-select {
    border-right: none;
  }

  .billboard-btn {
    padding-left: 12px;
  }
}

/*---- residence section start ----  */

.card {
  --bs-card-border-width: none;
  --bs-card-border-radius: none;
  --bs-card-inner-border-radius: none;
  background-color: transparent !important;
}

.card-title {
  font-size: 26px;
}

section#residence {
  background-image: url(images/residence.png);
  position: relative;
}

.swiper-button-next.residence-arrow,
.swiper-button-prev.residence-arrow {
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
  padding: initial;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  position: absolute;
  top: 270px;
  z-index: 5;
  cursor: pointer;
  --swiper-navigation-size: 20px;
  font-weight: bold;
  margin-top: 70px;
  margin-right: 20px;
  margin-left: 20px;
}

li.residence-list {
  padding-right: 20px;
}

.residence-btn {
  display: flex;
  justify-content: center;
}

button.btn.btn-primary.btn-lg.my-lg-5 {
  padding: 22px 42px;
}

/*---- testimonial section start ---- */
p.testimonial-p {
  font-size: 32px;
  color: var(--body-text-color);
}

.testimonial-swiper-button {
  bottom: 135px;
  right: 213px;
  width: 120px;
}

.swiper-button-prev.testimonial-arrow,
.swiper-button-next.testimonial-arrow {
  color: #ffffff;
  --swiper-navigation-size: 30px;
  font-weight: bold;
}

.arrow-divider {
  font-size: 30px;
  color: var(--grey-color);
  padding-left: 56px;
  padding-bottom: 6px;
}

@media only screen and (max-width: 900px) {
  p.testimonial-p {
    font-size: 25px;
    color: var(--body-text-color);
  }
}

/*---- footer section start ----  */
section#footer {
  background: #1a242f;
}

.link-primary {
  color: var(--light-text-color) !important;
  border-bottom: 1px solid var(--light-text-color);
}

.link-primary:hover {
  color: var(--body-text-color) !important;
}

footer.row {
  padding: 120px 0px;
}

/*---- pages start ---- */
section#page-billboard {
  margin-top: 180px;
  margin-bottom: 80px;
}

/*--------------------------------------------------------------
about page style start
--------------------------------------------------------------*/

img.abt-img {
  width: inherit;
}

/*--------------------------------------------------------------
blog page style start
--------------------------------------------------------------*/

.pagination {
  --bs-pagination-color: var(--dark-color);
  --bs-pagination-active-bg: var(--accent-color);
  --bs-pagination-active-border-color: var(--grey-color);
}

.post-item {
  max-width: 370px;
  margin-bottom: 30px;
}

.post-grid .post-item .post-image {
  width: 100%;
}

.post-item .btn-link {
  display: block;
  color: var(--light-text-color);
  position: relative;
  margin-top: 20px;
  text-decoration: none;
}

.post-item .post-image {
  margin-right: 20px;
}

.post-item .btn-link:hover:after {
  width: 90px;
}

.post-item .btn-link:after {
  content: "";
  display: block;
  border-bottom: 1px solid var(--light-text-color);
  width: 20px;
  transition: width 0.3s ease-out;
}

.btn-link,
.btn-link:hover {
  color: var(--body-text-color);
}

/*--------------------------------------------------------------
Contact page style start
--------------------------------------------------------------*/

.padding-large {
  padding-top: 7em;
  padding-bottom: 7em;
}

/*--------------------------------------------------------------
single-post page style start
--------------------------------------------------------------*/

.commentorImg {
  width: 50px;
  height: 50px;
  margin-right: 20px;
}

/*--------------------------------------------------------------
style page style start
--------------------------------------------------------------*/

/* chocolat style  */
.chocolat-wrapper {
  z-index: 99999;
}

.accordion-button:not(.collapsed) {
  color: var(--body-text-color);
  background-color: transparent;
}

.accordion {
  --bs-accordion-color: var(--light-text-color);
  --bs-accordion-bg: none;
  --bs-accordion-btn-color: var(--body-text-color);
  --bs-accordion-btn-icon: url("https://api.iconify.design/eva/arrow-up-fill.svg?color=white");
  --bs-accordion-btn-active-icon: url("https://api.iconify.design/eva/arrow-up-fill.svg?color=white");
}

.accordion-button:focus {
  z-index: 3;
  border-color: none;
  box-shadow: none;
}

.nav-tabs {
  --bs-nav-tabs-border-width: none;
  --bs-nav-tabs-link-active-color: none;
  --bs-nav-tabs-link-active-bg: none;
  border-bottom: 1px solid var(--light-text-color);
}

.card.style-card.mb-4.rounded-3.shadow-sm {
  --bs-card-border-width: 1px;
  --bs-card-border-color: var(--light-text-color);
}

.border-primary {
  border-color: var(--accent-color) !important;
}

button.btn.btn-dark {
  --bs-btn-color: #fff;
  --bs-btn-bg: #424649;
  --bs-btn-border-color: #424649;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #212529;
  --bs-btn-hover-border-color: #212529;
}

.bg-primary {
  background-color: var(--accent-color) !important;
}

.table-dark {
  --bs-table-border-color: none;
}

.bi {
  fill: #fff;
}

/*--------------------------------------------------------------
reviews page style start
--------------------------------------------------------------*/
.reviews-components {
  border: 1px solid var(--light-text-color);
  box-shadow: 0px 12px 90px rgba(12, 12, 12, 0.06);
  border-radius: 9px;
}

iconify-icon.quote {
  font-size: 60px;
  color: var(--accent-color);
}

.rate {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
Properties page style start
--------------------------------------------------------------*/

.form-check-input:checked {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

/* price slider style  */
.price-input {
  width: 100%;
  display: flex;
  margin: 30px 0 35px;
}

.price-input .field {
  display: flex;
  width: 100%;
  height: 45px;
  align-items: center;
}

.field input {
  width: 100%;
  height: 100%;
  outline: none;
  font-size: 19px;
  border-radius: 5px;
  text-align: center;
  border: 1px solid #999;
  -moz-appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.price-input .separator {
  /* width: 130px; */
  display: flex;
  font-size: 19px;
  align-items: center;
  justify-content: center;
}

.slider {
  height: 5px;
  position: relative;
  background: #ddd;
  border-radius: 5px;
}

.slider .progress {
  height: 100%;
  left: 5%;
  right: 90%;
  position: absolute;
  border-radius: 5px;
  background: var(--accent-color);
}

.range-input {
  position: relative;
}

.range-input input {
  position: absolute;
  width: 100%;
  height: 5px;
  top: -5px;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
  height: 17px;
  width: 17px;
  border-radius: 50%;
  background: var(--accent-color);
  pointer-events: auto;
  -webkit-appearance: none;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}

input[type="range"]::-moz-range-thumb {
  height: 17px;
  width: 17px;
  border: none;
  border-radius: 50%;
  background: var(--accent-color);
  pointer-events: auto;
  -moz-appearance: none;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}

.swatch-element .swatch-label {
  font-weight: 400;
  line-height: 32px;
  text-align: center;
  display: inline-block;
  margin-right: 10px;
  min-width: 50px;
  height: 50px;
  border: 1px solid var(--bs-gray);
  transition: all 0.3s;
  cursor: pointer;
  padding: 8px;
}

.swatch-element .swatch-input {
  display: none;
}

.swatch-element .swatch-input:checked + .swatch-label {
  border: 3px solid var(--accent-color);
}

.btn-theme {
  background-color: #1aa090 !important;
  color: white;
}

/*--------------------------------------------------------------
Properties-single page style start
--------------------------------------------------------------*/

iconify-icon.property-icon {
  color: var(--body-text-color);
  font-size: 30px;
}

.property-image {
  width: 100%; /* Make image fill container width */
  height: 40rem; /* Fixed height for consistency */
  object-fit: cover; /* Maintain aspect ratio, cropping as needed */
  object-position: center; /* Center the image if it gets cropped */
  /* border-radius: 10px;           Optional: Add rounded corners */
  overflow: hidden; /* Prevent image overflow */
}
.property-image-thumbnail {
  width: 100%; /* Make image fill container width */
  height: 10rem; /* Fixed height for consistency */
  object-fit: cover; /* Maintain aspect ratio, cropping as needed */
  object-position: center; /* Center the image if it gets cropped */
  /* border-radius: 10px;           Optional: Add rounded corners */
  overflow: hidden; /* Prevent image overflow */
}

.property-card-image {
  width: 100%; /* Make image fill container width */
  height: 20rem; /* Fixed height for consistency */
  object-fit: cover; /* Maintain aspect ratio, cropping as needed */
  object-position: center; /* Center the image if it gets cropped */
  /* border-radius: 10px;           Optional: Add rounded corners */
  overflow: hidden; /* Prevent image overflow */
}

/* Sidebar Styling */
.sidebar {
  min-height: 70vh;
  background-color: #1e2a35; /* Darker background to match the overall dark theme */
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Add shadow for better visibility */
  height: 100%;
  color: var(--body-text-color); /* White text */
  padding: 20px;
}

.sidebar-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--accent-color); /* Accent color for the title */
}

.sidebar-link {
  font-size: 1rem;
  color: var(--light-text-color); /* Light grey for regular links */
  display: block;
  padding: 10px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius: 10px;
  margin: 10px 0;
}

.sidebar-link:hover {
  background-color: var(--accent-color); /* Accent color on hover */
  color: var(--dark-color); /* Dark color for the text on hover */
}

/* Active Sidebar Link */
.sidebar-link.active {
  color: white; /* Dark color for active link */
  background-color: var(--accent-color); /* Accent color for active link */
}

/* Sidebar Toggle Button */
.sidebar-toggle {
  background-color: var(--accent-color);
  color: var(--dark-color);
  padding: 10px 15px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
  display: block;
  margin: 15px 0;
  width: 100%;
}

.sidebar-toggle:hover {
  background-color: var(--light-text-color);
  color: var(--dark-color);
}

.sidebar-main-content {
  background-color: #1a232d; /* Darker background for the content */
  color: var(--body-text-color); /* White text */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Section Styling */
.sidebar-section {
  padding: 20px 0;
}
.sidebar-section {
  display: none; /* Hide all sections by default */
}

/* Show the section when it is active */
.sidebar-section.active {
  display: block; /* Show active section */
}

/* Sidebar for mobile (hidden by default) */
@media (max-width: 768px) {
  #sidebar {
    display: none; /* Sidebar hidden on small screens */
  }

  .sidebar-toggle {
    display: block;
  }

  #sidebar.active {
    display: block; /* Show sidebar when active */
  }
}
/* Mobile Responsive Sidebar */
@media (max-width: 768px) {
  #sidebar {
    display: none; /* Sidebar hidden on small screens */
  }

  .sidebar-toggle {
    display: block; /* Show the toggle button on small screens */
  }

  #sidebar.active {
    display: block; /* Show sidebar when active */
  }
}

.custom-table {
  width: 100%; /* Full width */
  border-collapse: collapse; /* Remove gaps between cells */
  background-color: transparent; /* Keep the background transparent */
  color: var(--body-text-color); /* Set text color */
  border-radius: 8px; /* Rounded corners */
  overflow: hidden; /* Prevent overflow of rounded corners */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.custom-table th {
  background-color: var(--dark-color); /* Dark background for the header */
  color: var(--light-text-color); /* Light text color for header */
  border-bottom: 2px solid var(--accent-color); /* Accent color for header border */
  padding: 12px; /* Padding for header cells */
  text-align: left; /* Align text to the left */
}

.custom-table td {
  border-bottom: 1px solid var(--grey-color); /* Grey border for table rows */
  padding: 12px; /* Padding for data cells */
}

.custom-table tr:hover {
  background-color: rgba(
    26,
    160,
    144,
    0.1
  ); /* Light hover effect with accent color */
}

/* Responsive design */
@media (max-width: 768px) {
  .custom-table {
    font-size: 14px; /* Smaller font size on mobile */
  }
}

.btn-accent {
  background-color: var(--accent-color); /* Accent color for buttons */
  color: var(--body-text-color); /* Text color for buttons */
  border: none; /* Remove border */
}

.btn-accent:hover {
  background-color: rgba(26, 160, 144, 0.8); /* Darker shade on hover */
  color: var(--body-text-color); /* Ensure text color remains readable */
}

.navvv-menu {
  overflow-y: scroll; /* Enable vertical scrolling */
  scrollbar-width: none; /* Hide scrollbar in Firefox */
}

.navvv-menu::-webkit-scrollbar {
  display: none; /* Hide scrollbar in Chrome, Safari, and Edge */
}

.badgeee {
  position: absolute;
  right: 10px;
  top: 20px;
  transform: translate(50%, 50%); /* Adjust alignment for circular badges */
  background-color: #1a232d; /* Black background for the badge */
  color: white; /* White text for the badge */
  font-size: 12px; /* Font size for badge text */
  width: 18px; /* Badge width */
  height: 18px; /* Badge height */
  border-radius: 50%; /* Make it circular */
  display: flex; /* Center text inside badge */
  justify-content: center; /* Center text horizontally */
  align-items: center; /* Center text vertically */
  transition: transform 0.1s ease; /* Animation for transform */
  z-index: 1; /* Ensure badge is on top of the icon */
}
.animateee {
  transform: scale(0.4);
}

.listings-table {
  width: 100%; /* Full width */
  border-collapse: collapse; /* Remove gaps between cells */
  margin-top: 20px; /* Space above the table */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  border-radius: 8px; /* Rounded corners */
  overflow: hidden; /* Prevent overflow of rounded corners */
  background-color: transparent; /* Keep the background transparent */
  color: var(--body-text-color); /* Set text color */
}

.listings-table thead {
  background-color: var(--dark-color); /* Dark background for header */
  color: var(--light-text-color); /* Light text color for header */
  border-bottom: 2px solid var(--accent-color); /* Accent color for header border */
}

.listings-table th,
.listings-table td {
  padding: 12px; /* Padding for cells */
  text-align: left; /* Align text to the left */
  border-bottom: 1px solid var(--grey-color); /* Grey border for table rows */
}

.listings-table tr:hover {
  background-color: rgba(
    26,
    160,
    144,
    0.1
  ); /* Light hover effect with accent color */
}

.listings-table .btn-accent {
  background-color: var(--accent-color); /* Use accent color for buttons */
  color: var(--light-text-color); /* Light text for buttons */
  border: none; /* Remove border */
  padding: 5px 10px; /* Padding for buttons */
  border-radius: 4px; /* Rounded corners for buttons */
  transition: background-color 0.3s; /* Smooth transition for hover effect */
}

.listings-table .btn-accent:hover {
  background-color: darken(
    var(--accent-color),
    05%
  ); /* Darker shade on hover */
}

.custom-seller-tab-link {
  display: block;
  padding: 7px 12px;
  font-size: 1rem;
  color: var(--grey-color);
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  margin: 0 12px;
  transition: all 0.3s ease;
}

.custom-seller-tab-link:hover {
  background-color: rgba(
    26,
    160,
    144,
    0.1
  ); /* Accent color with light opacity */
  color: var(--accent-color);
}

.custom-seller-tab-link.active {
  color: var(--body-text-color);
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.custom-seller-tab-link[aria-selected="false"]:hover {
  background-color: rgba(26, 160, 144, 0.05);
  color: var(--accent-color);
}
