:root {
  --primary: #D4201A;
  /* Premium Darker Red for better contrast */
  --primary-dark: #B91C17;
  --secondary: #D4201A;
  --accent: #10B981;
  --danger: #EF4444;
  --dark: #f8fafc;
  --dark2: #F1F5F9;
  --card: #FFFFFF;
  --card2: #f1f5f9;
  --text: #1E293B;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --gradient: linear-gradient(135deg, #EE2A24, #D3211B);
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--dark);
  color: var(--text);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 15px 5%;
  color: var(--text);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-brand {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-badge {
  font-size: 0.8rem;
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 12px;
  border: 1px solid var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--gradient);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

.btn {
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.6);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: rgba(124, 58, 237, 0.1);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

.hero {
  height: 80vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
}

.slider-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
  transform: translateY(-50%);
  z-index: 10;
}

.slider-btn {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
}

.slider-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  background-size: cover;
  background-position: center;
}

.slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(13, 13, 26, 0.3), rgba(13, 13, 26, 0.8));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1200px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8), 0 2px 5px rgba(238, 42, 36, 0.5);
  font-weight: 800;
}

/* Premium Search Box */
.premium-search-wrapper {
  position: relative;
  z-index: 500;
  background: white;
  border-radius: 20px;
  padding: 30px 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  margin: 40px auto 30px;
  max-width: 1200px;
  width: 95%;
}

/* Global Lightbox / Modal Overlay */
.lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85%;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.close-lightbox {
  position: absolute;
  top: 30px; right: 40px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 40px;
  padding: 20px;
  cursor: pointer;
  background: rgba(0,0,0,0.3);
  border-radius: 50%;
  transition: 0.3s;
}

.lb-prev { left: 30px; }
.lb-next { right: 30px; }

.custom-options::-webkit-scrollbar {
  width: 6px;
}

.custom-options::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.custom-options::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

.search-toggle {
  background: #F3EBE6;
  border-radius: 30px;
  display: inline-flex;
  margin-bottom: 25px;
  overflow: hidden;
}

.toggle-btn {
  padding: 10px 40px;
  border: none;
  background: transparent;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 30px;
  transition: 0.3s;
}

.toggle-btn.active {
  background: var(--secondary);
  color: white;
}

.premium-search-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  background: white;
  align-items: center;
}

@media (max-width: 992px) {
  .premium-search-box {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .premium-search-box {
    grid-template-columns: 1fr;
  }
  .search-field.border-right {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

.search-field {
  display: flex;
  align-items: center;
  padding: 12px 10px;
  gap: 8px;
  flex: 1;
  min-width: 120px;
}

.custom-select-trigger span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}

.search-field.border-right {
  border-right: 1px solid var(--border);
}

.search-input-bare {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-appearance: none;
  /* Removes native dropdown arrow to fix text overlap */
  -moz-appearance: none;
  appearance: none;
}

select.search-input-bare {
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FFB300%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  background-size: 10px auto;
  padding-right: 15px;
  color: var(--text);
  font-weight: 700;
}

.search-field:hover i {
  transform: scale(1.1);
  transition: 0.2s;
}

.search-field:focus-within {
  background: rgba(238, 42, 36, 0.05);
}

.search-submit-btn {
  background: var(--primary);
  border: none;
  border-radius: 12px;
  padding: 12px 30px;
  font-size: 1.1rem;
  color: white;
  font-weight: 700;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(238, 42, 36, 0.3);
  cursor: pointer;
}

.search-submit-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(238, 42, 36, 0.4);
}

/* Custom Dropdown Styling */
.custom-select-wrapper {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  padding-right: 10px;
}

.custom-select-trigger i.fa-chevron-down {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.custom-options {
  position: absolute;
  top: 100%;
  left: 0;
  width: max-content;
  min-width: 220px;
  background: white;
  border-radius: 12px;
  margin-top: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border);
  z-index: 1000;
  display: none;
  max-height: 300px;
  overflow-y: auto;
}

.custom-options.show {
  display: block;
}

.custom-option {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: 0.2s;
  font-size: 0.9rem;
}

.custom-option:hover {
  background: rgba(255, 179, 0, 0.05);
}

.custom-option i {
  color: var(--text-muted);
  font-size: 0.8rem;
  width: 15px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  text-align: left;
  margin-top: 30px;
}

.stat-item h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0;
  line-height: 1;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin: 0;
}

.section {
  padding: 80px 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
}

.section-title span {
  color: var(--primary);
}

.grid {
  display: grid;
  gap: 30px;
}

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

.grid-4 {
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}

.property-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: 0.3s;
  height: 100%;
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--primary);
}

.card-img {
  height: 260px;
  position: relative;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

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

/* Image Badges */
.badge-verified {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #FF6B00;
  color: white;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
}

.card-actions {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.action-btn {
  width: 32px;
  height: 32px;
  background: white;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  font-size: 0.9rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.badge-gender {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.badge-rating {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.badge-rating i {
  color: #FFB300;
}

.card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 700;
}

.card-address {
  font-size: 1rem;
  color: #64748b;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 5px;
  min-height: 45px;
}

.amenities-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  min-height: 65px;
  align-content: flex-start;
}

.amenities-row span {
  background: #f8fafc;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #f1f5f9;
}

.amenities-row span i {
  color: #FF6B00;
}

.card-footer-new {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}

.pricing-grid {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  flex: 1;
  min-height: 40px;
  align-items: center;
}

.price-item {
  display: flex;
  flex-direction: column;
  min-width: max-content;
}

.price-item span {
  font-size: 0.65rem;
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.price-item strong {
  font-size: 1.2rem;
  color: #1e293b;
  font-weight: 800;
}

.view-btn-new {
  background: #FF6B00;
  color: white;
  padding: 8px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
  flex-shrink: 0;
}

.view-btn-new:hover {
  background: #e65a00;
  transform: translateX(5px);
}

.card-body {
  padding: 20px;
}

.price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.card-address {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.facilities {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.facility-tag {
  background: var(--card2);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
}

.footer {
  background: var(--card2);
  padding: 60px 5% 20px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-col h4 {
  margin-bottom: 20px;
  color: var(--primary);
}

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

.footer-col ul li a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  background: var(--dark);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s;
}

.social-links a:hover {
  background: var(--primary);
}

@media (max-width: 768px) {

  .nav-links,
  .nav-actions {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .search-box {
    flex-direction: column;
  }
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

.auth-card {
  background: var(--card);
  padding: 40px;
  border-radius: 16px;
  max-width: 450px;
  margin: 100px auto;
  border: 1px solid var(--border);
}

/* New UI Sections Styles */
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-top: -30px;
  margin-bottom: 40px;
  font-size: 1.1rem;
}

/* Category Cards */
.category-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 200px;
  cursor: pointer;
  transition: transform 0.3s;
}

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

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.category-card:hover img {
  transform: scale(1.1);
}

.category-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

/* Features/Why Choose */
.feature-card {
  background: var(--card2);
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--secondary);
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(245, 158, 11, 0.1);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
}

/* Collections Slider */
.collections-slider-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.collections-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 0 40px;
  scroll-behavior: smooth;
}

.collections-slider::-webkit-scrollbar {
  display: none;
}

.collection-slide-item {
  min-width: 340px;
  flex-shrink: 0;
}

.collection-slide {
  flex: 0 0 400px;
  height: 300px;
  scroll-snap-align: center;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
}

.collection-slide:hover {
  transform: scale(1.02);
}

.collection-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-title {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.6);
  padding: 5px 15px;
  border-radius: 20px;
  backdrop-filter: blur(5px);
}

/* Testimonials */
.testimonial-card {
  background: var(--card2);
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--border);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 4rem;
  color: rgba(124, 58, 237, 0.1);
  font-family: serif;
}

.stars {
  color: #FBBF24;
  margin-bottom: 15px;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

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

/* Horizontal Search Results UI */
.top-search-bar {
  background: var(--secondary);
  /* The orange-like color */
  padding: 15px 5%;
  margin-top: 70px;
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.top-search-bar select,
.top-search-bar input {
  padding: 10px 15px;
  border: none;
  border-radius: 6px;
  background: white;
  color: #333;
  font-weight: 500;
  min-width: 200px;
}

.search-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  padding: 40px 5%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Left Sidebar Filters */
.sidebar-filters {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  height: fit-content;
  position: sticky;
  top: 90px;
}

.filter-group {
  margin-bottom: 25px;
}

.filter-group h4 {
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  cursor: pointer;
}

.filter-option input[type="checkbox"] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}

/* Horizontal Property Card */
.property-list-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.property-list-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  border-color: var(--primary);
}

.list-card-gallery {
  width: 300px;
  flex-shrink: 0;
}

.main-img {
  width: 100%;
  height: 180px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 8px;
  position: relative;
}

.main-img-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(16, 185, 129, 0.9);
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
}

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

.thumbnails img {
  width: 100%;
  height: 60px;
  border-radius: 4px;
  object-fit: cover;
  cursor: pointer;
  transition: opacity 0.2s;
}

.thumbnails img:hover {
  opacity: 0.7;
}

.list-card-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.list-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.badges {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: bold;
}

.badge.orange {
  background: rgba(245, 158, 11, 0.2);
  color: var(--secondary);
}

.badge.purple {
  background: rgba(124, 58, 237, 0.2);
  color: var(--primary);
}

.list-card-middle {
  margin-top: 20px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.fac-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  gap: 5px;
}

.fac-icon i {
  font-size: 1.2rem;
  color: var(--text);
}

.list-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px dashed var(--border);
  padding-top: 15px;
}

.list-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--secondary);
}

.card-actions {
  display: flex;
  gap: 10px;
}

.promo-banner {
  background: linear-gradient(135deg, var(--card), var(--card2));
  border: 1px solid var(--primary);
  border-radius: 12px;
  padding: 40px;
  margin: 40px auto;
  max-width: 1400px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.1);
}

.promo-banner h2 {
  color: var(--secondary);
  font-size: 2rem;
  margin-bottom: 10px;
}

/* Comprehensive Mobile Responsiveness */
@media (max-width: 992px) {
  .search-layout {
    grid-template-columns: 1fr;
  }

  .sidebar-filters {
    position: static;
    height: auto;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-actions {
    display: none !important;
  }

  .hamburger {
    display: block !important;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .premium-search-wrapper {
    padding: 15px;
  }

  .premium-search-box {
    flex-direction: column;
    border: none;
    background: transparent;
    padding: 0;
    gap: 10px;
  }

  .search-field {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: white;
  }

  .search-field.border-right {
    border-right: 1px solid var(--border);
  }

  .search-submit-btn {
    padding: 15px;
    width: 100%;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .collections-slider-wrapper {
    padding: 0 5px;
  }

  .collection-slide {
    flex: 0 0 85vw;
    height: 250px;
  }

  .property-list-card {
    flex-direction: column;
    padding: 15px;
  }

  .list-card-gallery {
    width: 100%;
  }

  .top-search-bar {
    flex-direction: column;
    align-items: stretch;
    margin-top: 60px;
  }

  .promo-banner {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    margin: 20px 5%;
  }

  .promo-banner img {
    width: 100%;
    height: auto;
    margin-top: 20px;
  }

  .list-card-header {
    flex-direction: column;
    gap: 15px;
  }

  .list-card-middle {
    flex-wrap: wrap;
  }

  .list-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .card-actions {
    width: 100%;
    display: flex;
    gap: 10px;
  }

  .card-actions .btn {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-size: 0.9rem;
  }

  .section {
    padding: 40px 5%;
  }

  .section-title {
    font-size: 2rem;
  }
}