/* Global Styles */
label.required::before {
  content: '*';
  color: red;
  margin-right: 5px;
}

body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 45px;
}

/* Header Styles */

header {
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

.logo {
  font-size: 1.5rem;
  text-decoration: none;
  color: #661111;
  font-weight: bold;
  text-transform: uppercase;
  margin: 0;
}

nav {
  display: flex;
  padding-top: 5px;
  padding-bottom: 3px;
  margin: 0;
  justify-content: space-between;
  align-items: center;
}

nav div {
  align: right;
  padding: 4px; /* Add padding to the content inside the div */
  background-color: #444; /* Set a background color for the div */
  color: white; /* Set the text color */k
  max-width: 20px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}


nav li {
  display: inline-block;
  margin-right: 20px;
  padding: 3px;
  padding-bottom: 5px;
}

nav li:last-child {
  margin-right: 0;
}

nav a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

nav a:hover {
  color: #007bff;
}

nav .selected {
  font-weight: bold;
  color: #007bff;
}

/* Hero Styles */

#hero {
  background-color: #007bff;
  color: #fff;
  padding: 0px 0px;
  padding-bottom: 0px;
  text-align: center;
  height: 325px;
}

#hero h1 {
  font-size: 4rem;
  margin: 0;
}

#hero p {
  font-size: 1.5rem;
  margin-bottom: 40px;
}

/* Featured Properties Styles */

#featured-properties {
  background-color: #f8f9fa;
  padding: 80px 0;
}

#featured-properties h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 60px;
}


#properties {
  background-color: #f8f9fa;
  padding: 80px 0;
}

#properties h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 60px;
}

#sell-or-rent {
  background-color: #f8f9fa;
  padding: 80px 0;
}

#sellrentform {
  background-color: #f8f9fa;
  padding: 80px 0;
}

#sellrentform h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 60px;
}

/*
.carousel {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
*/

#properties-container {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.property {
  /* cursor: pointer; */
  /* max-width: 800px; */
  margin: 0 10px;
  margin-top: 10px;
  width: 30%;
  min-width: 222px;
  background-color: #fff;
  margin-bottom: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.property img[onclick] {
  cursor: pointer;
}

.dot{
  min-width: 0px;
}

.property:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.property img {
  width: 100%;
}

.property h3 {
  font-size: 1.5rem;
  margin: 20px;
}

.property p {
  margin: 20px;
}

.property a {
  margin: 20px;
  font-size: 1.15rem;
  display: block;
  padding-left: 12px;
}

/* About Us Styles */


#agents-info {
  background-color: #f8f9fa;
  padding: 80px 0;
}

#agents-info h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 60px;
}

#agents-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 20px;
}

.agent {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  width: 100%;
  max-width: 800px;
}

.agent p {
  /* padding-left: 20px; */
}

.agent-info {
  flex-basis: 50%;
  text-align: left;
}

/*
.agent-image {
  flex-basis: 50%;
  text-align: right;
}

.agent-image img {
  max-width: 100%;
  height: auto;
}
*/

.agent-image {
  width: 200px;
  height: 235px;
  overflow: hidden;
  border: 4px solid #444444;
}

.agent-image img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.company-carousel {
  padding-bottom: 0px;
}

.photo {
  display: flex;
}
.photo img {
  object-fit: cover;
  width: 100%;
  height: 500px;
}
.photo p {
  text-align: center;
}

#about-us {
  background-color: #f8f9fa;
  padding: 80px 0;
}

#about-us h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 60px;
}

#about-us p {
  margin-bottom: 40px;
}

/* Contact Us Styles */

#contact-us {
  background-color: #f8f9fa;
  padding: 80px 0;
}

#contact-us h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 60px;
}

#contact-us p {
  margin-bottom: 40px;
}

form label {
  /* display: block; */
  /* vertical-align: top;
  margin-bottom: 10px; */
  margin-right: 10px;
  font-size: 1.2rem;
}

form input,
form textarea {
  /* display: block; */
  width: 100%;
  /* width: 950px;
  height: 900px; */
  padding: 10px;
  margin-bottom: 20px;
  border: 3px solid #ccc;
  border-radius: 4px;
  font-size: 1.2rem;
}

form input:focus,
form textarea:focus {
  outline: 1px solid blue;
  border-color: #007bff;
}

form input[type="submit"] {
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

form input[type="submit"]:hover {
  background-color: #0062cc;
}

/* Footer Styles */

footer {
  background-color: #333;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

footer p {
  margin: 0;
}

footer nav {
  margin-top: 20px;
}

footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer li {
  display: inline-block;
  margin-right: 20px;
}

footer li:last-child {
  margin-right: 0;
}

footer a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

footer a:hover {
  color: #007bff;
}

/* Sell or Rent Styles */
#property-type {
  width: 300px; /* increase this value to make the select box wider */
  height: 40px; /* increase this value to make the select box taller */
  font-size: 1.2rem;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.highlighted-property {
  border: 6px solid #007bff;
  animation: borderAnimation 0.7s;
}

@keyframes borderAnimation {
  50% {
    border-width: 8px;
  }
}

#notification {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px 20px;
  background-color: #333;
  color: #fff;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

#notification.show {
  opacity: 1;
}
