@font-face {
  font-family: "poppins";
  src: url(../../assets/font/Poppins-Regular.woff2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* General reset for margins and padding */
body {
  font-family: "poppins";
  display: none;
}

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Scanner loading animation */
.scanner {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 5px solid transparent;
  border-top: 5px solid #007bff;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Hide properties until fully loaded */
#content {
  display: none;
}

/* Blur and disable background when menu is open */
.content-blur {
  filter: blur(3px);
  pointer-events: none;
  user-select: none;
  transition: filter 0.3s ease;
}

/* Optional: Disable scrolling when menu is open */
.disable-scroll {
  overflow: scroll;
}

/* Header Styling */
header {
  border-bottom: 1pt solid #808080;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 999;
}

main {
  margin-top: 100px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  background-color: #fff;
  color: #333;
  padding: 10px 3%;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  gap: 2rem;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  font-size: 14px;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  padding: 5px 10px;
  border-radius: 3px;
  transition: 0.3s ease;
}

.access-box {
  display: flex;
  margin: 0 auto;
  font-size: 14px;
}

.access-box>a {
  text-decoration: none;
  margin-right: 15px;
}

.access-box>.post {
  padding: 9px;
  background-color: rgba(8, 97, 175, 1);
  color: #fff;
  border-radius: 7px;
}

.access-box>.login {
  color: rgba(8, 97, 175, 1);
  border: 1px solid rgba(8, 97, 175, 1);
  padding: 9px;
  border-radius: 7px;
}

.call_action{
  display: none;
}

.greeting {
  font-size: 16px;
  margin-top: -10rem;
  font-family: "poppins";
  margin-top: 10px;
}

.logout {
  margin-top: 10px;
  margin-left: 20px;
  color: rgba(8, 97, 175, 1);
  font-weight: 600;
  font-size: 14px;
}

.bx-user {
  color: #333;
  font-size: 16px;
  margin-top: 10px;
  font-weight: 700;
  padding-right: 1px;
  text-decoration: none;
  font-family: "poppins";
}

.menu-toggle {
  position: relative;
  cursor: pointer;
  width: 42px;
  height: 19px;
  display: none;
  margin-top: 0.8rem;
}

.menu-toggle span {
  display: block;
  width: 60%;
  height: 4px;
  background-color: #0e0e0e;
  position: absolute;
  left: 0;
  transition: all 0.2s ease;
  z-index: 30;
}

.menu-toggle span:nth-child(1) {
  top: 0;
}

.menu-toggle span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.menu-toggle span:nth-child(3) {
  bottom: 0;
}

/* Animation for the hamburger icon */
.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-links3 {
  display: none;
}

.nav-links2 {
  display: block;
}

.property-container {
  margin-top: -1rem;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  /* background-color: #e60707; */
  border-radius: 10px;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
}

.form-header {
  text-align: start;
  margin-bottom: 20px;
  /* margin-top: 10rem; */
}

.form-header h1 {
  color: #333;
  font-size: 1.7rem;
  margin-bottom: 1rem;

}

.form-header p {
  color: #444;
  font-size: 1rem;
  /* font-weight: 600; */

}

.form-section {
  margin-bottom: 20px;
}

.form-section h2 {
  font-size: 1.1rem;
  color: #444;
  margin-top: 2rem;
  margin-bottom: 10px;
}

.form-section p {
  color: rgba(8, 97, 175, 1);
  font-size: 1rem;
  margin-bottom: 15px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
  font-weight: 500;
  margin-top: 0.7rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgb(185, 185, 185);
  border-radius: 5px;
  outline: none;
  font-size: 17px;
  /* Removes default blue outline */
}

.form-group input:focus {
  border: 1px solid rgba(8, 97, 175, 1);
  /* Change the border color on focus */
  box-shadow: 0 0 2px rgba(8, 97, 175, 1);
  /* Optional: add a subtle shadow */
}

.form-group textarea:focus {
  border: 1px solid rgba(8, 97, 175, 1);
  /* Change the border color on focus */
  box-shadow: 0 0 2px rgba(8, 97, 175, 1);
  /* Optional: add a subtle shadow */
}

.form-group select:focus {
  border: 1px solid rgba(8, 97, 175, 1);
  /* Change the border color on focus */
  box-shadow: 0 0 2px rgba(8, 97, 175, 1);
  /* Optional: add a subtle shadow */
}
/* Styling the input and Naira symbol */
.currency-input {
  display: flex;
  align-items: center;
  border: 2px solid #3498db;
  border-radius: 8px;
  padding: 8px;
  font-size: 16px;
  background: #f8f9fa;
}

/* Radio Group Flex Layout */
.radio-group {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

/* Centered Radio Button */
.radio {
  position: relative;
  display: inline-block;
}

/* Hide Default Radio Button */
.radio input[type="radio"] {
  opacity: 0;
  position: absolute;
}

/* Custom Radio Button Design */
.radio label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background-color: #f5f5f5;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

/* Circle Effect for Custom Radio */
.radio label::before {
  content: '';
  width: 20px;
  height: 20px;
  border: 3px solid rgb(0, 0, 0);
  border-radius: 50%;
  background-color: #fff;
  margin-right: 10px;
  transition: all 0.3s ease;
}

/* Selected Radio Button Design */
.radio input[type="radio"]:checked + label {
  background-color: rgba(8, 97, 175, 1);
  color: #fff;
}

/* Fill Circle When Selected */
.radio input[type="radio"]:checked + label::before {
  background-color: #fff;
  border-color: rgba(8, 97, 175, 1);
  box-shadow: 0 0 0 4px rgba(8, 97, 175, 1);
}

/* Hover Effect */
.radio label:hover {
  background-color: #dcdcdc;
  transform: translateY(-2px);
}

.property-type {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

/* Wrapping the select and arrow */
.custom-select {
  position: relative;
  width: 100%;
  max-width: 300px;
}

/* Styling the select dropdown */
.custom-select select {
  appearance: none; /* Removes default styling */
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgb(185, 185, 185);
  border-radius: 5px;
  background-color: white;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  outline: none;
  font-weight: 500;
  transition: border 0.3s;
  margin-top: 3px;
}

/* Dropdown hover and focus effect */
.custom-select select:hover, 
.custom-select select:focus {
  border: 1px solid rgba(8, 97, 175, 1);
  box-shadow: 0 0 2px rgba(8, 97, 175, 1);
}

/* Custom arrow icon */
.custom-select .arrow {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 22px;
  color:  rgba(8, 97, 175, 1);
}

.propertyImages {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}
/* Hide the input but keep it focusable */
#propertyImages {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.custom-file-input button {
  padding: 10px 15px;
  background-color: rgba(8, 97, 175, 1);
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  font-size: 14px;
}

.custom-file-input button:hover {
  background-color: rgba(6, 85, 150, 1);
}

/* Error and Info Messages */
.error-message {
  color: red;
  font-size: 14px;
  margin-top: 5px;
}

.info-message {
  font-size: 14px;
  color: #777;
  margin-top: 5px;
}

/* Image Preview Styling */
.image-preview-container {
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;
}

.image-preview-container img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  margin-right: 10px;
  border: 2px solid #ddd;
  object-fit: cover;
}

.form-submit {
  display: flex;
  justify-content: center;
}

.button {
  background-color: rgba(8, 97, 175, 1);
  color: white;
  border: none;
  padding: 14px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 1rem;
  width: 50%;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Hover effect */
.button:hover {
  background-color: #000000;
  color: #fff;
}

/* Active (pressed) effect */
.button:active {
  background-color: #3e8e41;
  transform: scale(0.95);
}

/* Download Section */
.download-section {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 30px 5rem;
  height: 300px;
  background: #02182B;
  margin-top: 3rem;
}

.download-section .first-section,
.second-section {
  width: 40%;
  height: 100%;
}

.download-section .first-section p {
  font-weight: 700;
  font-size: 30px;
  color: #ffffff;
}

.download-section .second-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.download-section .second-section p {
  font-weight: 500;
  font-size: 16px;
  color: #ffffff;
}

.download-section .second-section a {
  color: #ffffff;
  font-family: inherit;
  background-color: #0861AF;
  width: fit-content;
  text-decoration: none;
  font-size: 15px;
  border-radius: 5px;
  padding: 15px 30px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-top: 5rem;
}

.footer-logo h2 {
  font-size: 1.2em;
  color: #0073e6;
}

.footer-links {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links li {
  list-style: none;
}

.footer-links a {
  color: rgba(8, 97, 175, 1);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Social Icons */
.social-icons a {
  margin: 0 8px;
}

.social-icons img {
  width: 20px;
  height: 20px;
}

/* Footer Bottom Section */
.footer-bottom {
  margin-top: 30px;
  font-size: 0.8em;
}

.footer-bottom {
  text-align: center;
}

.footer-bottom-links {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.footer-bottom-links li {
  list-style: none;
}

.footer-bottom-links a {
  color: rgba(8, 97, 175, 1);
  font-family: Roboto;
  font-size: 14px;
  text-decoration: underline;
}

.footer-bottom-links a:hover {
  text-decoration: underline;
}

.terms {
  margin-top: 20px;
  font-size: 0.9rem;
}

.terms a {
  color: #007bff;
  text-decoration: none;
}

@media screen and (max-width: 800px) {
  .logo {
      gap: 0.5rem;
  }
  .nav-links li a {
      padding: 5px 7px;
  }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .nav-links3 {
    display: block;
    margin-top: 0.4rem;
  }

  .nav-links2 {
    display: none;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #ffffff;
    position: absolute;
    color: #000;
    top: 95px;
    right: 10%;
    width: 80%;
    padding: 30px 0px;
    transform: translateX(100%);
    border-radius: 5px;
    z-index: 10;
  }

  .logout {
    margin-top: 10px;
    margin-left: 0px;
  }
  
  .nav-links>li {
    text-align: center;
    margin-top: 0.4rem;
  }

  .nav-links>li:hover {
    /* transform: translate(15px); */
    text-decoration: underline;
  }

  .nav-links.active {
    display: flex;
    transform: translateX(0);
    opacity: 1;
  }

  .for_sale {
    gap: 3rem;
  }

.call_action {
    display: block;
    display: flex;
  }
  .menu-toggle{
    display: block;
  }
  .form-header h1 {
    font-size: 1.3rem;
    margin-top: -1rem;
}
.form-section h2 {
  font-size: 1.1rem;
  color: #444;
  margin-top: 0rem;
  margin-bottom: 9px;
}
  .form-group label {
    font-size: 15px;
  }
  .radio label {
    padding: 5px 15px;
}
  .download-section {
    margin-top: 0rem;
  }

  .footer-links a {
    font-size: 14px;
  }

  .footer-bottom-links a {
    font-size: 13px;
  }

  .download-section {
    flex-direction: column;
    padding: 20px;
    height: 350px;
  }

  .download-section .first-section,
  .second-section {
    width: 100%;
  }

  .download-section .second-section {
    gap: 20px;
  }

  .download-section .first-section p {
    font-size: 23px;
    height: fit-content;
  }

  .download-section .second-section p {
    font-size: 15px;
  }

}


@media (min-width: 768px) {

  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    margin: 50px auto;
  }

  .footer-links {
    gap: 30px;
  }
}