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

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
}

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

/* Navigation */
.navbar {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: bold;
  color: #2c5aa0;
}

.logo i {
  font-size: 28px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: #2c5aa0;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.auth-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.user-profile {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2c5aa0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
}

.add-listing-btn {
  background: #ff6b35;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.add-listing-btn:hover {
  background: #e55a2b;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #2c5aa0 0%, #1e3d72 100%);
  color: white;
  padding: 120px 0 80px;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.search-container {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.search-toggle {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  justify-content: center;
}

.toggle-btn {
  padding: 12px 30px;
  border: 2px solid #2c5aa0;
  background: transparent;
  color: #2c5aa0;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
}

.toggle-btn.active {
  background: #2c5aa0;
  color: white;
}

.search-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 20px;
  align-items: center;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  background: #f8f9fa;
}

.search-field i {
  color: #2c5aa0;
  font-size: 18px;
}

.search-field select {
  border: none;
  background: transparent;
  font-size: 16px;
  color: #333;
  width: 100%;
  outline: none;
}

.search-btn {
  background: #ff6b35;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.3s;
}

.search-btn:hover {
  background: #e55a2b;
}

/* Featured Properties */
.featured-properties {
  padding: 80px 0;
  background: #f8f9fa;
}

.featured-properties h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: #333;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.property-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.property-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.property-card:hover .property-image img {
  transform: scale(1.05);
}

.property-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #ff6b35;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.property-info {
  padding: 25px;
}

.property-info h3 {
  font-size: 24px;
  color: #2c5aa0;
  margin-bottom: 10px;
  font-weight: 700;
}

.property-location {
  color: #666;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.property-description {
  color: #777;
  margin-bottom: 20px;
  line-height: 1.5;
}

.view-details-btn {
  background: #2c5aa0;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s;
  width: 100%;
}

.view-details-btn:hover {
  background: #1e3d72;
}

/* Property Types */
.property-types {
  padding: 80px 0;
}

.property-types h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: #333;
}

.types-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

.type-box {
  background: white;
  padding: 40px 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.type-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.type-box i {
  font-size: 48px;
  color: #2c5aa0;
  margin-bottom: 20px;
}

.type-box h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #333;
}

.type-box p {
  color: #666;
  font-size: 14px;
}

/* Trending Projects */
.trending-projects {
  padding: 80px 0;
  background: #f8f9fa;
}

.trending-projects h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: #333;
}

.projects-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.project-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-info {
  padding: 20px;
  position: relative;
}

.project-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  padding: 5px 15px;
  border-radius: 15px;
  color: white;
  font-size: 12px;
  font-weight: 500;
}

.project-badge.trending {
  background: #ff6b35;
}

.project-badge.new {
  background: #28a745;
}

.project-badge.hot {
  background: #dc3545;
}

.project-info h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #333;
}

.project-info p {
  color: #2c5aa0;
  font-weight: 600;
}

/* Locations */
.locations {
  padding: 80px 0;
}

.locations h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: #333;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.location-card {
  position: relative;
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
}

.location-card:hover {
  transform: scale(1.02);
}

.location-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  padding: 40px 20px 20px;
}

.location-overlay h3 {
  font-size: 24px;
  margin-bottom: 5px;
}

.location-overlay p {
  opacity: 0.9;
}

/* Services */
.services {
  padding: 80px 0;
  background: #f8f9fa;
}

.services h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: #333;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

.service-card {
  background: white;
  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card i {
  font-size: 40px;
  color: #2c5aa0;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}

.service-card p {
  color: #666;
  font-size: 14px;
}

/* Free Listing Banner */
.free-listing-banner {
  background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.banner-content h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.banner-content p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-btn {
  background: white;
  color: #ff6b35;
  border: none;
  padding: 15px 40px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s;
}

.cta-btn:hover {
  transform: translateY(-2px);
}

/* Testimonials */
.testimonials {
  padding: 80px 0;
}

.testimonials h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: #333;
}

.partners-logos {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 60px;
}

.partner-logo {
  padding: 20px 40px;
  background: #f8f9fa;
  border-radius: 10px;
  color: #666;
  font-weight: 500;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.testimonial-content {
  margin-bottom: 20px;
}

.testimonial-content p {
  font-style: italic;
  color: #555;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  color: #333;
  margin-bottom: 5px;
}

.testimonial-author span {
  color: #666;
  font-size: 14px;
}

/* Recently Visited */
.recently-visited {
  padding: 80px 0;
  background: #f8f9fa;
}

.recently-visited h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: #333;
}

.visited-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.visited-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  cursor: pointer;
}

.visited-card:hover {
  transform: translateY(-5px);
}

.visited-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.visited-card h4 {
  padding: 15px 20px 5px;
  color: #2c5aa0;
  font-size: 18px;
}

.visited-card p {
  padding: 0 20px 15px;
  color: #666;
  font-size: 14px;
}

/* Blog */
.blog {
  padding: 80px 0;
}

.blog h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: #333;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.blog-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 25px;
}

.blog-content h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #333;
}

.blog-content p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.read-more-btn {
  background: #2c5aa0;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s;
}

.read-more-btn:hover {
  background: #1e3d72;
}

/* Footer */
.footer {
  background: #1e3d72;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.footer-logo i {
  font-size: 28px;
  color: #ff6b35;
 
}

.footer-section p {
  margin-bottom: 20px;
  color: #ccc;
  line-height: 1.6;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: #ff6b35;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  transition: background 0.3s;
}

.social-icons a:hover {
  background: #ff6b35;
}

.footer-section h3 {
  margin-bottom: 20px;
  color: white;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: white;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #ccc;
}

.contact-info i {
  color: #ff6b35;;
  width: 20px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 8px;
  outline: none;
}

.newsletter-form button {
  background:#ff6b35;;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s;
}

.newsletter-form button:hover {
  background: #ff6b35;;
}

.footer-bottom {
  border-top: 1px solid #555;
  padding-top: 20px;
  text-align: center;
  color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    height: auto;
    padding: 15px 20px;
  }
  
  .nav-left {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }
  
  .nav-menu {
    gap: 20px;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .search-form {
    grid-template-columns: 1fr;
  }
  
  .types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .locations-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .types-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .partners-logos {
    flex-wrap: wrap;
    gap: 20px;
  }
}
