/* General Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
  }
  
  /* Navigation Styles */
  header {
    background-color:#ffffff;
    border-bottom: 1px solid #ffffff;
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
}

/* Style the logo container */
.logo img {
    width: 150px; /* Adjust the size of the logo as needed */
}

/* Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

/* Style the list items */
.nav-links li {
    margin-left: 20px;
}

/* Style the links */
.nav-links a {
  text-decoration: none;
  color: #333;
  position: relative;
}

/* Add a brown line below the links */
.nav-links a::after {
  content: '';
  width: 100%;
  height: 2px;
  background: #000000;
  position: absolute;
  left: 0;
  bottom: -4px;
  display: block;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

/* On hover, show the brown line */
.nav-links a:hover::after {
  transform: scaleX(1);
}

/* Add a line for the active link */
.nav-links a.active::after {
  transform: scaleX(1); /* Show the line under the active link */
}

 
  /* Hero Section Styles */
  .hero {
    background-image: url('../images/hero.jpg');
    background-size: cover;
    background-position: right;
    color: #f0f4f8;
    padding: 200px 20px;
    text-align: center;
  }
  
  .hero-content h2 {
    font-size: 60px;
    font-weight: bolder;
    color: rgb(0, 0, 0);
  }
  
  .hero-content p {
    font-size: 30px;
    font-weight: bolder;
    color:rgb(10, 0, 0);
  }
  
  .cta-button {
    display: inline-block;
    text-decoration: none;
    color: #000000;
    border:1px solid #000000;
    background :transparent ;
    cursor: pointer;
    padding: 12px 34px;
    font-weight: bolder;
    font-size: 13px;
    position:relative
  }
  .cta-button:hover{
    border:1px solid #fff;
    background: #ffffff;
    transition: 1s;
  }
  
/* Services Section */
.services {
    width: 90%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    font-size: larger;
  }
  
  .services h1 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 40px;
  }
  
  .services p {
    font-size: 18px;
    color: #333;
    margin-bottom: 40px;
  }
  
  /* Services Grid Layout */
  .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px; /* Space between the columns */
    margin: auto;
    justify-content: center;
  }
  
  .services-col {
    background-color: #f5f5f5;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .services-col h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
  }
  
  .services-col p {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
  }
  
  /* Add hover effect to each service */
  .services-col:hover {
    transform: scale(1.05);
  }
  
  /* Responsive Styling */
  @media (max-width: 768px) {
    .row {
      grid-template-columns: 1fr;
      gap: 20px;
    }
    .services-col {
      padding: 15px;
      margin-bottom: 20px;
    }
    .services-col h3 {
      font-size: 20px;
    }
    .services-col p {
      font-size: 14px;
    }
  }
  
  @media (max-width: 480px) {
    .services {
      padding-top: 50px;
    }
    .services h1 {
      font-size: 28px;
    }
    .services p {
      font-size: 16px;
    }
    .row {
      gap: 15px;
    }
    .services-col {
      padding: 10px;
      margin-bottom: 15px;
    }
    .services-col h3 {
      font-size: 18px;
    }
    .services-col p {
      font-size: 12px;
    }
  }

  /*how it works section*/
  .working{
    width: 90%;
    margin: auto;
    text-align:left;
    padding-top:150px;
    margin-bottom:85px;
    font-size: xx-large;
  }


  /*looking*/
  .properties{
    width: 85%;
    margin: auto;
    text-align:left;
    padding-top:150px;
    margin-bottom: 85px;
    font-size:xx-large;
  }

  h1 {
    margin: 0;
    padding: 0;
    line-height: 1;
  }
  .properties {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px;
  }
  
  .properties-content {
    width: 50%;
    text-align: left;
  }
  
  .properties-image {
    width: 50%;
    text-align: right;
    position: relative;
  }
  
  .properties-image .image1 {
    width: 70%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transform: rotate(5deg);
    position: relative;
    top: 0;
    left: 0;
    border:2px solid  #000000;
  }
  
  .properties-image .image2 {
    width: 75%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transform: rotate(-10deg);
    position:relative;
    top: 50%;
    left: 50px;
    transform: translateY(-25%);
    border:2px solid   #000000;
  }
  
  @media (max-width: 700px) {
    .properties {
      flex-direction: column;
    }
    .properties-content {
      width: 100%;
      text-align: center;
    }
    .properties-image {
      width: 100%;
      text-align: center;
    }
    .properties-image .image1, .properties-image .image2 {
      position: relative;
      top: 0;
      left: 0;
      transform: none;
    }
  }

/* Cities Section Styles */
.cities {
    width: 90%;
    margin: auto;
    text-align: center;
  }
  
  .cities h1 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #333;
  }
  
  .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  /* Style for each city container */
  .cities-col {
    position: relative;
    width: 18%; /* Reduced width for more items in a row */
    margin-bottom: 20px; /* Reduced bottom margin */
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease;
  }
  
  .cities-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  /* Overlay layer on hover */
  .layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .layer h3 {
    color: white;
    font-size: 20px; /* Reduced font size for city names */
    font-weight: bold;
  }
  
  /* Hover effect */
  .cities-col:hover .layer {
    opacity: 1;
  }
  
  .cities-col:hover img {
    transform: scale(1.05); /* Slight zoom-in effect */
  }
  
  /* Add responsive styles */
  @media (max-width: 992px) {
    .cities-col {
      width: 30%; /* Adjusted for medium screens */
    }
  }
  
  @media (max-width: 768px) {
    .cities-col {
      width: 45%; /* Adjusted for small screens */
    }
  }
  
  @media (max-width: 480px) {
    .cities-col {
      width: 100%; /* Full width on extra small screens */
    }
  }
  
  

  /* Footer Styles */
  footer {
    background-color: #333;
    color: #fff;
    text-align:center;
    padding: 15px;
  }
/* Form Styles */
.form-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    border: 1px solid #ccc;
    border-radius: 10px;
  }
  
  .form-container h2 {
    text-align: center;
  }
  
  .form-container label {
    display: block;
    margin-top: 15px;
  }
  
  .form-container input,
  .form-container select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
  }
  
  .form-container button {
    width: 100%;
    padding: 10px;
    background-color: #808080;
    color: #fff;
    border: none;
    margin-top: 20px;
  }
  
  .form-container p {
    text-align: center;
    margin-top: 20px;
  }
  /* Search Filters Styles */
.search-filters {
    padding: 20px;
    background-color: #f2f2f2;
  }
  
  .search-filters h2 {
    margin-bottom: 20px;
  }
  
  .search-filters form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .search-filters input,
  .search-filters select {
    padding: 10px;
    flex: 1;
  }
  
  .search-filters button {
    padding: 10px 20px;
    background-color:#808080;
    color: #fff;
    border: none;
  }
  
  /* Search Results Styles */
  .search-results {
    padding: 20px;
  }
  
  .profile-card {
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
  }
  
  .profile-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 15px;
  }
  
  .profile-card h3 {
    margin: 0;
  }
  
  .message-button {
    background-color: #808080;
    color: #fff;
    padding: 10px;
    text-decoration: none;
    margin-top: 10px;
    display: inline-block;
  }

/* Messages Styles */
.messages-container {
    max-width: 600px;
    margin: 50px auto;
  }
  
  .message-thread {
    border: 1px solid #ccc;
    padding: 15px;
    height: 400px;
    overflow-y: scroll;
    margin-bottom: 15px;
  }
  
  .message {
    margin-bottom: 10px;
  }
  
  .sender {
    text-align: left;
  }
  
  .receiver {
    text-align: right;
  }
  
  #message-form {
    display: flex;
  }
  
  #message-input {
    flex: 1;
    padding: 10px;
  }
  
  #message-form button {
    padding: 10px 20px;
    background-color: #808080;
    color: #fff;
    border: none;
  }
/* Blog Styles */
.blog-container {
    max-width: 800px;
    margin: 50px auto;
  }
  
  .blog-post {
    border-bottom: 1px solid #ccc;
    padding: 20px 0;
  }
  
  .blog-post h3 {
    margin: 0;
  }
  
  .blog-post p {
    margin: 5px 0;
  }
  
  .blog-post a {
    color: #808080;
    text-decoration: none;
  }

/* Global Styles */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
  }
  
  /* About Us Section Styles */
  
  .about {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
  }
  
  .about h1 {
    font-size: 40px;
    margin-bottom: 10px;
    color: #000000;
    text-align: left;
    margin-bottom: 50px;
  }
  
  .about p {
    font-size: 24px;
    margin-bottom: 20px;
    color: #000000;
  }

  .terms {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
  }
  .terms h1{
    font-size: 40px;
    margin-bottom: 10px;
    color: #000000;
    text-align: left;
    margin-bottom: 50px;
  }
  .terms h2{
    font-size: 25px;
    margin-bottom: 10px;
    color: #000000;
    text-align: left;
    margin-bottom: 20px;
  }
  .terms p{
    font-size: 20px;
    margin-bottom: 20px;
    color: #000000;
  }
  
  /* Responsive Design */
  
  @media (max-width: 768px) {
    .about {
      margin: 20px auto;
      padding: 15px;
    }
  }
  
  @media (max-width: 480px) {
    .about {
      margin: 10px auto;
      padding: 10px;
    }
    .about h1 {
      font-size: 20px;
    }
    .about p {
      font-size: 16px;
    }
  }

  /* Global Styles */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
  }
  
  /* Blog Post Styles */
  
  .blog-post {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
  }
  
  .blog-post h1 {
    font-size: 24px;
    margin-bottom: 10px;
    text-align: center;
    color: #000000;
  }
  
  .blog-content {
    display:contents; /* Hide blog content by default */
  }
  
  
  /* Responsive Design */
  
  @media (max-width: 768px) {
    .blog-post {
      margin: 20px auto;
      padding: 15px;
    }
  }
  
  @media (max-width: 480px) {
    .blog-post {
      margin: 10px auto;
      padding: 10px;
    }
    .blog-post h1 {
      font-size: 20px;
    }
  }
  
  /* Spacing between blog posts */
  
  .blog-post + .blog-post {
    margin-top: 40px;
  }
  
  /* Remove margin from the last blog post */
  
  .blog-post:last-child {
    margin-bottom: 0;
  }

/* Profile Page Styles */
.profile-container {
  max-width: 400px;
  text-align: auto;
  margin: auto;
  text-align: center;
}

.profile-pic {
  width: 200px;;
  height: 150px;
  border-radius: 50%;
}

#edit-profile-button {
  padding: 10px 20px;
  background-color: #808080;
  color: # fff;
  border: none;
  margin-top: 20px;
}

/* Profile Card Styles for Search Results */
.profile-card {
  transition: transform 0.3s, box-shadow 0.3s; /* Smooth transition */
  border: 1px solid #ddd; /* Light border for the card */
  border-radius: 8px; /* Rounded corners */
  padding: 15px; /* Inner padding */
  margin: 10px; /* Margin between cards */
}

/* Hover effect for profile cards in search results */
.profile-card:hover {
  transform: translateY(-5px); /* Slightly raise the card */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Add a shadow effect */
}

/* Image styles */
.profile-card img {
  width:  50 %,auto; /* Responsive image */
  border-radius: 5px; /* Rounded corners for images */
}

/* Message Button Styles */
.message-button {
  background-color: #007bff; /* Default background color */
  color: white; /* Default text color */
  padding: 10px 15px; /* Padding for the button */
  border: none; /* Remove border */
  border-radius: 5px; /* Rounded corners */
  cursor: pointer; /* Pointer cursor on hover */
  transition: background-color 0.3s; /* Smooth background color transition */
}

/* Hover effect for message button */
.message-button:hover {
  background-color: #0056b3; /* Darker blue on hover */
}

/* General button styles */
.btn-edit {
  background-color: #28a745; /* Default background color */
  color: white; /* Default text color */
  padding: 10px 15px; /* Padding for the button */
  border: none; /* Remove border */
  border-radius: 5px; /* Rounded corners */
  cursor: pointer; /* Pointer cursor on hover */
  transition: background-color 0.3s; /* Smooth background color transition */
}

/* Hover effect for edit button */
.btn-edit:hover {
  background-color: #218838; /* Darker green on hover */
}




  
  
  