/* ==== Reset and Base ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f7f8fa;
  color: #222;
  line-height: 1.6;
}

/* ==== Header ==== */
header {
  background-color: #283593;
  color: #fff;
  padding: 15px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-size: 2.8em;
  font-weight: bold;
}

nav a {
  color: #fff;
  margin-left: 15px;
  text-decoration: none;
  font-size: 0.95em;
}

.free-label, .new-label {
  background-color: #fff;
  color: #283593;
  padding: 3px 6px;
  font-size: 0.7em;
  border-radius: 3px;
  margin-left: 4px;
}

/* ==== Hero Section ==== */
.hero {
  background: linear-gradient(to right, #7986cb, #5c6bc0);
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.search-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.search-bar input,
.search-bar button {
  padding: 12px;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
}

.search-bar input {
  width: 200px;
}

.search-bar button {
  background-color: #3949ab;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search-bar button:hover {
  background-color: #303f9f;
}

/* ==== Image Upload ==== */
.image-upload {
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 25px;
  margin: 40px auto;
  width: 90%;
  max-width: 600px;
  border-radius: 10px;
}

.image-upload h2 {
  margin-bottom: 15px;
  font-size: 1.5em;
}

.image-upload input[type="file"] {
  margin-bottom: 10px;
}

.preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.preview img {
  width: 100px;
  border-radius: 5px;
  border: 1px solid #ddd;
}

/* ==== Property Listings ==== */
.properties {
  padding: 40px 20px;
  background-color: #f1f1f1;
}

.property-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.property-card {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 20px;
  width: 280px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.property-card:hover {
  transform: translateY(-5px);
}

.property-card img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 12px;
}

.property-card h3 {
  font-size: 1.2em;
  margin-bottom: 8px;
}

.property-card p {
  font-size: 0.95em;
  color: #555;
}

/* ==== Agents Section ==== */
.agents {
  padding: 40px 20px;
  background-color: #e8eaf6;
}

.agent-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.agent-card {
  background: #fff;
  border: 1px solid #ccc;
  padding: 20px;
  width: 300px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.agent-card h3 {
  margin-bottom: 5px;
}

/* ==== Footer ==== */
footer {
  background-color: #2c3e50;
  color: #ccc;
  text-align: center;
  padding: 25px 10px;
  font-size: 0.9em;
}
 .logo {
  display: flex;
  align-items: center;
  font-size: 1.5em;
  font-weight: bold;
  color: #fff; /* Adjust if needed */
}

.logo img {
  height: 40px;
  margin-right: 10px;
}
