/* Base Styles */
:root {
  --primary-color: #4a6fa5;
  --secondary-color: #166088;
  --accent-color: #4fc3f7;
  --dark-color: #333;
  --light-color: #f8f9fa;
  --gray-color: #6c757d;
  --white-color: #ffffff;
  --black-color: #000000;
  --success-color: #28a745;
  --error-color: #dc3545;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

/* Header Styles */
.header {
  background-color: var(--white-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark-color);
}

.logo span {
  color: var(--primary-color);
}

.nav ul {
  display: flex;
}

.nav ul li {
  margin-left: 30px;
}

.nav ul li a {
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav ul li a:hover,
.nav ul li a.active {
  color: var(--primary-color);
}

.mobile-menu-btn {
  font-size: 24px;
  cursor: pointer;
  display: none;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("/images/images2.jpg") no-repeat center center/cover;
  height: 80vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white-color);
  margin-top: 70px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
}

/* Page Hero */
.page-hero {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 80px 0;
  text-align: center;
  margin-top: 70px;
}

.page-hero h1 {
  font-size: 36px;
  margin-bottom: 15px;
}

/* Featured Properties */
.featured {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 36px;
  color: var(--dark-color);
  margin-bottom: 15px;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.property-card {
  background-color: var(--white-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.property-card:hover {
  transform: translateY(-10px);
}

.property-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.property-info {
  padding: 20px;
}

.property-info h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.property-info .location {
  color: var(--gray-color);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.property-info .location i {
  margin-right: 5px;
}

.property-info .price {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.property-info .description {
  color: var(--gray-color);
  margin-bottom: 15px;
}

/* Testimonials */
.testimonials {
  padding: 80px 0;
  background-color: #f5f7fa;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: var(--white-color);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.quote {
  margin-bottom: 20px;
  position: relative;
}

.quote i {
  font-size: 24px;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.quote p {
  font-style: italic;
  color: var(--dark-color);
}

.client {
  display: flex;
  align-items: center;
}

.client img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.client h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.client p {
  color: var(--gray-color);
  font-size: 14px;
}

/* CTA Section */
.cta {
  padding: 80px 0;
  text-align: center;
  background-color: var(--primary-color);
  color: var(--white-color);
}

.cta h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.cta p {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about-section {
  padding: 80px 0;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.about-text p {
  margin-bottom: 15px;
}

.about-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Mission Section */
.mission-section {
  padding: 80px 0;
  background-color: #f5f7fa;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.mission-card {
  background-color: var(--white-color);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.mission-card i {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.mission-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

/* Team Section */
.team-section {
  padding: 80px 0;
}

.team-section h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.team-card {
  background-color: var(--white-color);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.team-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  display: block;
}

.team-card h3 {
  font-size: 22px;
  margin-bottom: 5px;
}

.team-card .position {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 15px;
}

/* Property Filter */
.property-filter {
  padding: 40px 0;
  background-color: #f5f7fa;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-group label {
  margin-bottom: 5px;
  font-weight: 500;
}

.filter-group select {
  padding: 10px 15px;
  border-radius: 5px;
  border: 1px solid #ddd;
  background-color: var(--white-color);
}

/* Property Listings */
.property-listings {
  padding: 60px 0;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
}

.contact-content {
  display: flex;
  gap: 50px;
}

.contact-info {
  flex: 1;
}

.contact-info h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: var(--dark-color);
}

.info-item {
  display: flex;
  margin-bottom: 20px;
}

.info-item i {
  font-size: 20px;
  color: var(--primary-color);
  margin-right: 15px;
  margin-top: 3px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.contact-form {
  flex: 1;
}

.contact-form h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: var(--dark-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: "Poppins", sans-serif;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.error-message {
  color: var(--error-color);
  font-size: 14px;
  margin-top: 5px;
  display: none;
}

/* Map Section */
.map-section {
  padding-bottom: 80px;
}

.map-section iframe {
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: var(--white-color);
  padding: 60px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 20px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-section p {
  margin-bottom: 15px;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a:hover {
  color: var(--accent-color);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.social-links a {
  color: var(--white-color);
  font-size: 20px;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--accent-color);
}

.copyright {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }

  .contact-content {
    flex-direction: column;
  }

  .about-image,
  .about-text,
  .contact-info,
  .contact-form {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--white-color);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left 0.3s ease;
  }

  .nav.active {
    left: 0;
  }

  .nav ul {
    flex-direction: column;
    align-items: center;
  }

  .nav ul li {
    margin: 15px 0;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
  }

  .mission-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .filter-options {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-group {
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}