/* old navbar code */
.navigation-bar {
  position: fixed;
  top: 0;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 20px;
  z-index: 50;
  position: fixed;
  width: 100%;
  transition: all 1s ease;
  /* box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px; */
  /* border: 1px solid #CFCFCF */
}
/* main logo */
.navigation-bar .main-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.navigation-bar .main-logo .logo-img {
  height: 35px;
  width: 35px;
}
.navigation-bar .main-logo .name-img {
  height: 20px;
  width: 150px;
}
.navigation-bar .main-logo .logo-name {
  font-size: 20px;
  font-family: "Lato", sans-serif;
  font-weight: bold;
}
@media (min-width: 1024px) and (max-width: 1230px) {
  .navigation-bar .main-logo .logo-img {
    height: 20px;
    width: 20px;
  }
  .navigation-bar .main-logo .name-img {
    height: 15px;
    width: 120px;
  }
}
/* nav sections */
.navigation-bar .nav-sections {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.navigation-bar .nav-sections .single-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}
.navigation-bar .single-section .nav-buyer {
  font-family: "REM", sans-serif;
  font-weight: 400;
  color: white;
  font-size: 15px;
}
.navigation-bar .single-section .nav-agent {
  font-family: "REM", sans-serif;
  font-weight: 400;
  color: white;
  font-size: 15px;
}
.navigation-bar .single-section .nav-tenants {
  font-family: "REM", sans-serif;
  font-weight: 400;
  color: white;
  font-size: 15px;
}
.navigation-bar .single-section .nav-findcontractor {
  font-family: "REM", sans-serif;
  font-weight: 400;
  color: white;
  font-size: 15px;
}
.navigation-bar .all-hover-heading {
  display: flex;
  align-items: center;
}
.navigation-bar .nav-sections .single-section .all-hover-heading > span {
  color: white;
}

.navigation-bar .nav-contractor {
  background-color: #7a2350;
  padding: 8px 10px;
  border-radius: 5px;
  color: white;
  font-size: 14px;
}
.navigation-bar .nav-builder {
  background-color: #f7c201;
  padding: 8px 10px;
  border-radius: 5px;
  color: white;
  font-size: 14px;
}
.navigation-bar .nav-postproperty {
  background-color: #10578b;
  padding: 8px 10px;
  border-radius: 5px;
  color: white;
  font-size: 14px;
}
/* Modal for post property popup */
.post-property-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.post-property-modal-content {
  background-color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid #888;
  max-width: 700px;
  width: 100%;
  position: relative;
  animation: slideDown 0.5s ease;
  border-radius: 20px;
  z-index: 1000;
}
@keyframes slideDown {
  from {
    top: -100px;
  }
  to {
    top: 50%;
  }
}
.post-property-close {
  position: absolute;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  right: 15px;
  top: 5px;
  z-index: 99;
}

.post-property-close:hover,
.post-property-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.post-property-heading {
  position: absolute;
  text-align: center;
  margin: 15px 0px;
  font-weight: 600;
  font-size: 22px;
  z-index: 99;
  left: 220px;
}
.main-navigation-btns-post-property {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
}
.main-navigation-btns-post-property .post-prop-modal-info {
  width: 50%;
  padding: 20px;
}
.post-prop-modal-info .sell-modal-head {
  text-align: center;
  padding: 40px 10px 10px 10px;
  font-size: 20px;
}
.post-prop-modal-info .post-porperty-modal-desc {
  font-size: 12px;
  text-align: center;
}
.main-navigation-btns-post-property .post-prop-modal-info > img {
  width: 100%;
  height: 170px;
}
#post-prop-modal-sell {
  background-color: rgb(247, 194, 1, 0.85);
  border-radius: 15px 0px 0px 15px;
}
#post-prop-modal-rent {
  background-color: #f0eef1;
  border-radius: 0px 15px 15px 0px;
}
.continue-btn-sell {
  text-align: center;
  margin: 10px;
  cursor: pointer;
  padding: 5px;
  border-radius: 5px;
  transition: transform 0.5s ease-in-out;
  font-weight: 500;
}
.continue-btn-sell:hover {
  transform: scale(1.05);
}
#continue-post-prop-modal-sell {
  background-color: white;
  color: black;
}
#continue-post-prop-modal-rent {
  background-color: rgb(247, 194, 1, 0.85);
}
@media (min-width: 1024px) and (max-width: 1230px) {
  .navigation-bar .single-section .nav-buyer {
    font-size: 12px;
  }
  .navigation-bar .single-section .nav-agent {
    font-size: 12px;
  }
  .navigation-bar .single-section .nav-tenants {
    font-size: 12px;
  }
  .navigation-bar .single-section .nav-findcontractor {
    font-size: 12px;
  }
  .navigation-bar .nav-contractor {
    font-size: 10px;
  }
  .navigation-bar .nav-builder {
    font-size: 10px;
  }
  .navigation-bar .nav-postproperty {
    font-size: 10px;
  }
}
@media (max-width: 1020px) {
  .navigation-bar .nav-sections {
    display: none;
  }
}
/* nav- profile*/
.navigation-bar .nav-main-profile {
  display: flex;
  align-items: center;
  justify-content: center;
}
.navigation-bar .nav-main-profile #nav-profile-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  cursor: pointer;
  color: white;
  font-size: 14px;
}
.navigation-bar .nav-main-profile .nav-profile {
  font-family: "REM", sans-serif;
  font-weight: 500;
}
@media (min-width: 1024px) and (max-width: 1230px) {
  .navigation-bar .nav-main-profile #nav-profile-heading {
    font-size: 11px;
  }
}
/* Main menu */
.navigation-bar .main-menus #menu {
  padding: 0px 3px;
  color: white;
  cursor: pointer;
}
@media (min-width: 1024px) and (max-width: 1230px) {
  .navigation-bar .main-menus #menu {
    font-size: 18px;
  }
}
/* Scrolled */
.navbar-scrolled {
  background-color: rgb(241, 241, 241);
}
.navbar-scrolled .nav-contractor {
  color: white;
}
.navbar-scrolled .nav-builder {
  color: white;
}
.navbar-scrolled .nav-postproperty {
  color: white;
}
.navbar-scrolled .single-section .nav-buyer {
  color: black;
}
.navbar-scrolled .single-section .nav-agent {
  color: black;
}
.navbar-scrolled .single-section .nav-tenants {
  color: black;
}
.navbar-scrolled .single-section .nav-findcontractor {
  color: black;
}
.navbar-scrolled .nav-sections .single-section .all-hover-heading > span {
  color: black;
}
.navbar-scrolled .nav-main-profile #nav-profile-heading {
  color: black;
}
.navbar-scrolled .main-menus #menu {
  color: black;
}

/* Buyer-hover */

.all-hover {
  background-color: #f1f1f1;
  /* border: 1px solid #CFCFCF; */
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px,
    rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
  position: fixed;
  top: 65px;
  left: 60px;
  font-size: 14px;
  align-items: flex-start;
  justify-content: center;
  padding: 25px 50px;
  border-radius: 10px;
  backdrop-filter: blur(2px);
  display: none;
}

.all-hover .hover-content-main {
  display: flex;
  gap: 50px;
}

.all-hover .hover-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.all-hover .hover-content .hover-heading {
  width: max-content;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.all-hover .hover-content .hover-heading > span {
  padding: 3px;
  border-radius: 50%;
  align-items: center;
  color: rgb(58, 58, 58);
  border: 1px solid rgb(194, 194, 194);
}
.all-hover .hover-content .hover-heading > div {
  font-weight: 600;
  font-size: 15px;
  color: black;
}
.hover-heading #house {
  background-color: #acb6e5cb;
}
.hover-heading #apartment {
  background-color: #ffd8c0b4;
}
.hover-heading #storefront {
  background-color: #b5f1ccc5;
}
.hover-heading #houseboat {
  background-color: #9fe9f68c;
}
.hover-heading #nature-people {
  background-color: #ffc0d9b2;
}

.all-hover .hover-content .hover-tags {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hover-tags ul {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-left: 25px;
}
.hover-tags ul li a {
  text-decoration: none;
  color: rgb(39, 39, 39);
  position: relative;
  padding: 2px;
  font-weight: 500;
}

.hover-tags ul li a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: black;
  transition: width 0.5s ease;
}

.hover-tags ul li a:hover::before {
  width: 100%;
}

#buyer-hover-heading:hover + #buyer-hover {
  display: block;
}
.all-hover-heading {
  cursor: pointer;
}
#buyer-hover:hover {
  display: block;
}

/* customer hover */
#customer-hover {
  position: absolute;
  left: 500px;
}

/* Login Hover */
.nav-login-hover {
  display: none;
  position: absolute;
  top: 65px;
  background-color: #f1f1f1;
  /* border: 1px solid #CFCFCF; */
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px,
    rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
  padding: 15px 20px;
  border-radius: 10px;
}
.nav-login-hover .myactivity-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  cursor: pointer;
}
.nav-login-hover .myactivity-heading > span:first-child {
  color: rgb(105, 105, 105);
  font-size: 13px;
  font-weight: 500;
  text-wrap: nowrap;
  font-family: "REM";
}
.nav-login-hover .myactivity-heading > span:last-child {
  border: 1px solid grey;
  width: 100%;
}
.nav-login-hover .myactivity-list {
  padding: 10px;
}
.nav-login-hover .myactivity-list > ul {
  font-size: 14px;
  list-style: none;
  line-height: 30px;
}
.nav-login-hover .myactivity-list > ul > li {
  color: black;
  font-size: 13px;
  font-family: "REM";
  cursor: pointer;
  font-weight: 500;
}
.nav-login-hover .myactivity-change-user-type {
  color: black;
  font-size: 14px;
  font-weight: bold;
  text-wrap: nowrap;
  font-family: "REM";
  cursor: pointer;
}
.nav-login-hover .myactivity-login {
  padding: 5px 10px;
  background-color: #111111;
  color: white;
  font-size: 14px;
  font-weight: 500;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
}

/* Logout */
.nav-logout-hover {
  display: none;
  position: absolute;
  top: 65px;
  background-color: #f1f1f1;
  padding: 15px 20px;

  border-radius: 10px;
}
.nav-logout-hover .myactivity-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  cursor: pointer;
}
.nav-logout-hover .myactivity-heading > span:first-child {
  color: rgb(105, 105, 105);
  font-size: 13px;
  font-weight: 500;
  text-wrap: nowrap;
  font-family: "REM";
}
.nav-logout-hover .myactivity-heading > span:last-child {
  border: 1px solid grey;
  width: 100%;
}
.nav-logout-hover .myactivity-list {
  padding: 10px;
}
.nav-logout-hover .myactivity-list > ul {
  font-size: 14px;
  list-style: none;
  line-height: 30px;
}
.nav-logout-hover .myactivity-list > ul > li {
  color: black;
  font-size: 13px;
  font-family: "REM";
  cursor: pointer;
  font-weight: 500;
}
.nav-logout-hover .myactivity-change-user-type,
.nav-logout-hover .my-profile-link,
.nav-logout-hover .my-profile-settings {
  color: black;
  font-size: 14px;
  font-weight: bold;
  text-wrap: nowrap;
  font-family: "REM";
  cursor: pointer;
  padding: 5px 0px;
}
/* Modal styling */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 99; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

.modal-content {
  background-color: #fff;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 400px;
  border-radius: 8px;
}

.close-btn {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Radio buttons styling */
.radio-buttons {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 1px;
}
.radio-buttons label {
  display: block;
  margin-bottom: 10px;
}

#changeUserTypeButton {
  padding: 5px 15px;
  background-color: #008994;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  text-align: center;
  margin-top: 10px;
}

#changeUserTypeButton:hover {
  background-color: #05737a;
}

#send-otp {
  background-color: #007bff;
  width: max-content;
  padding: 5px 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  color: white;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
}
#send-otp:hover {
  background-color: #0056b3;
}
#otpSection p {
  font-size: 16px;
  font-weight: bold;
}
#editMobileBtn {
  margin-top: 10px;
  padding: 5px 10px;
  background-color: #7a2350;
  cursor: pointer;
  border-radius: 5px;
  color: white;
  font-size: 14px;
}
#otpverifiedmsg {
  margin-top: 10px;
  color: green;
  font-size: 13px;
  font-weight: 500;
  align-items: center;
  display: none;
  justify-content: center;
  align-items: center;
}
#otpInput {
  padding: 10px;
  width: 100%;
  border: 1px solid grey;
  margin-bottom: 10px;
  border-radius: 5px;
}

#verifyOtpBtn {
  margin-top: 10px;
  padding: 5px 10px;
  background-color: #029846;
  cursor: pointer;
  border-radius: 5px;
  color: white;
  font-size: 14px;
}
#verifyOtpBtn:hover {
  background-color: #03813c;
}
#resendOtpBtn {
  margin-top: 10px;
  padding: 5px 10px;
  background-color: grey;
  cursor: pointer;
  border-radius: 5px;
  color: white;
  font-size: 14px;
}
.changeotpshow {
  display: none;
}

.nav-logout-hover .myactivity-logout {
  padding: 5px 10px;
  background-color: #111111;
  color: white;
  font-size: 14px;
  font-weight: 500;
  border-radius: 5px;
  margin-top: 10px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.nav-logout-hover .myactivity-logout > span {
  font-size: 16px;
}

/* Menu Options */
.main-menu-contents {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background-color: #f9f9fa;
  transition: right 0.6s ease;
  z-index: 99;
  display: flex;
  flex-direction: column;
  border-bottom: 2px solid gray;
}
.main-menu-contents.open {
  right: 0;
}
.close-menu {
  position: absolute;
  top: 8px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
  color: #333;
}
.main-menu-contents .main-menu-login {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  width: 100%;
  padding: 20px 10px;
  border-bottom: 2px solid rgb(190, 190, 190);
}
.main-menu-contents .main-menu-login > img {
  border-radius: 50%;
  height: 20px;
  width: 25px;
}
.main-menu-contents .main-menu-login > span {
  font-weight: 500;
  cursor: pointer;
  font-size: 16px;
  color: rgb(73, 73, 73);
}
.main-menu-contents #change-user-type-side {
  display: none;
  padding: 0px 10px;
  color: black;
  font-size: 14px;
  cursor: pointer;
}
.main-menu-contents .menu-other-services {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 20px;
}
.main-menu-contents .menu-other-services > div {
  color: white;
  font-size: 15px;
  padding: 8px 10px;
  border-radius: 5px;
  width: 150px;
  text-align: center;
  cursor: pointer;
}
.main-menu-contents .menu-other-services > div:first-child {
  background-color: #7a2350;
}
.main-menu-contents .menu-other-services > div:nth-child(2) {
  background-color: #f7c201;
}
.main-menu-contents .menu-other-services > div:nth-child(3) {
  background-color: #10578b;
}
.main-menu-contents .text-our-services {
  margin: 0px 20px;
  border-bottom: 2px solid rgb(214, 214, 214);
  font-size: 17px;
  font-weight: 500;
  padding: 10px;
  color: rgb(97, 97, 97);
}
.main-menu-contents .menu-options > ul {
  list-style: none;
  line-height: 30px;
  padding: 10px 20px;
}
.main-menu-contents .menu-options > ul > li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
}
.main-menu-contents .menu-options > ul > li:hover {
  background-color: #e9eaec;
  border-radius: 5px;
}
.main-menu-contents .menu-options > ul > li > span {
  font-size: 28px;
  color: rgb(73, 73, 73);
}
.main-menu-contents .menu-options > ul > li > div {
  color: rgb(58, 58, 58);
  font-family: "REM", sans-serif;
}
.main-menu-contents .menu-other-options > div {
  margin: 5px 20px;
  border-bottom: 2px solid rgb(214, 214, 214);
  font-size: 16px;
  font-weight: 500;
  padding: 5px 10px;
  color: rgb(71, 71, 71);
  text-align: center;
  cursor: pointer;
}
.main-menu-contents #myactivity-logout-side {
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
}
.main-menu-contents #myactivity-logout-side .material-symbols-rounded {
  font-size: 18px;
}
/* Modal Styles */
.contactus-modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  padding-top: 60px;
}

.contactus-modal-content {
  background-color: #f9f9fa;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
  max-width: 600px;
  width: 100%;
  border-radius: 10px;
}

.close-contactus {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  position: relative;
  text-align: end;
}

.close-contactus:hover,
.close-contactus:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.contactus-modal-content h2 {
  position: relative;
  bottom: 20px;
  padding: 0px 10px;
}
/* Form Styles */
#contactForm {
  display: flex;
  flex-direction: column;
  position: relative;
  bottom: 20px;
  padding: 0px 10px;
}
#contactForm label {
  margin: 10px 0 5px;
  font-weight: 500;
  color: rgb(54, 54, 54);
}

#contactForm input,
#contactForm textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: none;
  outline: none;
  border-bottom: 2px solid #ccc;
  background-color: transparent;
}

#sendButton_contact {
  background-color: #d96f2c;
  color: white;
  padding: 5px 20px;
  cursor: pointer;
  width: max-content;
  border-radius: 5px;
}

#sendButton_contact:hover {
  background-color: #b35c26;
}
#errorMessages {
  color: red;
  font-size: 10px;
}

/* End main nav bar */